public void UnEquipCommand(Equipment equipment) { CurrentPlayer.Unequip(equipment); RaiseMessage("You unequip " + equipment.Name); }
public bool HasTypeEquipped(EquipmentType type) { ItemEquipment item = Equipment.SingleOrDefault(ie => ie.Type == type); return(item != null); }
private void FoundEquipment(Equipment equipment) { RaiseMessage(CurrentPlayer.Name + " has found a " + equipment.Name); }
public GatherQuest(int id, string name, string description, Person questGiver, Dictionary <Item, int> requiredItems, int rewardGold = 0, int rewardExperience = 0, Item rewardItem = null, Equipment rewardEquipment = null, Spell rewardSpell = null) : base(id, name, description, questGiver, rewardGold, rewardExperience, rewardItem, rewardEquipment, rewardSpell) { this.RequiredItems = requiredItems; }