hooded
Subtype with support for hoods You no longer actually need to extend this and can just add the component yourself without a lot of this boilerplate code
Vars | |
alternative_mode | Alternative mode for hiding the hood, instead of storing the hood in the suit it qdels it, useful for when you deal with hooded suit with storage. |
---|---|
hood | Reference to hood object, if it exists |
hood_down_overlay_suffix | Icon state added as a worn overlay while the hood is down, leave as "" for no overlay |
hood_up_affix | What should be added to the end of the icon state when the hood is up? Set to "" for the suit sprite to not change at all |
Procs | |
can_create_hood | Override to only create the hood conditionally |
on_hood_created | Called when the hood is instantiated |
on_hood_deleted | Called when hood is deleted |
on_hood_down | Called when the hood is hidden |
on_hood_up | Called when the hood is worn |
Var Details
alternative_mode
Alternative mode for hiding the hood, instead of storing the hood in the suit it qdels it, useful for when you deal with hooded suit with storage.
hood
Reference to hood object, if it exists
hood_down_overlay_suffix
Icon state added as a worn overlay while the hood is down, leave as "" for no overlay
hood_up_affix
What should be added to the end of the icon state when the hood is up? Set to "" for the suit sprite to not change at all
Proc Details
can_create_hood
Override to only create the hood conditionally
on_hood_created
Called when the hood is instantiated
on_hood_deleted
Called when hood is deleted
on_hood_down
Called when the hood is hidden
on_hood_up
Called when the hood is worn