Doors
Overview
void
void
integer
integer
{x:integer, y:integer}?
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
Functions
CloseAllDoors()
void CloseAllDoors(boolean playAnim)
Helper funciton to close all doors in the current room.
CloseDoorFast()
Helper function to open a door instantly without playing its open animation.
DoorSlotsToDoorSlotBitMask()
Helper function to convert the provided door slots into a door slot bitmask.
DoorSlotToDirection()
Helper function to get the direction corresponding to a given door slot.
DoorSlotToDoorSlotFlag()
Helper function to get a door slot flag from a door slot.
GetAngelOrDevilRoomDoor()
Helper function to get an angel or devil room door in the current room. Note that if there are both an angel and devil room door it'll only return the one in the lowest door slot.
GetAngelRoomDoor()
Helper function to get the angel room door in the current room. If there isn't any, returns nil.
GetBlueWombDoor()
Helper function to get the door that leads to the blue womb entrance in the current room.
GetDevilRoomDoor()
Helper function to get the devil room door in the current room. If there isn't any, returns nil.
GetDoorEnterPosition()
Helper function to get the position that a player will enter a room at corresponding to a door.
GetDoors()
Helper function to return all doors in the current room. You can optionally specify one or more room types to return only the doors that match the specified room types.
GetDoorSlotEnterPosition()
Helper function to get the position that a player will enter a room at corresponding to a door slot.
GetDoorSlotEnterPositionOffset()
Helper function to get the offset from a door position that a player will enter a room at.
GetDoorSlotsForRoomShape()
Helper function to get all the possible door slots in a room shape.
GetDoorSlotsFromDoorSlotBitMask()
Helper function to get the door slots corresponding to a door slot bit mask.
GetDoorsToRoomIndex()
Helper function to return all doors in the current room that lead to a given room index.
GetRoomShapeDoorSlot()
Helper function to get the corresponding door slot for a given room shape and grid coordinates.
GetRoomShapeDoorSlotCoordinates()
Helper function to get the grid coordinates for a specific room shape and door slot combination.
GetSecretExitDoor()
Helper function to get the door that leads to a repentance secret exit in the current room.
GetUnusedDoorSlots()
Helper function to get all unused door slots in the current room. Useful to spawn custom doors.
HasUnusedDoorSlot()
boolean HasUnusedDoorSlot()
Helper function to check if the current room has any unused door slots.
IsAngelRoomDoor()
Helper function to see if a door leads to an angel deal room.
IsBlueWombDoor()
Helper function to see if a door is the blue womb entrance door that appears after defeating Mom's Heart/It Lives.
IsDevilRoomDoor()
Helper function to see if a door leads to an devil deal room.
IsDoorSlotInRoomShape()
Helper function to check if a given door slot can be present in a given room shape.
IsDoorToDownpour()
Helper function to see if a door leads to the secret exit to Downpour.
IsDoorToMausoleum()
Helper function to see if a door leads to the secret exit to Mausoleum.
IsDoorToMausoleumAscent()
Helper function to see if a door leads to the secret exit to the ascent version of Mausoleum, located in Depths 2 and requires The Polaroid or The Negative to open.
IsDoorToMines()
Helper function to see if a door leads to the secret exit to Mines.
IsDoorToMomsHeart()
Helper function to see if a door is the door that spawns after defeating Mom in Mausoleum II and requires both knife pieces to open.
IsHiddenSecretDoor()
Helper function to check if a door is a hole in the wall that appears after bombing the entrance to a secret room but hasn't been revealed yet.
IsSecretExitDoor()
Helper function to see if a door leads to any of the secret exit introduced in Repentance, that lead you to the Repentance floors.
IsSecretRoomDoor()
Helper function to check if a door is a hole in the wall that appears after bombing the entrance to a secret room. Note that the door still exists even if it hasn't been bombed yet.
LockDoor()
Helper function to reset an unlocked door back to its locked state.
OpenAllDoors()
void OpenAllDoors(boolean playAnim)
Helper funciton to open all doors in the current room
OpenDoorFast()
Helper function to open a door instantly without playing its open animation.
RemoveAllDoorsOfType()
Helper function to remove all doors of the given room types.
RemoveDoor()
Helper function to remove a single door
RemoveDoors()
Helper function to remove all the given doors
Last updated