summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-18 14:07:08 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit18cf96b3eb1ee4958f8a67e1627334b6c63cbf96 (patch)
tree867c0d672340502005b5929f936f67bd32edd10a /rules.js
parentb3170df09473e62a85c1c8cc5b95dc8740a22562 (diff)
downloadnevsky-18cf96b3eb1ee4958f8a67e1627334b6c63cbf96.tar.gz
Disallow Pay when lord service is at end of calendar.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 4a325a2..89cf606 100644
--- a/rules.js
+++ b/rules.js
@@ -9176,6 +9176,8 @@ function end_feed() {
// === LEVY & CAMPAIGN: PAY ===
function can_pay_lord(lord) {
+ if (get_lord_service(lord) > 16)
+ return false
if (game.active === RUSSIANS) {
if (game.pieces.veche_coin > 0 && is_lord_unbesieged(lord))
return true