/tg/ Station 13 - Modules - TypesVar Details - Proc Details

machine

Vars

def_componentsDefault replacements for req_components, to be used in apply_default_parts instead of req_components types Example: list(/obj/item/stock_parts/matter_bin = /obj/item/stock_parts/matter_bin/super)
flatpack_componentsComponents that need to be flatpacked along with the circuitboard so as to replace the defaults
needs_anchoredWhether this machine must be anchored to be constructed.
replacement_partsList of atoms/datums to replace the default components placed inside the machine
req_componentsComponents required by the machine. Example: list(/obj/item/stock_parts/matter_bin = 5)

Procs

apply_default_partsApplies the default component parts for this machine
flatten_component_listConverts req_components map into a linear list with its datum components resolved

Var Details

def_components

Default replacements for req_components, to be used in apply_default_parts instead of req_components types Example: list(/obj/item/stock_parts/matter_bin = /obj/item/stock_parts/matter_bin/super)

flatpack_components

Components that need to be flatpacked along with the circuitboard so as to replace the defaults

needs_anchored

Whether this machine must be anchored to be constructed.

replacement_parts

List of atoms/datums to replace the default components placed inside the machine

req_components

Components required by the machine. Example: list(/obj/item/stock_parts/matter_bin = 5)

Proc Details

apply_default_parts

Applies the default component parts for this machine

Arguments

flatten_component_list

Converts req_components map into a linear list with its datum components resolved

Arguments