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

give

gives the pawn's active held item to a blackboard-keyed target.

Vars

give_held_itemHeld item snapshotted in perform(), for perform_async() to read.
give_targetTarget snapshotted in perform(), for perform_async() to read.
target_keyBlackboard key holding the mob to give the held item to.

Procs

can_give_itemReturns a list(has_left_pocket, has_right_pocket, has_valid_hand) if the item can be given, null otherwise.

Var Details

give_held_item

Held item snapshotted in perform(), for perform_async() to read.

give_target

Target snapshotted in perform(), for perform_async() to read.

target_key

Blackboard key holding the mob to give the held item to.

Proc Details

can_give_item

Returns a list(has_left_pocket, has_right_pocket, has_valid_hand) if the item can be given, null otherwise.