mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
2 lines
9.8 KiB
HTML
2 lines
9.8 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/damage_aura - 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/damage_aura.html#var">Var Details</a> - <a href="datum/component/damage_aura.html#proc">Proc Details</a></header><main><h1>damage_aura <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/damage_aura.html">damage_aura</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 5"></a></h1><p>Applies a status effect and deals damage to people in the area.
|
||
Will deal more damage the more people are present.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/damage_aura.html#var/blood_damage">blood_damage</a></th><td>Amount of blood to damage over a second</td></tr><tr><th><a href="datum/component/damage_aura.html#var/brute_damage">brute_damage</a></th><td>Brute damage to damage over a second</td></tr><tr><th><a href="datum/component/damage_aura.html#var/burn_damage">burn_damage</a></th><td>Burn damage to damage over a second</td></tr><tr><th><a href="datum/component/damage_aura.html#var/current_owner">current_owner</a></th><td>Sets a special set of conditions for the owner</td></tr><tr><th><a href="datum/component/damage_aura.html#var/damage_message">damage_message</a></th><td>If set, gives a message when damaged</td></tr><tr><th><a href="datum/component/damage_aura.html#var/immune_factions">immune_factions</a></th><td>Which factions are immune to the damage aura</td></tr><tr><th><a href="datum/component/damage_aura.html#var/last_damage_effect_time">last_damage_effect_time</a></th><td>Declares the cooldown timer for the damage aura effect to take place</td></tr><tr><th><a href="datum/component/damage_aura.html#var/message_probability">message_probability</a></th><td>Probability for above.</td></tr><tr><th><a href="datum/component/damage_aura.html#var/range">range</a></th><td>The range of which to damage</td></tr><tr><th><a href="datum/component/damage_aura.html#var/requires_visibility">requires_visibility</a></th><td>Whether or not you must be a visible object of the parent</td></tr><tr><th><a href="datum/component/damage_aura.html#var/simple_damage">simple_damage</a></th><td>Amount of damage to damage on simple mobs over a second</td></tr><tr><th><a href="datum/component/damage_aura.html#var/stamina_damage">stamina_damage</a></th><td>Stamina damage to damage over a second</td></tr><tr><th><a href="datum/component/damage_aura.html#var/suffocation_damage">suffocation_damage</a></th><td>Suffocation damage to damage over a second</td></tr><tr><th><a href="datum/component/damage_aura.html#var/toxin_damage">toxin_damage</a></th><td>Toxin damage to damage over a second</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/damage_aura.html#proc/check_requirements">check_requirements</a></th><td>The requirements for the mob to be effected by the damage aura.</td></tr><tr><th><a href="datum/component/damage_aura.html#proc/owner_effect">owner_effect</a></th><td>What effect the damage aura has if it has an owner.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/blood_damage"><aside class="declaration">var </aside>blood_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L28"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 28"></a></h3><p>Amount of blood to damage over a second</p><h3 id="var/brute_damage"><aside class="declaration">var </aside>brute_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L13"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 13"></a></h3><p>Brute damage to damage over a second</p><h3 id="var/burn_damage"><aside class="declaration">var </aside>burn_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L16"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 16"></a></h3><p>Burn damage to damage over a second</p><h3 id="var/current_owner"><aside class="declaration">var </aside>current_owner <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L43"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 43"></a></h3><p>Sets a special set of conditions for the owner</p><h3 id="var/damage_message"><aside class="declaration">var </aside>damage_message <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L37"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 37"></a></h3><p>If set, gives a message when damaged</p><h3 id="var/immune_factions"><aside class="declaration">var </aside>immune_factions <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L34"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 34"></a></h3><p>Which factions are immune to the damage aura</p><h3 id="var/last_damage_effect_time"><aside class="declaration">var </aside>last_damage_effect_time <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L46"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 46"></a></h3><p>Declares the cooldown timer for the damage aura effect to take place</p><h3 id="var/message_probability"><aside class="declaration">var </aside>message_probability <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L40"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 40"></a></h3><p>Probability for above.</p><h3 id="var/range"><aside class="declaration">var </aside>range <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 7"></a></h3><p>The range of which to damage</p><h3 id="var/requires_visibility"><aside class="declaration">var </aside>requires_visibility <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 10"></a></h3><p>Whether or not you must be a visible object of the parent</p><h3 id="var/simple_damage"><aside class="declaration">var </aside>simple_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L31"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 31"></a></h3><p>Amount of damage to damage on simple mobs over a second</p><h3 id="var/stamina_damage"><aside class="declaration">var </aside>stamina_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L25"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 25"></a></h3><p>Stamina damage to damage over a second</p><h3 id="var/suffocation_damage"><aside class="declaration">var </aside>suffocation_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L22"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 22"></a></h3><p>Suffocation damage to damage over a second</p><h3 id="var/toxin_damage"><aside class="declaration">var </aside>toxin_damage <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L19"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 19"></a></h3><p>Toxin damage to damage over a second</p><h2 id="proc">Proc Details</h2><h3 id="proc/check_requirements"><aside class="declaration">proc </aside>check_requirements<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/target_mob) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L87"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 87"></a></aside></h3><p>The requirements for the mob to be effected by the damage aura.</p><h3 id="proc/owner_effect"><aside class="declaration">proc </aside>owner_effect<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/owner_mob) <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/damage_aura.dm#L93"><img src="git.png" width="16" height="16" title="code/datums/components/damage_aura.dm 93"></a></aside></h3><p>What effect the damage aura has if it has an owner.</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> |