using System.Collections.Generic;

namespace Server.Mobiles
{
    public class Bard : BaseVendor
    {
        private readonly List<SBInfo> m_SBInfos = new();

        [Constructible]
        public Bard() : base("the bard")
        {
            SetSkill(SkillName.Discordance, 64.0, 100.0);
            SetSkill(SkillName.Musicianship, 64.0, 100.0);
            SetSkill(SkillName.Peacemaking, 65.0, 88.0);
            SetSkill(SkillName.Provocation, 60.0, 83.0);
            SetSkill(SkillName.Archery, 36.0, 68.0);
            SetSkill(SkillName.Swords, 36.0, 68.0);
        }

        public Bard(Serial serial) : base(serial)
        {
        }

        protected override List<SBInfo> SBInfos => m_SBInfos;

        public override NpcGuild NpcGuild => NpcGuild.BardsGuild;

        public override void InitSBInfo()
        {
            m_SBInfos.Add(new SBBard());
        }

        public override void Serialize(IGenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write(0); // version
        }

        public override void Deserialize(IGenericReader reader)
        {
            base.Deserialize(reader);

            var version = reader.ReadInt();
        }
    }
}
