Room

From PMDOWiki
(Redirected from Rooms)

A room is the core primary structure generated in maps. They are generated using FloorSteps, and belong in the RoomGen class of RogueElements.

Many different structures are considered rooms in PMDO, such as halls.

Room Overview

Below is a table summary of rooms that can be generated.

Image Name Description
Angled Hall A room connecting its exists with a narrow hallway. It can handle all combinations of exists from all combination of directions.
Block A rectangular room generated with the specific terrain blocking it.
Bump A rectangular room with tiles at the perimeter randomly blocked.
Cave A cave-like room generated using cellular automata.
If it tries to generate a blob but a valid size is not proposed, it will generate as a rectangle.
Cross A room composing of one vertical and one horizontal rectange.
Default A 1x1 tile room.
Diamond A diamond shaped room.
Oasis A cave-like room filled completely by the specified terrain, with its border being floor terrain.
Plus A rectangular room with tiles from the edges blocked off.
May cause errors on generation if the corner field is too big.
Round A circular or capsule-like room.
Square A rectangular or square room.
Triangle A right triangle room.
Water Ring A room with a terrain type encircling treasure.

Custom Rooms

These rooms are loaded from pre-existing map assets. They are primarily custom, with appearances that vary greatly depending on how they are built.

Name Description
Coated A room coated in additional tiles, which can be of any other generation. Currently incomplete.
Load Boss Used to load a boss room.
Load Evo Used to load an evolution room.
Load Map Bordered Used to load a map as a room with the specified terrain as borders.
Load Map Used to load a map as a room.
Post Proc Specific Generates a room with a specified mask.
Specific Boss Generates a boss room with the specified tiles.
Specific Generates a room with the specified tiles.


Hardcoded Rooms

These rooms are hardcoded to always appear a certain way, and have no customization options. THEY ARE SCHEDULED FOR DEPRECATION AND USE IS DISCOURAGED.

Image Name Description
Evo Small A hardcoded 5x6 tile evolution room. To be replaced by Load Map: room_evo_altar_small
Evo A hardcoded 7x6 tile evolution room. To be replaced by Load Map: room_evo_altar_normal
Guarded Cave A cave that generates with a mob guarding its entrance.