/tg/ Station 13 - Modules - Types

code/modules/events/_event_admin_setup.dm

/datum/event_admin_setupDatum that holds a proc for additional options when running an event. Prototypes are declared here, non-prototypes on the event files.
/datum/event_admin_setup/listed_optionsA very common pattern is picking from a tgui list input, so this does that. Supply a list in get_list and prompt admins will have the admin pick from it or cancel.
/datum/event_admin_setup/text_inputFor admin setups that want a custom string. Suggests what the event would have picked normally.
/datum/event_admin_setup/warn_adminSome events are not always a good idea when a game state is in a certain situation. This runs a check and warns the admin.
/datum/event_admin_setup/minimum_candidate_requirementFor events that mandate a set number of candidates to function
/datum/event_admin_setup/questionFor events that require a true/false question