Initially it looks like you will need quite a few hash tables, however, eventually, you should be able to elimiinate some of the duplicates and use the item identifications to be able to store more information in a single hash table.

Fortunately, the hsave & hload command have an -i switch, which makes the hash table work with the ini file format.

I, personally, prefer hash tables due to their speed and accessability.