-
-
Notifications
You must be signed in to change notification settings - Fork 217
Inventory Enhancement: The Bag #73
Copy link
Copy link
Open
Labels
contributor friendlythis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersthis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersenhancementa new feature or improvementa new feature or improvementgameplay
Milestone
Metadata
Metadata
Assignees
Labels
contributor friendlythis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersthis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomersenhancementa new feature or improvementa new feature or improvementgameplay
Just like a normal bag, you can throw things in at the top, but if you want to search something in there, you have to start taking things out of it.
In the game the bag would be represented by a single item slot, where you can access the top-most item in the bag, or put new stuff into it.
Overall this allows expanding the inventory, while also encouraging some strategy when it comes to inventory management.
Which items do you want to access quickly? Which items can you just put into the bag?
Internally this can be represented by a Stack data structure.
In the future, there could also be capacity upgrades to the bag.