vending record datum

A datum that represents a product that is vendable
Vars | |
age_restricted | Whether spessmen with an ID with an age below AGE_MINOR (21 by default) can buy this item |
---|---|
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" |
returned_products | List of items that have been returned to the vending machine. |
Var Details
age_restricted

Whether spessmen with an ID with an age below AGE_MINOR (21 by default) can buy this item
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"
returned_products

List of items that have been returned to the vending machine.