Space Station 13 - Modules - Types

maps/torch/../../packs/deepmaint/generator/jp_dungeon_gen.dm

/obj/procedural/jp_DungeonGenerator
/obj/procedural/jp_dungeonroomEntrySeriously internal. No touching, unless you really know what you're doing. It's highly unlikely that you'll need to modify this
/obj/procedural/jp_DungeonRegionThis object is used to represent a 'region' in the dungeon - a set of contiguous floor turfs, along with the walls that border them. This object is used extensively by the generator, and has several assumptions embedded in it - think carefully before making changes
/obj/procedural/jp_dungeonroomThese objects are used to represent a 'room' - a distinct part of the dungeon that is placed at the start, and then linked together. You will quite likely want to create new jp_dungeonrooms. Consult the helpfile for more information
/obj/procedural/jp_dungeonroom/preexist/squareClass for a simple square room, size2+1 by size2+1 units. Border is all turfs adjacent to the floor that return true from is_wall().
/obj/procedural/jp_dungeonroom/preexist/circleA simple circle of radius 'size' units. Border is all turfs adjacent to the floor that return true from is_wall()
/obj/procedural/jp_dungeonroom/preexist/crossA giant plus sign, with arms of length size*2 + 1. Border is the turfs on the 'end' of the arms of the plus sign - there are only four.
/obj/procedural/jp_dungeonroom/preexist/square/submapSame as square, but loads a submap out of allowed list