diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-21 14:29:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | 5e22d8383162cd7d2dd77f7fc4072c518d3d79b0 (patch) | |
tree | 0dd734b9413866a41068f24968c91eedd9f5b882 | |
parent | 58317e96eed5c3e9394b9744088eaa6d25e17b4f (diff) | |
download | nevsky-5e22d8383162cd7d2dd77f7fc4072c518d3d79b0.tar.gz |
Delay -> Decline
-rw-r--r-- | play.js | 2 | ||||
-rw-r--r-- | rules.js | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1811,7 +1811,7 @@ function on_update() { action_button("capability", "Capability") // Events - action_button("delay", "Delay") // delay Aleksandr/Andrey + action_button("decline", "Decline") action_button("deploy", "Deploy") action_button("discard", "Discard") action_button("hold", "Hold") @@ -3882,7 +3882,7 @@ states.novgorod_veche = { if (is_lord_ready(LORD_ALEKSANDR) || is_lord_ready(LORD_ANDREY)) { if (game.pieces.veche_vp < 8) - view.actions.delay = 1 + view.actions.decline = 1 } if (game.pieces.veche_vp > 0) { @@ -3894,18 +3894,18 @@ states.novgorod_veche = { } } }, - delay() { + decline() { push_undo() game.state = "novgorod_veche_done" if (is_lord_ready(LORD_ALEKSANDR)) { let turn = current_turn() + 1 - log(`Delayed L${LORD_ALEKSANDR} to ${turn}.`) + log(`Declined L${LORD_ALEKSANDR} to ${turn}.`) set_lord_calendar(LORD_ALEKSANDR, turn) } if (is_lord_ready(LORD_ANDREY)) { let turn = current_turn() + 1 - log(`Delayed L${LORD_ANDREY} to ${turn}.`) + log(`Declined L${LORD_ANDREY} to ${turn}.`) set_lord_calendar(LORD_ANDREY, turn) } |