Updated casting item creation

Cast items can now depend on materials other than amalgam.