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

worn

A worn item's sprite or glow fitted (fit_worn_icon(), fit_worn_glows()): the icon build_worn_icon() built, or a state of its worn sheet itself. Only a 32x32 sprite with four directions is fitted; an animated one keeps its frame delays, read from its sheet, and isn't fitted where they can't be read, like a generated icon's.

Vars

sheetThe worn sheet the sprite is drawn from.
sheet_stateWhether the sprite is that state itself, rather than an icon build_worn_icon() built over it.
stateThe state in it.

Procs

NewArguments:

Var Details

sheet

The worn sheet the sprite is drawn from.

sheet_state

Whether the sprite is that state itself, rather than an icon build_worn_icon() built over it.

state

The state in it.

Proc Details

New

Arguments: