summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 04365b8..8da9e17 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -826,6 +826,16 @@ vassals.forEach((vassal,id) => {
vassal.image = last_path.indexOf(path)
})
+let steppe_warriors = []
+let crusaders = []
+
+for (let i = 0; i < vassals.length; ++i) {
+ if (vassals[i].capability === "Steppe Warriors")
+ steppe_warriors.push(i)
+ if (vassals[i].capability === "Crusade")
+ crusaders.push(i)
+}
+
let script = []
script.push("mkdir -p service300")
script.push("montage -mode concatenate -tile 1x " + lord_service.Teutonic.join(" ") + " service300/service_lords_teutonic.png")
@@ -837,6 +847,8 @@ print("const data = {")
print("seaports:" + JSON.stringify(seaports) + ",")
print("conquerable:" + JSON.stringify(conquerable) + ",")
print("strongholds:" + JSON.stringify(strongholds) + ",")
+print("steppe_warriors:" + JSON.stringify(steppe_warriors) + ",")
+print("crusaders:" + JSON.stringify(crusaders) + ",")
dumplist("locales", locales)
dumplist("ways", ways)
dumplist("lords", lords)