summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-19 18:58:32 +0100
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commitdd15800d006e67b5aa24a4dfcc10f8ab79b25033 (patch)
tree79f8ec2ae5f16fb44fa6565eb75e8d24d6cefc8f /events.txt
parent5e01c299e74cf01e2b2a02163dd08130963550d7 (diff)
downloadandean-abyss-dd15800d006e67b5aa24a4dfcc10f8ab79b25033.tar.gz
FARC Zone placement.
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt67
1 files changed, 7 insertions, 60 deletions
diff --git a/events.txt b/events.txt
index cada442..1e19607 100644
--- a/events.txt
+++ b/events.txt
@@ -214,6 +214,7 @@ EVENT 19
endif
EVENT 20
+ current GOVT
piece 6 is_farc_guerrilla(p)
space 1 is_adjacent(s, game.pieces[game.vm.p])
move
@@ -359,36 +360,7 @@ EVENT 30
SHADED 30
current GOVT
- prompt Place FARC Zone.
- space 1 is_possible_farc_zone(s)
- place_farc_zone
- prompt Redeploy Troops.
- piece 0 is_piece_in_event_space(p) && is_troops(p)
- save_space
- space 1 is_redeploy_troops_space(s)
- move
- endspace
- restore_space
- endpiece
- prompt Redeploy Police.
- piece 0 is_piece_in_event_space(p) && is_police(p)
- save_space
- space 1 is_redeploy_police_space(s)
- move
- endspace
- restore_space
- endpiece
- prompt Remove Govt Bases.
- piece 0 is_piece_in_event_space(p) && is_govt_base(p)
- remove
- endpiece
- prompt Shift adjacent spaces toward Active Support.
- save_space
- space 2 is_pop(s) && !is_active_support(s) && is_adjacent(game.vm._s, s)
- shift_support
- endspace
- restore_space
- endspace
+ place_farc_zone
EVENT 31
space 2 is_city(s)
@@ -453,38 +425,13 @@ SHADED 35
endspace
EVENT 36
- # SEE SHADED 30
eligible (game.current)
current GOVT
- prompt Place FARC Zone.
- space 1 is_possible_farc_zone(s)
- place_farc_zone
- prompt Redeploy Troops.
- piece 0 is_piece_in_event_space(p) && is_troops(p)
- save_space
- space 1 is_redeploy_troops_space(s)
- move
- endspace
- restore_space
- endpiece
- prompt Redeploy Police.
- piece 0 is_piece_in_event_space(p) && is_police(p)
- save_space
- space 1 is_redeploy_police_space(s)
- move
- endspace
- restore_space
- endpiece
- prompt Remove Govt Bases.
- piece 0 is_piece_in_event_space(p) && is_govt_base(p)
- remove
- endpiece
- prompt Shift adjacent spaces toward Active Support.
- save_space
- space 2 is_pop(s) && !is_active_support(s) && is_adjacent(game.vm._s, s)
- shift_support
- endspace
- restore_space
+ place_farc_zone
+ # TODO: current (executing_faction())
+ prompt Shift adjacent spaces toward Active Support.
+ space 2 is_pop(s) && !is_active_support(s) && is_adjacent(game.vm.farc_zone, s)
+ shift_support
endspace
EVENT 37