Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -3,45 +3,40 @@ using Server.Items;
namespace Server.Mobiles
{
public class SBSEArmor: SBInfo
{
public SBSEArmor()
{
}
public class SBSEArmor : SBInfo
{
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(PlateHatsuburi), 76, 20, 0x2775, 0));
Add(new GenericBuyInfo(typeof(HeavyPlateJingasa), 76, 20, 0x2777, 0));
Add(new GenericBuyInfo(typeof(DecorativePlateKabuto), 95, 20, 0x2778, 0));
Add(new GenericBuyInfo(typeof(PlateDo), 310, 20, 0x277D, 0));
Add(new GenericBuyInfo(typeof(PlateHiroSode), 222, 20, 0x2780, 0));
Add(new GenericBuyInfo(typeof(PlateSuneate), 224, 20, 0x2788, 0));
Add(new GenericBuyInfo(typeof(PlateHaidate), 235, 20, 0x278D, 0));
Add(new GenericBuyInfo(typeof(ChainHatsuburi), 76, 20, 0x2774, 0));
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( PlateHatsuburi ), 76, 20, 0x2775, 0 ) );
Add( new GenericBuyInfo( typeof( HeavyPlateJingasa ), 76, 20, 0x2777, 0 ) );
Add( new GenericBuyInfo( typeof( DecorativePlateKabuto ), 95, 20, 0x2778, 0 ) );
Add( new GenericBuyInfo( typeof( PlateDo ), 310, 20, 0x277D, 0 ) );
Add( new GenericBuyInfo( typeof( PlateHiroSode ), 222, 20, 0x2780, 0 ) );
Add( new GenericBuyInfo( typeof( PlateSuneate ), 224, 20, 0x2788, 0 ) );
Add( new GenericBuyInfo( typeof( PlateHaidate ), 235, 20, 0x278D, 0 ) );
Add( new GenericBuyInfo( typeof( ChainHatsuburi ), 76, 20, 0x2774, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( PlateHatsuburi ), 38 );
Add( typeof( HeavyPlateJingasa ), 38 );
Add( typeof( DecorativePlateKabuto ), 47 );
Add( typeof( PlateDo ), 155 );
Add( typeof( PlateHiroSode ), 111 );
Add( typeof( PlateSuneate ), 112 );
Add( typeof( PlateHaidate), 117 );
Add( typeof( ChainHatsuburi ), 38 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(PlateHatsuburi), 38);
Add(typeof(HeavyPlateJingasa), 38);
Add(typeof(DecorativePlateKabuto), 47);
Add(typeof(PlateDo), 155);
Add(typeof(PlateHiroSode), 111);
Add(typeof(PlateSuneate), 112);
Add(typeof(PlateHaidate), 117);
Add(typeof(ChainHatsuburi), 38);
}
}
}
}

View file

@ -3,38 +3,34 @@ using Server.Items;
namespace Server.Mobiles
{
public class SBSEBowyer: SBInfo
{
public SBSEBowyer()
{
}
public class SBSEBowyer : SBInfo
{
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(Yumi), 53, 20, 0x27A5, 0));
Add(new GenericBuyInfo(typeof(Fukiya), 20, 20, 0x27AA, 0));
Add(new GenericBuyInfo(typeof(Nunchaku), 35, 20, 0x27AE, 0));
Add(new GenericBuyInfo(typeof(FukiyaDarts), 3, 20, 0x2806, 0));
Add(new GenericBuyInfo(typeof(Bokuto), 21, 20, 0x27A8, 0));
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Yumi ), 53, 20, 0x27A5, 0 ) );
Add( new GenericBuyInfo( typeof( Fukiya ), 20, 20, 0x27AA, 0 ) );
Add( new GenericBuyInfo( typeof( Nunchaku ), 35, 20, 0x27AE, 0 ) );
Add( new GenericBuyInfo( typeof( FukiyaDarts ), 3, 20, 0x2806, 0 ) );
Add( new GenericBuyInfo( typeof( Bokuto ), 21, 20, 0x27A8, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Yumi ), 26 );
Add( typeof( Fukiya ), 10 );
Add( typeof( Nunchaku ), 17 );
Add( typeof( FukiyaDarts ), 1 );
Add( typeof( Bokuto ), 10 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(Yumi), 26);
Add(typeof(Fukiya), 10);
Add(typeof(Nunchaku), 17);
Add(typeof(FukiyaDarts), 1);
Add(typeof(Bokuto), 10);
}
}
}
}

View file

