diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-14 02:34:29 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-14 19:01:54 +0200 |
commit | 12101527abf0fe4a1c8470c19aa9d9fe11da16db (patch) | |
tree | d3ea68e0297edf5108ae0a0a6113e7ee18ed3403 /rules.ts | |
parent | 6712cd379fed39db080c5f1ec8b2fe1317e61ca8 (diff) | |
download | plantagenet-12101527abf0fe4a1c8470c19aa9d9fe11da16db.tar.gz |
arundel is not a port
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |