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

summonitem

Vars

marked_itemThe obj marked for recall

Procs

can_link_toChecks if the passed item is a valid item that can be marked / linked to summon.
get_markedFor use in callbacks to get the marked item
mark_itemSet the passed object as our marked item
on_marked_item_deletedSignal proc for COMSIG_QDELETING on our marked item, unmarks our item if it's deleted
try_link_itemIf we don't have a marked item, attempts to mark the caster's held item.
try_recall_itemRecalls our marked item to the caster. May bring some unexpected things along.
try_unlink_itemIf we have a marked item and it's in our hand, we will try to unlink it
unmark_itemUnset our current marked item

Var Details

marked_item

The obj marked for recall

Proc Details

Checks if the passed item is a valid item that can be marked / linked to summon.

get_marked

For use in callbacks to get the marked item

mark_item

Set the passed object as our marked item

on_marked_item_deleted

Signal proc for COMSIG_QDELETING on our marked item, unmarks our item if it's deleted

If we don't have a marked item, attempts to mark the caster's held item.

try_recall_item

Recalls our marked item to the caster. May bring some unexpected things along.

If we have a marked item and it's in our hand, we will try to unlink it

unmark_item

Unset our current marked item