@ -3,37 +3,33 @@ using Server.Items;
namespace Server.Mobiles
{
public class SBSECarpenter: SBInfo
{
public SBSECarpenter()
{
}
public class SBSECarpenter : SBInfo
{
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(Bokuto), 21, 20, 0x27A8, 0));
Add(new GenericBuyInfo(typeof(Tetsubo), 43, 20, 0x27A6, 0));
Add(new GenericBuyInfo(typeof(Fukiya), 20, 20, 0x27AA, 0));
Add(new GenericBuyInfo(typeof(BambooFlute), 21, 20, 0x2805, 0));
Add(new GenericBuyInfo(typeof(BambooFlute), 21, 20, 0x2805, 0));
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Bokuto ), 21, 20, 0x27A8, 0 ) );
Add( new GenericBuyInfo( typeof( Tetsubo ), 43, 20, 0x27A6, 0 ) );
Add( new GenericBuyInfo( typeof( Fukiya ), 20, 20, 0x27AA, 0 ) );
Add( new GenericBuyInfo( typeof( BambooFlute ), 21, 20, 0x2805, 0 ) );
Add( new GenericBuyInfo( typeof( BambooFlute ), 21, 20, 0x2805, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Tetsubo ), 21 );
Add( typeof( Fukiya ), 10 );
Add( typeof( BambooFlute ), 10 );
Add( typeof( Bokuto ), 10 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(Tetsubo), 21);
Add(typeof(Fukiya), 10);
Add(typeof(BambooFlute), 10);
Add(typeof(Bokuto), 10);
}
}
}
}

View file

@ -3,36 +3,32 @@ using Server.Items;
namespace Server.Mobiles
{
public class SBSEFood: SBInfo
{
public SBSEFood()
{
}
public class SBSEFood : SBInfo
{
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(Wasabi), 2, 20, 0x24E8, 0));
Add(new GenericBuyInfo(typeof(Wasabi), 2, 20, 0x24E9, 0));
Add(new GenericBuyInfo(typeof(BentoBox), 6, 20, 0x2836, 0));
Add(new GenericBuyInfo(typeof(BentoBox), 6, 20, 0x2837, 0));
Add(new GenericBuyInfo(typeof(GreenTeaBasket), 2, 20, 0x284B, 0));
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E8, 0 ) );
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E9, 0 ) );
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2836, 0 ) );
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2837, 0 ) );
Add( new GenericBuyInfo( typeof( GreenTeaBasket ), 2, 20, 0x284B, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Wasabi ), 1 );
Add( typeof( BentoBox ), 3 );
Add( typeof( GreenTeaBasket ), 1 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(Wasabi), 1);
Add(typeof(BentoBox), 3);
Add(typeof(GreenTeaBasket), 1);
}
}
}
}

View file

@ -3,53 +3,49 @@ using Server.Items;
namespace Server.Mobiles
{
public class SBSELeatherArmor: SBInfo
{
public SBSELeatherArmor()
{
}
public class SBSELeatherArmor : SBInfo
{
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(LeatherJingasa), 11, 20, 0x2776, 0));
Add(new GenericBuyInfo(typeof(LeatherDo), 87, 20, 0x277B, 0));
Add(new GenericBuyInfo(typeof(LeatherHiroSode), 49, 20, 0x277E, 0));
Add(new GenericBuyInfo(typeof(LeatherSuneate), 55, 20, 0x2786, 0));
Add(new GenericBuyInfo(typeof(LeatherHaidate), 54, 20, 0x278A, 0));
Add(new GenericBuyInfo(typeof(LeatherNinjaPants), 49, 20, 0x2791, 0));
Add(new GenericBuyInfo(typeof(LeatherNinjaJacket), 51, 20, 0x2793, 0));
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( LeatherJingasa ), 11, 20, 0x2776, 0 ) );
Add( new GenericBuyInfo( typeof( LeatherDo ), 87, 20, 0x277B, 0 ) );
Add( new GenericBuyInfo( typeof( LeatherHiroSode ), 49, 20, 0x277E, 0 ) );
Add( new GenericBuyInfo( typeof( LeatherSuneate ), 55, 20, 0x2786, 0 ) );
Add( new GenericBuyInfo( typeof( LeatherHaidate), 54, 20, 0x278A, 0 ) );
Add( new GenericBuyInfo( typeof( LeatherNinjaPants ), 49, 20, 0x2791, 0 ) );
Add( new GenericBuyInfo( typeof( LeatherNinjaJacket ), 51, 20, 0x2793, 0 ) );
Add(new GenericBuyInfo(typeof(StuddedMempo), 61, 20, 0x279D, 0));
Add(new GenericBuyInfo(typeof(StuddedDo), 130, 20, 0x277C, 0));
Add(new GenericBuyInfo(typeof(StuddedHiroSode), 73, 20, 0x277F, 0));
Add(new GenericBuyInfo(typeof(StuddedSuneate), 78, 20, 0x2787, 0));
Add(new GenericBuyInfo(typeof(StuddedHaidate), 76, 20, 0x278B, 0));
}
}
Add( new GenericBuyInfo( typeof( StuddedMempo ), 61, 20, 0x279D, 0 ) );
Add( new GenericBuyInfo( typeof( StuddedDo ), 130, 20, 0x277C, 0 ) );
Add( new GenericBuyInfo( typeof( StuddedHiroSode ), 73, 20, 0x277F, 0 ) );
Add( new GenericBuyInfo( typeof( StuddedSuneate ), 78, 20, 0x2787, 0 ) );
Add( new GenericBuyInfo( typeof( StuddedHaidate ), 76, 20, 0x278B, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( LeatherJingasa ), 5 );
Add( typeof( LeatherDo ), 42 );
Add( typeof( LeatherHiroSode ), 23 );
Add( typeof( LeatherSuneate ), 26 );
Add( typeof( LeatherHaidate), 28 );
Add( typeof( LeatherNinjaPants ), 25 );
Add( typeof( LeatherNinjaJacket ), 26 );
Add( typeof( StuddedMempo ), 28 );
Add( typeof( StuddedDo ), 66 );
Add( typeof( StuddedHiroSode ), 32 );
Add( typeof( StuddedSuneate ), 40 );
Add( typeof( StuddedHaidate ), 37 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(LeatherJingasa), 5);
Add(typeof(LeatherDo), 42);
Add(typeof(LeatherHiroSode), 23);
Add(typeof(LeatherSuneate), 26);
Add(typeof(LeatherHaidate), 28);
Add(typeof(LeatherNinjaPants), 25);
Add(typeof(LeatherNinjaJacket), 26);
Add(typeof(StuddedMempo), 28);
Add(typeof(StuddedDo), 66);
Add(typeof(StuddedHiroSode), 32);
Add(typeof(StuddedSuneate), 40);
Add(typeof(StuddedHaidate), 37);
}
}
}
}

