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

6 lines
4.8 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/ticker - /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/ticker.html#var">Var Details</a> - <a href="datum/controller/subsystem/ticker.html#proc">Proc Details</a></header><main><h1>ticker <aside>/<a href="datum.html">datum</a>/<a href="datum/controller/subsystem.html">controller/subsystem</a>/<a href="datum/controller/subsystem/ticker.html">ticker</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/ticker.dm#L3"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/ticker.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/ticker.html#var/emergency_swap">emergency_swap</a></th><td>If the gamemode fails to be run too many times, we swap to a preset gamemode, this should give admins time to set their preferred one</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/ticker.html#proc/HandleRandomHardcoreScore">HandleRandomHardcoreScore</a></th><td>Handles random hardcore point rewarding if it applies.</td></tr><tr><th><a href="datum/controller/subsystem/ticker.html#proc/hardcore_random_report">hardcore_random_report</a></th><td>Generate a report for all players who made it out alive with a hardcore random character and prints their final score</td></tr><tr><th><a href="datum/controller/subsystem/ticker.html#proc/log_roundend_report">log_roundend_report</a></th><td>Log the round-end report as an HTML file</td></tr><tr><th><a href="datum/controller/subsystem/ticker.html#proc/market_report">market_report</a></th><td>Generate a report for how much money is on station, as well as the richest crewmember on the station.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/emergency_swap"><aside class="declaration">var </aside>emergency_swap <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/ticker.dm#L75"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/ticker.dm 75"></a></h3><p>If the gamemode fails to be run too many times, we swap to a preset gamemode, this should give admins time to set their preferred one</p><h2 id="proc">Proc Details</h2><h3 id="proc/HandleRandomHardcoreScore"><aside class="declaration">proc </aside>HandleRandomHardcoreScore<aside>(/<a href="client.html">client</a>/player_client) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/roundend.dm#L194"><img src="git.png" width="16" height="16" title="code/__HELPERS/roundend.dm 194"></a></aside></h3><p>Handles random hardcore point rewarding if it applies.</p><h3 id="proc/hardcore_random_report"><aside class="declaration">proc </aside>hardcore_random_report<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/roundend.dm#L579"><img src="git.png" width="16" height="16" title="code/__HELPERS/roundend.dm 579"></a></aside></h3><p>Generate a report for all players who made it out alive with a hardcore random character and prints their final score</p><h3 id="proc/log_roundend_report"><aside class="declaration">proc </aside>log_roundend_report<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/roundend.dm#L420"><img src="git.png" width="16" height="16" title="code/__HELPERS/roundend.dm 420"></a></aside></h3><p>Log the round-end report as an HTML file</p>
<p>Composits the roundend report, and saves it in two locations.
The report is first saved along with the round's logs
Then, the report is copied to a fixed directory specifically for
housing the server's last roundend report. In this location,
the file will be overwritten at the end of each shift.</p><h3 id="proc/market_report"><aside class="declaration">proc </aside>market_report<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__HELPERS/roundend.dm#L540"><img src="git.png" width="16" height="16" title="code/__HELPERS/roundend.dm 540"></a></aside></h3><p>Generate a report for how much money is on station, as well as the richest crewmember on the station.</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>