Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
40
Projects/Scripts/Mobiles/Vendors/SBInfo/SBMiner.cs
Normal file
40
Projects/Scripts/Mobiles/Vendors/SBInfo/SBMiner.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMiner : SBInfo
|
||||
{
|
||||
public override IShopSellInfo SellInfo{ get; } = new InternalSellInfo();
|
||||
|
||||
public override List<GenericBuyInfo> BuyInfo{ get; } = new InternalBuyInfo();
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(Bag), 6, 20, 0xE76, 0));
|
||||
Add(new GenericBuyInfo(typeof(Candle), 6, 10, 0xA28, 0));
|
||||
Add(new GenericBuyInfo(typeof(Torch), 8, 10, 0xF6B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Lantern), 2, 10, 0xA25, 0));
|
||||
//Add( new GenericBuyInfo( typeof( OilFlask ), 8, 10, 0x####, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(Pickaxe), 25, 10, 0xE86, 0));
|
||||
Add(new GenericBuyInfo(typeof(Shovel), 12, 10, 0xF39, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Pickaxe), 12);
|
||||
Add(typeof(Shovel), 6);
|
||||
Add(typeof(Lantern), 1);
|
||||
//Add( typeof( OilFlask ), 4 );
|
||||
Add(typeof(Torch), 3);
|
||||
Add(typeof(Bag), 3);
|
||||
Add(typeof(Candle), 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue