Here is a " Backpack" style inventory system where one main script, attached to a trigger, runs
everything. Each entity has it's own custom "pickup" script, then needs to be added to the "Backpack_Main" script
and an image of each item picked up needs its own image added to gamecore\huds\Backpack_Inventory folder.
Study the layout and you'll see it's not too hard to understand
"B" key to bring up & exit Inventory, "S" key for Small health, "L" key for Large health. "N" to toggle nightvision.
"F" key to toggle flashlight. Add & remove to meet your needs
Edit: a sample map has been added for testing layout.
My games never have bugs. They just develop random features..
Lots and lots of random features...