Inventory Ideas --------------- //For collective items of which you may have many of a kind, but each has unique data. global.inv_col[category,index] = Info (Probably usually a string) //Also have a variable to store the total number of each category's items: global.inv_col_total[category] = numincategory; //E.G. the friend data category = index of 1 and you have 3, the info of the third would be like: global.inv_col[1,2] = "0|Vance Serori"; (UID|NAME) //Make friend data make sure that when a user with this UID is online, the client-stored name and the given name are the same. The collective items will stack, much like requests. Therefore, have a collapse function for collapsing categorial data when one has been deleted. //For unique or key items, of which there is only one of a kind. global.inv_key[index,property] = propertyvalue; //Also have a variable to store the total number of different key items in existence: global.inv_key_total = totalexisting; //E.G. the Hex Key: global.inv_key[0,0] = 1; (HAVE/NOT HAVE) global.inv_key[0,1] = "Hex Key"; (NAME) global.inv_key[0,2] = "This item, found in Emptiness' Hull, allows you to use the mysterious Hexporter data transport technology."; (DESCRIPTION) //Etc. //For stackable single- or limited-use items (such as the telepipe-ish items or the things that let you use Rasputin's Asset more): global.inv_stack[index,property] = propertyvalue; //Also have a variable to store the total number of different stacked items in existence: global.inv_stack_total = totalexisting; //E.G. the telepipe things: global.inv_stack[0,0] = "Telepipe"; (NAME) global.inv_stack[0,1] = 9; (NUMBER IN INVENTORY) global.inv_stack[0,2] = 19; (NUMBER LIMIT) Stackable and key items work much differently than collective items. Therefore, they will also be drawn differently. Since their index denotes not where they are on your inventory screen but *what* they are, the drawing function for both will skip over the ones that you don't have. So when a stackable item's [0,1] array index = 0, it is ignored and not drawn, and when a key item's [0,0] array index = 0, it will not be drawn. Perhaps use an all-encapsulating total variable rather than three, where the x array index is the item category, and the y array index is only used for collective items and is the collective items' category. global.inv_total[2,0] = 3;