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

4 lines
4.2 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/controller/subsystem/persistence - /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/controller/subsystem/persistence.html#var">Var Details</a> - <a href="datum/controller/subsystem/persistence.html#proc">Proc Details</a></header><main><h1>persistence <aside>/<a href="datum.html">datum</a>/<a href="datum/controller/subsystem.html">controller/subsystem</a>/<a href="datum/controller/subsystem/persistence.html">persistence</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/persistence/_persistence.dm#L4"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/persistence/_persistence.dm 4"></a></h1><p>Persistence for cleanable debris.</p>
<p>Stores recently played gamemodes, maps, etc.</p>
<p>Secret satchel persistence - allows storing of items in underfloor satchels that's loaded later.</p>
<p>Stores trophies in curator display cases</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/persistence.html#var/loaded_debris">loaded_debris</a></th><td>tracks if we already loaded debris. Unlike everything else, this can actually be a major problem if some badmin procs it twice.</td></tr><tr><th><a href="datum/controller/subsystem/persistence.html#var/station_persistence_save_disabled">station_persistence_save_disabled</a></th><td>Marks if persistence save should be disabled</td></tr><tr><th><a href="datum/controller/subsystem/persistence.html#var/station_was_destroyed">station_was_destroyed</a></th><td>Marks if the station got horribly destroyed</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/persistence.html#proc/get_map_persistence_path">get_map_persistence_path</a></th><td>Gets the persistence path of the current map.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/loaded_debris"><aside class="declaration">var </aside>loaded_debris <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/persistence/cleanable_debris.dm#L6"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/persistence/cleanable_debris.dm 6"></a></h3><p>tracks if we already loaded debris. Unlike everything else, this can actually be a major problem if some badmin procs it twice.</p><h3 id="var/station_persistence_save_disabled"><aside class="declaration">var </aside>station_persistence_save_disabled <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/persistence/_persistence.dm#L12"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/persistence/_persistence.dm 12"></a></h3><p>Marks if persistence save should be disabled</p><h3 id="var/station_was_destroyed"><aside class="declaration">var </aside>station_was_destroyed <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/persistence/_persistence.dm#L10"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/persistence/_persistence.dm 10"></a></h3><p>Marks if the station got horribly destroyed</p><h2 id="proc">Proc Details</h2><h3 id="proc/get_map_persistence_path"><aside class="declaration">proc </aside>get_map_persistence_path<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/persistence/_persistence.dm#L37"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/persistence/_persistence.dm 37"></a></aside></h3><p>Gets the persistence path of the current map.</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>