summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-06 15:29:44 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit6ad390164945a6a570800c54a25219a29e305eda (patch)
tree53b8c4b0a012dffd92b830bcedf8587de008c811
parenta23f2d01e239babe4dec9cfb2295847814c467ef (diff)
downloadplantagenet-6ad390164945a6a570800c54a25219a29e305eda.tar.gz
Simplify do_lord_waste().
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 72d2d26..f3e8800 100644
--- a/rules.js
+++ b/rules.js
@@ -6852,7 +6852,9 @@ function do_waste() {
}
function do_lord_waste(lord) {
- ;[ PROV, CART, SHIP ].forEach(a => remove_half(lord, a))
+ remove_half(lord, PROV)
+ remove_half(lord, CART)
+ remove_half(lord, SHIP)
set_lord_assets(lord, COIN, data.lords[lord].assets.coin)
muster_lord_forces(lord)
}