diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-12-11 16:02:08 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-12-11 16:02:08 +0100 |
commit | 4bdd35c50cc542d4ed4bdd78f8d925f9de65c5ce (patch) | |
tree | c62d65cb274b717b1fcf09271d7343c61785fd6d | |
parent | 3bbd310ccc1b8d7e0471a0904501de0fc7079ed8 (diff) | |
download | votes-for-women-4bdd35c50cc542d4ed4bdd78f8d925f9de65c5ce.tar.gz |
Reconsideration rule change for The Civil War effect
-rw-r--r-- | rules.js | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2208,7 +2208,13 @@ function vm_replace() { game.vm.us_states = ANYWHERE.slice() set_filter(game.vm.us_states, s => is_green_check(s) || is_red_x(s)) - if (!game.nineteenth_amendment || (game.vm.what === GREEN_CHECK && !count_green_checks()) || game.vm.what === RED_X && !count_red_xs()) { + // If Civil War is in effect the Suffragist cannot play Reconsideration in Atlantic & Appalachia and South regions + if (game.active === SUF && game.persistent_turn.includes(THE_CIVIL_WAR)) { + let excluded = region_us_states(ATLANTIC_APPALACHIA, SOUTH) + set_filter(game.vm.us_states, s => !set_has(excluded, s)) + } + + if (!game.nineteenth_amendment || !game.vm.us_states.length || (game.vm.what === GREEN_CHECK && !count_green_checks()) || game.vm.what === RED_X && !count_red_xs()) { vm_next() } else { goto_vm_replace() |