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
500 stars 32 forks source link

Feature/remove close open #130

Closed scriptsengineer closed 2 months ago

TheYellowArchitect commented 2 months ago

128 and this have no explanation. By removing open/close, what is the result? Is there some kind of "toggle" alternative for this? I see it is planned as a 2.0 feature:

Removal of the open/close logic from gdextension: I've found that this doesn't make sense to be in this plugin, it could be something very specific to each project and it just makes this lib very rigid for changes.

scriptsengineer commented 2 months ago

128 and this have no explanation. By removing open/close, what is the result? Is there some kind of "toggle" alternative for this? I see it is planned as a 2.0 feature:

Removal of the open/close logic from gdextension: I've found that this doesn't make sense to be in this plugin, it could be something very specific to each project and it just makes this lib very rigid for changes.

It will be placed in the sample code openable.gd and in the character_inventory_system.gd