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

atom_skin

Atom skin singleton datum

Simple datum which holds information about a skin that can be applied to an atom.

Vars

change_base_icon_stateIf true, changing the reskin also changes the base_icon_state of the atom
change_inhand_icon_stateIf true, changing the reskin also changes the inhand_icon_state of the atom
new_descOptional, description to change the atom to when applied
new_iconOptional, icon to change the atom to when applied
new_icon_stateOptional, icon_state to change the atom to when applied
new_inhand_icon_stateThe in-hand icon state for held items.
new_left_inhandThe left side in-hand icon state for held items.
new_nameOptional, name to change the atom to when applied
new_right_inhandThe right side in-hand icon state for held items.
new_worn_iconOptional, worn_icon to change the atom to when applied
preview_nameRequired, name shown in the radial menu
reset_missingIf true, unset vars are reset to their original values when applying this skin

Procs

get_preview_iconGets a preview image for this skin based on the given atom's icon and icon_state

Var Details

change_base_icon_state

If true, changing the reskin also changes the base_icon_state of the atom

change_inhand_icon_state

If true, changing the reskin also changes the inhand_icon_state of the atom

new_desc

Optional, description to change the atom to when applied

new_icon

Optional, icon to change the atom to when applied

new_icon_state

Optional, icon_state to change the atom to when applied

new_inhand_icon_state

The in-hand icon state for held items.

new_left_inhand

The left side in-hand icon state for held items.

new_name

Optional, name to change the atom to when applied

new_right_inhand

The right side in-hand icon state for held items.

new_worn_icon

Optional, worn_icon to change the atom to when applied

preview_name

Required, name shown in the radial menu

reset_missing

If true, unset vars are reset to their original values when applying this skin

Proc Details

get_preview_icon

Gets a preview image for this skin based on the given atom's icon and icon_state