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,53 +3,49 @@ using Server.Items;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBaker : SBInfo
|
||||
{
|
||||
public SBBaker()
|
||||
{
|
||||
}
|
||||
public class SBBaker : 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(BreadLoaf), 6, 20, 0x103B, 0));
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 5, 20, 0x103C, 0));
|
||||
Add(new GenericBuyInfo(typeof(ApplePie), 7, 20, 0x1041, 0)); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
Add(new GenericBuyInfo(typeof(Cake), 13, 20, 0x9E9, 0));
|
||||
Add(new GenericBuyInfo(typeof(Muffins), 3, 20, 0x9EA, 0));
|
||||
Add(new GenericBuyInfo(typeof(SackFlour), 3, 20, 0x1039, 0));
|
||||
Add(new GenericBuyInfo(typeof(FrenchBread), 5, 20, 0x98C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cookies), 3, 20, 0x160b, 0));
|
||||
Add(new GenericBuyInfo(typeof(CheesePizza), 8, 10, 0x1040, 0)); // OSI just has Pizza
|
||||
Add(new GenericBuyInfo(typeof(JarHoney), 3, 20, 0x9ec, 0));
|
||||
Add(new GenericBuyInfo(typeof(BowlFlour), 7, 20, 0xA1E, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( BreadLoaf ), 6, 20, 0x103B, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BreadLoaf ), 5, 20, 0x103C, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( ApplePie ), 7, 20, 0x1041, 0 ) ); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
Add( new GenericBuyInfo( typeof( Cake ), 13, 20, 0x9E9, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Muffins ), 3, 20, 0x9EA, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( SackFlour ), 3, 20, 0x1039, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( FrenchBread ), 5, 20, 0x98C, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Cookies ), 3, 20, 0x160b, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( CheesePizza ), 8, 10, 0x1040, 0 ) ); // OSI just has Pizza
|
||||
Add( new GenericBuyInfo( typeof( JarHoney ), 3, 20, 0x9ec, 0 ) );
|
||||
Add (new GenericBuyInfo( typeof( BowlFlour ), 7, 20, 0xA1E, 0 ) );
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( BreadLoaf ), 3 );
|
||||
Add( typeof( FrenchBread ), 1 );
|
||||
Add( typeof( Cake ), 5 );
|
||||
Add( typeof( Cookies ), 3 );
|
||||
Add( typeof( Muffins ), 2 );
|
||||
Add( typeof( CheesePizza ), 4 );
|
||||
Add( typeof( ApplePie ), 5 );
|
||||
Add( typeof( PeachCobbler ), 5 );
|
||||
Add( typeof( Quiche ), 6 );
|
||||
Add( typeof( Dough ), 4 );
|
||||
Add( typeof( JarHoney ), 1 );
|
||||
Add( typeof( Pitcher ), 5 );
|
||||
Add( typeof( SackFlour ), 1 );
|
||||
Add( typeof( Eggs ), 1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(BreadLoaf), 3);
|
||||
Add(typeof(FrenchBread), 1);
|
||||
Add(typeof(Cake), 5);
|
||||
Add(typeof(Cookies), 3);
|
||||
Add(typeof(Muffins), 2);
|
||||
Add(typeof(CheesePizza), 4);
|
||||
Add(typeof(ApplePie), 5);
|
||||
Add(typeof(PeachCobbler), 5);
|
||||
Add(typeof(Quiche), 6);
|
||||
Add(typeof(Dough), 4);
|
||||
Add(typeof(JarHoney), 1);
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(SackFlour), 1);
|
||||
Add(typeof(Eggs), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue