8 lines
4.2 KiB
HTML
8 lines
4.2 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/turf/closed/wall - /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="turf/closed/wall.html#var">Var Details</a> - <a href="turf/closed/wall.html#proc">Proc Details</a></header><main><h1>wall <aside>/<a href="turf.html">turf</a>/<a href="turf/closed.html">closed</a>/<a href="turf/closed/wall.html">wall</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/turfs/simulated/walls.dm#L3"><img src="git.png" width="16" height="16" title="code/game/turfs/simulated/walls.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="turf/closed/wall.html#var/explosion_power_minimum_chance_dismantle">explosion_power_minimum_chance_dismantle</a></th><td>Explosion power to potentially dismantle the wall</td></tr><tr><th><a href="turf/closed/wall.html#var/explosion_power_to_dismantle">explosion_power_to_dismantle</a></th><td>Explosion power to dismantle the wall</td></tr><tr><th><a href="turf/closed/wall.html#var/explosion_power_to_scrape">explosion_power_to_scrape</a></th><td>Explosion power to disintegrate the wall</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="turf/closed/wall.html#proc/hulk_recoil">hulk_recoil</a></th><td>Deals damage back to the hulk's arm.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/explosion_power_minimum_chance_dismantle"><aside class="declaration">var </aside>explosion_power_minimum_chance_dismantle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/turfs/simulated/walls.dm#L26"><img src="git.png" width="16" height="16" title="code/game/turfs/simulated/walls.dm 26"></a></h3><p>Explosion power to potentially dismantle the wall</p><h3 id="var/explosion_power_to_dismantle"><aside class="declaration">var </aside>explosion_power_to_dismantle <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/turfs/simulated/walls.dm#L24"><img src="git.png" width="16" height="16" title="code/game/turfs/simulated/walls.dm 24"></a></h3><p>Explosion power to dismantle the wall</p><h3 id="var/explosion_power_to_scrape"><aside class="declaration">var </aside>explosion_power_to_scrape <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/turfs/simulated/walls.dm#L22"><img src="git.png" width="16" height="16" title="code/game/turfs/simulated/walls.dm 22"></a></h3><p>Explosion power to disintegrate the wall</p><h2 id="proc">Proc Details</h2><h3 id="proc/hulk_recoil"><aside class="declaration">proc </aside>hulk_recoil<aside>(/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/bodypart.html">bodypart</a>/arm, /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/carbon.html">carbon</a>/<a href="mob/living/carbon/human.html">human</a>/hulkman, damage) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/turfs/simulated/walls.dm#L204"><img src="git.png" width="16" height="16" title="code/game/turfs/simulated/walls.dm 204"></a></aside></h3><p>Deals damage back to the hulk's arm.</p>
|
||
<p>When a hulk manages to break a wall using their hulk smash, this deals back damage to the arm used.
|
||
This is in its own proc just to be easily overridden by other wall types. Default allows for three
|
||
smashed walls per arm. Also, we use CANT_WOUND here because wounds are random. Wounds are applied
|
||
by hulk code based on arm damage and checked when we call break_an_arm().
|
||
Arguments:
|
||
*arg1 is the arm to deal damage to.
|
||
*arg2 is the hulk</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> |