How do I check for multiple of the same item in my Inventory array, then remove them?

Hi,

Sorry for the late reply. I’ve got it to work by doing what you suggest, but I have a final problem.

If I had 3 of the same item in my inventory, it correctly removes 2 items, then adds the crafted item. But if I click the button again, it’ll remove the 1 item remaining. So I can’t figure out how to have something like a branch that basically says “onclicked only progress if inventory has 2 or more of the item”.

Thanks for your help.