A comprehensive grid-based inventory management system inspired by survival horror games such as Resident Evil, Gloomwood, and Sir, You Are Being Hunted. This repository provides a framework with essential features necessary for any inventory system, designed to be extended and customized according to your project’s needs.
| Stacking | Swapping | Rotation | Saving and loading items |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
You can watch a tutorial video on YouTube to see how to use this inventory system. Here’s a quick rundown of the setup process:
UPDATE: there is now a document explaining how to use this thing
-
Add the
item_db.gdScript to Autoload:- Navigate to your project’s autoload settings.
- Add the
item_db.gdscript as a singleton. - Important: Name the singleton exactly as
ItemsDBto avoid errors.
-
Configure the
item_db.gdScript:- Open the
item_db.gdscript. - Fill the
ITEMSvariable with the items you need. A template is provided in the script to illustrate the required structure for item definitions as well as some examples.
- Open the
-
Add Items to the Inventory:
- Use the
add_item(item_id)method provided by the inventory system. - Call this method to add items from the
ITEMSdictionary to the inventory.
- Use the
Some of the images used for the demo are from PNGEgg Special thanks to Piducod for finding some of the bug and reporting it
I'l probablly come back to this to update it more and make the code cleaner as well as add any features requested
No credits is necessary you can use this however you like but i'd apreciate it if you do, if you made a game with this i'd be really happy to know about




