Skip to content

Room Functions

Taz edited this page Mar 10, 2020 · 4 revisions

Display Flags

room:IsVisible()

Returns true if this room has display flag 1 << 0 (visible on the minimap, not including room outline or icons)

room:IsShadow()

Returns true if this room has display flag 1 << 1

room:IsIconVisible()

Returns true if this room has display flag 1 << 2 (icons visible)

room:IsVisited()

Returns true if this room has been visited before

room:GetDisplayFlags()

Returns the room's display flags.

room:IsClear()

Returns the room's clear status.

room:Remove()

Removes the room from the minimap and returns it.

Positional

room:GetAdjacentRooms()

Returns a table containing all rooms adjacent to this. This does not account for touching rooms that aren't grid aligned.

Clone this wiki locally