9 lines
3.0 KiB
HTML
9 lines
3.0 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/reagents - /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/reagents.html#proc">Proc Details</a></header><main><h1>reagents <aside>/<a href="datum.html">datum</a>/<a href="datum/reagents.html">reagents</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/reagents/chemistry/holder.dm#L83"><img src="git.png" width="16" height="16" title="code/modules/reagents/chemistry/holder.dm 83"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/reagents.html#proc/end_metabolization">end_metabolization</a></th><td>Signals that metabolization has stopped, triggering the end of trait-based effects</td></tr><tr><th><a href="datum/reagents.html#proc/metabolize">metabolize</a></th><td>Triggers metabolizing for all the reagents in this holder</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/end_metabolization"><aside class="declaration">proc </aside>end_metabolization<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/carbon.html">carbon</a>/C, keep_liverless) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/reagents/chemistry/holder.dm#L419"><img src="git.png" width="16" height="16" title="code/modules/reagents/chemistry/holder.dm 419"></a></aside></h3><p>Signals that metabolization has stopped, triggering the end of trait-based effects</p><h3 id="proc/metabolize"><aside class="declaration">proc </aside>metabolize<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/carbon.html">carbon</a>/owner, delta_time, times_fired, can_overdose, liverless) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/reagents/chemistry/holder.dm#L332"><img src="git.png" width="16" height="16" title="code/modules/reagents/chemistry/holder.dm 332"></a></aside></h3><p>Triggers metabolizing for all the reagents in this holder</p>
|
|
<p>Arguments:</p>
|
|
<ul>
|
|
<li>mob/living/carbon/carbon - The mob to metabolize in, if null it uses [/datum/reagents/var/my_atom]</li>
|
|
<li>delta_time - the time in server seconds between proc calls (when performing normally it will be 2)</li>
|
|
<li>times_fired - the number of times the owner's life() tick has been called aka The number of times SSmobs has fired</li>
|
|
<li>can_overdose - Allows overdosing</li>
|
|
<li>liverless - Stops reagents that aren't set as [/datum/reagent/var/self_consuming] from metabolizing</li>
|
|
</ul></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> |