Skip to content

TNTState

Defined in: collections/gridEntityStates.ts:75

For GridEntityType.TNT (12).

The health of a TNT barrel is represented by its state. It starts at 0 and climbs upwards in increments of 1. Once the state reaches 4, the barrel explodes, and remains at state 4.

Breaking a TNT barrel usually takes 4 tears. However, it is possible to take less than that if the players damage is high enough. (High damage causes the tear to do two or more increments at once.)

UNDAMAGED: 0

Defined in: collections/gridEntityStates.ts:76


ONE_QUARTER_DAMAGED: 1

Defined in: collections/gridEntityStates.ts:77


TWO_QUARTERS_DAMAGED: 2

Defined in: collections/gridEntityStates.ts:78


THREE_QUARTERS_DAMAGED: 3

Defined in: collections/gridEntityStates.ts:79


EXPLODED: 4

Defined in: collections/gridEntityStates.ts:80