summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-06 20:05:26 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit289e9eb5cc729bb8a9f17799de5d95b7d01e82f3 (patch)
tree4902bcb0283ebc7798768ea3a56cb4ff4d9e41ae /tools
parent7c8e6250551a11250957cce4cc30256067c07c8c (diff)
downloadplantagenet-289e9eb5cc729bb8a9f17799de5d95b7d01e82f3.tar.gz
don't use 1-element arrays for vassal seat
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 424a111..3a7d178 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -1678,26 +1678,26 @@ lords.forEach(lord => {
lord.id = "lord_" + clean_name(lord.name)
})
-vassal(3, "Westmoreland", seats("Appleby"), 0)
-vassal(1, "Stanley", seats("Derby"), 0)
-vassal(1, "Dudley", seats("Leicester"), 0)
-vassal(2, "Shrewsbury", seats("Shrewsbury"), -1)
-vassal(3, "Worcester", seats("Worcester"), 0)
-vassal(2, "Oxford", seats("Oxford"), 0)
-vassal(1, "Essex", seats("St Albans"), 0)
-vassal(3, "Suffolk", seats("Ipswich"), 1)
-vassal(3, "Fauconberg", seats("Dover"), 2)
-vassal(1, "Norfolk", seats("Arundel"), 0)
-vassal(2, "Devon", seats("Exeter"), -1)
-vassal(1, "Bonville", seats("Launceston"), 1)
-vassal(1, "Beaumont", seats("Lincoln"), -2)
-
-vassal(0, "Trollope", seats(''), 0, "Andrew Trollope")
-vassal(0, "Clifford", seats(''), 0, "My father's blood")
-vassal(0, "Edward", seats(''), 0, "Edward")
-vassal(0, "Thomas Stanley", seats(''), 0, "Thomas Stanley")
-vassal(0, "Montagu", seats(''), 0, "Alice Montagu")
-vassal(0, "Hastings", seats(''), 0, "Hastings")
+vassal(3, "Westmoreland", locmap["Appleby"], 0)
+vassal(1, "Stanley", locmap["Derby"], 0)
+vassal(1, "Dudley", locmap["Leicester"], 0)
+vassal(2, "Shrewsbury", locmap["Shrewsbury"], -1)
+vassal(3, "Worcester", locmap["Worcester"], 0)
+vassal(2, "Oxford", locmap["Oxford"], 0)
+vassal(1, "Essex", locmap["St Albans"], 0)
+vassal(3, "Suffolk", locmap["Ipswich"], 1)
+vassal(3, "Fauconberg", locmap["Dover"], 2)
+vassal(1, "Norfolk", locmap["Arundel"], 0)
+vassal(2, "Devon", locmap["Exeter"], -1)
+vassal(1, "Bonville", locmap["Launceston"], 1)
+vassal(1, "Beaumont", locmap["Lincoln"], -2)
+
+vassal(0, "Trollope", -1, 0, "Andrew Trollope")
+vassal(0, "Clifford", -1, 0, "My father's blood")
+vassal(0, "Edward", -1, 0, "Edward")
+vassal(0, "Thomas Stanley", -1, 0, "Thomas Stanley")
+vassal(0, "Montagu", -1, 0, "Alice Montagu")
+vassal(0, "Hastings", -1, 0, "Hastings")
print("const data = {")
print("seaports:" + JSON.stringify(seaports) + ",")