Set Grid Defaults Step: Difference between revisions

From PMDOWiki
Imbion (talk | contribs)
Created page with "The '''Init Grid Plan Step''' is a floor generation step. It is used exclusively in Grid Floor Generation . Its typical priority is ''-4''. This step replaces some of the generated cells with a 1x1 tile hall. == Usage == Similar to how the Rescue and Explorers games generate their floors, this step replaces a given percentage of the rooms within the cells with a 1x1 tile hall. This is correctly flagged as a hall, so items and other room features will be unable to s..."
 
Imbion (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''Init Grid Plan Step''' is a floor generation step. It is used exclusively in [[Grid Floor Generation]] . Its typical priority is ''-4''.
The '''Set Grid Defaults Step''' is a floor generation step. It is used exclusively in [[Grid of Rooms Generation]]. Its typical priority is ''-4''.
 
This step replaces some of the generated cells with a 1x1 tile hall.


== Usage ==
== Usage ==
Line 17: Line 15:
What conditions possible targets for replacement must meet in order to be valid to replace.
What conditions possible targets for replacement must meet in order to be valid to replace.


For more information on how filters can be used, see [[Generation Filters|generation filters]].
For more information on how filters can be used, see [[filters]].
 
[[Category:Floor Generation Step]][[Category:GridFloorGen]]
[[Category:Floor Generation Step]]

Latest revision as of 15:12, 11 January 2026

The Set Grid Defaults Step is a floor generation step. It is used exclusively in Grid of Rooms Generation. Its typical priority is -4.

Usage

Similar to how the Rescue and Explorers games generate their floors, this step replaces a given percentage of the rooms within the cells with a 1x1 tile hall. This is correctly flagged as a hall, so items and other room features will be unable to spawn in these dummy rooms. This allows for the creation of long hallways that travel through roomless cells.

This is distinct from reducing the room ratio, as paths still go through the cells. Meanwhile, a decrease of the room ratio will cause certain cells to randomly generate no rooms.

Fields

Set Grid Default Step has the following fields.

Default Ratio

The range of possible ratios of rooms that will be replaced with 1x1 tile halls. Ratios are selected randomly for each seed within this range.

Filters

What conditions possible targets for replacement must meet in order to be valid to replace.

For more information on how filters can be used, see filters.