summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-09-04 12:28:58 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitaca7cf3dfe8360cf3dc2c8406c088c3a7622875a (patch)
tree4a3a7edd7ca614b629f0bcd4071670fd5a7a5b18
parent985fd41db3d26c5e3aa091d71e8d5baacd6a0aed (diff)
downloadplantagenet-aca7cf3dfe8360cf3dc2c8406c088c3a7622875a.tar.gz
add amount of provender to discard for march unladen
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index d497d9f..09738a7 100644
--- a/rules.js
+++ b/rules.js
@@ -2697,14 +2697,15 @@ states.march_laden = {
let prov = count_group_assets(PROV)
view.group = game.group
- view.prompt = `March: Unladen.`
+ view.prompt = `March: Unladen. `
if (prov > transport) {
for (let lord of game.group) {
if (prov > transport) {
+ let overflow_prov = prov - transport
if (get_lord_assets(lord, PROV) > 0) {
- view.prompt += " Discard Provender."
+ view.prompt += `Please discard ${overflow_prov} Provender`
gen_action_prov(lord)
}
}