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

1 line
6.4 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/game_mode - /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/game_mode.html#var">Var Details</a> - <a href="datum/game_mode.html#proc">Proc Details</a></header><main><h1>game_mode <aside>/<a href="datum.html">datum</a>/<a href="datum/game_mode.html">game_mode</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L15"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 15"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/game_mode.html#var/current_players">current_players</a></th><td>Associative list of current players, in order: living players, living antagonists, dead players and observers.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/game_mode.html#proc/admin_panel">admin_panel</a></th><td>Mode specific admin panel.</td></tr><tr><th><a href="datum/game_mode.html#proc/can_start">can_start</a></th><td>Checks to see if the game can be setup and ran with the current number of players or whatnot.</td></tr><tr><th><a href="datum/game_mode.html#proc/convert_roundtype">convert_roundtype</a></th><td>Allows rounds to basically be &quot;rerolled&quot; should the initial premise fall through. Also known as mulligan antags.</td></tr><tr><th><a href="datum/game_mode.html#proc/ghost_info">ghost_info</a></th><td>Mode specific info for ghost game_info</td></tr><tr><th><a href="datum/game_mode.html#proc/make_antag_chance">make_antag_chance</a></th><td>Handles late-join antag assignments</td></tr><tr><th><a href="datum/game_mode.html#proc/post_setup">post_setup</a></th><td>Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things</td></tr><tr><th><a href="datum/game_mode.html#proc/pre_setup">pre_setup</a></th><td>Attempts to select players for special roles the mode might have.</td></tr><tr><th><a href="datum/game_mode.html#proc/process">process</a></th><td>Called by the gameSSticker</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/current_players"><aside class="declaration">var </aside>current_players <aside> /list/list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L56"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 56"></a></h3><p>Associative list of current players, in order: living players, living antagonists, dead players and observers.</p><h2 id="proc">Proc Details</h2><h3 id="proc/admin_panel"><aside class="declaration">proc </aside>admin_panel<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L598"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 598"></a></aside></h3><p>Mode specific admin panel.</p><h3 id="proc/can_start"><aside class="declaration">proc </aside>can_start<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L64"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 64"></a></aside></h3><p>Checks to see if the game can be setup and ran with the current number of players or whatnot.</p><h3 id="proc/convert_roundtype"><aside class="declaration">proc </aside>convert_roundtype<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L137"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 137"></a></aside></h3><p>Allows rounds to basically be &quot;rerolled&quot; should the initial premise fall through. Also known as mulligan antags.</p><h3 id="proc/ghost_info"><aside class="declaration">proc </aside>ghost_info<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L602"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 602"></a></aside></h3><p>Mode specific info for ghost game_info</p><h3 id="proc/make_antag_chance"><aside class="declaration">proc </aside>make_antag_chance<aside>(/<a href="mob.html">mob</a>/<a href="mob/living.html">living</a>/<a href="mob/living/carbon.html">carbon</a>/<a href="mob/living/carbon/human.html">human</a>/character) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L130"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 130"></a></aside></h3><p>Handles late-join antag assignments</p><h3 id="proc/post_setup"><aside class="declaration">proc </aside>post_setup<aside>(report) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L89"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 89"></a></aside></h3><p>Everyone should now be on the station and have their normal gear. This is the place to give the special roles extra things</p><h3 id="proc/pre_setup"><aside class="declaration">proc </aside>pre_setup<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L85"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 85"></a></aside></h3><p>Attempts to select players for special roles the mode might have.</p><h3 id="proc/process"><aside class="parent"><a title="/datum" href="datum.html#proc/process"></a></aside>process<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/game/gamemodes/game_mode.dm#L215"><img src="git.png" width="16" height="16" title="code/game/gamemodes/game_mode.dm 215"></a></aside></h3><p>Called by the gameSSticker</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>