nukem

Module: nukem — fun_nukem.lua

What it does

Instantly kills all living zombies within a configurable tile radius of the local player. A pipe bomb explosion sound is played at the player's position. All kills are credited to the player's zombie kill counter. A global riggy variable is respected — if set, that specific zombie instance is spared. A log message is printed to the console reporting how many zombies were killed and at what radius.

Trigger type

nukem

Parameters

ParameterTypeDefaultValid ValuesDescription
type string required "nukem" Module trigger identifier.
radius number 30 Any positive number (tiles) Radius in tiles around the player within which all zombies are killed.

Examples

Default 30-tile nuke
{ type="nukem" }
Small close-range blast (10 tiles)
{ type="nukem", radius=10 }
Massive area wipe (100 tiles)
{ type="nukem", radius=100 }