summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js5
-rw-r--r--rules.ts6
2 files changed, 11 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index e608c52..a3cdfb2 100644
--- a/rules.js
+++ b/rules.js
@@ -1145,6 +1145,11 @@ states.choose_medallion = {
};
states.confirm_turn = {
inactive: 'confirm their move',
+ auto_resolve() {
+ if (game.fascist === 1)
+ return true;
+ return false;
+ },
prompt() {
if (game.fascist === 2)
view.prompt = 'Fascist Test: Done.';
diff --git a/rules.ts b/rules.ts
index 04641c6..17f8a46 100644
--- a/rules.ts
+++ b/rules.ts
@@ -1443,6 +1443,12 @@ states.choose_medallion = {
states.confirm_turn = {
inactive: 'confirm their move',
+ auto_resolve() {
+ // don't pause to confirm actions during fascist event
+ if (game.fascist === 1)
+ return true
+ return false
+ },
prompt() {
if (game.fascist === 2)
view.prompt = 'Fascist Test: Done.'