using Server.Items; using System.Collections.Generic; namespace Server.Mobiles { public class SBBlacksmith : 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(IronIngot), 5, 16, 0x1BF2, 0, true)); Add(new GenericBuyInfo(typeof(Tongs), 13, 14, 0xFBB, 0)); Add(new GenericBuyInfo(typeof(BronzeShield), 66, 20, 0x1B72, 0)); Add(new GenericBuyInfo(typeof(Buckler), 50, 20, 0x1B73, 0)); Add(new GenericBuyInfo(typeof(MetalKiteShield), 123, 20, 0x1B74, 0)); Add(new GenericBuyInfo(typeof(HeaterShield), 231, 20, 0x1B76, 0)); Add(new GenericBuyInfo(typeof(WoodenKiteShield), 70, 20, 0x1B78, 0)); Add(new GenericBuyInfo(typeof(MetalShield), 121, 20, 0x1B7B, 0)); Add(new GenericBuyInfo(typeof(WoodenShield), 30, 20, 0x1B7A, 0)); Add(new GenericBuyInfo(typeof(PlateGorget), 104, 20, 0x1413, 0)); Add(new GenericBuyInfo(typeof(PlateChest), 243, 20, 0x1415, 0)); Add(new GenericBuyInfo(typeof(PlateLegs), 218, 20, 0x1411, 0)); Add(new GenericBuyInfo(typeof(PlateArms), 188, 20, 0x1410, 0)); Add(new GenericBuyInfo(typeof(PlateGloves), 155, 20, 0x1414, 0)); Add(new GenericBuyInfo(typeof(PlateHelm), 21, 20, 0x1412, 0)); Add(new GenericBuyInfo(typeof(CloseHelm), 18, 20, 0x1408, 0)); Add(new GenericBuyInfo(typeof(CloseHelm), 18, 20, 0x1409, 0)); Add(new GenericBuyInfo(typeof(Helmet), 31, 20, 0x140A, 0)); Add(new GenericBuyInfo(typeof(Helmet), 18, 20, 0x140B, 0)); Add(new GenericBuyInfo(typeof(NorseHelm), 18, 20, 0x140E, 0)); Add(new GenericBuyInfo(typeof(NorseHelm), 18, 20, 0x140F, 0)); Add(new GenericBuyInfo(typeof(Bascinet), 18, 20, 0x140C, 0)); Add(new GenericBuyInfo(typeof(PlateHelm), 21, 20, 0x1419, 0)); Add(new GenericBuyInfo(typeof(ChainCoif), 17, 20, 0x13BB, 0)); Add(new GenericBuyInfo(typeof(ChainChest), 143, 20, 0x13BF, 0)); Add(new GenericBuyInfo(typeof(ChainLegs), 149, 20, 0x13BE, 0)); Add(new GenericBuyInfo(typeof(RingmailChest), 121, 20, 0x13ec, 0)); Add(new GenericBuyInfo(typeof(RingmailLegs), 90, 20, 0x13F0, 0)); Add(new GenericBuyInfo(typeof(RingmailArms), 85, 20, 0x13EE, 0)); Add(new GenericBuyInfo(typeof(RingmailGloves), 93, 20, 0x13eb, 0)); Add(new GenericBuyInfo(typeof(ExecutionersAxe), 30, 20, 0xF45, 0)); Add(new GenericBuyInfo(typeof(Bardiche), 60, 20, 0xF4D, 0)); Add(new GenericBuyInfo(typeof(BattleAxe), 26, 20, 0xF47, 0)); Add(new GenericBuyInfo(typeof(TwoHandedAxe), 32, 20, 0x1443, 0)); Add(new GenericBuyInfo(typeof(Bow), 35, 20, 0x13B2, 0)); Add(new GenericBuyInfo(typeof(ButcherKnife), 14, 20, 0x13F6, 0)); Add(new GenericBuyInfo(typeof(Crossbow), 46, 20, 0xF50, 0)); Add(new GenericBuyInfo(typeof(HeavyCrossbow), 55, 20, 0x13FD, 0)); Add(new GenericBuyInfo(typeof(Cutlass), 24, 20, 0x1441, 0)); Add(new GenericBuyInfo(typeof(Dagger), 21, 20, 0xF52, 0)); Add(new GenericBuyInfo(typeof(Halberd), 42, 20, 0x143E, 0)); Add(new GenericBuyInfo(typeof(HammerPick), 26, 20, 0x143D, 0)); Add(new GenericBuyInfo(typeof(Katana), 33, 20, 0x13FF, 0)); Add(new GenericBuyInfo(typeof(Kryss), 32, 20, 0x1401, 0)); Add(new GenericBuyInfo(typeof(Broadsword), 35, 20, 0xF5E, 0)); Add(new GenericBuyInfo(typeof(Longsword), 55, 20, 0xF61, 0)); Add(new GenericBuyInfo(typeof(VikingSword), 55, 20, 0x13B9, 0)); Add(new GenericBuyInfo(typeof(Cleaver), 15, 20, 0xEC3, 0)); Add(new GenericBuyInfo(typeof(Axe), 40, 20, 0xF49, 0)); Add(new GenericBuyInfo(typeof(DoubleAxe), 52, 20, 0xF4B, 0)); Add(new GenericBuyInfo(typeof(Pickaxe), 22, 20, 0xE86, 0)); Add(new GenericBuyInfo(typeof(Pitchfork), 19, 20, 0xE87, 0)); Add(new GenericBuyInfo(typeof(Scimitar), 36, 20, 0x13B6, 0)); Add(new GenericBuyInfo(typeof(SkinningKnife), 14, 20, 0xEC4, 0)); Add(new GenericBuyInfo(typeof(LargeBattleAxe), 33, 20, 0x13FB, 0)); Add(new GenericBuyInfo(typeof(WarAxe), 29, 20, 0x13B0, 0)); Add(new GenericBuyInfo(typeof(BoneHarvester), 35, 20, 0x26BB, 0)); Add(new GenericBuyInfo(typeof(CrescentBlade), 37, 20, 0x26C1, 0)); Add(new GenericBuyInfo(typeof(DoubleBladedStaff), 35, 20, 0x26BF, 0)); Add(new GenericBuyInfo(typeof(Lance), 34, 20, 0x26C0, 0)); Add(new GenericBuyInfo(typeof(Pike), 39, 20, 0x26BE, 0)); Add(new GenericBuyInfo(typeof(Scythe), 39, 20, 0x26BA, 0)); Add(new GenericBuyInfo(typeof(CompositeBow), 50, 20, 0x26C2, 0)); Add(new GenericBuyInfo(typeof(RepeatingCrossbow), 57, 20, 0x26C3, 0)); Add(new GenericBuyInfo(typeof(BlackStaff), 22, 20, 0xDF1, 0)); Add(new GenericBuyInfo(typeof(Club), 16, 20, 0x13B4, 0)); Add(new GenericBuyInfo(typeof(GnarledStaff), 16, 20, 0x13F8, 0)); Add(new GenericBuyInfo(typeof(Mace), 28, 20, 0xF5C, 0)); Add(new GenericBuyInfo(typeof(Maul), 21, 20, 0x143B, 0)); Add(new GenericBuyInfo(typeof(QuarterStaff), 19, 20, 0xE89, 0)); Add(new GenericBuyInfo(typeof(ShepherdsCrook), 20, 20, 0xE81, 0)); Add(new GenericBuyInfo(typeof(SmithHammer), 21, 20, 0x13E3, 0)); Add(new GenericBuyInfo(typeof(ShortSpear), 23, 20, 0x1403, 0)); Add(new GenericBuyInfo(typeof(Spear), 31, 20, 0xF62, 0)); Add(new GenericBuyInfo(typeof(WarHammer), 25, 20, 0x1439, 0)); Add(new GenericBuyInfo(typeof(WarMace), 31, 20, 0x1407, 0)); Add(new GenericBuyInfo(typeof(Scepter), 39, 20, 0x26BC, 0)); Add(new GenericBuyInfo(typeof(BladedStaff), 40, 20, 0x26BD, 0)); Add(new GenericBuyInfo("1154005", typeof(MalleableAlloy), 50, 500, 7139, 2949, true)); } } public class InternalSellInfo : GenericSellInfo { public InternalSellInfo() { Add(typeof(Tongs), 7); Add(typeof(IronIngot), 4); Add(typeof(Buckler), 25); Add(typeof(BronzeShield), 33); Add(typeof(MetalShield), 60); Add(typeof(MetalKiteShield), 62); Add(typeof(HeaterShield), 115); Add(typeof(WoodenKiteShield), 35); Add(typeof(WoodenShield), 15); Add(typeof(PlateArms), 94); Add(typeof(PlateChest), 121); Add(typeof(PlateGloves), 72); Add(typeof(PlateGorget), 52); Add(typeof(PlateLegs), 109); Add(typeof(FemalePlateChest), 113); Add(typeof(FemaleLeatherChest), 18); Add(typeof(FemaleStuddedChest), 25); Add(typeof(LeatherShorts), 14); Add(typeof(LeatherSkirt), 11); Add(typeof(LeatherBustierArms), 11); Add(typeof(StuddedBustierArms), 27); Add(typeof(Bascinet), 9); Add(typeof(CloseHelm), 9); Add(typeof(Helmet), 9); Add(typeof(NorseHelm), 9); Add(typeof(PlateHelm), 10); Add(typeof(ChainCoif), 6); Add(typeof(ChainChest), 71); Add(typeof(ChainLegs), 74); Add(typeof(RingmailArms), 42); Add(typeof(RingmailChest), 60); Add(typeof(RingmailGloves), 26); Add(typeof(RingmailLegs), 45); Add(typeof(BattleAxe), 13); Add(typeof(DoubleAxe), 26); Add(typeof(ExecutionersAxe), 15); Add(typeof(LargeBattleAxe), 16); Add(typeof(Pickaxe), 11); Add(typeof(TwoHandedAxe), 16); Add(typeof(WarAxe), 14); Add(typeof(Axe), 20); Add(typeof(Bardiche), 30); Add(typeof(Halberd), 21); Add(typeof(ButcherKnife), 7); Add(typeof(Cleaver), 7); Add(typeof(Dagger), 10); Add(typeof(SkinningKnife), 7); Add(typeof(Club), 8); Add(typeof(HammerPick), 13); Add(typeof(Mace), 14); Add(typeof(Maul), 10); Add(typeof(WarHammer), 12); Add(typeof(WarMace), 15); Add(typeof(HeavyCrossbow), 27); Add(typeof(Bow), 17); Add(typeof(Crossbow), 23); Add(typeof(CompositeBow), 25); Add(typeof(RepeatingCrossbow), 28); Add(typeof(Scepter), 20); Add(typeof(BladedStaff), 20); Add(typeof(Scythe), 19); Add(typeof(BoneHarvester), 17); Add(typeof(Scepter), 18); Add(typeof(BladedStaff), 16); Add(typeof(Pike), 19); Add(typeof(DoubleBladedStaff), 17); Add(typeof(Lance), 17); Add(typeof(CrescentBlade), 18); Add(typeof(Spear), 15); Add(typeof(Pitchfork), 9); Add(typeof(ShortSpear), 11); Add(typeof(BlackStaff), 11); Add(typeof(GnarledStaff), 8); Add(typeof(QuarterStaff), 9); Add(typeof(ShepherdsCrook), 10); Add(typeof(SmithHammer), 10); Add(typeof(Broadsword), 17); Add(typeof(Cutlass), 12); Add(typeof(Katana), 16); Add(typeof(Kryss), 16); Add(typeof(Longsword), 27); Add(typeof(Scimitar), 18); Add(typeof(VikingSword), 27); } } } }