Add physical hub portals and shared housing entrances

This commit is contained in:
dingo
2026-09-11 05:31:18 -04:00
parent 9b01ee38e3
commit ca571577ad
22 changed files with 366 additions and 37 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export async function showTravel(source?: Departure) {
select.append(new Option(`${w.id} · ${w.kind === 'hub' ? 'Hub' : w.phase === 'cataclysm' ? 'Collapsing world' : 'Survival world'} · ${w.living}/${w.capacity}`, w.id));
}
if ([...select.options].some(o => o.value === previous)) select.value = previous!;
go.textContent = transfer ? 'Finish travel' : source?.route === 'escape' ? 'Use escape stone & travel' : 'Travel';
go.textContent = transfer ? 'Finish travel' : source?.route === 'escape' ? 'Use escape stone & travel' : 'Enter portal';
go.disabled = !select.options.length || (!source && !transfer);
status.textContent = select.options.length ? '' : 'No destination is available. Your saved character remains safe in transit if departure already completed.';
} catch (e) { status.textContent = (e as Error).message; }