How to check for an specific item in my inventory?

Create an inventory structure to store specific types of items. When you add an item you get its type and store it in the correct container.