diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-03-09 19:17:11 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:15 +0200 |
commit | 152da57135e508527a0bd24ce56347af84be0f94 (patch) | |
tree | 8fff1ea756c4fa1940b1a9422bf55e521d4c5227 /play.js | |
parent | 94d5a18d23fd747259740bb622ea2ca2b44a36b3 (diff) | |
download | andean-abyss-152da57135e508527a0bd24ce56347af84be0f94.tar.gz |
Insurgent Momentum.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -63,6 +63,13 @@ const MOM_MISIL_ANTIAEREO = 27 const MOM_SENADO_CAMARA = 42 const MOM_MEXICAN_TRAFFICKERS = 67 +const senado_class_list = [ + "token reminder hide", + "token reminder senado_farc", + "token reminder senado_auc", + "token reminder senado_cartels", +] + let ui = { favicon: document.getElementById("favicon"), header: document.querySelector("header"), @@ -117,6 +124,7 @@ let ui = { oppose_plus_bases: document.getElementById("token_oppose_plus_bases"), president: document.getElementById("token_el_presidente"), propaganda: document.getElementById("token_prop_card"), + senado: document.getElementById("rem_senado"), }, pieces: [], resources: [ @@ -717,6 +725,7 @@ function on_update() { ui.player[AUC_CARTELS].classList.toggle("active", view.current === AUC || view.current === CARTELS) ui.tokens.president.style.left = [ 0, "254px", "337px", "420px" ][view.president] + ui.tokens.senado.classList = senado_class_list[view.senado] for (let cap of capability_events) { let shaded = set_has(view.capabilities, -cap) |