diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-23 11:50:44 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | e270a58ec7c5e6a4058d07410fe00db7ad6831b7 (patch) | |
tree | 9bebd398b250088b872856793837b0f20d9a16fe /rules.js | |
parent | 918d358f7870e3e950be6168424ddfd160507b6d (diff) | |
download | andean-abyss-e270a58ec7c5e6a4058d07410fe00db7ad6831b7.tar.gz |
WIP test "setup" command - send_restart([events]) to seed the deck.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -296,7 +296,6 @@ exports.setup = function (seed, scenario, options) { log_h1("Scenario: " + scenario) switch (scenario) { - default: case "Standard": if (options.seeded) log("Seeded Deck") @@ -320,6 +319,11 @@ exports.setup = function (seed, scenario, options) { for (let i = 1; i < PROPAGANDA; ++i) game.deck.push(i) break + default: + setup_deck(3, 10, 5) + for (let i = 0; i < scenario.length; ++i) + game.deck[i] = scenario[i] + break } log("DEBUG DECK " + game.deck.join(", ")) |