Initialize the tree nodes for inventory tree menu.