From a718121b64cbf7dde9fab9fe729df415c70a821d Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 11 Nov 2024 08:18:24 +0000 Subject: Update handling of Tyrant --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 535fa2b..18061df 100644 --- a/rules.js +++ b/rules.js @@ -226,6 +226,7 @@ const one_turn_events = [ 8, 13, 25, 50, 63, 74, 49, 58, 59, 100, 101 ] const PC_TACTIC_FAILS = 52 const THE_CROWD_TURNS_AGAINST_CEAUSESCU_OCCURRED = 540 +const THE_TYRANT_IS_GONE_OCCURRED = 970 // COUNTRY CONSTANTS @@ -5297,6 +5298,7 @@ function vm_the_third_way() { } function vm_the_tyrant_is_gone() { + game.persistent_events.push(THE_TYRANT_IS_GONE_OCCURRED) game.valid_spaces = [] for (let i = 0; i < spaces.length; i++) { let space = spaces[i] @@ -8671,7 +8673,7 @@ CODE[96] = [ // The Chinese Solution* ] CODE[97] = [ // The Tyrant is Gone* - [ vm_if, ()=>game.persistent_events.includes(54) ], + [ vm_if, ()=>game.persistent_events.includes(THE_CROWD_TURNS_AGAINST_CEAUSESCU_OCCURRED) ], [ vm_valid_spaces, 'Cluj-Napoca' ], [ vm_prompt, 'the Romanian Elite Space' ], [ vm_remove_x_opp_infl, 4 ], -- cgit v1.2.3