summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 4f5b355..e43e5b0 100644
--- a/rules.js
+++ b/rules.js
@@ -1811,35 +1811,36 @@ states.new_years_eve_party = {
},
east_germany() {
push_undo()
- game.pwr_struggle_in = 'East_Germany'
+ game.vm_event = 42
goto_vm(42)
},
poland() {
push_undo()
- game.pwr_struggle_in = 'Poland'
+ game.vm_event = 22
goto_vm(22)
},
czechoslovakia() {
push_undo()
- game.pwr_struggle_in = 'Czechoslovakia'
+ game.vm_event = 55
goto_vm(55)
},
hungary() {
push_undo()
- game.pwr_struggle_in = 'Hungary'
+ game.vm_event = 23
goto_vm(23)
},
romania() {
push_undo()
- game.pwr_struggle_in = 'Romania'
+ game.vm_event = 95
goto_vm(95)
},
bulgaria () {
push_undo()
- game.pwr_struggle_in = 'Bulgaria'
+ game.vm_event = 43
goto_vm(43)
},
pass() {
+ push_undo()
if (game.vp > 0) {
goto_game_over(DEM, `New Year's Eve Party: ${DEM} wins on Victory Point Track!`)
} else if (game.vp < 0) {