Module:ProfessionList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 155: Line 155:
-- include the price of selling the product
-- include the price of selling the product
item.sellPrice = search.getShopSellPrice(item.product)
item.sellPrice = search.getShopSellPrice(item.product)
item.profit = item.buyPrice and item.sellPrice and item.sellPrice - item.buyPrice
end
end