Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

ZoneHazardProtection

Defined in: server/api.d.ts:4968

What keeps a player safe from a hazard.

optional consumables?: Record<string, number>

Defined in: server/api.d.ts:4977

Item id to seconds: using one (playerInventoryConsumed) protects the player for that long, from this zone’s hazard, inside or not yet. A second dose never shortens what is left.


optional items?: string[]

Defined in: server/api.d.ts:4972

Item ids: holding any one in the inventory protects the player for as long as they hold it.