Goonstation 13 - Modules - TypesVar Details - Proc Details

suit parent

Vars

coat_styleUsed for the toggle_hood component, should be the same as the default icon_state so it can get updated with medal rewards.
hoodedUsed for hoodies (and anything that uses the toggle_hood component)
over_hairIf TRUE the suit will hide whoever is wearing it's hair

Procs

can_wear_hoodif this item has a hood, returns if the hood can be worn
on_toggle_hoodwhat happens after the hood is toggled. override as needed

Var Details

coat_style

Used for the toggle_hood component, should be the same as the default icon_state so it can get updated with medal rewards.

hooded

Used for hoodies (and anything that uses the toggle_hood component)

over_hair

If TRUE the suit will hide whoever is wearing it's hair

Proc Details

can_wear_hood

if this item has a hood, returns if the hood can be worn

on_toggle_hood

what happens after the hood is toggled. override as needed