summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-12 21:12:13 +0100
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:15 +0200
commit4317d7601dd599bfb14f1d4b6694ab020639a6bf (patch)
treed2146efb654dc15a0aa0dfd6cd8015674a1ee581 /tools/gendata.js
parent0d8d80536042ce63b0706ef62b26b57212c744d0 (diff)
downloadandean-abyss-4317d7601dd599bfb14f1d4b6694ab020639a6bf.tar.gz
Shipments: remove, transfer, drug bust, and ship.
Diffstat (limited to 'tools/gendata.js')
-rw-r--r--tools/gendata.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index d11820b..0878d11 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -18,13 +18,13 @@ function to_ascii(s) {
const IMAP = { G: GOVT, F: FARC, A: AUC, C: CARTELS }
let order = null
-let card_name = [ null ]
+let card_title = [ null ]
let card_order = [ null ]
function def_order(s) {
order = [ IMAP[s[0]], IMAP[s[1]], IMAP[s[2]], IMAP[s[3]] ]
}
function def_card(number, name) {
- card_name[number] = name
+ card_title[number] = name
card_order[number] = order
}
def_order("GFAC")
@@ -480,7 +480,7 @@ for (let i = 0; i < spaces.length; ++i) {
}
data.card_order = card_order
-data.card_name = card_name
+data.card_title = card_title
data.card_flavor = card_flavor
data.card_flavor_shaded = card_flavor_shaded
data.space_name = space_name