diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-26 00:12:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-26 00:12:25 +0200 |
commit | 3e30593e9986187aff35a4440bdbcb309025c58c (patch) | |
tree | fee59fd7a5acfe47969364b951eb81661e0aadd6 /play.js | |
parent | be53b4b3373da546644ce71ee6a311be406a27aa (diff) | |
download | 1989-dawn-of-freedom-3e30593e9986187aff35a4440bdbcb309025c58c.tar.gz |
Move event reminder location on top of Yugoslavia.
Initialize marker locations to their starting positions.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -284,7 +284,8 @@ function on_update() { if (!ui.spaces) create_ui() - // UPDATE ASIDE + // UPDATE PLAYER INFO + if (view.is_pwr_struggle) { roles.Democrat.stat.textContent = `${view.democrat_power_hand} Power cards` roles.Communist.stat.textContent = `${view.communist_power_hand} Power cards` @@ -292,9 +293,11 @@ function on_update() { roles.Democrat.stat.textContent = `${view.democrat_hand} cards` roles.Communist.stat.innerText = `${view.communist_hand} cards` } + ui.turn_info.innerText = `Strategy deck: ${view.strategy_deck} cards` // UPDATE TRACK MARKERS + layout_turn_marker() layout_round_marker() layout_stability_marker() @@ -338,6 +341,7 @@ function on_update() { ui.event_reminder_list.appendChild(ui.events[id]) // UPDATE INFLUENCE VALUES + for (let s = 1; s <= last_space; ++s) { const demInfl = view.demInfl[s] const comInfl = view.comInfl[s] |