summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.ts b/rules.ts
index 7da03f1..6209241 100644
--- a/rules.ts
+++ b/rules.ts
@@ -501,12 +501,12 @@ function get_lord_influence(lord: Lord): number {
}
// from !node tools/gendata.js
-function is_seaport(x: Locale) { return (x >= 0 && x <= 16) }
+function is_seaport(x: Locale) { return (x >= 0 && x <= 9) || (x >= 11 && x <= 16) }
function is_port_1(x: Locale) { return (x >= 0 && x <= 4) }
-function is_port_2(x: Locale) { return (x >= 5 && x <= 13) }
+function is_port_2(x: Locale) { return (x >= 5 && x <= 9) || (x >= 11 && x <= 13) }
function is_port_3(x: Locale) { return (x >= 14 && x <= 16) }
function is_adjacent_north_sea(x: Locale) { return (x >= 0 && x <= 4) }
-function is_adjacent_english_channel(x: Locale) { return (x >= 5 && x <= 13) }
+function is_adjacent_english_channel(x: Locale) { return (x >= 5 && x <= 9) || (x >= 11 && x <= 13) }
function is_adjacent_irish_sea(x: Locale) { return (x >= 14 && x <= 16) }
function is_stronghold(x: Locale) { return (x >= 0 && x <= 53) }
function is_fortress(x: Locale) { return (x >= 0 && x <= 1) || x === 15 || x === 42 || x === 53 }