.. the inventory could have any width, e.g.: a bag contain 10 spaces but i wanna make it bigger, than i buy a new one with 20 spaces..
I think ....you know how to solve this..but just in case...
..Add Variable "Bag(max_slots)"=10
................and then compare.....if Variable<Array.Width....then.....Push item in the bag
..and when you "buy a new bigger bag"...set Variable to 20...
EDIT:
Sorry guys...my mistake (lapsus clavis )
obviously ..should be:
................and then compare.....if Variable>Array.Width....then.....Push item in the bag