Files
Paradise/datum/spawn_pool.html

9 lines
4.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/spawn_pool - 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/spawn_pool.html#var">Var Details</a></header><main><h1>spawn_pool <aside>/<a href="datum.html">datum</a>/<a href="datum/spawn_pool.html">spawn_pool</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/pool/spawn_pool.dm#L4"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/pool/spawn_pool.dm 4"></a></h1><p>Keeps track of the available points for a given pool, as well as any
spawners that need to keep track globally of the number of any specific item
that they spawn.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/spawn_pool.html#var/available_points">available_points</a></th><td>The number of points left for the spawner to use. Starts at its initial value.</td></tr><tr><th><a href="datum/spawn_pool.html#var/guaranteed_spawners">guaranteed_spawners</a></th><td>A list of spawners whose <code>guaranteed</code> is <code>TRUE</code>. These spawners will
always spawn, and always before anything else,</td></tr><tr><th><a href="datum/spawn_pool.html#var/known_spawners">known_spawners</a></th><td>A list of all spawners registered to this pool.</td></tr><tr><th><a href="datum/spawn_pool.html#var/unique_spawners">unique_spawners</a></th><td>A key-value list of spawners with TRUE <code>unique_picks</code> to a shared copy of their
loot pool. When items from one of these spawners are spawned, it is removed
from the shared loot pool so it never spawns again.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/available_points"><aside class="declaration">var </aside>available_points <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/pool/spawn_pool.dm#L6"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/pool/spawn_pool.dm 6"></a></h3><p>The number of points left for the spawner to use. Starts at its initial value.</p><h3 id="var/guaranteed_spawners"><aside class="declaration">var </aside>guaranteed_spawners <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/pool/spawn_pool.dm#L15"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/pool/spawn_pool.dm 15"></a></h3><p>A list of spawners whose <code>guaranteed</code> is <code>TRUE</code>. These spawners will
always spawn, and always before anything else,</p><h3 id="var/known_spawners"><aside class="declaration">var </aside>known_spawners <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/pool/spawn_pool.dm#L8"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/pool/spawn_pool.dm 8"></a></h3><p>A list of all spawners registered to this pool.</p><h3 id="var/unique_spawners"><aside class="declaration">var </aside>unique_spawners <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/spawners/random/pool/spawn_pool.dm#L12"><img src="git.png" width="16" height="16" title="code/game/objects/effects/spawners/random/pool/spawn_pool.dm 12"></a></h3><p>A key-value list of spawners with TRUE <code>unique_picks</code> to a shared copy of their
loot pool. When items from one of these spawners are spawned, it is removed
from the shared loot pool so it never spawns again.</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>