A
AutoLiMax
Guest
Hi, I've pretty much finished creating an inventory system that's made using ds_grid. There is also a hot bar or quick bar that just displays items that are in the bottom row of the inventory.
The player can pick up items, move items around in the inventory, drop items and equip them but they currently don't stack.
I'm currently trying to figure out how to stack items. I just can't figure out how to go about doing it. I was thinking about having an amount variable in the itemInfo script but that wouldn't work if I want to add chests and other storage objects.
Maybe a second ds_grid which stores the item count? <-- This doesn't seam like the best way of going about it. I'm just looking for options really.
Does anyone have any ideas?
Thanks
The player can pick up items, move items around in the inventory, drop items and equip them but they currently don't stack.
I'm currently trying to figure out how to stack items. I just can't figure out how to go about doing it. I was thinking about having an amount variable in the itemInfo script but that wouldn't work if I want to add chests and other storage objects.
Maybe a second ds_grid which stores the item count? <-- This doesn't seam like the best way of going about it. I'm just looking for options really.
Does anyone have any ideas?
Thanks
Last edited by a moderator: