RoomDescriptorFlagInternal
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.)
RoomDescriptorFlag
Enumeration Members
CLEAR
• CLEAR = number
Room is clear, don't spawn enemies when visiting.
1 << 0 (1)
Defined in
flags/RoomDescriptorFlag.ts:18
PRESSURE_PLATES_TRIGGERED
• PRESSURE_PLATES_TRIGGERED = number
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)
Defined in
flags/RoomDescriptorFlag.ts:26
SACRIFICE_DONE
• SACRIFICE_DONE = number
A Sacrifice Room has paid out.
1 << 2 (4)
Defined in
flags/RoomDescriptorFlag.ts:33
CHALLENGE_DONE
• CHALLENGE_DONE = number
A Challenge Room has finished.
1 << 3 (8)
Defined in
flags/RoomDescriptorFlag.ts:40
SURPRISE_MINIBOSS
• SURPRISE_MINIBOSS = number
Load Greed/Krampus instead of the room specified by the type & variant.
1 << 4 (16)
Defined in
flags/RoomDescriptorFlag.ts:47
HAS_WATER
• HAS_WATER = number
Pits in this room contain water.
1 << 5 (32)
Defined in
flags/RoomDescriptorFlag.ts:54
ALT_BOSS_MUSIC
• ALT_BOSS_MUSIC = number
Play alternate boss music in this room.
1 << 6 (64)
Defined in
flags/RoomDescriptorFlag.ts:61
NO_REWARD
• NO_REWARD = number
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)
Defined in
flags/RoomDescriptorFlag.ts:69
FLOODED
• FLOODED = number
Was flooded by an item (i.e. Flush).
1 << 8 (256)
Defined in
flags/RoomDescriptorFlag.ts:76
PITCH_BLACK
• PITCH_BLACK = number
Complete darkness.
1 << 9 (512)
Defined in
flags/RoomDescriptorFlag.ts:83
RED_ROOM
• RED_ROOM = number
Room spawned by Red Key.
1 << 10 (1024)
Defined in
flags/RoomDescriptorFlag.ts:90
DEVIL_TREASURE
• DEVIL_TREASURE = number
Treasure room transformed by Devil's Crown.
1 << 11 (2048)
Defined in
flags/RoomDescriptorFlag.ts:97
USE_ALTERNATE_BACKDROP
• USE_ALTERNATE_BACKDROP = number
Use an alternate backdrop. (This is used by some floors such as Dross and Ashpit.)
1 << 12 (4096)
Defined in
flags/RoomDescriptorFlag.ts:104
CURSED_MIST
• CURSED_MIST = number
The room is covered in cursed mist; the player is temporarily reduced to base items and stats.
1 << 13 (8192)
Defined in
flags/RoomDescriptorFlag.ts:111
MAMA_MEGA
• MAMA_MEGA = number
Mama Mega has activated in this room.
1 << 14 (16384)
Defined in
flags/RoomDescriptorFlag.ts:118
NO_WALLS
• NO_WALLS = number
Don't generate walls (for Beast arena).
1 << 15 (32768)
Defined in
flags/RoomDescriptorFlag.ts:125
ROTGUT_CLEARED
• ROTGUT_CLEARED = number
Rotgut's heart was killed, immediately play Rotgut's death animation when reentering this room.
1 << 16 (65536)
Defined in
flags/RoomDescriptorFlag.ts:132
PORTAL_LINKED
• PORTAL_LINKED = number
A portal spawned by Lil Portal now links to this room; don't create more portals that link to it.
1 << 17 (131072)
Defined in
flags/RoomDescriptorFlag.ts:140
BLUE_REDIRECT
• BLUE_REDIRECT = number
If walking into this room through a door, redirect to a Blue Womb room instead. (This is used by Blue Key.)
1 << 18 (262144)