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()); }
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; }