using Server.Items; using System.Collections.Generic; namespace Server.Mobiles { public class SBStoneCrafter : SBInfo { private readonly List m_BuyInfo = new InternalBuyInfo(); private readonly IShopSellInfo m_SellInfo = new InternalSellInfo(); public override IShopSellInfo SellInfo => m_SellInfo; public override List BuyInfo => m_BuyInfo; public class InternalBuyInfo : List { public InternalBuyInfo() { Add(new GenericBuyInfo(typeof(Nails), 3, 20, 0x102E, 0)); Add(new GenericBuyInfo(typeof(Axle), 2, 20, 0x105B, 0, true)); Add(new GenericBuyInfo(typeof(Board), 3, 20, 0x1BD7, 0, true)); Add(new GenericBuyInfo(typeof(DrawKnife), 10, 20, 0x10E4, 0)); Add(new GenericBuyInfo(typeof(Froe), 10, 20, 0x10E5, 0)); Add(new GenericBuyInfo(typeof(Scorp), 10, 20, 0x10E7, 0)); Add(new GenericBuyInfo(typeof(Inshave), 10, 20, 0x10E6, 0)); Add(new GenericBuyInfo(typeof(DovetailSaw), 12, 20, 0x1028, 0)); Add(new GenericBuyInfo(typeof(Saw), 15, 20, 0x1034, 0)); Add(new GenericBuyInfo(typeof(Hammer), 17, 20, 0x102A, 0)); Add(new GenericBuyInfo(typeof(MouldingPlane), 11, 20, 0x102C, 0)); Add(new GenericBuyInfo(typeof(SmoothingPlane), 10, 20, 0x1032, 0)); Add(new GenericBuyInfo(typeof(JointingPlane), 11, 20, 0x1030, 0)); Add(new GenericBuyInfo("Making Valuables With Stonecrafting", typeof(MasonryBook), 10625, 10, 0xFBE, 0)); Add(new GenericBuyInfo("Mining For Quality Stone", typeof(StoneMiningBook), 10625, 10, 0xFBE, 0)); Add(new GenericBuyInfo("1044515", typeof(MalletAndChisel), 3, 50, 0x12B3, 0)); } } public class InternalSellInfo : GenericSellInfo { public InternalSellInfo() { Add(typeof(MasonryBook), 5000); Add(typeof(StoneMiningBook), 5000); Add(typeof(MalletAndChisel), 1); Add(typeof(WoodenBox), 7); Add(typeof(SmallCrate), 5); Add(typeof(MediumCrate), 6); Add(typeof(LargeCrate), 7); Add(typeof(WoodenChest), 15); Add(typeof(LargeTable), 10); Add(typeof(Nightstand), 7); Add(typeof(YewWoodTable), 10); Add(typeof(Throne), 24); Add(typeof(WoodenThrone), 6); Add(typeof(Stool), 6); Add(typeof(FootStool), 6); Add(typeof(FancyWoodenChairCushion), 12); Add(typeof(WoodenChairCushion), 10); Add(typeof(WoodenChair), 8); Add(typeof(BambooChair), 6); Add(typeof(WoodenBench), 6); Add(typeof(Saw), 9); Add(typeof(Scorp), 6); Add(typeof(SmoothingPlane), 6); Add(typeof(DrawKnife), 6); Add(typeof(Froe), 6); Add(typeof(Hammer), 14); Add(typeof(Inshave), 6); Add(typeof(JointingPlane), 6); Add(typeof(MouldingPlane), 6); Add(typeof(DovetailSaw), 7); Add(typeof(Board), 2); Add(typeof(Axle), 1); Add(typeof(WoodenShield), 31); Add(typeof(BlackStaff), 24); Add(typeof(GnarledStaff), 12); Add(typeof(QuarterStaff), 15); Add(typeof(ShepherdsCrook), 12); Add(typeof(Club), 13); Add(typeof(Log), 1); } } } }