diff options
-rw-r--r-- | play.html | 1 | ||||
-rw-r--r-- | rules.js | 10 |
2 files changed, 9 insertions, 2 deletions
@@ -32,6 +32,7 @@ <div class="menu_item" onclick="send_restart('Quick')">⚠ Restart Quick</div> <div class="menu_item" onclick="send_restart('3P Quick')">⚠ Restart 3P Quick</div> <div class="menu_item" onclick="send_restart('2P Quick')">⚠ Restart 2P Quick</div> + <div class="menu_item" onclick="send_restart('Test')">⚠ Restart Test</div> </div> </div> <div class="icon_button" onclick="toggle_pieces()"><img src="/images/earth-america.svg"></div> @@ -181,6 +181,7 @@ exports.scenarios = [ "2P Standard", "2P Short", "2P Quick", + "Test", ] function load_game(state) { @@ -284,6 +285,13 @@ exports.setup = function (seed, scenario, options) { setup_deck(4, 0, 15) } + if (scenario === "Test") { + game.deck = [] + for (let i = 1; i < PROPAGANDA; ++i) + if (i !== 1 && i !== 2 && i !== 3 && i !== 7 && i !== 9 && i !== 10 && i !== 11 && i !== 13) + game.deck.push(i) + } + log("DECK " + game.deck.join(", ")) update_control() @@ -5305,8 +5313,6 @@ function end_event() { resume_event_card() } -// EVENT VM - function is_piece_in_event_space(p) { return piece_space(p) === game.vm.s } |