vending record datum
![code/modules/vending/_vending.dm 25](git.png)
A datum that represents a product that is vendable
Vars | |
amount | How many of this product we currently have |
---|---|
custom_premium_price | Does the item have a custom premium price override |
custom_price | Does the item have a custom price override |
max_amount | How many we can store at maximum |
product_path | Typepath of the product that is created when this record "sells" |
Var Details
amount
![code/modules/vending/_vending.dm 30](git.png)
How many of this product we currently have
custom_premium_price
![code/modules/vending/_vending.dm 38](git.png)
Does the item have a custom premium price override
custom_price
![code/modules/vending/_vending.dm 34](git.png)
Does the item have a custom price override
max_amount
![code/modules/vending/_vending.dm 32](git.png)
How many we can store at maximum
product_path
![code/modules/vending/_vending.dm 28](git.png)
Typepath of the product that is created when this record "sells"