/tg/ Station 13 - Modules - TypesVar Details - Proc Details

touch_attack

Touch attack item

Used for touch spells to have something physical to slap people with.

Try to avoid adding behavior onto these for your touch spells! The spells themselves should handle most, if not all, of the casted effects.

These should generally just be dummy objects - holds name and icon stuff.

Vars

spell_which_made_usA weakref to what spell made us.

Procs

remove_hand_with_no_refundWhen the hand component of a touch spell is qdel'd, (the hand is dropped or otherwise lost), the cooldown on the spell that made it is automatically refunded.

Var Details

spell_which_made_us

A weakref to what spell made us.

Proc Details

remove_hand_with_no_refund

When the hand component of a touch spell is qdel'd, (the hand is dropped or otherwise lost), the cooldown on the spell that made it is automatically refunded.

However, if you want to consume the hand and not give a cooldown, such as adding a unique behavior to the hand specifically, this function will do that.