-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested inventories #208
Comments
I know a lot of games do these sort of things, but I still think it's an exotic feature and I'm not sure if it's worth investing time into... That said, I still want the user to be able to implement features like these. The first one could perhaps be implemented by extending the Items with slots could be done in a similar way, though the UI could be difficult to implement as the gloot UI classes currently don't support displaying anything other than the item image. I'll spend some time thinking about this. Hopefully I'll come up with something that makes things like this easily implementable by the user. |
Actually, what prevents of making all InventoryItems deriving Inventory? Of course there are difficulties, and probably redesigning of signals system will be needed, but in general it could be a concept. |
I think that would be a bit to much.. Deriving from a whole class (that is quite complex to begin with) for just a few features sounds like bad design and introduces a lot of unnecessary complexity. |
I suggest having a seperate addon for nested inventories, which is essentially a fork of this addon. So its optional for whoever wants to use nested inventories. Anyway, 3.0 is priority for sure |
Implement nested inventories, where InventoryItem can have Inventory as well (e.g. bag to carry extra items) or Slots (e.g. sword with slots for gems)
The text was updated successfully, but these errors were encountered: