summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-02-27 13:34:04 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-02-27 13:34:04 +0000
commit241df2e63f4a8bd006156368ef6af540dc6b5a48 (patch)
tree8fb3ca34fb342f6a782e651a6cf7408487aac0c7
parent9d7e2b0b58adda25bf76a3b5c1570383ba10d22f (diff)
download1989-dawn-of-freedom-241df2e63f4a8bd006156368ef6af540dc6b5a48.tar.gz
Add pass to TST_6 support check
-rw-r--r--rules.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 70decd2..f10e457 100644
--- a/rules.js
+++ b/rules.js
@@ -8171,6 +8171,10 @@ states.vm_tst_6 = {
gen_action_space(space_id)
}
}
+ if (game.valid_spaces.length === 0) {
+ view.prompt = 'Tiananmen Square Award: No space to Support Check. Pass.'
+ gen_action('pass')
+ }
},
space(space) {
push_undo()
@@ -8188,6 +8192,9 @@ states.vm_tst_6 = {
}
game.state = 'vm_tst_6_sc'
},
+ pass() {
+ vm_next()
+ }
}
states.vm_tst_6_sc = {