config junk

This commit is contained in:
DragonTrance
2022-06-09 17:54:40 -04:00
parent c771649850
commit 7bae2a36ee
51 changed files with 192 additions and 114 deletions
+6 -8
View File
@@ -167,14 +167,12 @@ IF YOU MODIFY THE PRODUCTS LIST OF A MACHINE, MAKE SURE TO UPDATE ITS RESUPPLY C
var/datum/data/vending_product/R = new /datum/data/vending_product()
R.name = initial(temp.name)
R.product_path = typepath
R.price = baseprice
if(product) //its a item!
if((initial(product.price)))
R.price = FLOOR(initial(product.price), 1)
else
R.price = baseprice
if(free)
R.price = 0
if(!free)
R.price = baseprice
if(product) //its a item!
var/product_price = SSeconomy.GetPrice(product)
if(!isnull(product_price))
R.price = product_price
if(!start_empty)
R.amount = amount
R.max_amount = amount