summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-11 13:45:56 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-11 13:45:56 -0400
commit212b8f0ceb297a58ce92238a011cea765e693c76 (patch)
tree662160a51c0877234fdd627da274ccb259822ca8 /play.js
parent9436b56542c0c80549835be0dae3b5c4d3280f40 (diff)
downloadvijayanagara-212b8f0ceb297a58ce92238a011cea765e693c76.tar.gz
More Succession.
Diffstat (limited to 'play.js')
-rw-r--r--play.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/play.js b/play.js
index 0b42493..15ab76c 100644
--- a/play.js
+++ b/play.js
@@ -520,8 +520,8 @@ function init_ui() {
register_action(ui.resources[DS], "resources", DS)
register_action(ui.resources[BK], "resources", BK)
register_action(ui.resources[VE], "resources", VE)
- register_action(ui.tokens.token_bk_influence, "inf", BK)
- register_action(ui.tokens.token_ve_influence, "inf", VE)
+ register_action(ui.tokens.token_bk_influence, "influence", BK)
+ register_action(ui.tokens.token_ve_influence, "influence", VE)
register_action(ui.tokens.token_mongol_cavalry, "token", 10)
ui.this_card.onmouseenter = on_focus_this_event
@@ -960,8 +960,8 @@ function on_update() {
ui.header.classList.toggle("bk", view.current === BK)
ui.header.classList.toggle("ve", view.current === VE)
- ui.tokens.token_bk_influence.classList.toggle("action", is_action("inf", BK))
- ui.tokens.token_ve_influence.classList.toggle("action", is_action("inf", VE))
+ ui.tokens.token_bk_influence.classList.toggle("action", is_action("influence", BK))
+ ui.tokens.token_ve_influence.classList.toggle("action", is_action("influence", VE))
ui.resources[DS].classList.toggle("action", is_action("resources", DS))
ui.resources[BK].classList.toggle("action", is_action("resources", BK))
@@ -1183,6 +1183,8 @@ function on_update() {
// Event buttons
action_button("obedient", "Obedient")
action_button("rebelling", "Rebelling")
+ action_button("remove_influence", "Remove Influence")
+ action_button("add_influence", "Add Influence")
// Other buttons
action_button("roll", "Roll")