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

9 lines
6.0 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/reality_smash_tracker - /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/reality_smash_tracker.html#var">Var Details</a> - <a href="datum/reality_smash_tracker.html#proc">Proc Details</a></header><main><h1>reality_smash_tracker <aside>/<a href="datum.html">datum</a>/<a href="datum/reality_smash_tracker.html">reality_smash_tracker</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L118"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 118"></a></h1><p>#Reality smash tracker</p>
<p>Stupid fucking list holder, DONT create new ones, it will break the game, this is automnatically created whenever eldritch cultists are created.</p>
<p>Tracks relevant data, generates relevant data, useful tool</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/reality_smash_tracker.html#var/smashes">smashes</a></th><td>list of tracked reality smashes</td></tr><tr><th><a href="datum/reality_smash_tracker.html#var/targets">targets</a></th><td>List of mobs with ability to see the smashes</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/reality_smash_tracker.html#proc/AddMind">AddMind</a></th><td>Adds a mind to the list of people that can see the reality smashes</td></tr><tr><th><a href="datum/reality_smash_tracker.html#proc/Generate">Generate</a></th><td>Generates a set amount of reality smashes based on the N value</td></tr><tr><th><a href="datum/reality_smash_tracker.html#proc/RandomSpawnSmash">RandomSpawnSmash</a></th><td>CIT CHANGE</td></tr><tr><th><a href="datum/reality_smash_tracker.html#proc/RemoveMind">RemoveMind</a></th><td>Removes a mind from the list of people that can see the reality smashes</td></tr><tr><th><a href="datum/reality_smash_tracker.html#proc/ReworkNetwork">ReworkNetwork</a></th><td>Automatically fixes the target and smash network</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/smashes"><aside class="declaration">var </aside>smashes <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L120"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 120"></a></h3><p>list of tracked reality smashes</p><h3 id="var/targets"><aside class="declaration">var </aside>targets <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L122"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 122"></a></h3><p>List of mobs with ability to see the smashes</p><h2 id="proc">Proc Details</h2><h3 id="proc/AddMind"><aside class="declaration">proc </aside>AddMind<aside>(/<a href="datum.html">datum</a>/<a href="datum/mind.html">mind</a>/e_cultists) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L192"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 192"></a></aside></h3><p>Adds a mind to the list of people that can see the reality smashes</p>
<p>Use this whenever you want to add someone to the list</p><h3 id="proc/Generate"><aside class="declaration">proc </aside>Generate<aside>(/<a href="mob.html">mob</a>/caller) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L150"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 150"></a></aside></h3><p>Generates a set amount of reality smashes based on the N value</p>
<p>Automatically creates more reality smashes</p><h3 id="proc/RandomSpawnSmash"><aside class="declaration">proc </aside>RandomSpawnSmash<aside>(deferred) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L175"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 175"></a></aside></h3><p>CIT CHANGE</p>
<p>Creates a singular reality smash
Credit to slimelust</p><h3 id="proc/RemoveMind"><aside class="declaration">proc </aside>RemoveMind<aside>(/<a href="datum.html">datum</a>/<a href="datum/mind.html">mind</a>/e_cultists) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L205"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 205"></a></aside></h3><p>Removes a mind from the list of people that can see the reality smashes</p>
<p>Use this whenever you want to remove someone from the list</p><h3 id="proc/ReworkNetwork"><aside class="declaration">proc </aside>ReworkNetwork<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/antagonists/eldritch_cult/eldritch_effects.dm#L135"><img src="git.png" width="16" height="16" title="code/modules/antagonists/eldritch_cult/eldritch_effects.dm 135"></a></aside></h3><p>Automatically fixes the target and smash network</p>
<p>Fixes any bugs that are caused by late Generate() or exchanging clients</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>