From 5e22d8383162cd7d2dd77f7fc4072c518d3d79b0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 21 Jan 2023 14:29:12 +0100 Subject: Delay -> Decline --- play.js | 2 +- rules.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/play.js b/play.js index 079999c..04afc7b 100644 --- a/play.js +++ b/play.js @@ -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") diff --git a/rules.js b/rules.js index 4a8f73f..dc504bb 100644 --- a/rules.js +++ b/rules.js @@ -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) } -- cgit v1.2.3