Help

LEDIT

For immortals

Syntaxledit <layer>leditledit stopledit lines on|off

The ledit command starts building into a layer. Typed in an instance of the layer's zone, it turns the layer on there (if it isn't) and from then on everything you build in that zone, in that instance, is saved into the layer as you type. Live doesn't see it. Typed in live, it takes you into your instance of the zone with the layer on (it opens one if you have none) and starts there.

You build with the commands you always use: redit (every field), rflag, dig, rcreate, rcopy, rdelete, mproto and medit, mcreate, mdelete, oproto and oedit, ocreate, odelete, zedit zone, the building windows, and undo. Nothing is saved by hand: rsave and the other saves say so, and the folds are an architect's (lset <layer> merge).

A layer never holds the room flag closed, the zone flag public, the zone's builders, or an exit leading into another zone: those are the base's, and an architect makes them. A command that changes one of them has that part put back and named; the rest is saved. rmove, rrenumber and the zone operations change the base's shape and are refused in a layer.

ledit alone says which layer you edit and where; ledit stop ends it (leaving the instance ends it too). ledit lines on adds a line after each edit saying what went into the layer. Any builder of the zone may edit any of its layers, at the same time as others; the later change of a field wins.

In a layer, every builder of the zone may remove rooms, creatures and objects (rdelete, mdelete, odelete), below the level those commands need on the base. The removal is in the layer only: lstat lists it, the merge preview names it, and zone revert takes a merge back. A thing still named by an exit or reset line of another zone, or by a script, is refused.

Your AI assistant writes into the layer you are editing, unless its set names another (connector).

A layer name alone means the one in the zone you stand in; moz.fix-docks names another zone's.