byond - Modules - TypesDefine Details

code/__DEFINES/turfs.dm

CHANGETURF_KEEP_WEEDSkeep xeno nodes when changing turfs, instead of removing them
RANGE_TURFSReturns a list of turf in a square
Z_TURFSReturns all turfs in a zlevel
ALL_TURFSReturns all currently loaded turfs
CORNER_BLOCKReturns a list of turfs in the rectangle specified by BOTTOM LEFT corner and height/width, checks for being outside the world border for you
CORNER_BLOCK_OFFSETReturns a list of turfs similar to CORNER_BLOCK but with offsets
CORNER_OUTLINEReturns an outline (neighboring turfs) of the given block
TURF_NEIGHBORSReturns a list of around us
ADD_TURF_TRANSPARENCYMakes the set turf transparent
REMOVE_TURF_TRANSPARENCYRemoves the transparency from the set turf

Define Details

ADD_TURF_TRANSPARENCY

Makes the set turf transparent

ALL_TURFS

Returns all currently loaded turfs

CHANGETURF_KEEP_WEEDS

keep xeno nodes when changing turfs, instead of removing them

CORNER_BLOCK

Returns a list of turfs in the rectangle specified by BOTTOM LEFT corner and height/width, checks for being outside the world border for you

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

RANGE_TURFS

Returns a list of turf in a square

REMOVE_TURF_TRANSPARENCY

Removes the transparency from the set turf

TURF_NEIGHBORS

Returns a list of around us

Z_TURFS

Returns all turfs in a zlevel