Skip to content

PortalTeleportSubType

Defined in: collections/subTypes.ts:2406

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

TREASURE_ROOM: 0

Defined in: collections/subTypes.ts:2408

Is yellow in color.


BOSS_ROOM: 1

Defined in: collections/subTypes.ts:2411

Is red in color.


SECRET_ROOM: 2

Defined in: collections/subTypes.ts:2414

Is blue in color.


RANDOM_ROOM: 3

Defined in: collections/subTypes.ts:2425

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.