summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-21 18:02:56 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commite83cc1b575b5009ca0186b1b9ba21adaca78f1fe (patch)
treef082260a3df2d98146dc29f4907b99b3977d20e1 /events.txt
parent647ea5cbde5ae12db804a49c82d763cbdf74c093 (diff)
downloadandean-abyss-e83cc1b575b5009ca0186b1b9ba21adaca78f1fe.tar.gz
Shaded 47: Allow Free Terror without any guerrillas.
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/events.txt b/events.txt
index 653dccb..ff33878 100644
--- a/events.txt
+++ b/events.txt
@@ -730,11 +730,18 @@ SHADED 47
space 1 s === CUCUTA
auto_place AUC GUERRILLA
auto_place AUC GUERRILLA
- prompt "Execute free Terror in CĂșcuta."
- piece 1 is_piece_in_event_space(p) && is_auc_guerrilla(p) && is_underground(p)
- free_terror_with_piece
- terror_aid_cut
- endpiece
+ if has_underground_guerrilla(game.vm.s, AUC)
+ prompt "Execute free Terror in CĂșcuta."
+ piece 1 is_piece_in_event_space(p) && is_auc_guerrilla(p) && is_underground(p)
+ free_terror_with_piece
+ terror_aid_cut
+ endpiece
+ else
+ # Special case: Free Terror without a piece.
+ terror
+ shift_neutral
+ aid -3
+ endif
endspace
prompt "Flip any 2 AUC Guerrillas Underground."
piece 2 is_auc_guerrilla(p) && is_active(p)