From 66d8e890fb5f1b4644144ffea454ef06769a3311 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Tue, 11 Mar 2025 16:56:56 +0100 Subject: [PATCH] generate all configs --- jrpg.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) +}