Files
2025-02-05 06:19:18 +00:00

1 line
2.9 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/component/mood - /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/component/mood.html#proc">Proc Details</a></header><main><h1>mood <aside>/<a href="datum.html">datum</a>/<a href="datum/component.html">component</a>/<a href="datum/component/mood.html">mood</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L7"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 7"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/component/mood.html#proc/direct_sanity_drain">direct_sanity_drain</a></th><td>Causes direct drain of someone's sanity, call it with a numerical value corresponding how badly you want to hurt their sanity</td></tr><tr><th><a href="datum/component/mood.html#proc/on_revive">on_revive</a></th><td>Called when parent is revived.</td></tr><tr><th><a href="datum/component/mood.html#proc/update_mood">update_mood</a></th><td>Called after moodevent/s have been added/removed.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/direct_sanity_drain"><aside class="declaration">proc </aside>direct_sanity_drain<aside>(/<a href="datum.html">datum</a>/source, amount) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L401"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 401"></a></aside></h3><p>Causes direct drain of someone's sanity, call it with a numerical value corresponding how badly you want to hurt their sanity</p><h3 id="proc/on_revive"><aside class="declaration">proc </aside>on_revive<aside>(/<a href="datum.html">datum</a>/source, full_heal) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L393"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 393"></a></aside></h3><p>Called when parent is revived.</p><h3 id="proc/update_mood"><aside class="declaration">proc </aside>update_mood<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/components/mood.dm#L102"><img src="git.png" width="16" height="16" title="code/datums/components/mood.dm 102"></a></aside></h3><p>Called after moodevent/s have been added/removed.</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>