I was wondering. What would be the best way to make an item statcking system? I've had a few ideas.
1. A list containing types or names of the items that can be stacked. I plan on sending a text string to the item stacking procedure so I don't have to create and delete an object to stack it. I could just check in the list to see if it can eb stacked. (Less items can be stacked than can't, and it becomes vive versa, I can always make a list of the items that can't be stacked.)
2. Variables would work, but they would require me to actually create the object to check upon it's stackability. parent_types were another option, but again, they'd require me to actually create the object.
May 13 2006, 8:31 am