Added Broken Inventory code