mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
4 lines
3.8 KiB
HTML
4 lines
3.8 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/spawner_pixel_placer - 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="datum/spawner_pixel_placer.html#var">Var Details</a></header><main><h1>spawner_pixel_placer <aside>/<a href="datum.html">datum</a>/<a href="datum/spawner_pixel_placer.html">spawner_pixel_placer</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/spawner_pixel_placer.dm#L3"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/spawner_pixel_placer.dm 3"></a></h1><p>For use when arranging items on a tile with a staggered visual
|
||
appearance. Initially for use with <a href="obj/effect/spawner/random.html" title="/obj/effect/spawner/random">/obj/effect/spawner/random</a>s.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/spawner_pixel_placer.html#var/added_items">added_items</a></th><td>The items we've added so far. Used to perform one
|
||
last visual arrangement in z-order once complete.</td></tr><tr><th><a href="datum/spawner_pixel_placer.html#var/max_pixel_offset">max_pixel_offset</a></th><td>Maximum offset distance from the center of a tile.</td></tr><tr><th><a href="datum/spawner_pixel_placer.html#var/offsets">offsets</a></th><td>For tracking if we're staggering from the top left or bottom right.</td></tr><tr><th><a href="datum/spawner_pixel_placer.html#var/pixel_offsets">pixel_offsets</a></th><td>The pixel x/y divider offsets between items.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/added_items"><aside class="declaration">var </aside>added_items <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/spawner_pixel_placer.dm#L14"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/spawner_pixel_placer.dm 14"></a></h3><p>The items we've added so far. Used to perform one
|
||
last visual arrangement in z-order once complete.</p><h3 id="var/max_pixel_offset"><aside class="declaration">var </aside>max_pixel_offset <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/spawner_pixel_placer.dm#L7"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/spawner_pixel_placer.dm 7"></a></h3><p>Maximum offset distance from the center of a tile.</p><h3 id="var/offsets"><aside class="declaration">var </aside>offsets <aside>– /static/list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/spawner_pixel_placer.dm#L9"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/spawner_pixel_placer.dm 9"></a></h3><p>For tracking if we're staggering from the top left or bottom right.</p><h3 id="var/pixel_offsets"><aside class="declaration">var </aside>pixel_offsets <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/spawner_pixel_placer.dm#L5"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/spawner_pixel_placer.dm 5"></a></h3><p>The pixel x/y divider offsets between items.</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> |