using ModernUO.Serialization;
using Server.Items;

namespace Server.Mobiles
{
    [SerializationGenerator(0, false)]
    public partial class BlacksmithGuildmaster : BaseGuildmaster
    {
        [Constructible]
        public BlacksmithGuildmaster() : base("blacksmith")
        {
            SetSkill(SkillName.ArmsLore, 65.0, 88.0);
            SetSkill(SkillName.Blacksmith, 90.0, 100.0);
            SetSkill(SkillName.Macing, 36.0, 68.0);
            SetSkill(SkillName.Parry, 36.0, 68.0);
        }

        public override NpcGuild NpcGuild => NpcGuild.BlacksmithsGuild;

        public override bool IsActiveVendor => true;

        public override bool ClickTitle => true;

        public override VendorShoeType ShoeType => VendorShoeType.ThighBoots;

        public override void InitSBInfo()
        {
            SBInfos.Add(new SBBlacksmith());
        }

        public override void InitOutfit()
        {
            base.InitOutfit();

            Item item = Utility.RandomBool() ? new FullApron() : new RingmailChest();

            if (!EquipItem(item))
            {
                item.Delete();
            }

            AddItem(new Bascinet());
            AddItem(new SmithHammer());
        }
    }
}
