Add playable hub travel with durable character transfers

This commit is contained in:
dingo
2026-09-09 12:17:10 -04:00
parent eee6f4c46f
commit f3d6f927e2
42 changed files with 1338 additions and 63 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export function playerContent(record:RecordCharacter,enabled:boolean,onQueued:()
for(const i of catalog.items)choice.append(new Option(`${i.name} (${i.id})`,i.id));
for(const r of catalog.gathering?.resources??[])if(r.output==='self')choice.append(new Option(r.name,r.id));
for(const i of catalog.gathering?.consumables??[])choice.append(new Option(i.name,i.id));
for(const id of ['axe','flint_and_steel','fishing_pole','wood','ore','herb','bandage'])choice.append(new Option(statLabel(id),id));
for(const id of ['axe','flint_and_steel','fishing_pole','wood','ore','herb','bandage','escape_stone'])choice.append(new Option(statLabel(id),id));
notice.textContent='Items go into the bag. Equipment requirements still apply when equipping.';break;
case 'remove-item':
for(const i of v.items??[]){const slot=Object.entries(v.equipment??{}).find(([,id])=>id===i.id)?.[0];choice.append(new Option(`${i.name}${slot?` [${statLabel(slot)}]`:''} · ${i.id}`,i.id));}