/tg/ Station 13 - Modules - TypesVar Details

hat_stabilizer

Allows players to place hats on the atom this is attached to

Vars

attached_hatCurrently "stored" hat. No armor or function will be inherited, only the icon and cover flags.
former_flagsOriginal cover flags for the helmet, before a hat is placed
loose_hatIf TRUE, the hat will fall to the ground when the owner does so. It can also be shot off.
pixel_y_offsetPixel_y offset for the hat
use_worn_iconIf true, add_overlay will use worn overlay instead of item appearance

Var Details

attached_hat

Currently "stored" hat. No armor or function will be inherited, only the icon and cover flags.

former_flags

Original cover flags for the helmet, before a hat is placed

loose_hat

If TRUE, the hat will fall to the ground when the owner does so. It can also be shot off.

pixel_y_offset

Pixel_y offset for the hat

use_worn_icon

If true, add_overlay will use worn overlay instead of item appearance