diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2023-06-06 19:22:37 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | b543883cb91c6fa64eca99bb8fba59bd3cbe1027 (patch) | |
tree | db7dc53c548f0881c7322bdfb5047fcd7117a77e | |
parent | 5edb09dea51e592d3eec63b9afeab9d494ba8d97 (diff) | |
download | plantagenet-b543883cb91c6fa64eca99bb8fba59bd3cbe1027.tar.gz |
Updated Pay (no pillage)
-rw-r--r-- | rules.js | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -6300,6 +6300,12 @@ function has_friendly_lord_who_may_be_paid() { function goto_pay() { log_br() + for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) { + if (count_lord_all_forces(lord) >= 7) + set_lord_unfed(lord, 2) + else + set_lord_unfed(lord, 1) + } game.state = "pay" } @@ -6313,13 +6319,7 @@ states.pay = { prompt() { view.prompt = "Pay: You must Pay your Lord's Troops" let done = true - prompt_held_event() - for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord) { - if (count_lord_all_forces(lord) >= 7) - set_lord_unfed(lord, 2) - else - set_lord_unfed(lord, 1) - } + // Pay from own mat |