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

item_quirk

Subtype quirk that has some bonus logic to spawn items for the player.

Vars

open_backpackIf true, the backpack automatically opens on post_add(). Usually set to TRUE when an item is equipped inside the player's backpack.
where_items_spawnedLazylist of strings describing where all the quirk items have been spawned.

Procs

give_item_to_holderHandles inserting an item in any of the valid slots provided, then allows for post_add notification.

Var Details

open_backpack

If true, the backpack automatically opens on post_add(). Usually set to TRUE when an item is equipped inside the player's backpack.

where_items_spawned

Lazylist of strings describing where all the quirk items have been spawned.

Proc Details

give_item_to_holder

Handles inserting an item in any of the valid slots provided, then allows for post_add notification.

If no valid slot is available for an item, the item is left at the mob's feet. Arguments: