summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-20 17:28:41 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-20 17:28:41 +0100
commit67d6b04fb8d8a9de569e17a6cc4f08dcb637205c (patch)
tree1420e624b23f84c6766100e0912cd8efd7d642d3
parentb3890ef0e252fb0a68d203b6f79b4cc32aae39b0 (diff)
download1989-dawn-of-freedom-67d6b04fb8d8a9de569e17a6cc4f08dcb637205c.tar.gz
Fix for Shock Therapy
-rw-r--r--rules.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 489049c..a5f2180 100644
--- a/rules.js
+++ b/rules.js
@@ -6620,22 +6620,27 @@ states.vm_shock_therapy = {
poland() {
push_undo()
game.vm_active_country = 'Poland'
+ log(`Chose ${country_name(game.vm_active_country)}`)
},
czechoslovakia() {
push_undo()
game.vm_active_country = 'Czechoslovakia'
+ log(`Chose ${country_name(game.vm_active_country)}`)
},
hungary() {
push_undo()
game.vm_active_country = 'Hungary'
+ log(`Chose ${country_name(game.vm_active_country)}`)
},
romania() {
push_undo()
game.vm_active_country = 'Romania'
+ log(`Chose ${country_name(game.vm_active_country)}`)
},
bulgaria () {
push_undo()
game.vm_active_country = 'Bulgaria'
+ log(`Chose ${country_name(game.vm_active_country)}`)
},
roll() {
clear_undo()
@@ -8031,7 +8036,7 @@ CODE[92] = [ // Betrayal
CODE[93] = [ // Shock Therapy*
[ vm_shock_therapy ],
[ vm_valid_spaces_country ],
- [ vm_prompt, ()=>` to ${country_name(game.vm_active_country)}` ],
+ [ vm_prompt, ()=>` ${country_name(game.vm_active_country)}` ],
[ vm_add_infl_free, 3 ],
[ vm_permanently_remove ],
[ vm_return ],