View file

@ -3,49 +3,44 @@ using Server.Items;
namespace Server.Mobiles
{
public class SBSEWeapons: SBInfo
{
public SBSEWeapons()
{
}
public class SBSEWeapons : SBInfo
{
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
public override IShopSellInfo SellInfo { get; } = new InternalSellInfo();
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
public override List<GenericBuyInfo> BuyInfo { get; } = new InternalBuyInfo();
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add(new GenericBuyInfo(typeof(NoDachi), 82, 20, 0x27A2, 0));
Add(new GenericBuyInfo(typeof(Tessen), 83, 20, 0x27A3, 0));
Add(new GenericBuyInfo(typeof(Wakizashi), 38, 20, 0x27A4, 0));
Add(new GenericBuyInfo(typeof(Tetsubo), 43, 20, 0x27A6, 0));
Add(new GenericBuyInfo(typeof(Lajatang), 108, 20, 0x27A7, 0));
Add(new GenericBuyInfo(typeof(Daisho), 66, 20, 0x27A9, 0));
Add(new GenericBuyInfo(typeof(Tekagi), 55, 20, 0x27AB, 0));
Add(new GenericBuyInfo(typeof(Shuriken), 18, 20, 0x27AC, 0));
Add(new GenericBuyInfo(typeof(Kama), 61, 20, 0x27AD, 0));
Add(new GenericBuyInfo(typeof(Sai), 56, 20, 0x27AF, 0));
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( NoDachi ), 82, 20, 0x27A2, 0 ) );
Add( new GenericBuyInfo( typeof( Tessen ), 83, 20, 0x27A3, 0 ) );
Add( new GenericBuyInfo( typeof( Wakizashi ), 38, 20, 0x27A4, 0 ) );
Add( new GenericBuyInfo( typeof( Tetsubo ), 43, 20, 0x27A6, 0 ) );
Add( new GenericBuyInfo( typeof( Lajatang ), 108, 20, 0x27A7, 0 ) );
Add( new GenericBuyInfo( typeof( Daisho ), 66, 20, 0x27A9, 0 ) );
Add( new GenericBuyInfo( typeof( Tekagi ), 55, 20, 0x27AB, 0 ) );
Add( new GenericBuyInfo( typeof( Shuriken ), 18, 20, 0x27AC, 0 ) );
Add( new GenericBuyInfo( typeof( Kama ), 61, 20, 0x27AD, 0 ) );
Add( new GenericBuyInfo( typeof( Sai ), 56, 20, 0x27AF, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( NoDachi ), 41 );
Add( typeof( Tessen ), 41 );
Add( typeof( Wakizashi ), 19 );
Add( typeof( Tetsubo ), 21 );
Add( typeof( Lajatang ), 54 );
Add( typeof( Daisho ), 33 );
Add( typeof( Tekagi ), 22 );
Add( typeof( Shuriken), 9 );
Add( typeof( Kama ), 30 );
Add( typeof( Sai ), 28 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add(typeof(NoDachi), 41);
Add(typeof(Tessen), 41);
Add(typeof(Wakizashi), 19);
Add(typeof(Tetsubo), 21);
Add(typeof(Lajatang), 54);
Add(typeof(Daisho), 33);
Add(typeof(Tekagi), 22);
Add(typeof(Shuriken), 9);
Add(typeof(Kama), 30);
Add(typeof(Sai), 28);
}
}
}
}