public void AddUsableEquipment(string equipmentShortName) { if (UsableEquipment.Count == 0) { UsableEquipment.Add(equipmentShortName); return; } else { foreach (string equipment in UsableEquipment) { if (equipment == equipmentShortName) { return; } } UsableEquipment.Add(equipmentShortName); return; } }
public void RemoveUsableEquipment(string equipmentShortName) { UsableEquipment.Remove(equipmentShortName); }