示例#1
0
        public void UnEquipCommand(Equipment equipment)
        {
            CurrentPlayer.Unequip(equipment);

            RaiseMessage("You unequip " + equipment.Name);
        }
示例#2
0
        public bool HasTypeEquipped(EquipmentType type)
        {
            ItemEquipment item = Equipment.SingleOrDefault(ie => ie.Type == type);

            return(item != null);
        }
示例#3
0
 private void FoundEquipment(Equipment equipment)
 {
     RaiseMessage(CurrentPlayer.Name + " has found a " + equipment.Name);
 }
示例#4
0
 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;
 }