code/modules/tgui/plugins/modal.dm

/datum/ui_modal | Modal datum (contains base information for a modal) |
---|---|
/datum/ui_modal/input | Input modal - has a text entry that can be used to enter an answer |
/datum/ui_modal/input/choice | Choice modal - has a dropdown menu that can be used to select an answer |
/datum/ui_modal/input/bento | Bento modal - Similar to choice, it displays the choices in a grid of images |
/datum/ui_modal/boolean | Boolean modal - has yes/no buttons that do different actions depending on which is pressed |