summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-10 10:42:28 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-10 10:42:28 +0000
commit4913146fdf49ff941e582970c6056d21444e6efa (patch)
treee4742973a8f89d02b5f46f4230b0974bd611637a /events.txt
parented2d5925862d2a37f90413eff8f9a25a71170079 (diff)
download1989-dawn-of-freedom-4913146fdf49ff941e582970c6056d21444e6efa.tar.gz
Update implementation of Tyrant
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/events.txt b/events.txt
index 88cd639..532b892 100644
--- a/events.txt
+++ b/events.txt
@@ -69,7 +69,7 @@ the_wall
CARD 10 - Cult of Personality
# Place 4 Communist SPs in Worker or Farmer spaces in Romania, no more than 2 per space.
permanently_remove
-if !game.the_tyrant_is_gone
+if !game.persistent_events.includes(C_THE_TYRANT_IS_GONE)
valid_spaces_country_socio_2 'Romania', 3, 4
prompt 'Worker or Farmer spaces in Romania, no more than 2 per space'
add_limited_infl 4 2
@@ -304,7 +304,7 @@ prompt 'make a Support Check in Hungary'
CARD 41 - Ceausescu*
# Remove 3 Democratic SPs in Romania and make a Support Check in Romania using the Ops value of this card. If the Democratic Player has any SPs in spaces adjacent to Cluj at the end of this action round remove 1 Communist SP from Bucharest. May not be played as an event after The Tyrant is Gone.
permanently_remove
-if game.the_tyrant_is_gone
+if !game.persistent_events.includes(C_THE_TYRANT_IS_GONE)
tyrant_block
else
if !is_auto_resolve(C_CEAUSESCU)
@@ -515,8 +515,12 @@ add_x_infl 2
CARD 69 - Systematization*
# The Communist player may eliminate 1 space in Romania. Any Democratic SPs are eliminated. Communist SPs are relocated to Bucharest. The connections to the destroyed space are considered to pass through and connect the adjacent spaces directly.
+if !game.persistent_events.includes(C_THE_TYRANT_IS_GONE)
valid_spaces_country 'Romania'
systematization
+else
+tyrant_block
+endif
CARD 70 - Securitate*
@@ -790,7 +794,7 @@ stand_fast
CARD 101 - Elena*
# Add 2 SPs to the Romania Elite Space. -1 drm for Democratic Player for Support Checks in Romania the rest of this turn. No longer playable after The Tyrant is Gone
-if !game.the_tyrant_is_gone
+if !game.persistent_events.includes(C_THE_TYRANT_IS_GONE)
valid_spaces 'Cluj-Napoca'
prompt 'the Romania Elite Space'
add_x_infl 2
@@ -850,7 +854,7 @@ prompt `make a Support Check in ${country_name(game.vm_active_country)}`
CARD 107 - Massacre in Timisoara*
# Communist Player makes Support Checks in Romania using the Ops value of this card with +2 drm. Requires play of Lazslo Tokes.
permanently_remove
-if !game.the_tyrant_is_gone
+if !game.persistent_events.includes(C_THE_TYRANT_IS_GONE)
massacre_in_timisoara
valid_spaces_country_sc 'Romania'
prompt 'Make Support Checks in Romania'