summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 04da63d..fce0426 100644
--- a/rules.js
+++ b/rules.js
@@ -7573,6 +7573,7 @@ states.vm_we_are_the_people_remove = {
if (game.vm_influence_added[S_LUTHERAN_CHURCH] === 4) {
game.valid_spaces = [...S_EAST_GERMANY]
game.vm_max_infl = 2
+ game.vm_available_ops = 4
game.state = 'vm_we_are_the_people_add'
}
},
@@ -7585,6 +7586,7 @@ states.vm_we_are_the_people_remove = {
} else {
game.valid_spaces = [...S_EAST_GERMANY]
game.vm_max_infl = 2
+ game.vm_available_ops = game.vm_influence_added[S_LUTHERAN_CHURCH]
game.state = 'vm_we_are_the_people_add'
}
}
@@ -7594,15 +7596,15 @@ states.vm_we_are_the_people_add = {
return `resolve ${clean_name(cards[game.played_card].name)}.`
},
prompt() {
- view.prompt = `"We are the People!": you must add the ${pluralize(game.vm_influence_added[S_LUTHERAN_CHURCH],'SP')} to spaces in Germany.`
+ view.prompt = `"We are the People!": you must add the ${pluralize(game.vm_available_ops,'SP')} to spaces in Germany.`
for (let space_id of game.valid_spaces) {
gen_action_space(space_id);
}
},
space(space) {
vm_do_add_limited_infl(space, game.vm_max_infl )
- game.vm_influence_added[S_LUTHERAN_CHURCH]--
- if (game.vm_influence_added[S_LUTHERAN_CHURCH] === 0 ) {
+ game.vm_available_ops--
+ if (game.vm_available_ops === 0 ) {
game.valid_spaces = []
do_log_summary()
vm_next()