byond - Modules - Types

code/datums/loadout/loadout_helper.dm

/proc/create_empty_loadout Return a new empty loayout
/proc/buy_item_in_vendor Return true if the item was found in a linked vendor and successfully bought
/proc/buy_stack Check if that stack is buyable in a points vendor (currently, only metal, sandbags and plasteel)
/proc/item2representation_type Return wich type of item_representation should representate any item_type
/proc/is_handful_buyable Return TRUE if this handful should be buyable, aka if it's corresponding aka box is in a linked vendor
/proc/give_free_headset Will give a headset corresponding to the user job to the user
/proc/can_buy_category Will check if the selected category can be bought according to the category choices left
/proc/buy_category Return true if you can buy this category, and also change the loadout seller buying bitfield
/proc/get_item_stack_number If the item is not a stack, return 1. If it is a stack, return the stack size
/proc/get_item_stack_representation_amount If the item representation is not a stack, return 1. Else, return the satck size