Exemplo n.º 1
0
        public NpcInfo(Creature creature, OtItems items)
        {
            this.name = creature.Name;
            this.outfit = creature.Outfit;

            this.statements = new Dictionary<string, string>();
            this.triedWords = new HashSet<string>();
            this.voices = new HashSet<NpcVoice>();

            NpcWordList.Words.Add(creature.Name.ToLower());
        }
Exemplo n.º 2
0
 public bool Equals(Outfit outfit)
 {
     return LookType == outfit.LookType && Head == outfit.Head && Body == outfit.Body
         && Legs == outfit.Legs && Feet == outfit.Feet && Addons == outfit.Addons ||
         LookType == outfit.LookType && LookItem == outfit.LookItem;
 }