AvatarsConquest/Scripts/Mobiles/Towns/Sales/SBThief.cs

50 lines
No EOL
1.5 KiB
C#

using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBThief : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBThief()
{
}
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( Backpack ), 15, 20, 0x9B2, 0 ) );
Add( new GenericBuyInfo( typeof( Pouch ), 6, 20, 0xE79, 0 ) );
Add( new GenericBuyInfo( typeof( Torch ), 8, 20, 0xF6B, 0 ) );
Add( new GenericBuyInfo( typeof( Lantern ), 2, 20, 0xA25, 0 ) );
Add( new GenericBuyInfo( typeof( Lockpick ), 12, 20, 0x14FC, 0 ) );
Add( new GenericBuyInfo( typeof( WoodenBox ), 14, 20, 0x9AA, 0 ) );
Add( new GenericBuyInfo( typeof( Key ), 2, 20, 0x100E, 0 ) );
Add( new GenericBuyInfo( typeof( HairDye ), 37, 20, 0xEFF, 0 ) );
Add( new GenericBuyInfo( typeof( DisguiseKit ), 700, 20, 0xE05, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Backpack ), 7 );
Add( typeof( Pouch ), 3 );
Add( typeof( Torch ), 3 );
Add( typeof( Lantern ), 1 );
Add( typeof( Lockpick ), 6 );
Add( typeof( WoodenBox ), 7 );
Add( typeof( HairDye ), 19 );
Add( typeof( DisguiseKit ), 300 );
}
}
}
}