summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-07 14:04:21 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit8e1e62593d39be73d3d987da7a544ed1e95195a0 (patch)
tree1d29dd1fb5d2b762d848699f0845ddb30cde3b63 /tools
parent40cc08c41a5d583f880e582693f1749a95fca0be (diff)
downloadplantagenet-8e1e62593d39be73d3d987da7a544ed1e95195a0.tar.gz
add and use data.exile_boxes
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 07d67e3..a3850fe 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -789,6 +789,10 @@ 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"
].map(name => locmap[name]).sort(cmpnum)
+let exile_boxes = [
+ "Burgundy", "France", "Ireland", "Scotland"
+].map(name => locmap[name]).sort(cmpnum)
+
function dumplist(name, list) {
print(name + ":[")
for (let item of list)
@@ -1707,6 +1711,7 @@ vassal(0, "Hastings", -1, 0, "Hastings")
print("const data = {")
print("seaports:" + JSON.stringify(seaports) + ",")
+print("exile_boxes:" + JSON.stringify(exile_boxes) + ",")
print("exile_1:" + JSON.stringify(exile_1) + ",")
print("exile_2:" + JSON.stringify(exile_2) + ",")
print("exile_3:" + JSON.stringify(exile_3) + ",")