Skip to content

TrapdoorVariant

Defined in: collections/gridEntityVariants.ts:124

For GridEntityType.TRAPDOOR (17).

NORMAL: 0

Defined in: collections/gridEntityVariants.ts:125


VOID_PORTAL: 1

Defined in: collections/gridEntityVariants.ts:135

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”.