Added more functionality to gear and inventories