Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -3,55 +3,50 @@ using Server.Items;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWeaver: SBInfo
|
||||
{
|
||||
public SBWeaver()
|
||||
{
|
||||
}
|
||||
public class SBWeaver : 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(Dyes), 8, 20, 0xFA9, 0));
|
||||
Add(new GenericBuyInfo(typeof(DyeTub), 8, 20, 0xFAB, 0));
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( Dyes ), 8, 20, 0xFA9, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( DyeTub ), 8, 20, 0xFAB, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1761, 0));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1762, 0));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1763, 0));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1764, 0));
|
||||
|
||||
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1761, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1762, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1763, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1764, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf9B, 0));
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf9C, 0));
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf96, 0));
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf97, 0));
|
||||
|
||||
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf9B, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf9C, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf96, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf97, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(DarkYarn), 18, 20, 0xE1D, 0));
|
||||
Add(new GenericBuyInfo(typeof(LightYarn), 18, 20, 0xE1E, 0));
|
||||
Add(new GenericBuyInfo(typeof(LightYarnUnraveled), 18, 20, 0xE1F, 0));
|
||||
|
||||
Add( new GenericBuyInfo( typeof( DarkYarn ), 18, 20, 0xE1D, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( LightYarn ), 18, 20, 0xE1E, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( LightYarnUnraveled ), 18, 20, 0xE1F, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(Scissors), 11, 20, 0xF9F, 0));
|
||||
}
|
||||
}
|
||||
|
||||
Add( new GenericBuyInfo( typeof( Scissors ), 11, 20, 0xF9F, 0 ) );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( Scissors ), 6 );
|
||||
Add( typeof( Dyes ), 4 );
|
||||
Add( typeof( DyeTub ), 4 );
|
||||
Add( typeof( UncutCloth ), 1 );
|
||||
Add( typeof( BoltOfCloth ), 50 );
|
||||
Add( typeof( LightYarnUnraveled ), 9 );
|
||||
Add( typeof( LightYarn ), 9 );
|
||||
Add( typeof( DarkYarn ), 9 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Scissors), 6);
|
||||
Add(typeof(Dyes), 4);
|
||||
Add(typeof(DyeTub), 4);
|
||||
Add(typeof(UncutCloth), 1);
|
||||
Add(typeof(BoltOfCloth), 50);
|
||||
Add(typeof(LightYarnUnraveled), 9);
|
||||
Add(typeof(LightYarn), 9);
|
||||
Add(typeof(DarkYarn), 9);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue