private function checkNPCEquipment(SR_NPC $npc) { foreach ($npc->getNPCEquipment() as $key => $value) { $this->checkNPCEquipmentB($npc, $key, $value); } $this->checkNPCEquipmentB($npc, NULL, $npc->getNPCInventory()); $this->checkNPCEquipmentB($npc, NULL, $npc->getNPCCyberware()); }