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 | |
| 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. |
Procs | |
| New | Arguments: |
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:
- cache, cache_key, fit: As /datum/garment_fit_job has them.
- building_icon: The icon build_worn_icon() built, which is fitted as a copy (the bodyshape icon caches can hand theirs out), or null to fit the state itself.
- sheet, state: The worn sheet and state the sprite is drawn from.
- mode: A GARMENT_FIT_* define, or null for the mode its own sleeves pick (garment_sleeve_mode()).