summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/play.js b/play.js
index 9332c66..32ff0c9 100644
--- a/play.js
+++ b/play.js
@@ -6,6 +6,9 @@
// TODO: held events, this_turn events
+// inactive command cylinder color - other color outline
+// moved/fought lord coloring - blue outline?
+
function find_lord(name) {
return data.lords.findIndex((x) => x.name === name)
}
@@ -1240,6 +1243,10 @@ function on_update() {
action_button("use_legate", "Legate")
+ action_button("withdraw", "Withdraw")
+ action_button("battle", "Battle")
+ action_button("surrender", "Surrender")
+
action_button("sail", "Sail")
action_button("march", "March")
action_button("siege", "Siege")