Files
Paradise/datum/component/direct_explosive_trap.html

1 line
6.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/component/direct_explosive_trap - 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/component/direct_explosive_trap.html#var">Var Details</a> - <a href="datum/component/direct_explosive_trap.html#proc">Proc Details</a></header><main><h1>direct_explosive_trap <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/direct_explosive_trap.html">direct_explosive_trap</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 4"></a></h1><p>Responds to certain signals and 'explodes' on the person using the item.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#var/explosive_check">explosive_check</a></th><td>Optional additional target checks before we go off</td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#var/explosive_force">explosive_force</a></th><td>Amount of force to apply</td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#var/saboteur">saboteur</a></th><td>An optional mob to inform about explosions</td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#var/triggering_signals">triggering_signals</a></th><td>Signals which set off the bomb, must pass a mob as the first non-source argument</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#proc/bomb_expired">bomb_expired</a></th><td>Called if we sit too long without going off</td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#proc/explode">explode</a></th><td>Blow up</td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#proc/on_bomber_deleted">on_bomber_deleted</a></th><td>Don't hang a reference to the person who placed the bomb</td></tr><tr><th><a href="datum/component/direct_explosive_trap.html#proc/on_examined">on_examined</a></th><td>Let people know something is up</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/explosive_check"><aside class="declaration">var </aside>explosive_check <aside> /<a href="datum.html">datum</a>/callback</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 10"></a></h3><p>Optional additional target checks before we go off</p><h3 id="var/explosive_force"><aside class="declaration">var </aside>explosive_force <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 8"></a></h3><p>Amount of force to apply</p><h3 id="var/saboteur"><aside class="declaration">var </aside>saboteur <aside> /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 6"></a></h3><p>An optional mob to inform about explosions</p><h3 id="var/triggering_signals"><aside class="declaration">var </aside>triggering_signals <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 12"></a></h3><p>Signals which set off the bomb, must pass a mob as the first non-source argument</p><h2 id="proc">Proc Details</h2><h3 id="proc/bomb_expired"><aside class="declaration">proc </aside>bomb_expired<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L91"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 91"></a></aside></h3><p>Called if we sit too long without going off</p><h3 id="proc/explode"><aside class="declaration">proc </aside>explode<aside>(/<a href="atom.html">atom</a>/source, /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/victim) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L69"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 69"></a></aside></h3><p>Blow up</p><h3 id="proc/on_bomber_deleted"><aside class="declaration">proc </aside>on_bomber_deleted<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L97"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 97"></a></aside></h3><p>Don't hang a reference to the person who placed the bomb</p><h3 id="proc/on_examined"><aside class="declaration">proc </aside>on_examined<aside>(/<a href="datum.html">datum</a>/source, /<a href="mob.html">mob</a>/user, /list/examine_text) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/direct_explosive_trap.dm#L63"><img src="git.png" width="16" height="16" title="code/datums/components/direct_explosive_trap.dm 63"></a></aside></h3><p>Let people know something is up</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>