summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-08-30 00:03:56 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:26 +0100
commitcd4a4fc13562d51fbfc2806141f2df808d24388f (patch)
treef84d1fd3a1518fa8f03112ba81df658840f3ff57 /tools
parent11b2796d2ce2e3067b6507997df6ba61119a78a3 (diff)
downloadrommel-in-the-desert-cd4a4fc13562d51fbfc2806141f2df808d24388f.tar.gz
Deployment area not on turn track.
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index ba78d95..8de889d 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -658,14 +658,14 @@ data += "const regions = " + JSON.stringify(regions) + "\n"
gen_array("unit_name", u => JSON.stringify(u.name))
gen_array("unit_appearance", u => JSON.stringify(u.appearance))
-gen_array("unit_start_steps", u => u.steps)
+gen_array("unit_max_steps", u => u.steps)
gen_array("unit_elite", u => u.elite)
gen_array("unit_class", u => u.class)
gen_array("unit_speed", u => u.speed)
data += "if (typeof module !== 'undefined')\n\tmodule.exports = {\n"
data += "\t\tall_hexes, hex_exists, hex_name, hex_road, side_road, side_limit, regions,\n"
-data += "\t\tunit_name, unit_appearance, unit_start_steps, unit_elite, unit_class, unit_speed,\n"
+data += "\t\tunit_name, unit_appearance, unit_max_steps, unit_elite, unit_class, unit_speed,\n"
data += "\t}\n"
fs.writeFileSync("data.js", data)