Inventory System with Pick up Item Changes

Hi! Im making a game for my school project and wondered if there was a way to Inventory System for my game. I already have made a box appear but i want it to display a list of options of weapons that you can equip. What makes this hard is that the Player might of not picked up a specific item so i can’t just display them all. Is there a way to say some like If x has been picked up add x to the Inventory?

Best,

G3forthewin

I really suggest to you this template who saved me a lot of times Inventory [ Like a BOSS ] Template. | Play on gd.games
https://levelupwithalex.itch.io/gdevelop-5-best-inventory-ever