carenalgas / popochiu

Godot plugin to make point-and-click adventure games, inspired by tools like Adventure Game Studio and PowerQuest.
https://carenalgas.github.io/popochiu/
MIT License
207 stars 19 forks source link

Support for quantities of inventory items #349

Open balloonpopper opened 1 week ago

balloonpopper commented 1 week ago

What's the expected benefit of the feature you are requesting?

I would like to be able to store multiple items of the same type as a quantity of that item.

Describe the solution you'd like

e.g. if I have 1 coin and I pick up another coin I now have a coin in my inventory with a quantity of 2, not a coin and another coin. There may be situations where you would like the coins (in this example) as separate inventory items.

Describe alternatives you've considered

None

Additional context

mapedorr commented 5 days ago

Sounds like a good feature. We could use a property in the PopochiuInventoryItem like max_quantity which could be set to 1 by default.