_std/map.dm
Z_LEVEL_NULL | Nullspace/Z0/The Darkness |
---|---|
Z_LEVEL_STATION | The station Z-level. |
Z_LEVEL_ADVENTURE | The Z-level used for Adventure Zones. |
Z_LEVEL_DEBRIS | The debris Z-level. Blank on underwater maps. |
Z_LEVEL_SECRET | The Z-level used for secret things. |
Z_LEVEL_MINING | The mining Z-level. Trench on underwater maps |
Z_LEVEL_DYNAMIC | The Z-level used for dynamically loaded maps. See: region_allocator |
PERLIN_LAYER_HEIGHT | Map generation defines |
REGION_TILES | Lets you iterate over things in an allocated region. |
REGION_TURFS | Provides a list of all turfs in allocated region. |
/proc/random_nonrestrictedz_turf | Returns a random turf on a non-restricted z-level. |
/proc/random_space_turf | Tries to return a random space turf. Tries a given number of times and if it fails it returns null instead. |
Define Details
PERLIN_LAYER_HEIGHT
Map generation defines
REGION_TILES
Lets you iterate over things in an allocated region.
Example:
for(var/mob/M in REGION_TILES(src.region))
M.gib()
REGION_TURFS
Provides a list of all turfs in allocated region.
Z_LEVEL_ADVENTURE
The Z-level used for Adventure Zones.
Z_LEVEL_DEBRIS
The debris Z-level. Blank on underwater maps.
Z_LEVEL_DYNAMIC
The Z-level used for dynamically loaded maps. See: region_allocator
Z_LEVEL_MINING
The mining Z-level. Trench on underwater maps
Z_LEVEL_NULL
Nullspace/Z0/The Darkness
Z_LEVEL_SECRET
The Z-level used for secret things.
Z_LEVEL_STATION
The station Z-level.