summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-28 00:39:19 +0100
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:15 +0200
commit41064aa4d7b938e1887cdc571bb47fa82090a6b4 (patch)
tree5c9e365b25f64bd8d12723bc64356a015a270ec1 /play.js
parent9486ef27037835a6e31eac843b04219eda4c919c (diff)
downloadandean-abyss-41064aa4d7b938e1887cdc571bb47fa82090a6b4.tar.gz
Rally, March.
Diffstat (limited to 'play.js')
-rw-r--r--play.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/play.js b/play.js
index b13418c..c4a3733 100644
--- a/play.js
+++ b/play.js
@@ -726,6 +726,7 @@ function on_update() {
console.log("NO SPACE", s, data.space_name[s])
ui.spaces[s].classList.toggle("action", is_action("space", s))
+ ui.spaces[s].classList.toggle("selected", view.where === s)
}
list.length = 0
@@ -779,11 +780,21 @@ function on_update() {
action_button("kidnap", "Process")
action_button("kidnap", "Bribe")
+ // Train/Rally sub-actions
+ action_button("move", "Move")
+ action_button("flip", "Flip")
+ action_button("base", "Base")
+ action_button("civic", "Civic Action")
+
action_button("unshaded", "Unshaded")
action_button("shaded", "Shaded")
action_button("event", "Event")
action_button("limop", "LimOp")
+
+ action_button("next", "Next")
+ action_button("done", "Done")
+ action_button("remove", "Remove")
action_button("undo", "Undo")
}