summaryrefslogtreecommitdiff
path: root/rules.js
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 /rules.js
parent58317e96eed5c3e9394b9744088eaa6d25e17b4f (diff)
downloadnevsky-5e22d8383162cd7d2dd77f7fc4072c518d3d79b0.tar.gz
Delay -> Decline
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
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)
}