I am trying to develop a inventory system, yet I troubled on where to begin with what I want to accomplish. The inventory system I want to develop has 3+ bags with 4 items (I am calling them slots) max in each bag (not counting quantity). For example, The player picks up a potion, so it will go in the frst slot in the first bag. And if the player picks up another potion, it will add 1 to the first slot in the first bag. And if the player picks another item, not potion, it will go in the 2nd slot in the first bag.
Does this make sense? (I tried)
Can someone tell me how I would be able to accomplish this? Or does this sound too complex? Please, please I would love any help on this (even a small example).
Thanks