so for something similar to diablo (not the grid storage thing, just the random items) what would be the best storage method for a database? text files or an array?
you have a variety of different objects that have a long list of possible variable changes, new skills more damage, poisoning ext. yet you have relatively simple objects such as potions and scrolls all being stored in(what i amuse to be)just one array.
would it be better to have the objects id number stored in an array and have the actual object effects referenced in a text file witch tell what exactly the said object dose.(if thats possible.)
Or have a huge array with a long y/z length to accommodated all possible actions that gets checked
and populate the inventory array with this info when needed.