summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-09 21:13:41 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit92eefb71fb6bd9435fe8587adce416e05ec3a123 (patch)
tree07a0275dd6cfa7e704488506403e6eefcb68ce29
parentf2cb77c38568b75ab0c0b6e3336c8e8bf810ae95 (diff)
downloadandean-abyss-92eefb71fb6bd9435fe8587adce416e05ec3a123.tar.gz
Debug menu.
-rw-r--r--events.txt4
-rw-r--r--play.html3
2 files changed, 3 insertions, 4 deletions
diff --git a/events.txt b/events.txt
index e21121e..0b51798 100644
--- a/events.txt
+++ b/events.txt
@@ -13,8 +13,6 @@
# event 30 - remove farc zone and remove farc base
# event 43 - place terror and remove farc base
# event 65 - (place or remove shipment) and (place or remove insurgent base)
-# shaded 50 - remove/replace 2 police (TODO)
-# event 54 - remove/replace 2 guerrillas (TODO)
#
# Replace pieces - may only remove when unable to place available piece (check stacking if piece is available)
# 35, shaded 39, 40, shaded 50, 54, 57, shaded 57, 72
@@ -812,7 +810,6 @@ EVENT 50
SHADED 50
# Note: strictly remove or replace (see event 54)
- # TODO: 5.1.3 - spaces with 2 police first!
prompt "Remove any 2 Police or replace them with available AUC Guerrillas."
piece_undo 1 is_police(p)
set_piece_space
@@ -902,7 +899,6 @@ EVENT 53
EVENT 54
# Note: strictly remove or replace (see shaded 50)
- # TODO: 5.1.3 - spaces with 2 guerrillas first!
prompt "Remove up to 2 Guerrillas or replace them with with another Faction's Guerrillas."
piece_undo 1 is_any_guerrilla(p)
set_piece_space
diff --git a/play.html b/play.html
index d1c4e2f..8bb799c 100644
--- a/play.html
+++ b/play.html
@@ -27,6 +27,9 @@
<a class="menu_item" href="info/pac.html" target="_blank")">Player Aids</a>
<a class="menu_item" href="info/cards.html" target="_blank")">Cards</a>
<div class="menu_separator"></div>
+ <div class="menu_item" onclick="send_save()">&#x1F41E; Save</div>
+ <div class="menu_item" onclick="send_restore()">&#x1F41E; Restore</div>
+ <div class="menu_separator"></div>
<div class="menu_item" onclick="send_restart('Standard')">&#x26a0; Restart Standard</div>
<div class="menu_item" onclick="send_restart('Short')">&#x26a0; Restart Short</div>
<div class="menu_item" onclick="send_restart('Quick')">&#x26a0; Restart Quick</div>