public void InstallChip(HackerModChip newHackerModChip, int slot)
    {
        FillExtraSlotsWithEmptyMods();
        Debug.Log(newHackerModChip.GetItemType().ToString());
        // check we're installing the right kind of chip in the mod
        ItemTypes newChipType = newHackerModChip.GetItemType();

        switch (itemType)
        {
        case ItemTypes.Rig:
            if (newChipType != ItemTypes.Software)
            {
                Debug.LogError("Can only install software in Rig");
            }
            break;

        case ItemTypes.NeuralImplant:
            if (newChipType != ItemTypes.Wetware)
            {
                Debug.LogError("Can only install wetware in Neural Implant");
            }
            break;

        case ItemTypes.Uplink:
            if (newChipType != ItemTypes.Chipset)
            {
                Debug.LogError("Can only install chipsets in Uplink");
            }
            break;
        }
        modChips[slot] = newHackerModChip;
    }
    public void EquipItem(HackerModChip newModChip, int slotNumber)
    {
        switch (newModChip.GetItemType())
        {
        case Item.ItemTypes.Chipset:
            GetUplinkMod().InstallChip(newModChip, slotNumber);
            break;

        case Item.ItemTypes.Software:
            GetRigMod().InstallChip(newModChip, slotNumber);
            break;

        case Item.ItemTypes.Wetware:
            GetNeuralImplantMod().InstallChip(newModChip, slotNumber);
            break;
        }
    }