Rushwind13 / JMoria

My from-scratch implementation of a Roguelike game that will be an homage to IMoria
4 stars 4 forks source link

Inventory stacks #120

Closed Rushwind13 closed 1 week ago

Rushwind13 commented 1 week ago

Some items stack in inventory.

If you are carrying 3 Flasks of Oil, it should take one inventory slot

If you are carrying 30 arrows it should take one inventory slot

Should 4 normal +0, +0 daggers stack? Maybe 🤔 Start with potions, scrolls, books, food, ammo, and go from there.

Bonus points : stack of 7 wands of fire bolts (+30 charges) adds up all the charges and you can just zap until all are empty

Rushwind13 commented 1 week ago

https://github.com/Rushwind13/JMoria/pull/124