RoomDescriptorFlag
Defined in: flags/RoomDescriptorFlag.ts:12
Not Exported
Matches the RoomDescriptor.FLAG_* members of the RoomDescriptor class. In IsaacScript, we
reimplement this as an object instead, since it is cleaner.
This is represented as an object instead of an enum due to limitations with TypeScript enums. (We
want this type to be a child of the BitFlag type.)
Enumeration Members
Section titled “Enumeration Members”CLEAR:
number
Defined in: flags/RoomDescriptorFlag.ts:18
Room is clear, don’t spawn enemies when visiting.
1 << 0 (1)
PRESSURE_PLATES_TRIGGERED
Section titled “PRESSURE_PLATES_TRIGGERED”PRESSURE_PLATES_TRIGGERED:
number
Defined in: flags/RoomDescriptorFlag.ts:26
All pressure plates have been triggered in this room. This won’t be set if there are no trigger pressure plates in the first place.
1 << 1 (2)
SACRIFICE_DONE
Section titled “SACRIFICE_DONE”SACRIFICE_DONE:
number
Defined in: flags/RoomDescriptorFlag.ts:33
A Sacrifice Room has paid out.
1 << 2 (4)
CHALLENGE_DONE
Section titled “CHALLENGE_DONE”CHALLENGE_DONE:
number
Defined in: flags/RoomDescriptorFlag.ts:40
A Challenge Room has finished.
1 << 3 (8)
SURPRISE_MINIBOSS
Section titled “SURPRISE_MINIBOSS”SURPRISE_MINIBOSS:
number
Defined in: flags/RoomDescriptorFlag.ts:47
Load Greed/Krampus instead of the room specified by the type & variant.
1 << 4 (16)
HAS_WATER
Section titled “HAS_WATER”HAS_WATER:
number
Defined in: flags/RoomDescriptorFlag.ts:54
Pits in this room contain water.
1 << 5 (32)
ALT_BOSS_MUSIC
Section titled “ALT_BOSS_MUSIC”ALT_BOSS_MUSIC:
number
Defined in: flags/RoomDescriptorFlag.ts:61
Play alternate boss music in this room.
1 << 6 (64)
NO_REWARD
Section titled “NO_REWARD”NO_REWARD:
number
Defined in: flags/RoomDescriptorFlag.ts:69
Don’t pay out with a reward when clearing this room. Used for traps that lock the player in the room when triggered.
1 << 7 (128)
FLOODED
Section titled “FLOODED”FLOODED:
number
Defined in: flags/RoomDescriptorFlag.ts:76
Was flooded by an item (i.e. Flush).
1 << 8 (256)
PITCH_BLACK
Section titled “PITCH_BLACK”PITCH_BLACK:
number
Defined in: flags/RoomDescriptorFlag.ts:83
Complete darkness.
1 << 9 (512)
RED_ROOM
Section titled “RED_ROOM”RED_ROOM:
number
Defined in: flags/RoomDescriptorFlag.ts:90
Room spawned by Red Key.
1 << 10 (1024)
DEVIL_TREASURE
Section titled “DEVIL_TREASURE”DEVIL_TREASURE:
number
Defined in: flags/RoomDescriptorFlag.ts:97
Treasure room transformed by Devil’s Crown.
1 << 11 (2048)
USE_ALTERNATE_BACKDROP
Section titled “USE_ALTERNATE_BACKDROP”USE_ALTERNATE_BACKDROP:
number
Defined in: flags/RoomDescriptorFlag.ts:104
Use an alternate backdrop. (This is used by some floors such as Dross and Ashpit.)
1 << 12 (4096)
CURSED_MIST
Section titled “CURSED_MIST”CURSED_MIST:
number
Defined in: flags/RoomDescriptorFlag.ts:111
The room is covered in cursed mist; the player is temporarily reduced to base items and stats.
1 << 13 (8192)
MAMA_MEGA
Section titled “MAMA_MEGA”MAMA_MEGA:
number
Defined in: flags/RoomDescriptorFlag.ts:118
Mama Mega has activated in this room.
1 << 14 (16384)
NO_WALLS
Section titled “NO_WALLS”NO_WALLS:
number
Defined in: flags/RoomDescriptorFlag.ts:125
Don’t generate walls (for Beast arena).
1 << 15 (32768)
ROTGUT_CLEARED
Section titled “ROTGUT_CLEARED”ROTGUT_CLEARED:
number
Defined in: flags/RoomDescriptorFlag.ts:132
Rotgut’s heart was killed, immediately play Rotgut’s death animation when reentering this room.
1 << 16 (65536)
PORTAL_LINKED
Section titled “PORTAL_LINKED”PORTAL_LINKED:
number
Defined in: flags/RoomDescriptorFlag.ts:140
A portal spawned by Lil Portal now links to this room; don’t create more portals that link to it.
1 << 17 (131072)
BLUE_REDIRECT
Section titled “BLUE_REDIRECT”BLUE_REDIRECT:
number
Defined in: flags/RoomDescriptorFlag.ts:148
If walking into this room through a door, redirect to a Blue Womb room instead. (This is used by Blue Key.)
1 << 18 (262144)
