summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-09-15 11:09:39 +0200
committerTor Andersson <tor@ccxvii.net>2024-09-15 11:51:26 +0200
commit2a320ebe8ba6148979fb2c501a197b972aa1facf (patch)
treea18d200e520c45fe7fc93fc23831af483e897480 /play.js
parent07bfab1d9f1b66aa4f8a0010cfda2c5324b86609 (diff)
downloadwilderness-war-2a320ebe8ba6148979fb2c501a197b972aa1facf.tar.gz
Confirm dummy actions with alert prompts in client.
- Designate force without units. - End individual activation with points left. - End movement without moving.
Diffstat (limited to 'play.js')
-rw-r--r--play.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/play.js b/play.js
index 6fc6fd7..db0d5ce 100644
--- a/play.js
+++ b/play.js
@@ -1548,6 +1548,17 @@ function update_map() {
action_button("exchange", "Exchange")
action_button("stop", "Stop")
+ // confirm "dummy" actions
+ confirm_action_button("confirm_end_activations", "End activations",
+ "SKIP the remaining individual ACTIVATIONS?"
+ )
+ confirm_action_button("confirm_activate", "Activate",
+ "ACTIVATE leader to MOVE ALONE?"
+ )
+ confirm_action_button("confirm_end_move", "End move",
+ "END MOVE without MOVING?"
+ )
+
confirm_action_button("pass_bh_season", "Pass season",
"PASS on playing \"Blockhouses\" for the rest of this SEASON?"
)
@@ -1563,8 +1574,11 @@ function update_map() {
action_button("pass", "Pass")
action_button("next", "Next")
+
+ action_button("end_activations", "End activations")
action_button("end_construction", "End construction")
action_button("end_move", "End move")
+
action_button("undo", "Undo")
}