Changes

Jump to navigation Jump to search
152 bytes added ,  19:29, 16 February 2023
no edit summary
Line 37: Line 37:  
artisanprice = (2 * (30 + math.floor(baseprice / 2)))
 
artisanprice = (2 * (30 + math.floor(baseprice / 2)))
 
elseif (item == "honey") then
 
elseif (item == "honey") then
artisanprice = (100 + (baseprice * 2))
+
--This is a hack that works only because
 +
--no flower has a base sell price of 100
 +
if (baseprice ~= 100) then
 +
artisanprice = (100 + (baseprice * 2))
 +
else
 +
artisanprice = 100
 +
end
 
elseif (item == "caviar") then
 
elseif (item == "caviar") then
 
artisanprice = 500
 
artisanprice = 500
106,863

edits

Navigation menu