diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-05-02 15:15:45 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 52b0899094c4c419499791307b4410c215d0c6d6 (patch) | |
tree | 649bec04832a25ca510c3299d728e74a4d564131 | |
parent | 6bb0a56bad375b3ceaa1cf41dd8e0e247578f735 (diff) | |
download | andean-abyss-52b0899094c4c419499791307b4410c215d0c6d6.tar.gz |
Remove per-piece undo for removing all pieces from a city.
-rw-r--r-- | events.txt | 2 | ||||
-rw-r--r-- | rules.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1029,7 +1029,7 @@ EVENT 61 prompt "Remove all Cartels pieces from 1 City." space 1 is_city(s) && has_cartels_piece(s) prompt "Remove all Cartels pieces." - piece_undo all is_piece_in_event_space(p) && is_cartels_piece(p) + piece all is_piece_in_event_space(p) && is_cartels_piece(p) remove endpiece endspace @@ -9626,7 +9626,7 @@ CODE[61 * 2 + 0] = [ [ vm_prompt, "Remove all Cartels pieces from 1 City." ], [ vm_space, true, 1, 1, (s)=>is_city(s) && has_cartels_piece(s) ], [ vm_prompt, "Remove all Cartels pieces." ], - [ vm_piece, true, 999, 999, (p,s)=>is_piece_in_event_space(p) && is_cartels_piece(p) ], + [ vm_piece, false, 999, 999, (p,s)=>is_piece_in_event_space(p) && is_cartels_piece(p) ], [ vm_remove ], [ vm_endpiece ], [ vm_endspace ], |