LSET
lset <layer> on [until <time>] [yes]lset <layer> off [yes]lset <layer> backlset <layer> above <other> [yes]lset <layer> below <other> [yes]lset <layer> order clear [yes]lset <layer> line on|off|moved <text>lset <layer> line on|off|moved clearlset <layer> line clearlset <layer> merge [yes]lset <layer> keep <thing> [<field>|all]lset <layer> drop <thing> [<field>|all]lset <layer> delete [yes]lset all off [everything] [yes]The lset command decides what a layer does: whether players see it, where it sits in its zone's stack, what players read when it changes the world around them, and when it merges into the layer or base beneath it. A zone is a stack: its base at the bottom, then the layers on in live, the topmost winning (see LAYER-STACKS).
Who may
| Command | Who |
| on, off, back, merge | architects |
| lset all off | architects |
| above, below, order clear, line | architects for a layer on in live; builders of the zone and architects for a layer that is off |
| keep, drop | builders of the zone and architects |
| delete | the layer's owner or an architect |
On
A layer that holds only descriptions, extra descriptions, room flags and door states (a text layer) goes on at once: lset <layer> on. Its checks run first; any ! refuses. until is for text layers only and takes +2h, 3d, 90m, 2026-11-30 or 2026-11-30T18:00 (UTC); the layer goes off by itself then. A full layer stays on until lset <layer> off.
Any other layer (a full layer: rooms added or removed, exits, names, creatures, objects, a reset table), or any layer of a zone where a full layer is on, goes on by a flip. Without yes you get the preview and nothing changes:
- in place: rooms changed where they stand; flipped: rooms swapped, added and removed;
- resets: whether the zone's reset table is replaced;
- moves: each room that goes, where its occupants go, and who stands in it now;
- stack after, such as base > winter > drow-siege, and the entries held (they need something the stack beneath doesn't have; see LAYER-STACKS) or no longer held;
- the checks, each with its code (see LCHECK): a line starting ! refuses;
- the estimate: how long it builds aside, in slices that never stop the game, and how long the flip pulse takes. Over 250 ms refuses (budget).
lset <layer> on yes runs the checks again, builds the new rooms aside, then flips the whole zone in one pulse. Players in a room that goes are taken to the nearest room that stays, with everything in it; nothing anyone owns is ever lost. Builders who see room numbers get a line such as [moz: drow-siege on: 9 rooms swapped, you stayed]. Creatures whose prototype or reset the layer changes leave without a corpse and come back at the zone's reset; one in a fight leaves when the fight ends, or after 5 minutes.
The watch, and back
For 10 minutes after a flip the zone is watched: builders see watched 7m in the room stamp, and the flip is turned back by itself when one of these happens:
| Trigger | When |
| lag | the slowest 1 in 100 pulses of the last 60 seconds is over twice what it was in the 10 minutes before the flip and over 100 ms, for 120 seconds in a row |
| scripts | 20 script errors in the zone within 60 seconds |
| check | a state check of the zone fails |
| stranded | someone stands in a room the zone no longer has |
| crash | the game stops uncleanly during the watch: the boot turns it back |
lset <layer> back (architects) turns it back by hand during the watch. A turn back moves everyone back as the flip moved them, and every architect online, the layer's owner and the one who flipped read why. When the 10 minutes are up, or the game is shut down cleanly, the change stays. lstat <layer> shows the watch.
Off
lset <layer> off takes any layer out of the stack, the top one or one in the middle; the layers above it stay on, in their order. A text layer in a zone of text layers goes off at once; otherwise the preview comes first and off yes flips it, with the watch. The checks of an off are warnings only: an off always goes ahead. What the layers above held because of this one is listed as held, and applies again by itself when the layer is on again. The layer's added rooms empty into the rooms planned at the on; its removed rooms come back; things players took from it stay theirs.
lset all off shows, zone by zone, every full layer in live going off; lset all off yes does it, one flip per zone. everything takes the text layers off too.
The order
The last layer turned on goes on top, unless rules place it lower. lset siege above winter and lset market-day below siege are rules; a layer is always above the layer it is over (lcreate). A rule naming a layer that is off counts for nothing until that layer is on. A rule that makes a loop is refused: That makes a loop: siege above winter above siege. lset <layer> order clear drops the layer's rules.
Changing a rule of a layer on in live sorts the stack again. If what players see doesn't change, only the files do (The stack of moz stays base > winter > siege.); if it changes and a full layer is in the stack, it is a flip: the preview, then the same command with yes.
Lines
What players read when the layer changes the world around them, at most 400 characters each, in plain text or Quill:
| Line | Who reads it, and the default |
| on | everyone in the zone when it goes on; then a player whose room changed sees the room again. Default: no line, and the room again only when its name, description or exits changed. |
| off | the same, when it goes off. |
| moved | a player taken out of a room that goes, before the new room. Default: The world shifts around you, and you find yourself somewhere else. |
lset siege line on Black banners rise over the north gate. sets one; lset siege line on clear clears it; lset siege line clear clears all three. Players never read a layer's name or the word itself.
Merge
lset <layer> merge shows what merging would do; merge yes does it, all in one go. A layer made over another merges into that layer: its fields go over the layer beneath, its added things join it with their hidden ids, its removals go into it, and the layers that were over it are over the beneath now. If both are on in live, players see the merged layer at once. A layer over the base merges into the base: things keep their hidden ids, added things come in with theirs, removed things are parked (kept aside with their ids, never destroyed), and the zone file is written once, its old self in the backups.
Every check runs first and any problem refuses the whole merge, each on its own line: a stale entry (the layer or base beneath changed under it, with who changed it), a name taken, an exit to a room that doesn't exist, a removed thing still named by another zone's exit, reset line or script, a removed object that players still hold in rent, a corpse or mail. A full layer on in live merges into the base only after it is off; a layer on in live whose beneath is off doesn't merge. zone revert <zone> takes the newest merge back and gives the layer back.
Keep, drop, delete
- keep <thing> [<field>|all]: a stale entry stays as the layer has it, over the new value beneath. drop takes it out of the layer, so the value beneath shows. <thing> is an address such as moz.post-office, or resets or zone. Both are saved as you type.
- delete: only when it is off everywhere; its file stays in the backups. The hidden ids of the things it added are retired; their names are free again. A layer whose objects players keep can't be deleted. Without yes it says what it would delete.
In an instance
Inside an instance, lset <layer> on and off act on that instance only, at once, for its owner or an architect, and only for a layer of a zone it holds; live is untouched (lset <layer> on #live acts on live). Nothing about it is saved: instance moz with siege puts it on again after a reboot. See INSTANCE.
Edits of the base while a layer is on (an architect's in-place edits in live, change sets, the AI assistant) go to the base underneath; a field the layer covers turns stale.