Module for inspecting all rooms in the current level.
trx.rooms.fn.FlipStatustrx.rooms.fn.FlipStatus.NONEtrx.rooms.fn.FlipStatus.UNFLIPPEDtrx.rooms.fn.FlipStatus.FLIPPEDtrx.rooms.fn.RoomRepresents a room.
Properties:
underwater: Whether the room is underwater or not.wind: Whether the room has breeze enabled or not. (Requires the player to have breeze enabled in the game settings).bounds: a table with world-coordinate bounds of the room. The table contains:min_x: minimum x coordinate.min_y: minimum y coordinate.min_z: minimum z coordinate.max_x: maximum x coordinate.max_y: maximum y coordinate.max_z: maximum z coordinate.internal_bounds: similar to bounds, but excludes the outer sector.flip_status: current room flip status (see trx.rooms.fn.FlipStatus).flipped_room: linked flip room of this room.Writable properties:
underwaterwind-- Uses Lua length operator on the rooms table:
#trx.roomstrx.rooms[num]trx.rooms.fn.Roomnil if out of range.
trx.rooms.fn.get(arg)trx.rooms[arg].