scriptzones

This is an old revision of the document!


Script Law — Zones

Short, on purpose: zones have no SpecProc table. There is no @zone proc, no @proc zone, and no dg-style zone script block in Neo-Nilgiri.

Hub: Script Law. Building resets: Creation Law — Zones.

A zone only places rooms, mobiles, and items on reset (and manages lifespan/weather). Scripted behavior is attached to those entities:

  • [ ] Build prototypes (Rooms, Mobiles, Objects)
  • [ ] Create and attach SpecProcs on those prototypes (children above)
  • [ ] Add @zone npc / item / equip / … lines (Zones)
  • [ ] @save zone then zone reset so scripted instances load

If a scripted mob “does nothing” after a zone edit, check attach+save on the npc, then confirm zone reset loaded a fresh instance — the zone file will never hold the Beanshell text.

  • scriptzones.1790178419.txt.gz
  • Last modified: 2026/09/23 15:46
  • (external edit)