← Connection and sync — never pretend to be online · all tasks
Area connectivity — single_player, multiplayer, either
connection-and-sync/005 · created 2026-08-18 · updated 2026-08-19
What to do
schema.sql:ALTER TABLE areas ADD COLUMN IF NOT EXISTS connectivity TEXT NOT NULL DEFAULT 'multiplayer';homes set toeitherat creation and by a[migrate]backfill.worldContent.ts:AreaContentSchema.connectivity(enum, defaultmultiplayer); the validator insists the hub ismultiplayerand homes areeither.spellgrove.world.jsonunchanged (defaults apply).- World editor: a segmented control in the Area inspector; a visual on the ball.
publicMap.tsexposes it (it isn’t a secret);hello_ack.area.connectivity; the in-game world map screen marks Areas that need a connection.portal_blockedgains reasonOFFLINE— “That way needs a connection” — used by 006.
Definition of done
Schema, loader and public-map round trips in tests; validator refusals; the editor writes and
reads the field; verify-world-map still green.
Where the work lands
land-of-lor/game/director/, tools/world-editor/, game/world/.
View source in repository · also available as raw markdown.