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,48 +3,44 @@ using Server.Items;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBButcher : SBInfo
|
||||
{
|
||||
public SBButcher()
|
||||
{
|
||||
}
|
||||
public class SBButcher : 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(Bacon), 7, 20, 0x979, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ham), 26, 20, 0x9C9, 0));
|
||||
Add(new GenericBuyInfo(typeof(Sausage), 18, 20, 0x9C0, 0));
|
||||
Add(new GenericBuyInfo(typeof(RawChickenLeg), 6, 20, 0x1607, 0));
|
||||
Add(new GenericBuyInfo(typeof(RawBird), 9, 20, 0x9B9, 0));
|
||||
Add(new GenericBuyInfo(typeof(RawLambLeg), 9, 20, 0x1609, 0));
|
||||
Add(new GenericBuyInfo(typeof(RawRibs), 16, 20, 0x9F1, 0));
|
||||
Add(new GenericBuyInfo(typeof(ButcherKnife), 13, 20, 0x13F6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cleaver), 13, 20, 0xEC3, 0));
|
||||
Add(new GenericBuyInfo(typeof(SkinningKnife), 13, 20, 0xEC4, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( Bacon ), 7, 20, 0x979, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Ham ), 26, 20, 0x9C9, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Sausage ), 18, 20, 0x9C0, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( RawChickenLeg ), 6, 20, 0x1607, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( RawBird ), 9, 20, 0x9B9, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( RawLambLeg ), 9, 20, 0x1609, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( RawRibs ), 16, 20, 0x9F1, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( ButcherKnife ), 13, 20, 0x13F6, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Cleaver ), 13, 20, 0xEC3, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( SkinningKnife ), 13, 20, 0xEC4, 0 ) );
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( RawRibs ), 8 );
|
||||
Add( typeof( RawLambLeg ), 4 );
|
||||
Add( typeof( RawChickenLeg ), 3 );
|
||||
Add( typeof( RawBird ), 4 );
|
||||
Add( typeof( Bacon ), 3 );
|
||||
Add( typeof( Sausage ), 9 );
|
||||
Add( typeof( Ham ), 13 );
|
||||
Add( typeof( ButcherKnife ), 7 );
|
||||
Add( typeof( Cleaver ), 7 );
|
||||
Add( typeof( SkinningKnife ), 7 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(RawRibs), 8);
|
||||
Add(typeof(RawLambLeg), 4);
|
||||
Add(typeof(RawChickenLeg), 3);
|
||||
Add(typeof(RawBird), 4);
|
||||
Add(typeof(Bacon), 3);
|
||||
Add(typeof(Sausage), 9);
|
||||
Add(typeof(Ham), 13);
|
||||
Add(typeof(ButcherKnife), 7);
|
||||
Add(typeof(Cleaver), 7);
|
||||
Add(typeof(SkinningKnife), 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue