Floor Generation Overview

From PMDOWiki
Revision as of 02:10, 12 March 2023 by IDK (talk | contribs) (visual aids)

This page goes over the steps of dungeon generation. All steps are ordered by the priority in which they are executed. A lower number means a step will execute earlier. While these priority numbers do not need to be obeyed for modding, they are the numbers that base PMDO uses.

Floor Data

Priority -6

Grid Creation

Priority -5

File:DungeonProcess Cells.png

Grid Path Generation

Priority -4

File:DungeonProcess Cells Chosen.png

Room List Creation

Priority -3

Room List Generation

Priority -2

File:DungeonProcess Cells To Rooms.png File:DungeonProcess Cells To Rooms Halls.png File:DungeonProcess Rooms Halls.png

Tiles Creation

Priority -1

Tiles Generation

Priority 0

File:DungeonProcess Rooms To Tiles.png File:DungeonProcess Rooms Halls To Tiles.png File:DungeonProcess Floor.png

Spawn Tables

Priority 1

Exits

Priority 2

Water

Priority 3

Textures

Priority 4

Spawns

Priority 5

Money

Priority 6

Debug Checks

Priority 7