byond - Modules - TypesDefine Details

code/__DEFINES/turfs.dm

RECT_TURFSReturns a list of turfs within H_RADIUS tiles horizontally and V_RADIUS tiles vertically of CENTER.
RANGE_TURFSReturns a list of turfs within Dist tiles of Center. When Dist >= 5 faster than a range() filtered to /turfs.
ORANGE_TURFSReturns a list of turfs within Dist tiles of Center, excluding Center. When Dist >= 5 faster than an orange() filtered to /turfs.
Z_TURFSReturns all turfs in a zlevel
CORNER_BLOCKReturns a list of turfs in the rectangle specified by BOTTOM LEFT corner and height/width
CORNER_BLOCK_OFFSETReturns a list of turfs similar to CORNER_BLOCK but with offsets
CORNER_OUTLINEReturns an outline (neighboring turfs) of the given block

Define Details

CORNER_BLOCK

Returns a list of turfs in the rectangle specified by BOTTOM LEFT corner and height/width

CORNER_BLOCK_OFFSET

Returns a list of turfs similar to CORNER_BLOCK but with offsets

CORNER_OUTLINE

Returns an outline (neighboring turfs) of the given block

ORANGE_TURFS

Returns a list of turfs within Dist tiles of Center, excluding Center. When Dist >= 5 faster than an orange() filtered to /turfs.

RANGE_TURFS

Returns a list of turfs within Dist tiles of Center. When Dist >= 5 faster than a range() filtered to /turfs.

RECT_TURFS

Returns a list of turfs within H_RADIUS tiles horizontally and V_RADIUS tiles vertically of CENTER.

Z_TURFS

Returns all turfs in a zlevel