I'm looking for a plugin to create a game

Maybe someone has come across a plugin that I will describe below:
I am creating a block diagram of a future game in which there will be a main character (and he will have inventory) and depending on the chain of events, items or their number will be added or removed from this inventory. This way I will always understand where I got the item and where I left it and it will always be clear how many cartridges I have left (this is just an example)