summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-21 14:29:12 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit5e22d8383162cd7d2dd77f7fc4072c518d3d79b0 (patch)
tree0dd734b9413866a41068f24968c91eedd9f5b882
parent58317e96eed5c3e9394b9744088eaa6d25e17b4f (diff)
downloadnevsky-5e22d8383162cd7d2dd77f7fc4072c518d3d79b0.tar.gz
Delay -> Decline
-rw-r--r--play.js2
-rw-r--r--rules.js8
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)
}