PortalTeleportSubType
For EntityType.EFFECT
(1000), EffectVariant.PORTAL_TELEPORT
(161).
Enumeration Members
TREASURE_ROOM
• TREASURE_ROOM = 0
Is yellow in color.
Defined in
BOSS_ROOM
• BOSS_ROOM = 1
Is red in color.
Defined in
SECRET_ROOM
• SECRET_ROOM = 2
Is blue in color.
Defined in
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.