using System.Collections;
using System.Collections.Generic;
using Server.Items;

namespace Server.Mobiles
{
	public class SBStavesWeapon: SBInfo
	{
        private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
		private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();

	    public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
		public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }

		public class InternalBuyInfo : List<GenericBuyInfo>
		{
			public InternalBuyInfo()
			{
                Add(new GenericBuyInfo(typeof(BlackStaff), 22, Utility.RandomMinMax(15, 25), 0xDF1, 0));
                Add(new GenericBuyInfo(typeof(GnarledStaff), 16, Utility.RandomMinMax(15, 25), 0x13F8, 0));
                Add(new GenericBuyInfo(typeof(QuarterStaff), 19, Utility.RandomMinMax(15, 25), 0xE89, 0));
                Add(new GenericBuyInfo(typeof(ShepherdsCrook), 20, Utility.RandomMinMax(15, 25), 0xE81, 0));
			}
		}

		public class InternalSellInfo : GenericSellInfo
		{
			public InternalSellInfo()
			{
				Add( typeof( BlackStaff ), 11 );
				Add( typeof( GnarledStaff ), 8 );
				Add( typeof( QuarterStaff ), 9 );
				Add( typeof( ShepherdsCrook ), 10 );
			}
		}
	}
}
