alles fertig

This commit is contained in:
Hikyu
2026-07-10 21:21:19 +02:00
parent a35e6a99cb
commit 91c3266d86
24 changed files with 842 additions and 369 deletions
+5 -5
View File
@@ -40,12 +40,12 @@ async function readSingle(_i: number) {
}
async function readRegion(_i: number) {
const region = await getJson("region:1");
const region = await getJson("bench:region:1");
void region?.name;
const enemyIds = (await getJson("region:1:enemies")) || [];
const itemIds = (await getJson("region:1:items")) || [];
for (const id of enemyIds) await getJson(`enemy:${id}`);
for (const id of itemIds) await getJson(`item:${id}`);
const enemyIds = (await getJson("bench:region:1:enemies")) || [];
const itemIds = (await getJson("bench:region:1:items")) || [];
for (const id of enemyIds) await getJson(`bench:enemy:${id}`);
for (const id of itemIds) await getJson(`bench:item:${id}`);
}
async function writeRegion(_i: number) {