Something went wrong. Try again.
data endpoint for entity 90008 (aka. a website)
Something went wrong. Try again.
123456789101112131415161718192021222324// wiring only.import * as world from './world.js';import * as look from './look.js';import { phys } from './phys.js';import * as dolls from './dolls.js';import * as megas from './megas.js';import { you } from './you.js';import { net } from './net.js';window.duet = { world, look, phys, dolls, megas, you, net };(async () => { const stop = new URLSearchParams(location.search).get('stop'); if (stop !== null && /^[0-4]$/.test(stop)) world.warpTo(+stop); try { const b = localStorage.getItem('ptr.band'); if (b !== null && /^[0-2]$/.test(b)) world.setDial(+b); } catch {} await dolls.ready; const mods = import.meta.glob(['./data.js', './things.js', './radio.js', './write.js', './stop.js', './bus.js', './block.js', './lift.js']); for (const k of ['./data.js', './things.js', './radio.js', './write.js', './stop.js', './bus.js', './block.js', './lift.js']) if (mods[k]) { try { const m = await mods[k](); if (k === './block.js') window.duet.block = m; if (k === './lift.js') window.duet.lift = m; await m.init?.(); } catch (e) { console.error(k, e); } } world.start(); const siteLink = document.querySelector('#hud-help a.hh-link'); if (siteLink) { const stopPaths = ['/', '/#halo', '/about/', '/log/', '/guestbook/']; siteLink.addEventListener('click', () => { siteLink.href = stopPaths[world.state.here] || '/'; }); }})();