summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-27 22:41:09 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-27 22:52:28 +0200
commitab1a6bca2b9a2a399efb46edfa9c8621e70371df (patch)
tree39d510086ba22ff339def7942f38d2ae79b41a4b
parentb4d2ea5ee7a14f52d512c5b4774314fe0ce896b2 (diff)
downloadplantagenet-ab1a6bca2b9a2a399efb46edfa9c8621e70371df.tar.gz
4.5.1 Exile box cannot draw stronghold Supply (except Scotland).HEADmaster
-rw-r--r--rules.js3
-rw-r--r--rules.ts3
2 files changed, 6 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index ff1f9e5..10e6ccd 100644
--- a/rules.js
+++ b/rules.js
@@ -3460,6 +3460,9 @@ function get_port_supply_amount(loc, report) {
return 0;
}
function get_stronghold_supply_amount(loc, report) {
+ let uses_port = map_get(game.supply, loc, 0) & 7;
+ if (uses_port)
+ return 0;
if (!has_exhausted_marker(loc)) {
let supply = 0;
if (loc === LOC_LONDON || loc === LOC_CALAIS)
diff --git a/rules.ts b/rules.ts
index 2f9eb3a..b696404 100644
--- a/rules.ts
+++ b/rules.ts
@@ -4211,6 +4211,9 @@ function get_port_supply_amount(loc: Locale, report: boolean) {
}
function get_stronghold_supply_amount(loc: Locale, report: boolean) {
+ let uses_port = map_get(game.supply, loc, 0) & 7
+ if (uses_port)
+ return 0
if (!has_exhausted_marker(loc)) {
let supply = 0