White Sands - Modules - TypesProc Details

/mob/dead/new_player

Procs

handle_player_pollingShows a list of currently running polls a player can vote/has voted on
new_player_panelThis proc generates the panel that opens to all newly joining players, allowing them to join, observe, view polls, view the current crew manifest, and open the character customization menu.
open_interviewVerb for opening the existing interview, or if relevant creating a new interview if possible.
poll_playerRedirects a player to the correct poll window based on poll type.
poll_player_irvShows voting window for an IRV type poll, listing its options and relevant details.
poll_player_multiShows voting window for a multiple choice type poll, listing its options and relevant details.
poll_player_optionShows voting window for an option type poll, listing its options and relevant details.
poll_player_ratingShows voting window for a rating type poll, listing its options and relevant details.
poll_player_textShows voting window for a text response type poll, listing its relevant details.
register_for_interviewPrepares a client for the interview system, and provides them with a new interview
vote_on_poll_handlerRuns some poll validation before a vote is processed.
vote_on_poll_irvProcesses vote form data and saves results to the database for an IRV type poll.
vote_on_poll_multiProcesses vote form data and saves results to the database for a multiple choice type poll.
vote_on_poll_optionProcesses vote form data and saves results to the database for an option type poll.
vote_on_poll_ratingProcesses vote form data and saves results to the database for a rating type poll.
vote_on_poll_textProcesses response form data and saves results to the database for a text response type poll.

Proc Details

handle_player_polling

Shows a list of currently running polls a player can vote/has voted on

new_player_panel

This proc generates the panel that opens to all newly joining players, allowing them to join, observe, view polls, view the current crew manifest, and open the character customization menu.

open_interview

Verb for opening the existing interview, or if relevant creating a new interview if possible.

poll_player

Redirects a player to the correct poll window based on poll type.

poll_player_irv

Shows voting window for an IRV type poll, listing its options and relevant details.

If already voted on, the options are sorted how a player voted for them, otherwise they are randomly shuffled.

poll_player_multi

Shows voting window for a multiple choice type poll, listing its options and relevant details.

If already voted on, the options a player voted for are pre-selected.

poll_player_option

Shows voting window for an option type poll, listing its options and relevant details.

If already voted on, the option a player voted for is pre-selected.

poll_player_rating

Shows voting window for a rating type poll, listing its options and relevant details.

If already voted on, the options a player voted for are pre-selected.

poll_player_text

Shows voting window for a text response type poll, listing its relevant details.

If already responded to, the saved response of a player is shown.

register_for_interview

Prepares a client for the interview system, and provides them with a new interview

This proc will both prepare the user by removing all verbs from them, as well as giving them the interview form and forcing it to appear.

vote_on_poll_handler

Runs some poll validation before a vote is processed.

Checks a player is who they claim to be and that a poll is actually still running. Also loads the vote_id to pass onto single-option and text polls. Increments the vote count when successful.

vote_on_poll_irv

Processes vote form data and saves results to the database for an IRV type poll.

vote_on_poll_multi

Processes vote form data and saves results to the database for a multiple choice type poll.

vote_on_poll_option

Processes vote form data and saves results to the database for an option type poll.

vote_on_poll_rating

Processes vote form data and saves results to the database for a rating type poll.

vote_on_poll_text

Processes response form data and saves results to the database for a text response type poll.