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

1 line
4.7 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/actionspeed_modifier - /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/actionspeed_modifier.html#var">Var Details</a></header><main><h1>actionspeed_modifier <aside>/<a href="datum.html">datum</a>/<a href="datum/actionspeed_modifier.html">actionspeed_modifier</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 23"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/conflicts_with">conflicts_with</a></th><td>Other modification datums this conflicts with.</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/id">id</a></th><td>Unique ID. You can never have different modifications with the same ID. By default, this SHOULD NOT be set. Only set it for cases where you're dynamically making modifiers/need to have two types overwrite each other. If unset, uses path (converted to text) as ID.</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/multiplicative_slowdown">multiplicative_slowdown</a></th><td>Multiplicative slowdown</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/priority">priority</a></th><td>Higher ones override lower priorities. This is NOT used for ID, ID must be unique, if it isn't unique the newer one overwrites automatically if overriding.</td></tr><tr><th><a href="datum/actionspeed_modifier.html#var/variable">variable</a></th><td>Whether or not this is a variable modifier. Variable modifiers can NOT be ever auto-cached. ONLY CHECKED VIA INITIAL(), EFFECTIVELY READ ONLY (and for very good reason)</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/conflicts_with"><aside class="declaration">var </aside>conflicts_with <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 40"></a></h3><p>Other modification datums this conflicts with.</p><h3 id="var/id"><aside class="declaration">var </aside>id <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 28"></a></h3><p>Unique ID. You can never have different modifications with the same ID. By default, this SHOULD NOT be set. Only set it for cases where you're dynamically making modifiers/need to have two types overwrite each other. If unset, uses path (converted to text) as ID.</p><h3 id="var/multiplicative_slowdown"><aside class="declaration">var </aside>multiplicative_slowdown <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L35"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 35"></a></h3><p>Multiplicative slowdown</p><h3 id="var/priority"><aside class="declaration">var </aside>priority <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L31"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 31"></a></h3><p>Higher ones override lower priorities. This is NOT used for ID, ID must be unique, if it isn't unique the newer one overwrites automatically if overriding.</p><h3 id="var/variable"><aside class="declaration">var </aside>variable <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/actionspeed/_actionspeed_modifier.dm#L25"><img src="git.png" width="16" height="16" title="code/modules/actionspeed/_actionspeed_modifier.dm 25"></a></h3><p>Whether or not this is a variable modifier. Variable modifiers can NOT be ever auto-cached. ONLY CHECKED VIA INITIAL(), EFFECTIVELY READ ONLY (and for very good reason)</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>