Linking Exits
Series: world-building · Part 4
Exits are direction-to-room mappings in room frontmatter:
exits:
north: "room:my-realm/market"
in: "room:my-realm/warehouse"
Add the reverse link to the destination when the passage should work both ways:
exits:
south: "room:my-realm/harbor"
The engine does not infer reverse topology. It also does not validate that a target stream exists when parsing Markdown. Check both room files, then run mix content.validate and seed rooms before relying on the route.
At runtime the parser accepts bare directions, abbreviations, and named exits. Movement reads the current room’s exits property and refuses a missing direction.
The generic /edit command can set properties, but its value parser is text-oriented and is not a safe editor for an exit map. Author topology in Markdown or apply a typed map through the Effect Interpreter. Cross-realm-looking room IDs currently trigger an in-process presentation change; they do not transfer a player to another node.