summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-09-29 13:20:13 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-09-29 13:20:13 +0200
commita3dcec03fe604de29e655552550de88f28fa6e1a (patch)
tree9a95c25e62d0ba228548d91a4b0f39dbfc55c8ff /tools
parent37f3b780409f462865878f33c3d14fed2f40c05f (diff)
downloadalgeria-a3dcec03fe604de29e655552550de88f28fa6e1a.tar.gz
export area_count
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index f4932b3..e7bb191 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -158,6 +158,7 @@ def_unit(FLN, BAND, "fln_band", 24)
def_unit(FLN, CADRE, "fln_cadre", 30)
def_unit(FLN, FRONT, "fln_front", 16)
+console.log("const area_count =", areas.length)
console.log("const unit_count =", units.length)
console.log("const first_gov_unit =", units.findIndex((u) => u.side === GOV))
console.log("const last_gov_unit =", units.findLastIndex((u) => u.side === GOV))