Item system help

I’m planning on making an item system that progresses you in the game (no data saves), but I’m not sure where to start.

I’ve already made the items able to be picked up, but I can’t figure out how to save that data while they’re still in game. Like if I wanted to check if they picked up a certain item before an event happens, how would I do it?