SlotDestructionType
Enumerations
Section titled “Enumerations”SlotDestructionType
Section titled “SlotDestructionType”Defined in: packages/isaacscript-common/src/enums/SlotDestructionType.ts:2
This is used in the POST_SLOT_DESTROYED custom callback.
Enumeration Members
Section titled “Enumeration Members”NORMAL
Section titled “NORMAL”NORMAL:
0
Defined in: packages/isaacscript-common/src/enums/SlotDestructionType.ts:10
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.
COLLECTIBLE_PAYOUT
Section titled “COLLECTIBLE_PAYOUT”COLLECTIBLE_PAYOUT:
1
Defined in: packages/isaacscript-common/src/enums/SlotDestructionType.ts:18
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.
