Thanks for the help Hammerhand. I pasted in the new code and have this script now:
using System;
using System.Collections;
using Server.Items;
using Server.Engines.Apiculture;
namespace Server.Mobiles
{
public class SBBeekeeper : SBInfo
{
private read only List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private read only IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBBeekeeper()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( JarHoney ), 3, 20, 0x9EC, 0 ) );
Add( new GenericBuyInfo( typeof( Beeswax ), 1, 20, 0x1422, 0 ) );
Add( new GenericBuyInfo( typeof( apiBeeHiveDeed ), 2000, 10, 2330, 0 ) );
Add( new GenericBuyInfo( typeof( HiveTool ), 100, 20, 2549, 0 ) );
Add( new GenericBuyInfo( typeof( apiSmallWaxPot ), 250, 20, 2532, 0 ) );
Add( new GenericBuyInfo( typeof( apiLargeWaxPot ), 400, 20, 2541, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( JarHoney ), 1 );
Add( typeof( Beeswax ), 1 );
Add( typeof( apiBeeHiveDeed ), 1000 );
Add( typeof( HiveTool ), 50 );
Add( typeof( apiSmallWaxPot ), 125 );
Add( typeof( apiLargeWaxPot ), 200 );
}
}
}
}
That generated a simple looking error that probably says Diesel can't paste code very well..
--------------------------------------------------------------------------------
ServUO - [
http://www.servuo.com] Version 0.5, Build 6297.25977
Publish 54
Core: Optimizing for 8 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 0 warnings
Errors:
+ VendorInfo/SBBeekeeper.cs:
CS1002: Line 10: ; expected
CS1002: Line 12: ; expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
I am going to try and figure out where the end of line Marks should go...maybe the end of the line ? (