summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 9738132..519c9f3 100644
--- a/rules.js
+++ b/rules.js
@@ -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
}