candidate_poll ![code/datums/candidate_poll.dm 2](git.png)
The datum that describes one instance of candidate polling
Vars | |
alert_buttons | the linked alert buttons |
---|---|
duration | The duration of the poll |
finished | Whether the polling is finished |
ignoring_category | Never For This Round category |
jump_to_me | the atom observers can jump/teleport to |
poll_key | Used to categorize in the alerts system and identify polls of same question+role so we can stack the alert buttons |
question | The question asked to potential candidates |
response_messages | Response messages sent in specific key areas for full customization of polling. |
role | The role the poll is for |
signed_up | The players who signed up to this poll |
time_started | The world.time at which the poll was created |
Procs | |
announce_chosen | Print to chat which candidate was selected |
Var Details
alert_buttons ![code/datums/candidate_poll.dm 16](git.png)
the linked alert buttons
duration ![code/datums/candidate_poll.dm 8](git.png)
The duration of the poll
finished ![code/datums/candidate_poll.dm 20](git.png)
Whether the polling is finished
ignoring_category ![code/datums/candidate_poll.dm 12](git.png)
Never For This Round category
jump_to_me ![code/datums/candidate_poll.dm 10](git.png)
the atom observers can jump/teleport to
poll_key ![code/datums/candidate_poll.dm 22](git.png)
Used to categorize in the alerts system and identify polls of same question+role so we can stack the alert buttons
question ![code/datums/candidate_poll.dm 6](git.png)
The question asked to potential candidates
response_messages ![code/datums/candidate_poll.dm 24](git.png)
Response messages sent in specific key areas for full customization of polling.
role ![code/datums/candidate_poll.dm 4](git.png)
The role the poll is for
signed_up ![code/datums/candidate_poll.dm 14](git.png)
The players who signed up to this poll
time_started ![code/datums/candidate_poll.dm 18](git.png)
The world.time at which the poll was created
Proc Details
announce_chosen
Print to chat which candidate was selected