code/modules/events/_event_admin_setup.dm
/datum/event_admin_setup | Datum 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_options | A 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_input | For admin setups that want a custom string. Suggests what the event would have picked normally. |
/datum/event_admin_setup/warn_admin | Some 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_requirement | For events that mandate a set number of candidates to function |
/datum/event_admin_setup/question | For events that require a true/false question |