Added functionality to when the factory is being broken, saving and loading the slots of factory to nbt