Space Station 13 - Modules - TypesProc Details

ui_modal

Modal datum (contains base information for a modal)

Procs

on_answerCalled when a modal receives an answer
preprocess_answerCalled when it's time to pre-process the answer before using it
to_dataCreates a list that describes a modal visually to be passed to JS

Proc Details

on_answer

Called when a modal receives an answer

Arguments:

preprocess_answer

Called when it's time to pre-process the answer before using it

Arguments:

to_data

Creates a list that describes a modal visually to be passed to JS