1 line
6.7 KiB
HTML
1 line
6.7 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/mob/dead/new_player - /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="mob/dead/new_player.html#var">Var Details</a> - <a href="mob/dead/new_player.html#proc">Proc Details</a></header><main><h1>new_player <aside>/<a href="mob.html">mob</a>/<a href="mob/dead/new_player.html">dead/new_player</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L3"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 3"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="mob/dead/new_player.html#var/age_gate_result">age_gate_result</a></th><td>Is there a result we want to read from the age gate</td></tr><tr><th><a href="mob/dead/new_player.html#var/ineligible_for_roles">ineligible_for_roles</a></th><td>Used to make sure someone doesn't get spammed with messages if they're ineligible for roles</td></tr><tr><th><a href="mob/dead/new_player.html#var/new_character">new_character</a></th><td>For instant transfer once the round is set up</td></tr><tr><th><a href="mob/dead/new_player.html#var/reset_hud_cooldown">reset_hud_cooldown</a></th><td>Cooldown for the Reset Lobby Menu HUD verb</td></tr><tr><th><a href="mob/dead/new_player.html#var/spawning">spawning</a></th><td>Referenced when you want to delete the new_player later on in the code.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="mob/dead/new_player.html#proc/reset_menu_hud">reset_menu_hud</a></th><td>Resets the Lobby Menu HUD, recreating and reassigning it to the new player</td></tr><tr><th><a href="mob/dead/new_player.html#proc/respawn_latejoin_check">respawn_latejoin_check</a></th><td>Checks if we can latejoin on the currently selected slot, taking into account respawn status.</td></tr><tr><th><a href="mob/dead/new_player.html#proc/vote_on_irv_poll">vote_on_irv_poll</a></th><td>Processes vote form data and saves results to the database for an IRV type poll.</td></tr><tr><th><a href="mob/dead/new_player.html#proc/vote_on_multi_poll">vote_on_multi_poll</a></th><td>Processes vote form data and saves results to the database for a multiple choice type poll.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/age_gate_result"><aside class="declaration">var </aside>age_gate_result <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 24"></a></h3><p>Is there a result we want to read from the age gate</p><h3 id="var/ineligible_for_roles"><aside class="declaration">var </aside>ineligible_for_roles <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 21"></a></h3><p>Used to make sure someone doesn't get spammed with messages if they're ineligible for roles</p><h3 id="var/new_character"><aside class="declaration">var </aside>new_character <aside>– /<a href="mob.html">mob</a>/<a href="mob/living.html">living</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 18"></a></h3><p>For instant transfer once the round is set up</p><h3 id="var/reset_hud_cooldown"><aside class="declaration">var </aside>reset_hud_cooldown <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 26"></a></h3><p>Cooldown for the Reset Lobby Menu HUD verb</p><h3 id="var/spawning"><aside class="declaration">var </aside>spawning <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 6"></a></h3><p>Referenced when you want to delete the new_player later on in the code.</p><h2 id="proc">Proc Details</h2><h3 id="proc/reset_menu_hud"><aside class="declaration">proc </aside>reset_menu_hud<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/new_player.dm#L772"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/new_player.dm 772"></a></aside></h3><p>Resets the Lobby Menu HUD, recreating and reassigning it to the new player</p><h3 id="proc/respawn_latejoin_check"><aside class="declaration">proc </aside>respawn_latejoin_check<aside>(notify) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/observer/respawn.dm#L89"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/observer/respawn.dm 89"></a></aside></h3><p>Checks if we can latejoin on the currently selected slot, taking into account respawn status.</p><h3 id="proc/vote_on_irv_poll"><aside class="declaration">proc </aside>vote_on_irv_poll<aside>(pollid, /list/votelist) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/poll.dm#L487"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/poll.dm 487"></a></aside></h3><p>Processes vote form data and saves results to the database for an IRV type poll.</p><h3 id="proc/vote_on_multi_poll"><aside class="declaration">proc </aside>vote_on_multi_poll<aside>(pollid, optionid) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mob/dead/new_player/poll.dm#L664"><img src="git.png" width="16" height="16" title="code/modules/mob/dead/new_player/poll.dm 664"></a></aside></h3><p>Processes vote form data and saves results to the database for a multiple choice type poll.</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> |