STORY-LAYERS
A world event can change the world itself: a siege raises a camp in the market and closes the north road, a flood takes the low streets, a gate opens to somewhere new. Such a story is built as a layer of the zone, made over its base (or over another layer, a season say), and turned on in live when the story starts. Players call it an event, or a world event; they never read the word layer, a layer's name or a room number.
Building it
- lcreate drow-siege <title> (or lcreate drow-siege over winter <title> to build on the winter layer).
- ledit drow-siege takes you into your instance of the zone with it on, and from then on everything you build there is saved into it as you type: rooms added and removed, exits and gates, names, descriptions, creatures, objects, the reset table. Live doesn't see it. undo takes an edit back.
- Walk it in your instance as a player would. lset drow-siege off and on there show the zone without it and with it.
- lcheck drow-siege runs every check it must pass in live (see LCHECK): every room players reach now must still be reached, every room it adds must be reachable, its reset lines and scripts must work.
- Give it its lines, what players read when it changes the world around them (see LSET): lset drow-siege line on Black banners rise over the north gate., lset drow-siege line off The banners are gone; the city breathes again. and lset drow-siege line moved Soldiers hurry you out of the way.
- To change it once it is on in live, make a layer over it: lcreate siege-fix over drow-siege <title>, build and check it the same way, and it merges into drow-siege.
What players see when it goes on
| Where they stand | What they read |
| a room that changes | the on line, then the room again as look shows it. Without an on line, only the room again, and only when its name, description or exits changed. |
| a room that goes | the moved line (default The world shifts around you, and you find yourself somewhere else.), then the room they are taken to: the nearest room that stays, most often in the same zone. A group split by the moves is told where the others went. |
| elsewhere in the zone | the on line only |
| outside the zone | nothing |
Going off is the same with the off line. The room window and the map of rich clients follow at once.
What moves and what never does
| What | When it goes on or off |
| players | stay where they are if their room stays (fighting, resting, sleeping, in an editor: as they were); move with everything in the room if it goes |
| a player's pets, mounts, charmed creatures and followers | always stay with them |
| the zone's creatures the new stack doesn't make, or makes differently | leave with no corpse and no loot; made again at the zone's reset as the stack has them. One fighting a player leaves when the fight ends, or after 5 minutes |
| creatures from elsewhere | stay, unless their room goes: then they move with it |
| corpses and objects on the floor | move with their room; never destroyed |
| furniture in a room that changes or goes | replaced by what the new stack makes there; what was in it goes on the floor |
| what players carry, wear or keep in rent | never touched |
| things players got from the story (a siege cloak from its shop) | stay theirs after it ends, and load as they are |
For 10 minutes after it goes on the zone is watched, and the change is turned back by itself if the zone lags, its scripts fail, a check fails or someone ends up in a room that isn't there (see LSET). Nothing anyone owns is lost either way.