summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-23 08:51:45 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-23 08:51:45 +0000
commita35b49e654f2ad82c14855b3c36195c2c2e26d10 (patch)
tree0f56a45c62741907a2ac9dbbe315e025af2dcd7c /events.txt
parentdd4ef001caac00050d00f8ae1dfa87da9e95eb7c (diff)
parentdb464d9b4adb87cd4316f59058b6b70f61fbeaa3 (diff)
download1989-dawn-of-freedom-a35b49e654f2ad82c14855b3c36195c2c2e26d10.tar.gz
Merge branch 'work-in-progress'
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt294
1 files changed, 187 insertions, 107 deletions
diff --git a/events.txt b/events.txt
index 5855621..5823e7d 100644
--- a/events.txt
+++ b/events.txt
@@ -1,13 +1,13 @@
CARD 1 - Legacy of Martial Law*
# Replace 1 Democratic SP with a Communist SP in Poland and make a Support Check using the Ops value of this card in Poland.
+permanently_remove
valid_spaces_country_opp 'Poland'
prompt 'replace 1 Democratic SP in Poland with a Communist SP'
legacy_of_martial_law
valid_spaces_country_sc 'Poland'
prompt 'make a Support Check in Poland'
1_support_check
-permanently_remove
CARD 2 - Solidarity Legalised*
@@ -16,26 +16,25 @@ solidarity_legalised
valid_spaces_solidarity_legalised
prompt 'to every uncontrolled Worker and Farmer space in Poland'
add_limited_infl 9 1
-permanently_remove
CARD 3 - Walesa
# Place a total of 4 SPs in any spaces(s) in Poland. The Democratic Player may then may Support Checks in Poland using the Ops value of this card. Requires Solidarity Legalized* to be played as event.
+permanently_remove
valid_spaces_country 'Poland'
prompt 'any space(s) in Poland'
add_infl_free 4
valid_spaces_country_sc 'Poland'
-prompt 'Make Support Checks in Poland'
+prompt 'make Support Checks in Poland'
support_check 2
-permanently_remove
CARD 4 - Michnik
# Place 3 Democratic SPs in the Polish Intellectuals space.
-valid_spaces 26
+permanently_remove
+valid_spaces 'Polish Writers'
prompt 'the Polish Intellectuals space'
add_x_infl 3
-permanently_remove
CARD 5 - General strike
@@ -45,14 +44,16 @@ general_strike
CARD 6 - Brought in for Questioning
# The Democratic Player must randomly discard a card. If it is a Communist event it takes place immediately.
+if !is_auto_resolve(C_BROUGHT_IN_FOR_QUESTIONING)
brought_in_for_questioning
+endif
CARD 7 - State Run Media*
# Remove four Democratic SPs, no more than 2 per space.
+permanently_remove
valid_spaces_opponent
remove_limited_opp_infl 4 2
-permanently_remove
CARD 8 - Prudence
@@ -63,38 +64,40 @@ prudence
CARD 9 - The Wall*
# Place in front of the Communist Player. In his next Support Check in Germany cancel drm for any adjacent spaces controlled by the Democratic Player.
the_wall
-permanently_remove
CARD 10 - Cult of Personality
# Place 4 Communist SPs in Worker or Farmer spaces in Romania, no more than 2 per space.
-if !game.the_tyrant_is_gone
+permanently_remove
+if !game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED)
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
+else
+tyrant_block
endif
-permanently_remove
CARD 11 - Dissident arrested
# Remove 2 Democratic SPs from any Intellectuals space.
+if !is_auto_resolve(C_DISSIDENT_ARRESTED)
valid_spaces_opponent_socio 5
prompt 'any Intellectuals space'
remove_x_opp_infl 2
+endif
CARD 12 - Apparatchicks
# Place 3 Communist SPs in any Bureaucratic space(s).
+permanently_remove
valid_spaces_socio 2
prompt ' to any Bureaucratic space(s)'
add_infl_free 3
-permanently_remove
CARD 13 - Stasi
# For the rest this turn the Democratic Player must reveal the card he will play this action round before the Communist plays his card.
stasi
-permanently_remove
CARD 14 - Gorbachev Charms the West
@@ -108,14 +111,13 @@ prompt 'select a space for the Support Check'
CARD 15 - Honecker
# The Communist Player may take any non-Power Struggle - card in the discard pile and put it in his hand. The Communist Player may take one extra action round this turn. May not be played as event after Modrow*.
-permanently_remove
honecker
CARD 16 - Nomenklatura*
# Place 3 SPs in any Elite space(s), or remove all Democratic SPs from Elite spaces.
-nomenklatura
permanently_remove
+nomenklatura
CARD 17 - Roundtable talks
@@ -125,24 +127,26 @@ roundtable_talks
CARD 18 - Poszgay Defends the Revolution
# Place Communist SPs in 4 spaces in Hungary not under Democratic control.
+permanently_remove
poszgay
prompt 'to 4 spaces in Hungary not under Democratic control'
add_limited_infl 4 1
-permanently_remove
CARD 19 - Papal vist
# Place 3 SPs in any Catholic Church space.
-valid_spaces 20 35 38
+permanently_remove
+valid_spaces 'Catholic Church, Poland', 'Catholic Church, Czechoslovakia', 'Catholic Church, Hungary'
prompt 'any Catholic Church space'
add_x_infl 3
-permanently_remove
CARD 20 - Deutsche Marks*
# Democratic Player gives the Communist Player his highest Ops value card. If a Communist event it takes place immediately, otherwise use the Ops value of the card without triggering the event.
permanently_remove
+if !is_auto_resolve(C_DEUTSCHE_MARKS)
deutsche_marks
+endif
CARD 21 - Common European Home
@@ -162,9 +166,11 @@ power_struggle
CARD 24 - St Nicolas Church
# Place sufficient Democratic SPs in the Lutheran Church space for Democratic control. Allows play of The Monday Demonstrations.
-valid_spaces 6
+if !check_dem_control(S_LUTHERAN_CHURCH)
+valid_spaces 'Lutheran Church'
prompt 'the Lutheran Church'
take_control_prep 1
+endif
st_nicholas_church
@@ -176,7 +182,6 @@ perestroika
CARD 26 - Helsinki Final Act*
# +1 VP for every Support Check die roll by the Communist Player in Student or Intellectual spaces the rest of the game.
helsinki_final_act
-permanently_remove
CARD 27 - Consumerism
@@ -199,10 +204,10 @@ remove_limited_opp_infl 3 2
CARD 29 - Jan Palach Week*
# Place 6 Democratic SPs in the Charles University space.
-valid_spaces 30
+permanently_remove
+valid_spaces 'Charles University'
prompt 'the Charles University space'
add_x_infl 6
-permanently_remove
CARD 30 - Tear Gas
@@ -212,72 +217,74 @@ tear_gas
CARD 31 - Intelligentsia
# Place 4 Democratic SPs in Intellectual spaces, no more than 2 per space.
-valid_spaces 4 26 31 46 55 73
+valid_spaces_socio 5
prompt 'Intellectual spaces, no more than 2 per space'
add_limited_infl 4 2
CARD 32 - Peasant Parties*
# Place 4 Communist SPs in Farmer spaces, no more than 2 per space.
+permanently_remove
valid_spaces_socio 3
prompt 'Farmer spaces, no more than 2 per space'
add_limited_infl 4 2
-permanently_remove
CARD 33 - Sajudis*
# +1 VP. Reduce USSR stability by 1. Place sufficient Democratic support in any Minorities space for control. Allows play of The Baltic Way.
+permanently_remove
+sajudis
+if !is_auto_resolve(C_SAJUDIS)
sajudis_check
prompt 'any Minorities space'
take_control_prep 1
-sajudis
-permanently_remove
+endif
+
CARD 34 - Fidesz*
# Place 5 Democratic SPs in Hungary Student space.
-valid_spaces 47
+permanently_remove
+valid_spaces 'Eotvos Lorand University'
prompt 'the Hungary students space'
add_x_infl 5
-permanently_remove
CARD 35 - Heal our Bleeding Wounds*
# If played in Early Year, -3 VPs. If played in Mid Year, -1 VP. If played in Late Year, +3 VPs.
-heal_our_bleeding_wounds
permanently_remove
+heal_our_bleeding_wounds
CARD 36 - Dash for the West*
# Roll a die. If the die roll exceeds the number of Communist controlled spaces in Germany, +1 VP and select any Blue Event with asterisk(*) from the discard pile. The event occurs immediately.
permanently_remove
-prompt 'Dash for the West: select any Democratic event with an asterix(*) from the discard pile. Event occurs immediately'
+prompt 'Dash for the West: select any Democratic Event with an asterix(*) from the discard pile. Event occurs immediately'
dash_for_the_west
-
CARD 37 - Nagy Reburied*
# Remove all Communist SPs from the Hungary Elite space. Then place 4 Communist SPs in Hungary, no more than 2 per space.
+permanently_remove
nagy_reburied
prompt 'the Hungary Elite space'
remove_all_infl 1
valid_spaces_country 'Hungary'
prompt 'Hungary, no more than 2 per space'
add_limited_infl 4 2
-permanently_remove
CARD 38 - July Concept
# Place 3 Communist SPs in Bulgaria
+permanently_remove
valid_spaces_country 'Bulgaria'
prompt 'Bulgaria'
add_infl_free 3
-permanently_remove
CARD 39 - Eco-Glasnost*
# Place 4 Democratic SPs in Ruse.
-valid_spaces 66
+valid_spaces 'Ruse'
prompt 'Ruse'
add_x_infl 4
eco_glasnost
@@ -285,18 +292,22 @@ eco_glasnost
CARD 40 - Hungarian Democratic Forum
# Place 3 Democratic SPs in Hungary and make one Support Check in Hungary.
+permanently_remove
valid_spaces_country 'Hungary'
prompt 'Hungary'
add_infl_free 3
valid_spaces_country_sc 'Hungary'
prompt 'make a Support Check in Hungary'
1_support_check
-permanently_remove
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.
-if !game.the_tyrant_is_gone
+permanently_remove
+if game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED)
+tyrant_block
+else
+if !is_auto_resolve(C_CEAUSESCU)
valid_spaces_country_opp 'Romania'
prompt ' from Romania'
remove_opp_infl 3
@@ -306,7 +317,6 @@ prompt 'make a support check in Romania'
prompt ' from Bucharesti'
ceausescu
endif
-permanently_remove
CARD 42 - Power Struggle - East Germany
@@ -321,6 +331,7 @@ power_struggle
CARD 44 - Inflationary Currency
# Target any Country where your opponent has Power. Place 2 SPs and make 1 Support Check in the Country using the Ops value of this card. Your opponent may cancel the Support Check by discarding a 3 Ops value card.
+permanently_remove
inflationary_currency
valid_spaces_country_opp
prompt ()=>` from ${country_name(game.vm_active_country)}`
@@ -331,71 +342,74 @@ valid_spaces_country_sc
prompt `make a Support Check in ${country_name(game.vm_active_country)}`
1_support_check
endif
-permanently_remove
CARD 45 - Soviet Troop Withdrawals*
# The Democratic Player may remove 5 Communist SPs from Eastern Europe, no more than 2 per space.
+permanently_remove
valid_spaces_region_opp 'Eastern Europe'
prompt ' from Eastern Europe'
remove_limited_opp_infl 5 2
-permanently_remove
CARD 46 - Goodbye Lenin!*
# The Communist Player must reveal all his events with title written in red. The Democrat may exchange this card for any of them with the event occurring immediately, or he may play this card for Operations.
-goodbye_lenin
permanently_remove
+goodbye_lenin
CARD 47 - Bulgarian Turks Expelled*
# -2 VP. Remove any Democratic SPs in Razgrad.
+permanently_remove
bulgarian_turks_expelled
+if !is_auto_resolve(C_BULGARIAN_TURKS_EXPELLED)
+valid_spaces 'Razgrad'
prompt 'Razgrad'
remove_all_infl 1
-permanently_remove
+endif
CARD 48 - We are the People!*
# The Democrat can move up to 4 SPs from the Lutheran Church space to any spaces in Germany, no more than 2 per space. The Communist may no longer make Support Checks in Leipzig.
+if !is_auto_resolve(C_WE_ARE_THE_PEOPLE)
we_are_the_people
-permanently_remove
+endif
CARD 49 - Foreign Currency Debt Burden*
# The Democrat designates 1 country in Eastern Europe. For the rest of this turn the Communist has a -2 modifier for support checks in this country.
foreign_currency_debt_burden
-permanently_remove
+logi `Communist cannot make Support Checks in ${country_name(game.foreign_currency_debt_burden)} for the rest of the turn`
CARD 50 - The Sinatra Doctrine*
# +1 Ops value for cards played by the Democratic Player the rest of this turn.
the_sinatra_doctrine
-permanently_remove
CARD 51 - 40th Anniversary Celebration*
# Place 2 Communist SPs in Germany. If Communist is ahead add 4 SPs. Then subtract 1 VP.
+permanently_remove
40th_anniversary_celebration
valid_spaces_country 'East_Germany'
prompt 'East Germany'
add_infl_free
40th_anniversary_celebration_vp
-permanently_remove
-CARD 52 - Normalisation
+CARD 52 - Normalization
# Remove all Democratic SPs from the Czechoslovakia Elite and Bureaucrat Spaces.
-normalisation
+permanently_remove
+if !is_auto_resolve(C_NORMALIZATION)
+normalization
prompt 'the Czechoslovakia Elite and Bureaucrat Spaces'
remove_all_infl 2
-permanently_remove
+endif
CARD 53 - Li Peng*
# +1 modifier to all Communist Tiananmen Square track attempts for the rest of the game
li_peng
-permanently_remove
CARD 54 - The Crowd Turns Against Ceausescu*
@@ -410,17 +424,17 @@ power_struggle
CARD 56 - Foreign Television
# Remove 4 Communist SPs no more than 2 per space.
+permanently_remove
foreign_television
remove_limited_opp_infl 4 2
-permanently_remove
CARD 57 - Central Committee Reshuffle*
# Place 3 Communist SPs in any Country where the Communist holds Power.
+permanently_remove
central_committee_reshuffle
prompt `${country_name(game.vm_active_country)}`
add_infl_free 3
-permanently_remove
CARD 58 - Austria-Hungary Border Reopened*
@@ -428,28 +442,28 @@ CARD 58 - Austria-Hungary Border Reopened*
austria_hungary_border_reopened
-CARD 59 - GrenzTruppen*
+CARD 59 - Grenztruppen*
# -1 modifier for Democratic Support Checks in East Germany the rest of this turn.
grenztruppen
CARD 60 - Toxic Waste*
# Add 3 Democratic SPs in any Worker space(s).
+permanently_remove
valid_spaces_socio 4
prompt 'any Worker space(s)'
add_infl_free 3
-permanently_remove
CARD 61 - The Monday Demonstrations*
# Place sufficient SPs in the Lutheran Church Space and Leipzig for Democratic control. Then the Democratic Player may make FIVE support checks in Germany using the Ops value of this card. Requires play of St. Nicholas Church as an event.
+permanently_remove
the_monday_demonstrations
prompt 'the Lutheran Church Space and Leipzig'
take_control_prep 2
valid_spaces_country_sc 'East_Germany'
prompt 'make 5 Support Checks in East Germany'
support_check 5
-permanently_remove
CARD 62 - Yakovlev Counsels Gorbachev*
@@ -464,24 +478,23 @@ genscher
CARD 64 - Legacy of 1968*
# The Democratic Player may place 1 SP in all spaces in Czechoslovakia not controlled by the Communist Player
+permanently_remove
legacy_of_1968
prompt 'all spaces in Czechoslovakia not controlled by the Communist Player'
add_limited_infl 11 1
-permanently_remove
CARD 65 - Presidential Visit*
# The Communist's hand size is reduced to 7 next turn.
presidential_visit
-permanently_remove
CARD 66 - New Forum
# Place a Democratic SP in 3 spaces in Germany
+permanently_remove
valid_spaces_country 'East_Germany'
prompt '3 spaces in East Germany'
add_limited_infl 3 1
-permanently_remove
CARD 67 - Reformer Rehabilitated*
@@ -492,30 +505,39 @@ reformer_rehabilitated
CARD 68 - Klaus and Komarek*
# Remove 2 Communist SPs and add 2 Democratic SPs in Prague.
+permanently_remove
klaus_and_komarek
prompt 'Prague'
remove_x_opp_infl 2
-valid_spaces 29
+valid_spaces 'Praha'
add_x_infl 2
-permanently_remove
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(THE_TYRANT_IS_GONE_OCCURRED)
valid_spaces_country 'Romania'
systematization
-permanently_remove
+else
+tyrant_block
+endif
CARD 70 - Securitate*
# The Democrat must reveal his battlecards at the start of the Power Struggles in Romania. This event remains in effect until cancelled by Army Backs the Revolution event.
+if !game.persistent_events.includes(C_ARMY_BACKS_REVOLUTION)
securitate
+else
+army_block
+endif
CARD 71 - Kiss of Death*
# The Communist Player must randomly discard a card. If it is neutral or Democratic it takes place immediately.
permanently_remove
+if !is_auto_resolve(C_KISS_OF_DEATH)
kiss_of_death
+endif
CARD 72 - Peasant Parties Revolt
@@ -525,7 +547,7 @@ peasant_parties_revolt
CARD 73 - Laszlo Tokes*
# Place 1 Democratic SP in Timisoara and Harghita/Covasna. The Democratic may then place SPs or make Support Check rolls in Romania using the Ops value of this card. Allows play of Massacre in Timisoara.
-valid_spaces 50 56
+valid_spaces 'Timisoara', 'Harghita/Covasna'
prompt 'in Timisoara and Harghita/Covasna'
add_limited_infl 2 1
laszlo_tokes
@@ -536,8 +558,6 @@ else
prompt 'make 2 Support Checks in Romania'
support_check 2
endif
-permanently_remove
-
CARD 74 - FRG Embassies
@@ -547,28 +567,32 @@ frg_embassies
CARD 75 - Exit Visas*
# The Democratic Player may discard any cards in his hand and draw new cards from the deck.
-exit_visas
permanently_remove
+if !is_auto_resolve(C_EXIT_VISAS)
+exit_visas
+endif
CARD 76 - Warsaw Pact Summit
# The Warsaw Pact holds a summit in Bucharest. The Communist player chooses who dominates the summit, the hardliners or the reformers. The Communist may either make 2 Support Checks with a +2 drm against Student and intellectual spaces, or place 4 SPs in spaces with no influence that are not controlled by the Democratic player.
+permanently_remove
warsaw_pact_summit
if game.phase === 3
prompt ' spaces with no Democratic SPs'
add_infl_free 4
else
prompt 'Select a Student or Intellectual space'
-valid_spaces_country_socio_2 3, 4
+valid_spaces_country_socio_2 3 4
support_check_modified 2 2
endif
-permanently_remove
CARD 77 - Samizdat
# The Democratic Player can put a card in his hand aside for next turn and draw a replacement card from the deck.
-samizdat
permanently_remove
+if !is_auto_resolve(C_SAMIZDAT)
+samizdat
+endif
CARD 78 - Workers Revolt
@@ -578,95 +602,109 @@ workers_revolt
CARD 79 - The Third Way*
# -2 VP. Place 3 Communist SPs in the German writers space.
+permanently_remove
the_third_way
-valid_spaces 4
+valid_spaces 'German Writers'
prompt 'the East German Writers space'
add_x_infl 3
-permanently_remove
CARD 80 - Nepotism*
# Roll a die. 1-2: Place 4 Communist SPs in Worker spaces in the Balkans. 3-4: add 3 SPs in Worker spaces in the Balkans. 5-6: add 1 SP to a Worker space in the Balkans.
+permanently_remove
nepotism
valid_spaces_region_socio 'Balkans', 4
prompt 'Worker spaces in the Balkans'
add_infl_free
-permanently_remove
CARD 81 - The Baltic Way*
# +2 VP. Reduce USSR stability by 1. Place sufficient Democratic SPs in any Minorities space for control. .Requires play of Sajudis. Allows play of Breakaway Baltic Republics.
+permanently_remove
+the_baltic_way_prep
+if !is_auto_resolve(C_THE_BALTIC_WAY)
the_baltic_way
prompt 'any Minorities space'
take_control_prep 1
-permanently_remove
+endif
CARD 82 - Spitzel*
# Remove 2 Democratic SPs in Germany.
+permanently_remove
+if !is_auto_resolve(C_SPITZEL)
valid_spaces_country_opp 'East_Germany'
prompt ' from East Germany'
remove_opp_infl 2
-permanently_remove
+endif
CARD 83 - Modrow*
# Roll a die. If the die roll exceeds the number of Democratically controlled spaces in Germany, then place 4 Communist SPs in Germany, no more than 2 per space.
modrow
valid_spaces_country 'East_Germany'
-prompt 'East Germany'
+prompt 'East Germany, no more than 2 per space'
add_limited_infl 4 2
-permanently_remove
CARD 84 - Breakaway Baltic Republics*
# +3 VPs. Reduce USSR stability by 2. Place sufficient Democratic SPs in any Minorities space for control. Cancels the effect of Gorbachev Charms the West for the rest of the game. Make 1 Support Check using the Ops value of this card. Requires play of The Baltic Way as an event.
+permanently_remove
breakaway_baltic_republics
prompt 'any Minorities space'
take_control_prep 1
valid_spaces_sc
prompt 'select a space for the support check'
1_support_check
-permanently_remove
CARD 85 - Tank Column/Tank Man*
# Advance 1 space on the Tiananmen Square track.
-tank_column
permanently_remove
+tank_column
CARD 86 - The Wall Must Go!*
# Reduce USSR stability by 1. The Democratic Player attempts to tear down the Berlin Wall. Each player rolls a die and adds the number of spaces in Germany they control. Higher total wins. This is best 2 out of 3. If successful +3 VPs and the Communist must remove 3 SPs from Germany.
the_wall_must_go
remove_infl 3
-permanently_remove
CARD 87 - Kohl Proposes Reunification*
# +2 VP. The Democratic Player may place SPs or make Support Checks using the Ops value of this card if The Wall Must Go! has been played as an event successfully.
-kohl_proposes_reunification
permanently_remove
+kohl_proposes_reunification_prep
+if !is_auto_resolve(C_KOHL_PROPOSES_REUNIFICATION)
+kohl_proposes_reunification
+else
+logi `C${C_THE_WALL_MUST_GO} has not been successfully played for the event.`
+endif
CARD 88 - Adamec*
# Roll a die. On a 4-6 add 4 Communist SPs in Czechoslovakia, no more than 2 per space. -1 drm for every Worker or Farmer space in Czechoslovakia that is controlled by the Democratic Player.
+permanently_remove
adamec
valid_spaces_country 'Czechoslovakia'
prompt 'Czechoslovakia'
add_limited_infl 4 2
-permanently_remove
CARD 89 - Domino Theory*
# If the Democrat holds Power in at least 2 counties, he may retrieve any Power Struggle - card from the discard pile and play it immediately as an event. The Democrat receives a -1 drm to his dice rolls for this Power Struggle.
-prompt 'Domino Theory: choose a Power Struggle card to play from the discard pile.'
-domino_theory
permanently_remove
+if !is_auto_resolve(C_DOMINO_THEORY)
+prompt 'Domino Theory: choose a Power Struggle card to play from the discard pile'
+domino_theory
+else
+domino_theory_pass
+endif
CARD 90 - Civic Forum*
# +1 VP. Place 4 SPs in Czechoslovakia. The Democratic Player may make Support Checks in Czechoslovakia using the Ops value of this card if the Czech Writers space is Democratically controlled.
+permanently_remove
+civic_forum_prep
valid_spaces_country 'Czechoslovakia'
prompt 'Czechoslovakia'
add_infl_free 4
@@ -674,45 +712,50 @@ civic_forum
valid_spaces_country_sc 'Czechoslovakia'
prompt 'Select a space in Czechoslovakia'
support_check 2
-permanently_remove
CARD 91 - My First Banana*
# Remove 2 Communist SPs and make two Support Checks in Germany using the Ops value of this card.
+permanently_remove
+if !is_auto_resolve(C_MY_FIRST_BANANA)
valid_spaces_country_opp 'East_Germany'
prompt ' from East Germany'
remove_opp_infl 2
valid_spaces_country_sc 'East_Germany'
prompt 'select a space in East Germany'
support_check 2
-permanently_remove
+endif
CARD 92 - Betrayal
# Choose any Orthodox Church space. Replace all Democratic SPs with Communist SPs.
+permanently_remove
+if !is_auto_resolve(C_BETRAYAL)
prompt 'choose any Orthodox Church space. Replace all Democratic SPs with Communist SPs'
betrayal
-permanently_remove
+endif
CARD 93 - Shock Therapy*
# Target country must be one where the Communist has been toppled from power. Successful 3-6. -1 for every Communist Worker or Farmer space. +2 VPs and place 3 SPs in the country
+permanently_remove
shock_therapy
valid_spaces_country
prompt ` ${country_name(game.vm_active_country)}`
add_infl_free 3
-permanently_remove
CARD 94 - Union of Democratic Forces*
# Remove 4 Communist SPs from Bulgaria. Democratic Player may make Support Checks in Bulgaria using the Ops value of this card if the Bulgarian writers space is Democratically controlled.
+permanently_remove
+if !is_auto_resolve(C_UNION_OF_DEMOCRATIC_FORCES)
valid_spaces_country_opp 'Bulgaria'
prompt ' from Bulgaria'
-remove_opp_infl 4
+remove_limited_opp_infl 4 2
valid_spaces_country_sc 'Bulgaria'
prompt 'Make 2 Support Checks in Bulgaria'
support_check 2
-permanently_remove
+endif
CARD 95 - Power Struggle - Romania
@@ -722,17 +765,17 @@ power_struggle
CARD 96 - The Chinese Solution*
# Can only take place if the Communist has reached the Protesters Massacred space on the Tiananmen Square track. The Communist may choose 1 country where he retains Power and conduct 5 Support Checks with a +3 modifier, but suffers a penalty of +3 VPs.
+permanently_remove
the_chinese_solution
valid_spaces_country_sc
-prompt `Make 5 Support Checks in ${country_name(game.vm_active_country)}`
+prompt `make 5 Support Checks in ${country_name(game.vm_active_country)}`
support_check_modified 5 3
-permanently_remove
CARD 97 - The Tyrant is Gone*
# Remove 4 Communist SPs from the Romanian Elite Space. The Democrat announces where the Ceausescus flee, choosing a space with no Democratic SPs. If the Democratic Player gains control of the space before the end of the game the Ceausescus are captured, +2 VP. If not they escape, -2 VP. Requires play of The Crowd Turns Against Ceausescu
-if game.persistent_events['the_crowd_turns_against_ceausescu']
-valid_spaces 51
+if game.persistent_events.includes(THE_CROWD_TURNS_AGAINST_CEAUSESCU_OCCURRED)
+cluj_check
prompt 'the Romanian Elite Space'
remove_x_opp_infl 4
the_tyrant_is_gone
@@ -744,35 +787,37 @@ endif
CARD 98 - Politburo Intrigue*
# Remove 3 Democratic SPs in Bulgaria, no more than 2 per space. Then make one Support Check in Bulgaria, using the Ops value of this card.
+permanently_remove
+if !is_auto_resolve(C_POLITBURO_INTRIGUE)
valid_spaces_country_opp 'Bulgaria'
prompt ' from Bulgaria'
remove_limited_opp_infl 3 2
valid_spaces_country_sc 'Bulgaria'
prompt 'make a support check in Bulgaria'
1_support_check
-permanently_remove
+endif
CARD 99 - Ligachev*
# -3 VP if the Democrat does not play Gorbachev Charms the West for the event his next action round. -3 VPs take effect as soon as the Democrat plays his card but before the effect of the Democrat's card takes place.
ligachev
-permanently_remove
CARD 100 - Stand Fast*
# -1 to opponent Support Checks in spaces you control for the rest of this turn.
stand_fast
-permanently_remove
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
-valid_spaces 51
+if !game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED)
+valid_spaces 'Cluj-Napoca'
prompt 'the Romania Elite Space'
add_x_infl 2
-endif
elena
+else
+tyrant_block
+endif
CARD 102 - National Salvation Front*
@@ -782,10 +827,13 @@ national_salvation_front
CARD 103 - Government Resigns*
# Remove all Communist SPs from any uncontrolled Elite space.
+permanently_remove
+if !is_auto_resolve(C_GOVERNMENT_RESIGNS)
government_resigns
prompt 'any uncontrolled Elite space'
remove_all_infl 1
-permanently_remove
+endif
+
CARD 104 - New Year's Eve Party*
@@ -795,19 +843,21 @@ new_years_eve_party
CARD 105 - Public Against Violence*
# Place 2 Democratic SPs each in Kosice and Presov. Make one Support Check in Bratislava using the Ops value of this card.
-valid_spaces 36 37
-prompt 'Kosice and Presov'
+permanently_remove
+valid_spaces 'Kosice'
+prompt 'Kosice'
add_x_infl 2
-valid_spaces 36 37
+valid_spaces 'Presov'
+prompt 'Presov'
add_x_infl 2
public_against_violence
prompt 'Make a Support Check in Bratislava'
support_check_modified 1 2
-permanently_remove
CARD 106 - Social Democratic Platform Adopted*
# Play as an event in a Country where the Democrat has Power. Add 2 SPs and make 1 Support Check in the Country using the Ops value of this card.
+permanently_remove
social_democratic_platform_adopted
valid_spaces_country
prompt `${country_name(game.vm_active_country)}`
@@ -815,36 +865,66 @@ add_infl_free 2
valid_spaces_country_sc
prompt `make a Support Check in ${country_name(game.vm_active_country)}`
1_support_check
-permanently_remove
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.
-if !game.the_tyrant_is_gone
+permanently_remove
+if !game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED)
massacre_in_timisoara
valid_spaces_country_sc 'Romania'
prompt 'Make Support Checks in Romania'
support_check_modified 2 2
+else
+tyrant_block
endif
-permanently_remove
CARD 108 - Army Backs Revolution*
# Place in front of the Democratic Player. Cancels effects of Securitate* event.
army_backs_revolution
-permanently_remove
CARD 109 - Kremlin Coup*
# Can only take place if Breakaway Baltic Republics has been played as an event. -3 VPs. In all countries where the Communist retains Power, place sufficient SPs in Elite space for Communist control, then make a support check against the bureaucratic space with a +1 modifier, even if there are no Democratic SPs in the space.
-kremlin_coup
permanently_remove
+kremlin_coup
CARD 110 - Malta Summit*
# Roll a die. The summit is successful 4-6. If successful, +3VPs and remove 5 Communist SPs from elite space(s). The Democrat receives a modifier based on the USSR Stability Track: +1 if Sajudis +2 if The Baltic Way +3 if Breakaway Baltic Republics Not playable for the event after Kremlin Coup.
+permanently_remove
malta_summit
prompt ' from Elite spaces'
remove_opp_infl 5
-permanently_remove
+
+#// ============= TIANANMEN SQUARE TRACK AWARDS ====================
+CARD 203 - Tiananmen Square space 3 award
+tst_3
+
+CARD 204 - Tiananmen Square space 4 award
+valid_spaces_opponent
+tst_4
+
+CARD 206 - Tiananmen Square space 6
+valid_spaces_sc
+tst_6
+
+CARD 208 - Tiananmen Square space 8 event
+tst_8
+
+#// ============= POWER STRUGGLE WILDCARDS =========================
+
+
+CARD 349 - Support Falters
+support_falters
+
+CARD 350 - Support Surges
+support_surges
+
+CARD 351 - Scare Tactics
+scare_tactics
+valid_spaces_country_opp
+prompt ()=>` from ${country_name(game.vm_active_country)}`
+remove_opp_infl 1 \ No newline at end of file