expressobits / inventory-system

Modular inventory system for godot 4 with nodes, compatible with multiplayer, separate logic from the UI, Using items as separate resources.
MIT License
501 stars 32 forks source link

Can't see newitem when add it in database; #52

Closed DocMine closed 1 year ago

DocMine commented 1 year ago

I setup a new project to test this addon, when I'm trying to add new item in a database, I can't see other items already in there. Reload database or and reopen project can't fix it. Godot Version 4.0.3; I can find items in Editor's Inspector, but not Inventory page; Snipaste_2023-06-09_11-09-19

DocMine commented 1 year ago

Got it, items should be set different ID manually~

scriptsengineer commented 1 year ago

If added by the custom editor, it generates an ID for you automatically, but by the inspector of godot it doesn't put that ID, maybe it's the question of putting the feature of automatic ID generation directly in the database code.