Esempio n. 1
0
        public void UnEquipCommand(Equipment equipment)
        {
            CurrentPlayer.Unequip(equipment);

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

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