The Textbox object has two variable. One variable is name Item_name, the value of it on default is none. and the other variable is Item_slot and this value is starting at 1 to 10. Because there is ten textbox object in the inventory screen.
I have the game picking the textbox object based on the Item_slot number and then Add one to the localvar.item_slot so that It can begin picking on the next new item.
I went ahead and change the quantity value from the chest orb to add to global variable. Before I saw that by using the chest own value was pretty stupid as it resulted in the berryx3 twice.
And the "How many" I am using a global variable for each item. so the Textbox event would have set text (self.item_name&"x"&Globalvar.Berry)
And the event runs like this If chest orb is pickedup And pick Textbox object based on localvarholder.item_slot (Then sub event)Chest orb variable item =berry then set value textobject.Item to Berry and then add one to localvarholder.Item_slot.
Its right here I cannot figure out how to tell Construct if one of the textbox object.Item already have the value Berry to not make the other textbox object.item value change.
I suppose i could use a series of group event but that would be silly to have each group event for every first time item and have it deactivate. But that would mean twice as many event or maybe triple the events.