Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 233: Line 233:
category_incomplete = 'Items needing value',
category_incomplete = 'Items needing value',
smw_property = 'Value',
smw_property = 'Value',
smw_func = parse.number
}

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