diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-11 23:02:49 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | ecfedbb41323efbf5cf1ff6000e2d0a1bdd183e6 (patch) | |
tree | b1d97395df0e648864e0960ed50d7c03706ad840 /rules.js | |
parent | 8bf330fbae688779a81fe4b0a6a2f11d1b722238 (diff) | |
download | plantagenet-ecfedbb41323efbf5cf1ff6000e2d0a1bdd183e6.tar.gz |
fix supply amounts
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -4430,11 +4430,18 @@ function get_port_supply_amount(loc) { function get_stronghold_supply_amount(loc) { if (!has_exhausted_marker(loc)) { - let supply = 1 + let supply + if (loc === LOC_LONDON || loc === LOC_CALAIS) + supply = 3 + else if (is_city(loc)) supply = 2 + else + supply = 1 + if (command_has_stafford_branch(loc)) supply += 1 + return modify_supply(loc, supply) } return 0 |