diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-12-18 16:08:33 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 38831a6bc8ba83bd09fa09ba3a16da5cdfcac5c0 (patch) | |
tree | 1e537fffd27cc9daef20e2f68008dccf831d8c56 /tools | |
parent | 58a20120dc72fe7a4ad35d0322664ff0ad3c9ab2 (diff) | |
download | nevsky-38831a6bc8ba83bd09fa09ba3a16da5cdfcac5c0.tar.gz |
Summer Crusaders (WIP).
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/gendata.js b/tools/gendata.js index 8da9e17..15b8780 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -827,15 +827,20 @@ vassals.forEach((vassal,id) => { }) let steppe_warriors = [] -let crusaders = [] +let summer_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) + summer_crusaders.push(i) } +let bishoprics = [] +for (let loc = 0; loc < locales.length; ++loc) + if (locales[loc].type === "bishopric") + bishoprics.push(loc) + let script = [] script.push("mkdir -p service300") script.push("montage -mode concatenate -tile 1x " + lord_service.Teutonic.join(" ") + " service300/service_lords_teutonic.png") @@ -845,10 +850,11 @@ script.push("montage -mode concatenate -tile 3x " + vassal_service.Russian.join( print("const data = {") print("seaports:" + JSON.stringify(seaports) + ",") +print("bishoprics:" + JSON.stringify(bishoprics) + ",") print("conquerable:" + JSON.stringify(conquerable) + ",") print("strongholds:" + JSON.stringify(strongholds) + ",") print("steppe_warriors:" + JSON.stringify(steppe_warriors) + ",") -print("crusaders:" + JSON.stringify(crusaders) + ",") +print("summer_crusaders:" + JSON.stringify(summer_crusaders) + ",") dumplist("locales", locales) dumplist("ways", ways) dumplist("lords", lords) |