diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-20 21:54:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-20 21:54:25 +0200 |
commit | a74afd2b671ca39a41365e5a53a0fda40b841736 (patch) | |
tree | d7f71fd4c74450e7fa7d30cd4140551ca21ea1e7 /rules.ts | |
parent | 4864850f557ee38c72e93ce23045228f417ee73b (diff) | |
download | plantagenet-a74afd2b671ca39a41365e5a53a0fda40b841736.tar.gz |
Go back to feed/pay after one pillage.
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2207,6 +2207,7 @@ function end_levy_arts_of_war() { function reset_unpaid_lords() { for (let lord of all_friendly_lords()) { if (is_lord_unfed(lord)) { + // Note: Percy's Power only affects Pay -- so will never end up here set_lord_unfed(lord, Math.ceil(count_lord_all_forces(lord) / 6)) } } @@ -2416,8 +2417,13 @@ states.pillage_locale = { for (let next of data.locales[game.where].adjacent) shift_favour_away(next) - game.state = "pillage" game.where = NOWHERE + + // go back to pay/feed + if (is_levy_phase()) + game.state = "pay_troops" + else + game.state = "feed" }, } @@ -2978,6 +2984,7 @@ states.muster_lord = { soldiers_of_fortune() { push_undo() push_the_kings_name() + // TODO: pay coin immediately? set_lord_unfed(game.command, 1) game.state = "soldiers_of_fortune" }, |