i could be wrong but i think the ‘is item already in inventory’ is the wrong place to look, since i think it gets called when there a duplicate of an item that is already in the inventory is being picked up?
its a part of adding +1 to an item. so e.g. for my ice cream object, if ice cream is already in inventory, it’s going to add one and if that item is not in the inventory itll output to be false and just add that item (i think)