public void AddItem(EquipItem i) { if (EquipmentList.ContainsKey(i.Slot)) { throw new Exception("Item in dictionary. Possibly remove what's in their first"); } else { EquipmentList.Add(i.Slot, i); i.OnEquip(Owner, i); throw new Exception("Remove from player bag"); } }