inv-sys
A simple and effective inventory system for games.
Features
- simple API
- automatic stacking functionality
- slot amount per inventory
- max stacksize via trait
Usage
// Implement the Stacksize Trait for your Type that will act as your Item
Todo
- Better way to handle item remove/decrease
- Finding items
- Retrieving Slots
- Iterator
- Trees for sorting and performance improvements
- Simple configuration options
- Any requests? Please just submit an issue, thanks!
Contributions
Feel free to open an issue/PR explaining possible improvements or changes
Help
Also, please do not hesitate and open an issue when needed. I am happy to help!