reequip

Component to automatically attempt to equip an item to a list of slots after it is dropped by a human
Vars | |
active | Are we currently trying to catch the dropped parent? |
---|---|
reequip_delay | Ticks between the object being dropped and reequipped |
slots_to_try | list of SLOT_* defines for equip_in_one_of_slots |
Procs | |
begin_reequip | Just holds a delay for the reequip attempt |
cancel_throw | Blocks any item with this component from being thrown |
catch_wrapper | Wrapper to ensure signals only come from One Spot |
try_to_catch | Actually equips parent if any slots in slots_to_try are available |
Var Details
active

Are we currently trying to catch the dropped parent?
reequip_delay

Ticks between the object being dropped and reequipped
slots_to_try

list of SLOT_* defines for equip_in_one_of_slots
Proc Details
begin_reequip
Just holds a delay for the reequip attempt
cancel_throw
Blocks any item with this component from being thrown
catch_wrapper
Wrapper to ensure signals only come from One Spot
try_to_catch
Actually equips parent if any slots in slots_to_try are available