diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-01 14:37:42 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-01 14:37:42 +0000 |
commit | 7b10f6e1f438fd29057222f0dfbefb01f9b3fc71 (patch) | |
tree | 14fffd93cc50c28253ef2a556c16e7ff2ddae87d | |
parent | 102d457b47c56aaaf1a81e3390db6c602b8b7609 (diff) | |
download | 1989-dawn-of-freedom-7b10f6e1f438fd29057222f0dfbefb01f9b3fc71.tar.gz |
Fix persistent events being permanently removed
-rw-r--r-- | events.txt | 9 | ||||
-rw-r--r-- | rules.js | 8 |
2 files changed, 3 insertions, 14 deletions
@@ -362,13 +362,11 @@ remove_all_infl 1 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. -permanently_remove we_are_the_people 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. -permanently_remove foreign_currency_debt_burden @@ -397,7 +395,6 @@ remove_all_infl 2 CARD 53 - Li Peng* # +1 modifier to all Communist Tiananmen Square track attempts for the rest of the game -permanently_remove li_peng @@ -528,7 +525,6 @@ 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. -permanently_remove valid_spaces 'Timisoara', 'Harghita/Covasna' prompt 'in Timisoara and Harghita/Covasna' add_limited_infl 2 1 @@ -614,7 +610,6 @@ remove_opp_infl 2 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. -permanently_remove modrow valid_spaces_country 'East_Germany' prompt 'East Germany, no more than 2 per space' @@ -672,7 +667,6 @@ domino_theory 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 valid_spaces_country 'Czechoslovakia' prompt 'Czechoslovakia' add_infl_free 4 @@ -766,13 +760,11 @@ ligachev CARD 100 - Stand Fast* # -1 to opponent Support Checks in spaces you control for the rest of this turn. -permanently_remove 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 -permanently_remove if !game.the_tyrant_is_gone valid_spaces 'Cluj-Napoca' prompt 'the Romania Elite Space' @@ -842,7 +834,6 @@ endif CARD 108 - Army Backs Revolution* # Place in front of the Democratic Player. Cancels effects of Securitate* event. -permanently_remove army_backs_revolution @@ -4890,6 +4890,7 @@ function vm_massacre_in_timisoara() { function vm_modrow() { game.playable_cards = game.playable_cards.filter(n => n !== C_HONECKER) + add_to_persistent_events(C_MODROW) game.state = 'vm_modrow' } @@ -7756,7 +7757,7 @@ states.vm_support_falters = { /* =================== EVENTS ================================ */ -// BEGIN EVENTS {{{ +// #region GENERATED EVENT CODE const CODE = [] CODE[1] = [ // Legacy of Martial Law* @@ -8121,7 +8122,6 @@ CODE[47] = [ // Bulgarian Turks Expelled* ] CODE[48] = [ // We are the People!* - [ vm_permanently_remove ], [ vm_we_are_the_people ], [ vm_return ], ] @@ -8370,7 +8370,6 @@ CODE[82] = [ // Spitzel* ] CODE[83] = [ // Modrow* - [ vm_permanently_remove ], [ vm_modrow ], [ vm_valid_spaces_country, 'East_Germany' ], [ vm_prompt, 'East Germany, no more than 2 per space' ], @@ -8425,7 +8424,6 @@ CODE[89] = [ // Domino Theory* ] CODE[90] = [ // Civic Forum* - [ vm_permanently_remove ], [ vm_valid_spaces_country, 'Czechoslovakia' ], [ vm_prompt, 'Czechoslovakia' ], [ vm_add_infl_free, 4 ], @@ -8650,4 +8648,4 @@ CODE[351] = [ // Scare Tactics [ vm_remove_opp_infl, 1 ], [ vm_return ], ] -// END EVENTS }}} +// #endregion |