nested types (a la rpg inventory system)

Blitz3D Forums/Blitz3D Beginners Area/nested types (a la rpg inventory system)

An array is a "Box" to store things in so.......

A List is a "List" of things so .......

Basicly, make potions field of Shop either an array or a list. If you have a small number of shops, with a limeted shelf space, go for an array. If shelf space isnt limeted then list

Note
Maybe you would be better with a "types of Potion Type", then each potion would have a field for typeofpotion