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
@@ -41,12 +41,12 @@ async function readSingle(_i: number) {
}
async function readRegion(_i: number) {
const region = await getVal("region:1");
const region = await getVal("bench:region:1");
void region?.name;
const enemyIds = (await getVal("region:1:enemies")) || [];
const itemIds = (await getVal("region:1:items")) || [];
for (const id of enemyIds) await getVal(`enemy:${id}`);
for (const id of itemIds) await getVal(`item:${id}`);
const enemyIds = (await getVal("bench:region:1:enemies")) || [];
const itemIds = (await getVal("bench:region:1:items")) || [];
for (const id of enemyIds) await getVal(`bench:enemy:${id}`);
for (const id of itemIds) await getVal(`bench:item:${id}`);
}
async function writeRegion(_i: number) {