diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-01-27 16:45:35 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-27 16:45:35 +0100 |
commit | c27e84935e3a711a8d68a8b1ce1c80c87e74bbe0 (patch) | |
tree | 9cea354ac353c56ed9e8be05441a4d68540e483f /tools | |
parent | c9e742fbddc7b728ad0ca1d9c63c78c88695b040 (diff) | |
download | plantagenet-c27e84935e3a711a8d68a8b1ce1c80c87e74bbe0.tar.gz |
Add "all_ports" array.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gendata.js b/tools/gendata.js index 92cadd2..4fbf017 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -783,7 +783,7 @@ 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) let port_3 = ["Bristol","Pembroke","Harlech"].map(name => locmap[name]).sort(cmpnum) - +let all_ports = [ ...port_1, ...port_2, ...port_3 ].sort(cmpnum) let seaports = [ "English Channel", "Bamburgh", "Newcastle", "Scarborough", "Ravenspur", "Lynn", "Ipswich", "North Sea", "Burgundy", "Dover", "Hastings", "Calais", "France", "Arundel", "Southampton","Dorchester","Exeter","Plymouth","Truro","Bristol","Pembroke","Harlech", "Ireland", "Irish Sea" @@ -1717,6 +1717,7 @@ print("sea_3:" + JSON.stringify(sea_3) + ",") print("port_1:" + JSON.stringify(port_1) + ",") print("port_2:" + JSON.stringify(port_2) + ",") print("port_3:" + JSON.stringify(port_3) + ",") +print("all_ports:" + JSON.stringify(all_ports) + ",") print("way_exile_1:" + JSON.stringify(way_exile_1) + ",") print("way_exile_2:" + JSON.stringify(way_exile_2) + ",") print("way_exile_3:" + JSON.stringify(way_exile_3) + ",") |