summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-25 17:36:05 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-25 17:36:05 +0000
commit0829a3e329b1ced426e4158dce28d031517c6a7e (patch)
tree7f8128e20419019872c719ac8b814e5a12b4e02e
parent386cc5fb50ed2d13558cd7ca7c9d48edcdd135be (diff)
download1989-dawn-of-freedom-0829a3e329b1ced426e4158dce28d031517c6a7e.tar.gz
Limit We are the People to 2 infl per space
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 28ef327..cf84c22 100644
--- a/rules.js
+++ b/rules.js
@@ -7583,6 +7583,7 @@ states.vm_we_are_the_people_remove = {
vm_next()
} else {
game.valid_spaces = [...S_EAST_GERMANY]
+ game.vm_max_infl = 2
game.state = 'vm_we_are_the_people_add'
}
}
@@ -7598,7 +7599,7 @@ states.vm_we_are_the_people_add = {
}
},
space(space) {
- vm_do_add_infl_free(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.valid_spaces = []