Files
Paradise/obj/effect/gibspawner.html

12 lines
3.0 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/effect/gibspawner - 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="obj/effect/gibspawner.html#proc">Proc Details</a></header><main><h1>gibspawner <aside>/<a href="obj.html">obj</a>/<a href="obj/effect/gibspawner.html">effect/gibspawner</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/gibs.dm#L16"><img src="git.png" width="16" height="16" title="code/game/objects/effects/gibs.dm 16"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/effect/gibspawner.html#proc/gib_dna">gib_dna</a></th><td>Assigns DNA and blood colour to mob gibs.</td></tr><tr><th><a href="obj/effect/gibspawner.html#proc/spawn_gibs">spawn_gibs</a></th><td>Spawns the gibs (and sparks if applicable) from the gib spawner.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/gib_dna"><aside class="declaration">proc </aside>gib_dna<aside>(/<a href="obj.html">obj</a>/<a href="obj/effect/decal/cleanable.html">effect/decal/cleanable</a>/blood/gibs/gib, /<a href="datum.html">datum</a>/<a href="datum/dna.html">dna</a>/mob_dna) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/gibs.dm#L66"><img src="git.png" width="16" height="16" title="code/game/objects/effects/gibs.dm 66"></a></aside></h3><p>Assigns DNA and blood colour to mob gibs.</p>
<p>Returns FALSE if there was no DNA data to transfer to the gibs, and TRUE if there was.
Arguments:</p>
<ul>
<li>gib - The <a href="obj/effect/decal/cleanable.html" title="/obj/effect/decal/cleanable">/obj/effect/decal/cleanable/blood/gibs</a> that is being edited.</li>
<li>mob_dna - The <a href="datum/dna.html" title="/datum/dna">/datum/dna</a> which is being transferred onto the gib.</li>
</ul><h3 id="proc/spawn_gibs"><aside class="declaration">proc </aside>spawn_gibs<aside>(/<a href="atom.html">atom</a>/location, /<a href="datum.html">datum</a>/<a href="datum/dna.html">dna</a>/mob_dna) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/game/objects/effects/gibs.dm#L39"><img src="git.png" width="16" height="16" title="code/game/objects/effects/gibs.dm 39"></a></aside></h3><p>Spawns the gibs (and sparks if applicable) from the gib spawner.</p>
<p>Arguments:</p>
<ul>
<li>location - The position to spawn the gibs on.</li>
<li>mob_dna - The <a href="datum/dna.html" title="/datum/dna">/datum/dna</a> controlling the blood DNA and colour of the gibs.</li>
</ul></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>