byond - Modules - TypesVar Details - Proc Details

mech_builder

Vars

available_colorslist(STRING-list(STRING-STRING)) of primary and secondary palettes. first string is category, second is name
available_visor_colorslist(STRING-list(STRING-STRING)) of visor palettes. first string is category, second is name
current_statslist of stat data that will be sent to the UI
equipment_maxList of max equipment that we're allowed to attach while using this console
mech_viewreference to the mech screen object
selected_equipmentCurrently selected equipment, maxes are determined by equipment_max
selected_namecurrent selected name for the mech
selected_primarySTRING-STRING list of mech_slot-primary_color_palette
selected_secondarySTRING-STRING list of mech_slot-secondary_color_palette
selected_variantsSTRING-STRING list of mech_slot-part_type
selected_visorstring of the visor palette

Procs

deploy_mechActually deploys mech after a short delay to let people spot it coming down
update_statsupdates the current_stats data for the UI
update_ui_viewUpdates the displayed mech preview dummy in the UI

Var Details

available_colors

list(STRING-list(STRING-STRING)) of primary and secondary palettes. first string is category, second is name

available_visor_colors

list(STRING-list(STRING-STRING)) of visor palettes. first string is category, second is name

current_stats

list of stat data that will be sent to the UI

equipment_max

List of max equipment that we're allowed to attach while using this console

mech_view

reference to the mech screen object

selected_equipment

Currently selected equipment, maxes are determined by equipment_max

selected_name

current selected name for the mech

selected_primary

STRING-STRING list of mech_slot-primary_color_palette

selected_secondary

STRING-STRING list of mech_slot-secondary_color_palette

selected_variants

STRING-STRING list of mech_slot-part_type

selected_visor

string of the visor palette

Proc Details

deploy_mech

Actually deploys mech after a short delay to let people spot it coming down

update_stats

updates the current_stats data for the UI

update_ui_view

Updates the displayed mech preview dummy in the UI