mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
1 line
3.6 KiB
HTML
1 line
3.6 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/status_effect - 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/status_effect.html#var">Var Details</a> - <a href="datum/status_effect.html#proc">Proc Details</a></header><main><h1>status_effect <aside>/<a href="datum.html">datum</a>/<a href="datum/status_effect.html">status_effect</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/status_effects/status_effect.dm#L5"><img src="git.png" width="16" height="16" title="code/datums/status_effects/status_effect.dm 5"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/status_effect.html#var/id">id</a></th><td>A unique ID that is used to see if there is already a status effect of the same type on something. Also used for screen alerts</td></tr><tr><th><a href="datum/status_effect.html#var/show_duration">show_duration</a></th><td>Do we show the duration of the status effect on the alert</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/status_effect.html#proc/before_remove">before_remove</a></th><td>Called before being removed; returning FALSE will cancel removal</td></tr><tr><th><a href="datum/status_effect.html#proc/update_shown_duration">update_shown_duration</a></th><td>Updates the status effect alert's maptext (if possible)</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/id"><aside class="declaration">var </aside>id <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/status_effects/status_effect.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/status_effects/status_effect.dm 7"></a></h3><p>A unique ID that is used to see if there is already a status effect of the same type on something. Also used for screen alerts</p><h3 id="var/show_duration"><aside class="declaration">var </aside>show_duration <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/status_effects/status_effect.dm#L17"><img src="git.png" width="16" height="16" title="code/datums/status_effects/status_effect.dm 17"></a></h3><p>Do we show the duration of the status effect on the alert</p><h2 id="proc">Proc Details</h2><h3 id="proc/before_remove"><aside class="declaration">proc </aside>before_remove<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/status_effects/status_effect.dm#L97"><img src="git.png" width="16" height="16" title="code/datums/status_effects/status_effect.dm 97"></a></aside></h3><p>Called before being removed; returning FALSE will cancel removal</p><h3 id="proc/update_shown_duration"><aside class="declaration">proc </aside>update_shown_duration<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/status_effects/status_effect.dm#L72"><img src="git.png" width="16" height="16" title="code/datums/status_effects/status_effect.dm 72"></a></aside></h3><p>Updates the status effect alert's maptext (if possible)</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> |