chalupaMode
Module: chalupaMode — fun_chalupaMode.lua
What it does
Activates "chalupa mode" on the local player for a configurable duration. While active, a rainbow-cycling light source follows the player, cycling through 60 smooth color steps every two ticks. Simultaneously, all living zombies within a radius of 1 tile are killed each tick with a coin sound effect, and the kill count is credited to the player. The effect ends automatically when the duration expires.
Trigger type
chalupaMode
Parameters
| Parameter | Type | Default | Valid Values | Description |
|---|---|---|---|---|
type |
string | required | "chalupaMode" |
Module trigger identifier. |
duration |
number | 30 |
Any positive integer | How long the effect lasts, in in-game seconds. Internally multiplied by 60 ticks. |
Examples
Trigger with default 30-second duration
{ type="chalupaMode" }
Short 10-second burst
{ type="chalupaMode", duration=10 }
Extended 2-minute rainbow chaos
{ type="chalupaMode", duration=120 }