vending 
Vars | |
antag | Stock for antag items unlocked by challenge coin purchased from uplink. Each coin costs 10 TCs; value in vendor should be 10 at baseline with rare chance going up to 30. |
---|---|
antagrandom | Maximum number of randomly generated antag items. Default of 1 so it is usually only 0 or 1. This var is used as exceptions when large amounts of ammo needs to be randomly spawned. |
contraband | Stock for products hidden by the contraband wire as (/item/path = count) |
icon_deny | icon_state to flick() when refusing to vend |
icon_vend | icon_state to flick() when vending |
max_overlays | Total number of overlays that can be randomly picked from when an item is being vended. |
maxrandom | Maximum number of possible non-rare products that can be randomly spawned. This can be set by vending machine not item. Maximum rare product depends on rarity. |
minrandom | Minimum number of possible non-rare product that can be randomly spawned. This can be set by vending machine not item. Minimum rare product is set as 1 by default. |
premium | Stock for products hidden by coin insertion as (/item/path = count) |
products | Stock for each product as (/item/path = count). Set to '0' if you want the vendor to randomly spawn between 1 and 10 items. |
rare_products | Probability of each rare product of spawning in, max amount increases with large value. Need to have value of '0' associated with it in product list for this to work. |
vend_power_usage | Power to one-off spend on successfully vending. |
vendor_flags | A field associated with vending machines from the below flags. |
vendor_wires | The machine's wires, but typed. |
Procs | |
ProcessAntag | Proc that enables hidden antag items and replaces slogan list with anti-Sol slogans if any. |
UpdateShowAntag | Update whether the vendor should show the antag category, flipping if null. |
UpdateShowContraband | Update whether the vendor should show the contraband category, flipping if null. |
UpdateShowPremium | Update whether the vendor should show the premium category, flipping if null. |
UpdateShowProducts | Update whether the vendor should show the normal products category, flipping if null. |
Var Details
antag 
Stock for antag items unlocked by challenge coin purchased from uplink. Each coin costs 10 TCs; value in vendor should be 10 at baseline with rare chance going up to 30.
antagrandom 
Maximum number of randomly generated antag items. Default of 1 so it is usually only 0 or 1. This var is used as exceptions when large amounts of ammo needs to be randomly spawned.
contraband 
Stock for products hidden by the contraband wire as (/item/path = count)
icon_deny 
icon_state to flick() when refusing to vend
icon_vend 
icon_state to flick() when vending
max_overlays 
Total number of overlays that can be randomly picked from when an item is being vended.
maxrandom 
Maximum number of possible non-rare products that can be randomly spawned. This can be set by vending machine not item. Maximum rare product depends on rarity.
minrandom 
Minimum number of possible non-rare product that can be randomly spawned. This can be set by vending machine not item. Minimum rare product is set as 1 by default.
premium 
Stock for products hidden by coin insertion as (/item/path = count)
products 
Stock for each product as (/item/path = count). Set to '0' if you want the vendor to randomly spawn between 1 and 10 items.
rare_products 
Probability of each rare product of spawning in, max amount increases with large value. Need to have value of '0' associated with it in product list for this to work.
vend_power_usage 
Power to one-off spend on successfully vending.
vendor_flags 
A field associated with vending machines from the below flags.
vendor_wires 
The machine's wires, but typed.
Proc Details
ProcessAntag
Proc that enables hidden antag items and replaces slogan list with anti-Sol slogans if any.
UpdateShowAntag
Update whether the vendor should show the antag category, flipping if null.
UpdateShowContraband
Update whether the vendor should show the contraband category, flipping if null.
UpdateShowPremium
Update whether the vendor should show the premium category, flipping if null.
UpdateShowProducts
Update whether the vendor should show the normal products category, flipping if null.