Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Added sell price)
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 237: Line 237:


-- Sell Price
-- Sell Price
function parse.sell_price_func(val)
function parse.buy_price_func(val)
return currency(val)
return currency(val)
end
end
parse.sell_price = {
parse.buy_price = {
name = 'sell_price',
name = 'buy_price',
func = parse.sell_price_func,
func = parse.buy_price_func,
category_incomplete = 'Items needing sell prices',
category_incomplete = 'Items needing buy prices',
smw_property = 'Sell Price',
smw_property = 'Buy Price',
smw_func = parse.number
smw_func = parse.number
}
}