summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-15 17:23:03 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitf2f4cfa8cda5fedb7a6bc2f6af771629d09d21aa (patch)
treed591ef3cee8c29e704125233b6f1b286f1894d18 /play.js
parentc23b8f09dd2e980d6bdfe86965374f08243532ac (diff)
downloadnevsky-f2f4cfa8cda5fedb7a6bc2f6af771629d09d21aa.tar.gz
Avoid Battle and Siege.
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")