Daedalus Dock - Modules - TypesVar Details - Proc Details

hooded

Vars

delete_unequipped_hoodIf TRUE, the hood is qdeleted and spawned when equipped instead of simply unequipped.
hoodHood instance
hood_typeType path of the hood
on_hood_createdCallback invoked after create_hood().
on_hood_equipCallback invoked after try_unequip_hood().
on_hood_unequipCallback invoked after must_unequip_hood().
parent_icon_suffixSuffix applied to parent icon_state while the hood is up.
pre_equip_hoodCallback invoked before equipping a hood, returning FALSE aborts.

Procs

create_hoodCreates a new hood
hood_goneHandles hood qdeletion.
hood_unequippedHandles the hood being unequipped.
must_unequip_hoodUnequip the hood. Currently cannot fail.
on_action_clickToggle hood when the UI button is clicked
try_equip_hoodAttempt to equip the hood.

Var Details

delete_unequipped_hood

If TRUE, the hood is qdeleted and spawned when equipped instead of simply unequipped.

hood

Hood instance

hood_type

Type path of the hood

on_hood_created

Callback invoked after create_hood().

on_hood_equip

Callback invoked after try_unequip_hood().

on_hood_unequip

Callback invoked after must_unequip_hood().

parent_icon_suffix

Suffix applied to parent icon_state while the hood is up.

pre_equip_hood

Callback invoked before equipping a hood, returning FALSE aborts.

Proc Details

create_hood

Creates a new hood

hood_gone

Handles hood qdeletion.

hood_unequipped

Handles the hood being unequipped.

must_unequip_hood

Unequip the hood. Currently cannot fail.

on_action_click

Toggle hood when the UI button is clicked

try_equip_hood

Attempt to equip the hood.