Skip to main content

PortalTeleportSubType

For EntityType.EFFECT (1000), EffectVariant.PORTAL_TELEPORT (161).

Enumeration Members

TREASURE_ROOM

TREASURE_ROOM = 0

Is yellow in color.

Defined in

collections/subTypes.ts:2408


BOSS_ROOM

BOSS_ROOM = 1

Is red in color.

Defined in

collections/subTypes.ts:2411


SECRET_ROOM

SECRET_ROOM = 2

Is blue in color.

Defined in

collections/subTypes.ts:2414


RANDOM_ROOM

RANDOM_ROOM = 3

Is purple in color.

Portals of this type are non-persistent in that they will not respawn if the player leaves the room, which makes them unlike the portals spawned by the Lil Portal familiar. In order to generate Lil-Portal-style portals, you add 1000 to the destination room grid index. For example, you would use a sub-type of 1058 for a persistent portal that always goes to the room at grid index 58.

Defined in

collections/subTypes.ts:2425