summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-25 16:52:21 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit7ac4ee43314c20d5da560d32d2f2b39507a7305a (patch)
tree0454ab7e0ed7a4d433cd759699953782d9f21a97 /events.txt
parent3281c3d380f96d9ce6ed4ead3198a88f45dcce84 (diff)
downloadandean-abyss-7ac4ee43314c20d5da560d32d2f2b39507a7305a.tar.gz
Fix placement skip logic.
Only allow skipping if _no_ suitable piece is available.
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/events.txt b/events.txt
index 720486a..8c7f505 100644
--- a/events.txt
+++ b/events.txt
@@ -929,7 +929,7 @@ SHADED 57
# TODO: prompt "Replace a Police with any Cartels piece in 2 spaces."
space 2 has_police(s)
prompt "Replace a Police with any Cartels piece."
- piece 1 is_piece_in_event_space(p) && is_police(p) && can_replace_with(s, CARTELS, GUERRILLA)
+ piece 1 is_piece_in_event_space(p) && is_police(p) && (can_replace_with(s, CARTELS, GUERRILLA) || can_replace_with(s, CARTELS, BASE))
remove
place CARTELS BASE_GUERRILLA
endpiece