diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-03-24 23:20:57 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | a01cf792e1d44595d584fb45e75e6b61047c04a3 (patch) | |
tree | ec774957dbcf055e233e78f404d4d2117a3023c5 | |
parent | 2e6cd785c9fbe6b7f79f484786de87e723ce3f8c (diff) | |
download | andean-abyss-a01cf792e1d44595d584fb45e75e6b61047c04a3.tar.gz |
Automatic Pass.
-rw-r--r-- | rules.js | 20 |
1 files changed, 5 insertions, 15 deletions
@@ -2006,21 +2006,11 @@ function goto_pass() { push_undo() game.cylinder[game.current] = SOP_PASS log_h2(faction_name[game.current] + " - Pass") - game.state = "pass" -} - -states.pass = { - prompt() { - view.prompt = `Pass: ${faction_name[game.current]} +${game.current === GOVT ? 3 : 1} Resources.` - gen_action_resources(game.current) - }, - resources(_) { - if (game.current === GOVT) - add_resources(game.current, 3) - else - add_resources(game.current, 1) - resume_event_card() - }, + if (game.current === GOVT) + add_resources(game.current, 3) + else + add_resources(game.current, 1) + resume_event_card() } // === OPERATIONS === |