Cost of materials calculator for crafting system in such as an MMO.