Files
GS13NG/datum/component/explodable.html
2025-02-05 06:19:18 +00:00

1 line
3.9 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/explodable - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/component/explodable.html#proc">Proc Details</a></header><main><h1>explodable <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/explodable.html">explodable</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 2"></a></h1><p>Component specifically for explosion sensetive things, currently only applies to heat based explosions but can later perhaps be used for things that are dangerous to handle carelessly like nitroglycerin.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/explodable.html#proc/detonate">detonate</a></th><td>Expldoe and remove the object</td></tr><tr><th><a href="datum/component/explodable.html#proc/explodable_attack">explodable_attack</a></th><td>Called when you use this object to attack sopmething</td></tr><tr><th><a href="datum/component/explodable.html#proc/explodable_attack_zone">explodable_attack_zone</a></th><td>Called when you attack a specific body part of the thing this is equipped on. Useful for exploding pants.</td></tr><tr><th><a href="datum/component/explodable.html#proc/is_hitting_zone">is_hitting_zone</a></th><td>Checks if we're hitting the zone this component is covering</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/detonate"><aside class="declaration">proc </aside>detonate<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L102"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 102"></a></aside></h3><p>Expldoe and remove the object</p><h3 id="proc/explodable_attack"><aside class="declaration">proc </aside>explodable_attack<aside>(/<a href="datum.html">datum</a>/source, /<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/target, /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/user) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L45"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 45"></a></aside></h3><p>Called when you use this object to attack sopmething</p><h3 id="proc/explodable_attack_zone"><aside class="declaration">proc </aside>explodable_attack_zone<aside>(/<a href="datum.html">datum</a>/source, damage, damagetype, def_zone) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L49"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 49"></a></aside></h3><p>Called when you attack a specific body part of the thing this is equipped on. Useful for exploding pants.</p><h3 id="proc/is_hitting_zone"><aside class="declaration">proc </aside>is_hitting_zone<aside>(def_zone) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/explodable.dm#L65"><img src="git.png" width="16" height="16" title="code/datums/components/explodable.dm 65"></a></aside></h3><p>Checks if we're hitting the zone this component is covering</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>