Fix for failed crafting consuming nonexistent items

When failing a crafting check that consumes material, the player is occasionally presented with a list of all possible components, instead of what the player actually has.  

This fix changes the component consumption code to use up what the player actually has.

Possibly fixes #469.