summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-07 12:03:04 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit60af2ee6cf1a638c751339e0e3793144fc97c843 (patch)
treeb2feb0eca4fe397e1ba01a445d29f7b9070faa0d /tools/gendata.js
parentf39c82e37d6b94d6dd747e679b4ea1bc7fce2a6d (diff)
downloadplantagenet-60af2ee6cf1a638c751339e0e3793144fc97c843.tar.gz
no 1-element arrays for sea and exile data
Diffstat (limited to 'tools/gendata.js')
-rw-r--r--tools/gendata.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index de65737..6d4850a 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -730,13 +730,13 @@ let way_port_3 = ["Bristol","Pembroke","Harlech", "Irish Sea"].map(name => locma
-let sea_1 = ["North Sea"].map(name => locmap[name]).sort(cmpnum)
-let sea_2 = ["English Channel"].map(name => locmap[name]).sort(cmpnum)
-let sea_3 = ["Irish Sea"].map(name => locmap[name]).sort(cmpnum)
+let sea_1 = locmap["North Sea"]
+let sea_2 = locmap["English Channel"]
+let sea_3 = locmap["Irish Sea"]
-let exile_1 = ["Burgundy"].map(name => locmap[name]).sort(cmpnum)
-let exile_2 = ["France"].map(name => locmap[name]).sort(cmpnum)
-let exile_3 = ["Ireland"].map(name => locmap[name]).sort(cmpnum)
+let exile_1 = locmap["Burgundy"]
+let exile_2 = locmap["France"]
+let exile_3 = locmap["Ireland"]
let port_1 = ["Bamburgh", "Newcastle", "Scarborough", "Ravenspur", "Lynn", "Ipswich"].map(name => locmap[name]).sort(cmpnum)
let port_2 = ["Dover", "Hastings", "Calais", "Arundel", "Southampton", "Dorchester", "Exeter", "Plymouth", "Truro"].map(name => locmap[name]).sort(cmpnum)