mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 08:35:39 +01:00
5926589c16
* removes var/ inside all procs * . * ugh
14 lines
553 B
Plaintext
14 lines
553 B
Plaintext
/**
|
|
* Datum used to hold further information about a product in a vending machine
|
|
*/
|
|
/datum/stored_item/vending_product
|
|
var/price = 0 // Price to buy one
|
|
var/display_color = null // Display color for vending machine listing
|
|
var/category = CAT_NORMAL // CAT_HIDDEN for contraband, CAT_COIN for premium
|
|
|
|
/datum/stored_item/vending_product/New(stored, path, name = null, amount = 1, price = 0, color = null, category = CAT_NORMAL)
|
|
..(stored, path, name, amount)
|
|
src.price = price
|
|
src.display_color = color
|
|
src.category = category
|