Skip to main content

SlotDestructionType

This is used in the POST_SLOT_DESTROYED custom callback.

Enumeration Members

NORMAL

NORMAL = 0

When a machine or a beggar is blown up by a bomb or is otherwise removed without spawning a collectible.

Note that the destruction type for a Crane Game will be SlotDestructionType.NORMAL, even if it destroyed via spawning three separate collectibles.

Defined in

packages/isaacscript-common/src/enums/SlotDestructionType.ts:10


COLLECTIBLE_PAYOUT

COLLECTIBLE_PAYOUT = 1

When a machine or a beggar is removed while spawning a collectible reward.

Note that the destruction type for a Crane Game will be SlotDestructionType.NORMAL, even if it destroyed via spawning three separate collectibles.

Defined in

packages/isaacscript-common/src/enums/SlotDestructionType.ts:18