Files

1 line
6.7 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/parry - 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/parry.html#var">Var Details</a></header><main><h1>parry <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/parry.html">parry</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/component/parry.html#var/examine_text">examine_text</a></th><td>Text to be shown to users who examine the parent. Will list which type of attacks it can parry.</td></tr><tr><th><a href="datum/component/parry.html#var/no_parry_sound">no_parry_sound</a></th><td>Do we wish to mute the parry sound?</td></tr><tr><th><a href="datum/component/parry.html#var/parry_cooldown">parry_cooldown</a></th><td>the time between parry attempts</td></tr><tr><th><a href="datum/component/parry.html#var/parry_time_out_time">parry_time_out_time</a></th><td>the max time since <code>time_parried</code> that the shield is still considered &quot;active&quot;</td></tr><tr><th><a href="datum/component/parry.html#var/parryable_attack_types">parryable_attack_types</a></th><td>the attack types that are considered for parrying</td></tr><tr><th><a href="datum/component/parry.html#var/requires_activation">requires_activation</a></th><td>Does this item require activation? This is for activation based items or energy weapons.</td></tr><tr><th><a href="datum/component/parry.html#var/requires_two_hands">requires_two_hands</a></th><td>Does this item have a require a condition to meet before being able to parry? This is for two handed weapons that can parry. (Default: FALSE)</td></tr><tr><th><a href="datum/component/parry.html#var/stamina_coefficient">stamina_coefficient</a></th><td>stamina_coefficient * damage * time_since_time_parried = stamina damage taken per non perfect parry</td></tr><tr><th><a href="datum/component/parry.html#var/stamina_constant">stamina_constant</a></th><td>the flat amount of damage the shield user takes per non-perfect parry</td></tr><tr><th><a href="datum/component/parry.html#var/time_parried">time_parried</a></th><td>the world.time we last parried at</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/examine_text"><aside class="declaration">var </aside>examine_text <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L18"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 18"></a></h3><p>Text to be shown to users who examine the parent. Will list which type of attacks it can parry.</p><h3 id="var/no_parry_sound"><aside class="declaration">var </aside>no_parry_sound <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L16"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 16"></a></h3><p>Do we wish to mute the parry sound?</p><h3 id="var/parry_cooldown"><aside class="declaration">var </aside>parry_cooldown <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 14"></a></h3><p>the time between parry attempts</p><h3 id="var/parry_time_out_time"><aside class="declaration">var </aside>parry_time_out_time <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 5"></a></h3><p>the max time since <code>time_parried</code> that the shield is still considered &quot;active&quot;</p><h3 id="var/parryable_attack_types"><aside class="declaration">var </aside>parryable_attack_types <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 12"></a></h3><p>the attack types that are considered for parrying</p><h3 id="var/requires_activation"><aside class="declaration">var </aside>requires_activation <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L22"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 22"></a></h3><p>Does this item require activation? This is for activation based items or energy weapons.</p><h3 id="var/requires_two_hands"><aside class="declaration">var </aside>requires_two_hands <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L20"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 20"></a></h3><p>Does this item have a require a condition to meet before being able to parry? This is for two handed weapons that can parry. (Default: FALSE)</p><h3 id="var/stamina_coefficient"><aside class="declaration">var </aside>stamina_coefficient <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 10"></a></h3><p>stamina_coefficient * damage * time_since_time_parried = stamina damage taken per non perfect parry</p><h3 id="var/stamina_constant"><aside class="declaration">var </aside>stamina_constant <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 8"></a></h3><p>the flat amount of damage the shield user takes per non-perfect parry</p><h3 id="var/time_parried"><aside class="declaration">var </aside>time_parried <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/parry.dm#L3"><img src="git.png" width="16" height="16" title="code/datums/components/parry.dm 3"></a></h3><p>the world.time we last parried at</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>