diff --git a/jrpg.ts b/jrpg.ts index 96d5dd0..78bfcb4 100644 --- a/jrpg.ts +++ b/jrpg.ts @@ -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) +}