It would be best to have a new class that encapsulates all the inventories, or perhaps an array, or something.

Probably a dictionary.

Having them all as public variables is not a good idea.