new_player ![code/modules/mob/dead/new_player/new_player.dm 3](git.png)
Vars | |
age_gate_result | Is there a result we want to read from the age gate |
---|---|
ineligible_for_roles | Used to make sure someone doesn't get spammed with messages if they're ineligible for roles |
new_character | For instant transfer once the round is set up |
reset_hud_cooldown | Cooldown for the Reset Lobby Menu HUD verb |
spawning | Referenced when you want to delete the new_player later on in the code. |
Procs | |
reset_menu_hud | Resets the Lobby Menu HUD, recreating and reassigning it to the new player |
respawn_latejoin_check | Checks if we can latejoin on the currently selected slot, taking into account respawn status. |
vote_on_irv_poll | Processes vote form data and saves results to the database for an IRV type poll. |
vote_on_multi_poll | Processes vote form data and saves results to the database for a multiple choice type poll. |
Var Details
age_gate_result ![code/modules/mob/dead/new_player/new_player.dm 24](git.png)
Is there a result we want to read from the age gate
ineligible_for_roles ![code/modules/mob/dead/new_player/new_player.dm 21](git.png)
Used to make sure someone doesn't get spammed with messages if they're ineligible for roles
new_character ![code/modules/mob/dead/new_player/new_player.dm 18](git.png)
For instant transfer once the round is set up
reset_hud_cooldown ![code/modules/mob/dead/new_player/new_player.dm 26](git.png)
Cooldown for the Reset Lobby Menu HUD verb
spawning ![code/modules/mob/dead/new_player/new_player.dm 6](git.png)
Referenced when you want to delete the new_player later on in the code.
Proc Details
reset_menu_hud
Resets the Lobby Menu HUD, recreating and reassigning it to the new player
respawn_latejoin_check
Checks if we can latejoin on the currently selected slot, taking into account respawn status.
vote_on_irv_poll
Processes vote form data and saves results to the database for an IRV type poll.
vote_on_multi_poll
Processes vote form data and saves results to the database for a multiple choice type poll.