Stackable items in inventory?

Hello,

Im using parts of an inventory template. Its pritty much the same but with small fixes to suit my game.
Anyone got a good solution that makes items stackable?

Like if a type of potion already is in the inventory then dont add more of it to new slots.
I already tried one type of solution but the issue I got is that when I use the potion till the potion count is 0 it automaticly add one again to the inventory.

well if you got a good solution please share it!
I add the template I used parts from.

Comments

Sign In or Register to comment.