immortal:scriptlaw:zones

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.

  • immortal/scriptlaw/zones.txt
  • Last modified: 2026/09/23 22:22
  • by 127.0.0.1
  • Currently locked by: 216.73.216.245