summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/play.js b/play.js
index 7f6b579..f2add88 100644
--- a/play.js
+++ b/play.js
@@ -1057,6 +1057,8 @@ function on_update() {
show(ui.militia[region])
else
hide(ui.militia[region])
+
+ ui.militia[region].classList.toggle("selected", view.selected_militia === region)
}
for (let i = 0; i < LEGION_COUNT; ++i) {
@@ -1324,14 +1326,15 @@ function on_update() {
action_button("reroll", "Reroll")
action_button("roll", "Roll")
+ action_button("recall_governor", "Recall Governor")
action_button("disperse_mob", "Disperse Mob")
action_button("train_legions", "Train Legions")
action_button("add_legion_to_army", "Add Legion to Army")
action_button("hold_games", "Hold Games")
-
action_button("place_militia", "Place Militia")
+ action_button("build_improvement", "Build Improvement")
action_button("amphitheater", "Amphitheater")
action_button("basilica", "Basilica")
@@ -1355,6 +1358,12 @@ function sub_region_name(match, p1) {
return REGION_NAME[x]
}
+function sub_event_name(match, p1) {
+ let x = p1 | 0
+ // TODO: tooltip?
+ return CARD_INFO[CARD_INDEX[x]].event
+}
+
function sub_dice_image(match) {
return DICE[match]
}