#I'm surprised the tutorial you're
1 messages · Page 1 of 1 (latest)
You'll have to show how you've set it up.
I can't see where you actually call the 'Add Item' function you created. Also, you want to use the input which I labelled as 'Item Name' instead of hard coding a specific item type into the function.
The function is a generic function for handling add/removing items from your inventory. When ever you want to add or remove, you call that function.