byond - Modules - TypesVar Details - Proc Details

Wey-Med Plus

Vars

allow_supply_link_restockWhether the vendor can use a medlink to be able to resupply automatically
chem_refillA list of item types that allow reagent refilling
chem_refill_volumeThe starting volume of the chem refill tank
chem_refill_volume_maxThe maximum volume of the chem refill tank
healthscanWhether this vendor supports health scanning the user via mouse drop

Procs

cart_restockPerforms automatic restocking via medical cart - will set being_restocked true during the action
get_supply_linkchecks if there is a supply link in our location and we are anchored to it
random_unstockRandomly removes amounts of listed_products and reagents
restock_reagentsRefills reagents towards chem_refill_volume_max Returns the quantity of reagents added
restock_suppliesRandomly (based on prob_to_skip) adjusts all amounts of listed_products towards their desired values by 1 Returns the quantity of items added
try_deduct_chemAttempts to consume our reagents needed for the container (doesn't actually change the container) Will return TRUE if reagents were deducated or no reagents were needed

Var Details

Whether the vendor can use a medlink to be able to resupply automatically

chem_refill

A list of item types that allow reagent refilling

chem_refill_volume

The starting volume of the chem refill tank

chem_refill_volume_max

The maximum volume of the chem refill tank

healthscan

Whether this vendor supports health scanning the user via mouse drop

Proc Details

cart_restock

Performs automatic restocking via medical cart - will set being_restocked true during the action

checks if there is a supply link in our location and we are anchored to it

random_unstock

Randomly removes amounts of listed_products and reagents

restock_reagents

Refills reagents towards chem_refill_volume_max Returns the quantity of reagents added

restock_supplies

Randomly (based on prob_to_skip) adjusts all amounts of listed_products towards their desired values by 1 Returns the quantity of items added

try_deduct_chem

Attempts to consume our reagents needed for the container (doesn't actually change the container) Will return TRUE if reagents were deducated or no reagents were needed