generate all configs

This commit is contained in:
quenousimporte 2025-03-11 16:56:56 +01:00
parent 59a2586b1a
commit 66d8e890fb
1 changed files with 5 additions and 5 deletions

10
jrpg.ts
View File

@ -143,8 +143,8 @@ const configs = {
dw3: { pages: ["armor", "weapons"], exclude: [] },
}
const configname = "ffantasy"
const data = await getdata(configname)
const stringresult = format(data, configs[configname].exclude)
output(stringresult, configname)
for (const configname in configs) {
const data = await getdata(configname)
const stringresult = format(data, configs[configname].exclude)
output(stringresult, configname)
}