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
459 stars 31 forks source link

Add a base class for all inventory nodes #31

Closed scriptsengineer closed 1 year ago

scriptsengineer commented 1 year ago

Add a base class for all inventory nodes with the information which database it is using.

scriptsengineer commented 1 year ago

image

scriptsengineer commented 1 year ago

Is it not possible to create abstract classes in gdscript?

Frontrider commented 1 year ago

No, it's not. Not having abstract classes/interfaces is one of my gripes.

scriptsengineer commented 1 year ago

I have plans to port some bases to C++ without changing this plugin, abstract classes are possible there

scriptsengineer commented 1 year ago

https://github.com/expressobits/inventory-system-cpp