diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-17 11:54:55 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-18 12:48:59 +0200 |
commit | 8d6138c0761e973c532e4c42c773e136c91e21af (patch) | |
tree | 34fd8098cfe54b7e788c9ec8957d68566b29516d | |
parent | a0c6e4e0544413e3b851402fc88ed26a75645b51 (diff) | |
download | field-cloth-gold-8d6138c0761e973c532e4c42c773e136c91e21af.tar.gz |
Place dragon with one click.
-rw-r--r-- | rules.js | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -589,21 +589,10 @@ function pass_play_to_rival() { // === THE ACTIONS: DRAGON === function goto_dragon() { - game.state = "dragon_1" + game.state = "dragon" } -states.dragon_1 = { - inactive: "Dragon", - prompt() { - view.prompt = "Dragon: Move the Dragon to an oval space." - gen_action_token(TOKEN_DRAGON) - }, - token(_) { - game.state = "dragon_2" - }, -} - -states.dragon_2 = { +states.dragon = { inactive: "Dragon", prompt() { view.prompt = "Dragon: Move the Dragon to an oval space." |