Space Station 13 - Modules - TypesProc Details

jp_DungeonRegion

This 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

Procs

NewMake a new jp_DungeonRegion, and set its reference to its generator object
addBorderAdds a list of turfs to the border of the region.
addTurfsAdd a list of turfs to the region, optionally without adding the walls around them to the list of borders
getBorderReturns the list of walls bordering the floors in this region
getTurfsReturns the list of floors in this region

Proc Details

New

Make a new jp_DungeonRegion, and set its reference to its generator object

addBorder

Adds a list of turfs to the border of the region.

addTurfs

Add a list of turfs to the region, optionally without adding the walls around them to the list of borders

getBorder

Returns the list of walls bordering the floors in this region

getTurfs

Returns the list of floors in this region