Skip to main content

TrapdoorVariant

For GridEntityType.TRAPDOOR (17).

Enumeration Members

NORMAL

NORMAL = 0

Defined in

collections/gridEntityVariants.ts:125


VOID_PORTAL

VOID_PORTAL = 1

Void Portals will have a VarData of 0 if they are part of the grid layout and a VarData of 1 if they are spawned after defeating a boss.

Manually spawning a trapdoor with a variant of a Void Portal will work, but the sprite will have the appearance of a normal trapdoor; you must replace the sprite sheet with "gfx/grid/voidtrapdoor.anm2".

Defined in

collections/gridEntityVariants.ts:135