So, laid down some thoughts last night, since i couldn’t sleep anyway.
One way is the classical fixed var approach, which would mean having ALOT of vars that each hold a single item. This is not a very useful approach unless you have fixed objects, and only about 5 items or so in a fixed inventory.
Another way is to have a array containing all items with the index as a item id, and then the name of it, but you’d need another one to store what objects the player have in his inventory.
The way i thought of, was to store it all in a array, in the format of 13×03, with the first being the number of items the player have, and the last number being the item id, with x being the splitter, used for some simple string code that splits it into 2 variables. Run this in a loop and hey presto! you got a inventory system.
