Inventory: pacman split code