So let's say I have a project that contains 100 scenes or levels. Each scene contains a token (some coin or diamond) that can only be grabbed once. If the player takes the token in level N and replays level N the token should no longer be there but saved in some sort of wallet when he first grabbed it.
What would be the correct way to implement such a system? I'm looking just for a general idea of how this is implemented in most games.