Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

wall

Vars

other_connectionsA list of connections to non-walls for each corner, used for icon generation. Can be converted to a list of dirs with corner_states_to_dirs().
reinf_iconThe reinforcement icon to use. Set in update_material() based on reinf_material.
shutter_iconIcon to use if shutter state is non-null.
shutter_materialOverrides base material for shutter icon if set.
shutter_soundShutter open/close sound.
shutter_stateTRUE = open, FALSE = closed, null = no shutter.
unique_merge_identifierIf set, will prevent merges between walls with different IDs.
wall_connectionsA list of connections to walls for each corner, used for icon generation. Can be converted to a list of dirs with corner_states_to_dirs().

Procs

get_base_colorGets the base wall colour for icon rendering. Can be overridden on wall subtypes. Not equivalent to get_color(). Should only be used in places where material is known to be set, e.g. update_wall_icon().
get_reinf_colorGets the reinforcement colour. Can be overridden so that some wall types don't apply paint colour to their reinforcements.

Var Details

other_connections

A list of connections to non-walls for each corner, used for icon generation. Can be converted to a list of dirs with corner_states_to_dirs().

reinf_icon

The reinforcement icon to use. Set in update_material() based on reinf_material.

shutter_icon

Icon to use if shutter state is non-null.

shutter_material

Overrides base material for shutter icon if set.

shutter_sound

Shutter open/close sound.

shutter_state

TRUE = open, FALSE = closed, null = no shutter.

unique_merge_identifier

If set, will prevent merges between walls with different IDs.

wall_connections

A list of connections to walls for each corner, used for icon generation. Can be converted to a list of dirs with corner_states_to_dirs().

Proc Details

get_base_color

Gets the base wall colour for icon rendering. Can be overridden on wall subtypes. Not equivalent to get_color(). Should only be used in places where material is known to be set, e.g. update_wall_icon().

get_reinf_color

Gets the reinforcement colour. Can be overridden so that some wall types don't apply paint colour to their reinforcements.