diff options
-rw-r--r-- | rules.js | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -3289,6 +3289,13 @@ function finish_the_wall() { } } +function finish_we_are_the_people() { + 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' +} + // =========== MOVING THROUGH TURNS ============ function end_round() { @@ -7571,10 +7578,7 @@ states.vm_we_are_the_people_remove = { space(space) { remove_infl(space, 'vm_available_ops') 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' + finish_we_are_the_people() } }, done() { @@ -7584,10 +7588,7 @@ states.vm_we_are_the_people_remove = { log('No SPs removed') vm_next() } 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' + finish_we_are_the_people() } } } |