diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-19 02:48:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-19 11:40:33 +0200 |
commit | e0fa4e9230899f02113aa209d41ce8d9e18e992d (patch) | |
tree | 400a6b8e3bdd3e0b3aeb9f9cbc5e44b1b17c5364 /rules.js | |
parent | 6968299d698e90c5d0574d9867a70342651ea848 (diff) | |
download | time-of-crisis-e0fa4e9230899f02113aa209d41ce8d9e18e992d.tar.gz |
Add "No Demagogue" option.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -5535,8 +5535,9 @@ exports.setup = function (seed, scenario, options) { setup_market_pile(CARD_P4), setup_market_pile(CARD_M4X), setup_market_pile(CARD_S4X), - setup_market_pile(CARD_P4X), ] + if (!options.no_demagogue) + game.market.push(setup_market_pile(CARD_P4X)) break case "Expansion - Random": game.market = [ @@ -5548,8 +5549,11 @@ exports.setup = function (seed, scenario, options) { setup_market_pile(random(2) ? CARD_P3 : CARD_P3X), setup_market_pile(random(2) ? CARD_M4 : CARD_M4X), setup_market_pile(random(2) ? CARD_S4B : CARD_S4X), - setup_market_pile(random(2) ? CARD_P4 : CARD_P4X), ] + if (!options.no_demagogue) + game.market.push(setup_market_pile(random(2) ? CARD_P4 : CARD_P4X)) + else + game.market.push(setup_market_pile(CARD_P4)) break } |