gdinv
gdinv copied to clipboard
More or less universal inventory system plugin for Godot Engine (3.3+). Data-driven.
I often see that game developers use CSV to store all the item definitions. The ``File`` class has fancy ``get_csv_line`` method that can be used to parse tables. # Links...
I'm getting an error saying ```The class "GDInv_ItemStack" couldn't be fully loaded (script error or cyclic dependency.)``` And it seems to be the cyclic dependency because DB and Stack do...
For case when items have different sizes (W x H). I will think about it because its logic requires specific checks for volume when trying to put item in.
At current state the parser supports only single definition per JSON config. - `weapons/` - `iron_sword.json` -> `iron_sword` - `bronze_sword.json` -> `bronze_sword` - `potions/` - `small_health_potion.json` -> `small_health_potion` - `large_health_potion.json`...
Updated the plugin to work with Godot 4.0 and GDScript 2.0.