Files

1 line
5.7 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/turfs.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="code/__DEFINES/turfs.html#define">Define Details</a></header><main><h1>code/__DEFINES/turfs.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/turfs.html#define/TURF_PATHING_PASS_DENSITY">TURF_PATHING_PASS_DENSITY</a></th><td>Turf will be passable if density is 0</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/TURF_PATHING_PASS_PROC">TURF_PATHING_PASS_PROC</a></th><td>Turf will be passable depending on <a href="atom.html#proc/CanPathfindPass" title="/atom">/atom/proc/CanPathfindPass</a> return value</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/TURF_PATHING_PASS_NO">TURF_PATHING_PASS_NO</a></th><td>Turf is never passable</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/CORNER_BLOCK_OFFSET">CORNER_BLOCK_OFFSET</a></th><td>Returns a list of turfs similar to CORNER_BLOCK but with offsets</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/TURF_NEIGHBORS">TURF_NEIGHBORS</a></th><td>Returns a list of around us</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/MINERAL_PREVENT_DIG">MINERAL_PREVENT_DIG</a></th><td>A mineral turf should not be changed when mined.</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/MINERAL_ALLOW_DIG">MINERAL_ALLOW_DIG</a></th><td>A mineral turf should be dug out when mined.</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/CORNER_OUTLINE">CORNER_OUTLINE</a></th><td>Returns an outline (neighboring turfs) of the given block</td></tr><tr><th><a href="code/__DEFINES/turfs.html#define/Z_TURFS">Z_TURFS</a></th><td>Returns all turfs in a zlevel</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/CORNER_BLOCK_OFFSET"><aside class="declaration">#define </aside>CORNER_BLOCK_OFFSET<aside>(corner, width, height, offset_x, offset_y)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L9"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 9"></a></h3><p>Returns a list of turfs similar to CORNER_BLOCK but with offsets</p><h3 id="define/CORNER_OUTLINE"><aside class="declaration">#define </aside>CORNER_OUTLINE<aside>(corner, width, height)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L26"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 26"></a></h3><p>Returns an outline (neighboring turfs) of the given block</p><h3 id="define/MINERAL_ALLOW_DIG"><aside class="declaration">#define </aside>MINERAL_ALLOW_DIG <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L15"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 15"></a></h3><p>A mineral turf should be dug out when mined.</p><h3 id="define/MINERAL_PREVENT_DIG"><aside class="declaration">#define </aside>MINERAL_PREVENT_DIG <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L14"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 14"></a></h3><p>A mineral turf should not be changed when mined.</p><h3 id="define/TURF_NEIGHBORS"><aside class="declaration">#define </aside>TURF_NEIGHBORS<aside>(turf)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L12"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 12"></a></h3><p>Returns a list of around us</p><h3 id="define/TURF_PATHING_PASS_DENSITY"><aside class="declaration">#define </aside>TURF_PATHING_PASS_DENSITY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L2"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 2"></a></h3><p>Turf will be passable if density is 0</p><h3 id="define/TURF_PATHING_PASS_NO"><aside class="declaration">#define </aside>TURF_PATHING_PASS_NO <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L6"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 6"></a></h3><p>Turf is never passable</p><h3 id="define/TURF_PATHING_PASS_PROC"><aside class="declaration">#define </aside>TURF_PATHING_PASS_PROC <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L4"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 4"></a></h3><p>Turf will be passable depending on <a href="atom.html#proc/CanPathfindPass" title="/atom">/atom/proc/CanPathfindPass</a> return value</p><h3 id="define/Z_TURFS"><aside class="declaration">#define </aside>Z_TURFS<aside>(ZLEVEL)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/turfs.dm#L35"><img src="git.png" width="16" height="16" title="code/__DEFINES/turfs.dm 35"></a></h3><p>Returns all turfs in a zlevel</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>