reviveZombies
zombie_revive.lua — Zombie module
What it does
Scans all grid squares within a configurable range of the player and schedules every non-skeleton corpse to reanimate almost immediately (in approximately 3 in-game seconds). Skeleton corpses are skipped. The reanimate time is set to the current world-age hours plus a tiny offset, causing the game's reanimate system to re-activate those corpses on the next pass.
Trigger type
reviveZombies
Parameters
| Parameter | Type | Default | Valid Values | Description |
|---|---|---|---|---|
range | number | 10 | Any positive integer | Square half-side in world units. All grid squares within ±range on both X and Y axes are checked for corpses. |
Examples
Revive all non-skeleton corpses within the default 10-unit range
{ type="reviveZombies" }
Revive corpses within a 25-unit square area
{ type="reviveZombies", range=25 }
Only revive corpses immediately adjacent to the player
{ type="reviveZombies", range=2 }