summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
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 ],