Wey-Med Plus
Vars | |
allow_supply_link_restock | 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 |
Procs | |
cart_restock | Performs automatic restocking via medical cart - will set being_restocked true during the action |
get_supply_link | 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 |
Var Details
allow_supply_link_restock
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
get_supply_link
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