Help

LSET

For immortals

Syntaxlset <layer> on [until <time>]lset <layer> offlset <layer> merge [yes]lset <layer> keep <thing> [<field>|all]lset <layer> drop <thing> [<field>|all]lset <layer> delete [yes]

The lset command decides what a layer does. Only architects turn a layer on or off in live or merge it; builders of the zone resolve stale entries with keep and drop; its owner or an architect deletes it.

  • on: players see the layer's text, flags and door state. The checks run first, with it on; any ! refuses. until takes +2h, 3d, 90m, 2026-11-30 or 2026-11-30T18:00 (UTC); it goes off by itself then. A layer that is on stays on through a reboot, and so does its until. Builders see [4038 · live + siege], and look base shows the base underneath.
  • off: the zone is exactly its base again.
  • merge: shows what the merge would do to the zone's base: rooms, creatures and objects changed, added and removed, the reset table, the zone's own fields, who moves out of a removed room and where to, the other layers of the zone it changes under, and the instances with it on. merge yes does it, all in one go: things keep their hidden ids, added things come in with theirs, and removed things are parked (kept aside with their ids, never destroyed). The zone file is written once; its old self stays in the backups. Every check runs first and any problem refuses the whole merge, each problem on its own line: a stale entry (the base changed under the layer, 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 a script, a removed object that players still hold in rent, a corpse or mail. zone revert <zone> takes it back and gives the layer back.
  • keep <thing> [<field>|all]: a stale entry stays as the layer has it, over the base's new value. drop takes it out of the layer, so the base's value shows. <thing> is an address such as moz.post-office, or resets or zone. Both are saved as you type.
  • delete: only when off everywhere; its file stays in the backups. The hidden ids of the things it added are retired; their names are free again. Without yes it says what it would delete.

Inside an instance, lset <layer> on and off act on that instance only, for its owner or an architect, and only for a layer of a zone it holds; live is untouched (lset <layer> on #live is an architect's, as in 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 (by anyone not editing the layer, folds, change sets, the AI assistant) go to the base underneath; a field the layer covers turns stale.