45 lines
No EOL
1.4 KiB
C#
45 lines
No EOL
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class SBFisherman : SBInfo
|
|
{
|
|
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
|
private IShopSellInfo m_SellInfo = new InternalSellInfo();
|
|
|
|
public SBFisherman()
|
|
{
|
|
}
|
|
|
|
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( RawFishSteak ), 3, 20, 0x97A, 0 ) );
|
|
//TODO: Add( new GenericBuyInfo( typeof( SmallFish ), 3, 20, 0xDD6, 0 ) );
|
|
//TODO: Add( new GenericBuyInfo( typeof( SmallFish ), 3, 20, 0xDD7, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Fish ), 6, 80, 0x9CC, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Fish ), 6, 80, 0x9CD, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Fish ), 6, 80, 0x9CE, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( Fish ), 6, 80, 0x9CF, 0 ) );
|
|
Add( new GenericBuyInfo( typeof( FishingPole ), 15, 20, 0xDC0, 0 ) );
|
|
}
|
|
}
|
|
|
|
public class InternalSellInfo : GenericSellInfo
|
|
{
|
|
public InternalSellInfo()
|
|
{
|
|
Add( typeof( RawFishSteak ), 1 );
|
|
Add( typeof( Fish ), 1 );
|
|
//TODO: Add( typeof( SmallFish ), 1 );
|
|
Add( typeof( FishingPole ), 7 );
|
|
}
|
|
}
|
|
}
|
|
} |