/tg/ Station 13 - Modules - Types — Var Details - Proc Details

robotic_style

Vars

bodyshape_overrideIf this style should override the limb it is applied to's bodyshape
dimorphic_overridesIf this style's source utilizes a dimorphic bodypart, it goes in this list assoc list keyed to the body_zone
has_digiWhether this style supports digi
iconThe .dmi path for this robotic style
limb_id_overrideIf this style should override the it is applied to's limb_id
supported_slotsWhat slots this style work on
worn_offsets_speciesThe species whose worn offsets a limb made in this style carries, for a style drawn in that species' shape - see /datum/species/proc/add_worn_offsets

Procs

augment_brand_keyReturns the style's id in the finish picker's brand sprites and data: the last part of its type, lowercase.
augment_brand_statesReturns the states an augment limb in this style draws, zone -> state, as apply_style_to_limb() and get_limb_icon() resolve them: in the style's icon, the limb id its limb_id_override or the robotic id every styled augment limb has. An arm draws its hand along with it. A leg on a digitigrade body draws _digi, listed as digi, unless the style's bodyshape_override drops the digitigrade shape, when it draws the plain leg; a style without has_digi can't be worn there. A head or chest the style's dimorphic_overrides make dimorphic draws m on a masculine body and _f on any other, listed as and _f; the robotic head and chest a styled augment is aren't dimorphic of themselves. Only zones a slot can wear the style on and whose state has four directions are listed.

Var Details

bodyshape_override

If this style should override the limb it is applied to's bodyshape

dimorphic_overrides

If this style's source utilizes a dimorphic bodypart, it goes in this list assoc list keyed to the body_zone

has_digi

Whether this style supports digi

icon

The .dmi path for this robotic style

limb_id_override

If this style should override the it is applied to's limb_id

supported_slots

What slots this style work on

worn_offsets_species

The species whose worn offsets a limb made in this style carries, for a style drawn in that species' shape - see /datum/species/proc/add_worn_offsets

Proc Details

augment_brand_key

Returns the style's id in the finish picker's brand sprites and data: the last part of its type, lowercase.

augment_brand_states

Returns the states an augment limb in this style draws, zone -> state, as apply_style_to_limb() and get_limb_icon() resolve them: in the style's icon, the limb id its limb_id_override or the robotic id every styled augment limb has. An arm draws its hand along with it. A leg on a digitigrade body draws _digi, listed as digi, unless the style's bodyshape_override drops the digitigrade shape, when it draws the plain leg; a style without has_digi can't be worn there. A head or chest the style's dimorphic_overrides make dimorphic draws m on a masculine body and _f on any other, listed as and _f; the robotic head and chest a styled augment is aren't dimorphic of themselves. Only zones a slot can wear the style on and whose state has four directions are listed.