Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -40,11 +40,11 @@ namespace Server.Mobiles
public override bool PlayerRangeSensitive => true;
public virtual bool IsActiveVendor { get { return true; } }
public virtual bool IsActiveBuyer { get { return IsActiveVendor; } } // response to vendor SELL
public virtual bool IsActiveSeller { get { return IsActiveVendor; } } // response to vendor BUY
public virtual bool IsActiveVendor => true;
public virtual bool IsActiveBuyer => IsActiveVendor; // response to vendor SELL
public virtual bool IsActiveSeller => IsActiveVendor; // response to vendor BUY
public virtual NpcGuild NpcGuild { get { return NpcGuild.None; } }
public virtual NpcGuild NpcGuild => NpcGuild.None;
public override bool IsInvulnerable => true;

View file

@ -32,8 +32,7 @@ namespace Server.Mobiles
public IEntity Lookup( Type key )
{
IEntity e = null;
m_Table.TryGetValue( key, out e );
m_Table.TryGetValue( key, out IEntity e );
return e;
}
@ -115,7 +114,7 @@ namespace Server.Mobiles
public virtual int ControlSlots{ get{ return 0; } }
public virtual bool CanCacheDisplay{ get{ return false; } } //return ( m_Args == null || m_Args.Length == 0 ); }
public virtual bool CanCacheDisplay{ get{ return false; } } //return ( m_Args == null || m_Args.Length == 0 ); }
private bool IsDeleted( IEntity obj )
{
@ -342,4 +341,4 @@ namespace Server.Mobiles
m_Amount = m_MaxAmount;
}
}
}
}

View file

@ -21,8 +21,7 @@ namespace Server.Mobiles
public int GetSellPriceFor( Item item )
{
int price = 0;
m_Table.TryGetValue( item.GetType(), out price );
m_Table.TryGetValue( item.GetType(), out int price );
if ( item is BaseArmor ) {
BaseArmor armor = (BaseArmor)item;
@ -112,7 +111,7 @@ namespace Server.Mobiles
return IsInList( item.GetType() );
}
public bool IsResellable( Item item )
{
if ( item.Nontransferable )

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
[Constructible]
public Alchemist() : base( "the alchemist" )
@ -53,4 +53,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.TinkersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TinkersGuild;
[Constructible]
public Architect() : base( "the architect" )
@ -42,4 +42,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.BardsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.BardsGuild;
[Constructible]
public Bard() : base( "the bard" )
@ -45,4 +45,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -11,15 +11,15 @@ namespace Server.Mobiles
{
public class Barkeeper : BaseVendor
{
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override void InitSBInfo()
{
m_SBInfos.Add( new SBBarkeeper() );
m_SBInfos.Add( new SBBarkeeper() );
}
public override VendorShoeType ShoeType{ get{ return Utility.RandomBool() ? VendorShoeType.ThighBoots : VendorShoeType.Boots; } }
public override VendorShoeType ShoeType => Utility.RandomBool() ? VendorShoeType.ThighBoots : VendorShoeType.Boots;
public override void InitOutfit()
{
@ -51,4 +51,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -1,42 +1,42 @@
using System;
using System.Collections.Generic;
using Server;
using System;
using System.Collections.Generic;
using Server;
namespace Server.Mobiles
{
public class Beekeeper : BaseVendor
{
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
namespace Server.Mobiles
{
public class Beekeeper : BaseVendor
{
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
[Constructible]
public Beekeeper() : base( "the beekeeper" )
{
}
public override void InitSBInfo()
{
m_SBInfos.Add( new SBBeekeeper() );
public Beekeeper() : base( "the beekeeper" )
{
}
public override VendorShoeType ShoeType{ get{ return VendorShoeType.Boots; } }
public Beekeeper( Serial serial ) : base( serial )
{
public override void InitSBInfo()
{
m_SBInfos.Add( new SBBeekeeper() );
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
public override VendorShoeType ShoeType => VendorShoeType.Boots;
writer.Write( (int) 0 ); // version
}
public Beekeeper( Serial serial ) : base( serial )
{
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
int version = reader.ReadInt();
}
}
}
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.BlacksmithsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.BlacksmithsGuild;
[Constructible]
public Blacksmith() : base( "the blacksmith" )
@ -44,11 +44,11 @@ namespace Server.Mobiles
m_SBInfos.Add( new SBMaceWeapon() );
m_SBInfos.Add( new SBSpearForkWeapon() );
m_SBInfos.Add( new SBSwordWeapon() );*/
m_SBInfos.Add( new SBBlacksmith() );
if ( IsTokunoVendor )
{
m_SBInfos.Add( new SBSEArmor() );
m_SBInfos.Add( new SBSEArmor() );
m_SBInfos.Add( new SBSEWeapons() );
}
}
@ -145,4 +145,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.TinkersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TinkersGuild;
[Constructible]
public Carpenter() : base( "the carpenter" )
@ -23,7 +23,7 @@ namespace Server.Mobiles
m_SBInfos.Add( new SBStavesWeapon() );
m_SBInfos.Add( new SBCarpenter() );
m_SBInfos.Add( new SBWoodenShields() );
if ( IsTokunoVendor )
m_SBInfos.Add( new SBSECarpenter() );
}
@ -53,4 +53,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.FishermensGuild; } }
public override NpcGuild NpcGuild => NpcGuild.FishermensGuild;
[Constructible]
public Fisherman() : base( "the fisher" )
@ -47,4 +47,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
[Constructible]
public Glassblower() : base( "the alchemist" )
@ -46,4 +46,4 @@ namespace Server.Mobiles
Body = 0x2F6;
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class BardGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.BardsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.BardsGuild;
[Constructible]
public BardGuildmaster() : base( "bard" )
@ -37,4 +37,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class BlacksmithGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.BlacksmithsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.BlacksmithsGuild;
public override bool IsActiveVendor => true;

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class FisherGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.FishermensGuild; } }
public override NpcGuild NpcGuild => NpcGuild.FishermensGuild;
[Constructible]
public FisherGuildmaster() : base( "fisher" )
@ -32,4 +32,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class HealerGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.HealersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.HealersGuild;
[Constructible]
public HealerGuildmaster() : base( "healer" )
@ -48,4 +48,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class MageGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
[Constructible]
public MageGuildmaster() : base( "mage" )
@ -51,4 +51,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class MerchantGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.MerchantsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MerchantsGuild;
[Constructible]
public MerchantGuildmaster() : base( "merchant" )
@ -33,4 +33,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class MinerGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.MinersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MinersGuild;
[Constructible]
public MinerGuildmaster() : base( "miner" )
@ -33,4 +33,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class RangerGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.RangersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.RangersGuild;
[Constructible]
public RangerGuildmaster() : base( "ranger" )
@ -42,4 +42,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class TailorGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.TailorsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TailorsGuild;
[Constructible]
public TailorGuildmaster() : base( "tailor" )
@ -32,4 +32,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -7,9 +7,9 @@ namespace Server.Mobiles
{
public class ThiefGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.ThievesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.ThievesGuild;
public override TimeSpan JoinAge{ get{ return TimeSpan.FromDays( 7.0 ); } }
public override TimeSpan JoinAge => TimeSpan.FromDays( 7.0 );
[Constructible]
public ThiefGuildmaster() : base( "thief" )
@ -124,4 +124,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
{
public class TinkerGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.TinkersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TinkersGuild;
[Constructible]
public TinkerGuildmaster() : base( "tinker" )
@ -38,20 +38,20 @@ namespace Server.Mobiles
}
public override void AddCustomContextEntries( Mobile from, List<ContextMenuEntry> list )
{
{
if ( Core.ML && from.Alive )
{
RechargeEntry entry = new RechargeEntry( from, this );
if ( WeaponEngravingTool.Find( from ) == null )
entry.Enabled = false;
list.Add( entry );
}
base.AddCustomContextEntries( from, list );
}
private class RechargeEntry : ContextMenuEntry
{
private Mobile m_From;
@ -67,9 +67,9 @@ namespace Server.Mobiles
{
if ( !Core.ML || m_Vendor == null || m_Vendor.Deleted )
return;
WeaponEngravingTool tool = WeaponEngravingTool.Find( m_From );
if ( tool != null && tool.UsesRemaining <= 0 )
{
if ( Banker.GetBalance( m_From ) >= 100000 )
@ -82,4 +82,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Mobiles
{
public class WarriorGuildmaster : BaseGuildmaster
{
public override NpcGuild NpcGuild{ get{ return NpcGuild.WarriorsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.WarriorsGuild;
[Constructible]
public WarriorGuildmaster() : base( "warrior" )
@ -38,4 +38,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -12,7 +12,7 @@ namespace Server.Mobiles
public class GypsyBanker : Banker
{
public override bool IsActiveVendor => false;
public override NpcGuild NpcGuild{ get{ return NpcGuild.None; } }
public override NpcGuild NpcGuild => NpcGuild.None;
public override bool ClickTitle => false;
[Constructible]

View file

@ -1,50 +1,50 @@
using System;
using System.Collections.Generic;
using Server;
using System;
using System.Collections.Generic;
using Server;
namespace Server.Mobiles
{
public class Herbalist : BaseVendor
{
private List<SBInfo> m_SBInfos = new List<SBInfo>();
namespace Server.Mobiles
{
public class Herbalist : BaseVendor
{
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
[Constructible]
public Herbalist() : base( "the herbalist" )
{
public Herbalist() : base( "the herbalist" )
{
SetSkill( SkillName.Alchemy, 80.0, 100.0 );
SetSkill( SkillName.Cooking, 80.0, 100.0 );
SetSkill( SkillName.TasteID, 80.0, 100.0 );
}
}
public override void InitSBInfo()
{
m_SBInfos.Add( new SBHerbalist() );
}
public override void InitSBInfo()
{
m_SBInfos.Add( new SBHerbalist() );
}
public override VendorShoeType ShoeType
{
get{ return Utility.RandomBool() ? VendorShoeType.Shoes : VendorShoeType.Sandals; }
get{ return Utility.RandomBool() ? VendorShoeType.Shoes : VendorShoeType.Sandals; }
}
public Herbalist( Serial serial ) : base( serial )
{
}
public Herbalist( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
int version = reader.ReadInt();
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
[Constructible]
public Mage() : base( "the mage" )
@ -57,4 +57,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
private DateTime m_NextShush;
public static readonly TimeSpan ShushDelay = TimeSpan.FromMinutes( 1 );
@ -77,4 +77,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.TinkersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TinkersGuild;
[Constructible]
public StoneCrafter() : base( "the stone crafter" )
@ -47,4 +47,4 @@ namespace Server.Mobiles
Title = "the stone crafter";
}
}
}
}

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.TailorsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TailorsGuild;
[Constructible]
public Tailor() : base( "the tailor" )

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.TinkersGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TinkersGuild;
[Constructible]
public Tinker() : base( "the tinker" )
@ -42,4 +42,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
private List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
public override NpcGuild NpcGuild{ get{ return NpcGuild.TailorsGuild; } }
public override NpcGuild NpcGuild => NpcGuild.TailorsGuild;
[Constructible]
public Weaver() : base( "the weaver" )
@ -96,4 +96,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -182,7 +182,7 @@ namespace Server.Mobiles
public BarkeeperRumor[] Rumors{ get{ return m_Rumors; } }
public override VendorShoeType ShoeType{ get{ return Utility.RandomBool() ? VendorShoeType.ThighBoots : VendorShoeType.Boots; } }
public override VendorShoeType ShoeType => Utility.RandomBool() ? VendorShoeType.ThighBoots : VendorShoeType.Boots;
public override bool GetGender()
{

View file

@ -95,7 +95,7 @@ namespace Server.Mobiles
Weight = 1.0;
}
public override int DefaultMaxWeight{ get{ return 0; } }
public override int DefaultMaxWeight => 0;
public override bool CheckHold( Mobile m, Item item, bool message, bool checkItems, int plusItems, int plusWeight )
{
@ -779,8 +779,7 @@ namespace Server.Mobiles
public VendorItem GetVendorItem( Item item )
{
VendorItem v = null;
m_SellItems.TryGetValue(item, out v);
m_SellItems.TryGetValue( item, out VendorItem v );
return v;
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -42,4 +42,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -32,4 +32,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -39,8 +39,8 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 20, 0xF8D, 0 ) );
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 3, 20, 0xF8C, 0 ) );
Add( new GenericBuyInfo( typeof( Bottle ), 5, 100, 0xF0E, 0 ) );
Add( new GenericBuyInfo( typeof( HeatingStand ), 2, 100, 0x1849, 0 ) );
Add( new GenericBuyInfo( typeof( Bottle ), 5, 100, 0xF0E, 0 ) );
Add( new GenericBuyInfo( typeof( HeatingStand ), 2, 100, 0x1849, 0 ) );
Add( new GenericBuyInfo( "1041060", typeof( HairDye ), 37, 10, 0xEFF, 0 ) );
}
@ -50,14 +50,14 @@ namespace Server.Mobiles
{
public InternalSellInfo()
{
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( Bottle ), 3 );
Add( typeof( MortarPestle ), 4 );
Add( typeof( HairDye ), 19 );

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -37,4 +37,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBBaker : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBBaker : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBBaker()
{
}
public SBBaker()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public 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
@ -27,32 +27,32 @@ namespace Server.Mobiles
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( 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( 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 );
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 );
}
}
}
}
Add( typeof( SackFlour ), 1 );
Add( typeof( Eggs ), 1 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -35,4 +35,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,42 +1,42 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBBard: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBBard: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBBard()
{
}
public SBBard()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Drums ), 21, ( 10 ), 0x0E9C, 0 ) );
Add( new GenericBuyInfo( typeof( Tambourine ), 21, ( 10 ), 0x0E9E, 0 ) );
Add( new GenericBuyInfo( typeof( LapHarp ), 21, ( 10 ), 0x0EB2, 0 ) );
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Drums ), 21, ( 10 ), 0x0E9C, 0 ) );
Add( new GenericBuyInfo( typeof( Tambourine ), 21, ( 10 ), 0x0E9E, 0 ) );
Add( new GenericBuyInfo( typeof( LapHarp ), 21, ( 10 ), 0x0EB2, 0 ) );
Add( new GenericBuyInfo( typeof( Lute ), 21, ( 10 ), 0x0EB3, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( LapHarp ), 10 );
Add( typeof( Lute ), 10 );
Add( typeof( Drums ), 10 );
Add( typeof( Harp ), 10 );
Add( typeof( Tambourine ), 10 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( LapHarp ), 10 );
Add( typeof( Lute ), 10 );
Add( typeof( Drums ), 10 );
Add( typeof( Harp ), 10 );
Add( typeof( Tambourine ), 10 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -106,4 +106,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -34,4 +34,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,28 +1,28 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBBlacksmith : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBBlacksmith : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBBlacksmith()
{
}
public SBBlacksmith()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( IronIngot ), 5, 16, 0x1BF2, 0 ) );
Add( new GenericBuyInfo( typeof( Tongs ), 13, 14, 0xFBB, 0 ) );
Add( new GenericBuyInfo( typeof( Tongs ), 13, 14, 0xFBB, 0 ) );
Add( new GenericBuyInfo( typeof( BronzeShield ), 66, 20, 0x1B72, 0 ) );
Add( new GenericBuyInfo( typeof( Buckler ), 50, 20, 0x1B73, 0 ) );
Add( new GenericBuyInfo( typeof( MetalKiteShield ), 123, 20, 0x1B74, 0 ) );
@ -115,15 +115,15 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Scepter ), 39, 20, 0x26BC, 0 ) );
Add( new GenericBuyInfo( typeof( BladedStaff ), 40, 20, 0x26BD, 0 ) );
}
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Tongs ), 7 );
Add( typeof( IronIngot ), 4 );
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Tongs ), 7 );
Add( typeof( IronIngot ), 4 );
Add( typeof( Buckler ), 25 );
Add( typeof( BronzeShield ), 33 );
@ -189,7 +189,7 @@ namespace Server.Mobiles
Add( typeof( HeavyCrossbow ), 27 );
Add( typeof( Bow ), 17 );
Add( typeof( Crossbow ), 23 );
Add( typeof( Crossbow ), 23 );
if( Core.AOS )
{
@ -228,7 +228,7 @@ namespace Server.Mobiles
Add( typeof( VikingSword ), 27 );
}
}
}
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -32,4 +32,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,53 +1,53 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBButcher : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBButcher : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBButcher()
{
}
public SBButcher()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Bacon ), 7, 20, 0x979, 0 ) );
Add( new GenericBuyInfo( typeof( Ham ), 26, 20, 0x9C9, 0 ) );
Add( new GenericBuyInfo( typeof( Ham ), 26, 20, 0x9C9, 0 ) );
Add( new GenericBuyInfo( typeof( Sausage ), 18, 20, 0x9C0, 0 ) );
Add( new GenericBuyInfo( typeof( RawChickenLeg ), 6, 20, 0x1607, 0 ) );
Add( new GenericBuyInfo( typeof( RawBird ), 9, 20, 0x9B9, 0 ) );
Add( new GenericBuyInfo( typeof( RawBird ), 9, 20, 0x9B9, 0 ) );
Add( new GenericBuyInfo( typeof( RawLambLeg ), 9, 20, 0x1609, 0 ) );
Add( new GenericBuyInfo( typeof( RawRibs ), 16, 20, 0x9F1, 0 ) );
Add( new GenericBuyInfo( typeof( ButcherKnife ), 13, 20, 0x13F6, 0 ) );
Add( new GenericBuyInfo( typeof( Cleaver ), 13, 20, 0xEC3, 0 ) );
Add( new GenericBuyInfo( typeof( SkinningKnife ), 13, 20, 0xEC4, 0 ) );
}
}
Add( new GenericBuyInfo( typeof( SkinningKnife ), 13, 20, 0xEC4, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( RawRibs ), 8 );
Add( typeof( RawLambLeg ), 4 );
Add( typeof( RawChickenLeg ), 3 );
Add( typeof( RawBird ), 4 );
Add( typeof( Bacon ), 3 );
Add( typeof( Sausage ), 9 );
Add( typeof( Ham ), 13 );
Add( typeof( ButcherKnife ), 7 );
Add( typeof( Cleaver ), 7 );
Add( typeof( SkinningKnife ), 7 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( RawRibs ), 8 );
Add( typeof( RawLambLeg ), 4 );
Add( typeof( RawChickenLeg ), 3 );
Add( typeof( RawBird ), 4 );
Add( typeof( Bacon ), 3 );
Add( typeof( Sausage ), 9 );
Add( typeof( Ham ), 13 );
Add( typeof( ButcherKnife ), 7 );
Add( typeof( Cleaver ), 7 );
Add( typeof( SkinningKnife ), 7 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -1,41 +1,41 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBCobbler : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBCobbler : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBCobbler()
{
}
public SBCobbler()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( ThighBoots ), 15, 20, 0x1711, Utility.RandomNeutralHue() ) );
Add( new GenericBuyInfo( typeof( Shoes ), 8, 20, 0x170f, Utility.RandomNeutralHue() ) );
Add( new GenericBuyInfo( typeof( Boots ), 10, 20, 0x170b, Utility.RandomNeutralHue() ) );
Add( new GenericBuyInfo( typeof( Sandals ), 5, 20, 0x170d, Utility.RandomNeutralHue() ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Shoes ), 4 );
Add( typeof( Boots ), 5 );
Add( typeof( ThighBoots ), 7 );
Add( typeof( Sandals ), 2 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Shoes ), 4 );
Add( typeof( Boots ), 5 );
Add( typeof( ThighBoots ), 7 );
Add( typeof( Sandals ), 2 );
}
}
}
}

View file

@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBCook : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBCook : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBCook()
{
}
public SBCook()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( BreadLoaf ), 5, 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
@ -50,13 +50,13 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( FlourSifter ), 2, 20, 0x103E, 0 ) );
Add( new GenericBuyInfo( "1044567", typeof( Skillet ), 3, 20, 0x97F, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( CheeseWheel ), 12 );
Add( typeof( CookedBird ), 8 );
Add( typeof( RoastPig ), 53 );
@ -83,7 +83,7 @@ namespace Server.Mobiles
Add( typeof( PewterBowlOfPotatos ), 1 );
Add( typeof( WoodenBowlOfStew ), 1 );
Add( typeof( WoodenBowlOfTomatoSoup ), 1 );
}
}
}
}
}
}
}
}

View file

@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBFarmer : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBFarmer : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBFarmer()
{
}
public SBFarmer()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Cabbage ), 5, 20, 0xC7B, 0 ) );
Add( new GenericBuyInfo( typeof( Cantaloupe ), 6, 20, 0xC79, 0 ) );
Add( new GenericBuyInfo( typeof( Carrot ), 3, 20, 0xC78, 0 ) );
@ -43,13 +43,13 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Apple ), 3, 20, 0x9D0, 0 ) );
Add( new GenericBuyInfo( typeof( SheafOfHay ), 2, 20, 0xF36, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Pitcher ), 5 );
Add( typeof( Eggs ), 1 );
Add( typeof( Apple ), 1 );
@ -70,7 +70,7 @@ namespace Server.Mobiles
Add( typeof( Peach ), 1 );
Add( typeof( Pear ), 1 );
Add( typeof( SheafOfHay ), 1 );
}
}
}
}
}
}
}
}

View file

@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using Server.Items;
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();
namespace Server.Mobiles
{
public class SBFisherman : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBFisherman()
{
}
public SBFisherman()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
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 ) );
@ -38,18 +38,18 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( AquariumEastDeed ), 250002, 20, 0x14F0, 0 ) );
Add( new GenericBuyInfo( typeof( NewAquariumBook ), 15, 20, 0xFF2, 0 ) );
#endregion
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( RawFishSteak ), 1 );
Add( typeof( Fish ), 1 );
//TODO: Add( typeof( SmallFish ), 1 );
Add( typeof( FishingPole ), 7 );
}
}
}
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -32,4 +32,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,35 +1,35 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBFurtrader : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBFurtrader : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBFurtrader()
{
}
public SBFurtrader()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Hides ), 3, 40, 0x1079, 0 ) );
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Hides ), 3, 40, 0x1079, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Hides ), 2 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Hides ), 2 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -40,9 +40,9 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 20, 0xF8D, 0 ) );
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 3, 20, 0xF8C, 0 ) );
Add( new GenericBuyInfo( typeof( Bottle ), 5, 100, 0xF0E, 0 ) );
Add( new GenericBuyInfo( typeof( Bottle ), 5, 100, 0xF0E, 0 ) );
Add( new GenericBuyInfo( typeof( HeatingStand ), 2, 100, 0x1849, 0 ) );
Add( new GenericBuyInfo( typeof( HeatingStand ), 2, 100, 0x1849, 0 ) );
Add( new GenericBuyInfo( "Crafting Glass With Glassblowing", typeof( GlassblowingBook ), 10637, 30, 0xFF4, 0 ) );
Add( new GenericBuyInfo( "Finding Glass-Quality Sand", typeof( SandMiningBook ), 10637, 30, 0xFF4, 0 ) );
@ -54,14 +54,14 @@ namespace Server.Mobiles
{
public InternalSellInfo()
{
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( Bottle ), 3 );
Add( typeof( MortarPestle ), 4 );
@ -80,4 +80,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,39 +1,39 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBHairStylist : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBHairStylist : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBHairStylist()
{
}
public SBHairStylist()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( "special beard dye", typeof( SpecialBeardDye ), 500000, 20, 0xE26, 0 ) );
Add( new GenericBuyInfo( "special hair dye", typeof( SpecialHairDye ), 500000, 20, 0xE26, 0 ) );
Add( new GenericBuyInfo( "1041060", typeof( HairDye ), 60, 20, 0xEFF, 0 ) );
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( "special beard dye", typeof( SpecialBeardDye ), 500000, 20, 0xE26, 0 ) );
Add( new GenericBuyInfo( "special hair dye", typeof( SpecialHairDye ), 500000, 20, 0xE26, 0 ) );
Add( new GenericBuyInfo( "1041060", typeof( HairDye ), 60, 20, 0xEFF, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( HairDye ), 30 );
Add( typeof( SpecialBeardDye ), 250000 );
Add( typeof( SpecialHairDye ), 250000 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( HairDye ), 30 );
Add( typeof( SpecialBeardDye ), 250000 );
Add( typeof( SpecialHairDye ), 250000 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -40,4 +40,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,47 +1,47 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBHerbalist : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBHerbalist : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBHerbalist()
{
}
public SBHerbalist()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 20, 0xF85, 0 ) );
Add( new GenericBuyInfo( typeof( Garlic ), 3, 20, 0xF84, 0 ) );
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 20, 0xF86, 0 ) );
Add( new GenericBuyInfo( typeof( Nightshade ), 3, 20, 0xF88, 0 ) );
Add( new GenericBuyInfo( typeof( Bloodmoss ), 5, 20, 0xF7B, 0 ) );
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 20, 0xF85, 0 ) );
Add( new GenericBuyInfo( typeof( Garlic ), 3, 20, 0xF84, 0 ) );
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 20, 0xF86, 0 ) );
Add( new GenericBuyInfo( typeof( Nightshade ), 3, 20, 0xF88, 0 ) );
Add( new GenericBuyInfo( typeof( Bloodmoss ), 5, 20, 0xF7B, 0 ) );
Add( new GenericBuyInfo( typeof( MortarPestle ), 8, 20, 0xE9B, 0 ) );
Add( new GenericBuyInfo( typeof( Bottle ), 5, 20, 0xF0E, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( Bottle ), 3 );
Add( typeof( MortarPestle ), 4 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( Bottle ), 3 );
Add( typeof( MortarPestle ), 4 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -30,7 +30,7 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( RefreshPotion ), 15, 20, 0xF0B, 0 ) );
Add( new GenericBuyInfo( typeof( AgilityPotion ), 15, 20, 0xF08, 0 ) );
Add( new GenericBuyInfo( typeof( NightSightPotion ), 15, 20, 0xF06, 0 ) );
Add( new GenericBuyInfo( typeof( NightSightPotion ), 15, 20, 0xF06, 0 ) );
Add( new GenericBuyInfo( typeof( LesserHealPotion ), 15, 20, 0xF0C, 0 ) );
Add( new GenericBuyInfo( typeof( StrengthPotion ), 15, 20, 0xF09, 0 ) );
Add( new GenericBuyInfo( typeof( LesserCurePotion ), 15, 20, 0xF07, 0 ) );
@ -64,14 +64,14 @@ namespace Server.Mobiles
{
public InternalSellInfo()
{
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ), 3 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( RecallRune ), 8 );
Add( typeof( Spellbook ), 9 );
Add( typeof( BlankScroll ), 3 );
@ -90,4 +90,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -112,4 +112,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -31,4 +31,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,37 +1,37 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBLeatherWorker: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBLeatherWorker: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBLeatherWorker()
{
}
public SBLeatherWorker()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Hides ), 4, 999, 0x1078, 0 ) );
Add( new GenericBuyInfo( typeof( ThighBoots ), 56, 10, 0x1711, 0 ) );
}
}
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Hides ), 4, 999, 0x1078, 0 ) );
Add( new GenericBuyInfo( typeof( ThighBoots ), 56, 10, 0x1711, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Hides ), 2 );
Add( typeof( ThighBoots ), 28 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Hides ), 2 );
Add( typeof( ThighBoots ), 28 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -24,7 +24,7 @@ namespace Server.Mobiles
if ( Core.AOS )
Add( new GenericBuyInfo( typeof( NecromancerSpellbook ), 115, 10, 0x2253, 0 ) );
Add( new GenericBuyInfo( typeof( ScribesPen ), 8, 10, 0xFBF, 0 ) );
Add( new GenericBuyInfo( typeof( BlankScroll ), 5, 20, 0x0E34, 0 ) );
@ -83,14 +83,14 @@ namespace Server.Mobiles
public InternalSellInfo()
{
Add( typeof( WizardsHat ), 15 );
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ),4 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
Add( typeof( BlackPearl ), 3 );
Add( typeof( Bloodmoss ),4 );
Add( typeof( MandrakeRoot ), 2 );
Add( typeof( Garlic ), 2 );
Add( typeof( Ginseng ), 2 );
Add( typeof( Nightshade ), 2 );
Add( typeof( SpidersSilk ), 2 );
Add( typeof( SulfurousAsh ), 2 );
if ( Core.AOS )
{
@ -132,4 +132,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -44,4 +44,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,37 +1,37 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBMiller : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBMiller : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBMiller()
{
}
public SBMiller()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( SackFlour ), 3, 20, 0x1039, 0 ) );
Add( new GenericBuyInfo( typeof( SheafOfHay ), 2, 20, 0xF36, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( SackFlour ), 1 );
Add( typeof( SheafOfHay ), 1 );
}
}
}
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -44,4 +44,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -46,4 +46,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -14,8 +14,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -33,11 +33,11 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Backpack ), 15, 20, 0x9B2, 0 ) );
Add( new GenericBuyInfo( typeof( Pouch ), 6, 20, 0xE79, 0 ) );
Add( new GenericBuyInfo( typeof( Bag ), 6, 20, 0xE76, 0 ) );
Add( new GenericBuyInfo( typeof( Candle ), 6, 20, 0xA28, 0 ) );
Add( new GenericBuyInfo( typeof( Torch ), 8, 20, 0xF6B, 0 ) );
Add( new GenericBuyInfo( typeof( Lantern ), 2, 20, 0xA25, 0 ) );
//TODO: Oil Flask @ 8GP
Add( new GenericBuyInfo( typeof( Lockpick ), 12, 20, 0x14FC, 0 ) );

View file

@ -14,8 +14,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -32,4 +32,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -35,4 +35,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -34,4 +34,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -50,4 +50,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -36,4 +36,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -42,4 +42,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -14,8 +14,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -38,4 +38,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,38 +1,38 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBSmithTools: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBSmithTools: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBSmithTools()
{
}
public SBSmithTools()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( IronIngot ), 5, 16, 0x1BF2, 0 ) );
Add( new GenericBuyInfo( typeof( Tongs ), 13, 14, 0xFBB, 0 ) );
Add( new GenericBuyInfo( typeof( Tongs ), 13, 14, 0xFBB, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Tongs ), 7 );
Add( typeof( IronIngot ), 4 );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Tongs ), 7 );
Add( typeof( IronIngot ), 4 );
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -53,7 +53,7 @@ namespace Server.Mobiles
Add( typeof( MediumCrate ), 6 );
Add( typeof( LargeCrate ), 7 );
Add( typeof( WoodenChest ), 15 );
Add( typeof( LargeTable ), 10 );
Add( typeof( Nightstand ), 7 );
Add( typeof( YewWoodTable ), 10 );
@ -93,4 +93,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,17 +13,17 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( SewingKit ), 3, 20, 0xF9D, 0 ) );
Add( new GenericBuyInfo( typeof( SewingKit ), 3, 20, 0xF9D, 0 ) );
Add( new GenericBuyInfo( typeof( Scissors ), 11, 20, 0xF9F, 0 ) );
Add( new GenericBuyInfo( typeof( DyeTub ), 8, 20, 0xFAB, 0 ) );
Add( new GenericBuyInfo( typeof( Dyes ), 8, 20, 0xFA9, 0 ) );
Add( new GenericBuyInfo( typeof( DyeTub ), 8, 20, 0xFAB, 0 ) );
Add( new GenericBuyInfo( typeof( Dyes ), 8, 20, 0xFA9, 0 ) );
Add( new GenericBuyInfo( typeof( Shirt ), 12, 20, 0x1517, 0 ) );
Add( new GenericBuyInfo( typeof( ShortPants ), 7, 20, 0x152E, 0 ) );
@ -54,10 +54,10 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Bandana ), 6, 20, 0x1540, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( SkullCap ), 7, 20, 0x1544, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf95, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf95, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( Cloth ), 2, 20, 0x1766, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 2, 20, 0x1767, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( Cloth ), 2, 20, 0x1766, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 2, 20, 0x1767, Utility.RandomDyedHue() ) );
Add( new GenericBuyInfo( typeof( Cotton ), 102, 20, 0xDF9, 0 ) );
Add( new GenericBuyInfo( typeof( Wool ), 62, 20, 0xDF8, 0 ) );

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -65,7 +65,7 @@ namespace Server.Mobiles
Add( typeof( Leather ), 5 );
Add( typeof( SkinningKnife ), 7 );
Add( typeof( LeatherArms ), 18 );
Add( typeof( LeatherChest ), 23 );
Add( typeof( LeatherGloves ), 15 );
@ -89,4 +89,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -61,7 +61,7 @@ namespace Server.Mobiles
if ( Multis.BaseHouse.NewVendorSystem )
Add( new GenericBuyInfo( "1062332", typeof( VendorRentalContract ), 1252, 20, 0x14F0, 0x672 ) );
/*if ( Map == Tokuno )
{
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E8, 0 ) );
@ -109,4 +109,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -47,4 +47,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBTinker: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBTinker: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBTinker()
{
}
public SBTinker()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Clock ), 22, 20, 0x104B, 0 ) );
Add( new GenericBuyInfo( typeof( Nails ), 3, 20, 0x102E, 0 ) );
Add( new GenericBuyInfo( typeof( ClockParts ), 3, 20, 0x104F, 0 ) );
@ -74,13 +74,13 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Tambourine ), 21, 20, 0x0E9E, 0 ) );
Add( new GenericBuyInfo( typeof( LapHarp ), 21, 20, 0x0EB2, 0 ) );
Add( new GenericBuyInfo( typeof( Lute ), 21, 20, 0x0EB3, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Drums ), 10 );
Add( typeof( Tambourine ), 10 );
Add( typeof( LapHarp ), 10 );
@ -124,7 +124,7 @@ namespace Server.Mobiles
Add( typeof( Hammer ), 3 );
Add( typeof( SmithHammer ), 11 );
Add( typeof( ButcherKnife ), 6 );
}
}
}
}
}
}
}
}

View file

@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
namespace Server.Mobiles
{
public class SBVagabond : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -74,4 +74,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
namespace Server.Mobiles
{
public class SBVarietyDealer : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -36,14 +36,14 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Bolt ), 6, Utility.Random( 30, 60 ), 0x1BFB, 0 ) );
Add( new GenericBuyInfo( typeof( Arrow ), 3, Utility.Random( 30, 60 ), 0xF3F, 0 ) );
Add( new GenericBuyInfo( typeof( BlackPearl ), 5, 999, 0xF7A, 0 ) );
Add( new GenericBuyInfo( typeof( Bloodmoss ), 5, 999, 0xF7B, 0 ) );
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 999, 0xF86, 0 ) );
Add( new GenericBuyInfo( typeof( Garlic ), 3, 999, 0xF84, 0 ) );
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 999, 0xF85, 0 ) );
Add( new GenericBuyInfo( typeof( Nightshade ), 3, 999, 0xF88, 0 ) );
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 999, 0xF8D, 0 ) );
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 3, 999, 0xF8C, 0 ) );
Add( new GenericBuyInfo( typeof( BlackPearl ), 5, 999, 0xF7A, 0 ) );
Add( new GenericBuyInfo( typeof( Bloodmoss ), 5, 999, 0xF7B, 0 ) );
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 999, 0xF86, 0 ) );
Add( new GenericBuyInfo( typeof( Garlic ), 3, 999, 0xF84, 0 ) );
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 999, 0xF85, 0 ) );
Add( new GenericBuyInfo( typeof( Nightshade ), 3, 999, 0xF88, 0 ) );
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 999, 0xF8D, 0 ) );
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 3, 999, 0xF8C, 0 ) );
Add( new GenericBuyInfo( typeof( BreadLoaf ), 7, 10, 0x103B, 0 ) );
Add( new GenericBuyInfo( typeof( Backpack ), 15, 20, 0x9B2, 0 ) );
@ -133,4 +133,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -36,4 +36,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -60,4 +60,4 @@ namespace Server.Mobiles
}
}
}
}
}

View file

@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBWeaponSmith: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBWeaponSmith: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBWeaponSmith()
{
}
public SBWeaponSmith()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( BlackStaff ), 22, 20, 0xDF1, 0 ) );
Add( new GenericBuyInfo( typeof( Club ), 16, 20, 0x13B4, 0 ) );
Add( new GenericBuyInfo( typeof( GnarledStaff ), 16, 20, 0x13F8, 0 ) );
@ -43,8 +43,8 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Hatchet ), 27, 20, 0xF43, 0 ) );
Add( new GenericBuyInfo( typeof( WarFork ), 32, 20, 0x1405, 0 ) );
switch ( Utility.Random( 3 ))
{
switch ( Utility.Random( 3 ))
{
case 0:
{
Add( new GenericBuyInfo( typeof( ExecutionersAxe ), 30, 20, 0xF45, 0 ) );
@ -102,14 +102,14 @@ namespace Server.Mobiles
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( BattleAxe ), 13 );
Add( typeof( DoubleAxe ), 26 );
Add( typeof( ExecutionersAxe ), 15 );
@ -136,7 +136,7 @@ namespace Server.Mobiles
Add( typeof( HeavyCrossbow ), 27 );
Add( typeof( Bow ), 17 );
Add( typeof( Crossbow ), 23 );
Add( typeof( Crossbow ), 23 );
if( Core.AOS )
{
@ -176,7 +176,7 @@ namespace Server.Mobiles
Add( typeof( Hatchet ), 13 );
Add( typeof( WarFork ), 16 );
}
}
}
}
}
}
}

View file

@ -1,37 +1,37 @@
using System;
using System.Collections.Generic;
using Server.Items;
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBWeaver: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
namespace Server.Mobiles
{
public class SBWeaver: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBWeaver()
{
}
public SBWeaver()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Dyes ), 8, 20, 0xFA9, 0 ) );
Add( new GenericBuyInfo( typeof( DyeTub ), 8, 20, 0xFAB, 0 ) );
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Dyes ), 8, 20, 0xFA9, 0 ) );
Add( new GenericBuyInfo( typeof( DyeTub ), 8, 20, 0xFAB, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1761, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1762, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1763, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1764, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1761, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1762, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1763, 0 ) );
Add( new GenericBuyInfo( typeof( UncutCloth ), 3, 20, 0x1764, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf9B, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf9C, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf96, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf97, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf9B, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf9C, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf96, 0 ) );
Add( new GenericBuyInfo( typeof( BoltOfCloth ), 100, 20, 0xf97, 0 ) );
Add( new GenericBuyInfo( typeof( DarkYarn ), 18, 20, 0xE1D, 0 ) );
Add( new GenericBuyInfo( typeof( LightYarn ), 18, 20, 0xE1E, 0 ) );
@ -39,22 +39,22 @@ namespace Server.Mobiles
Add( new GenericBuyInfo( typeof( Scissors ), 11, 20, 0xF9F, 0 ) );
}
}
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Scissors ), 6 );
Add( typeof( Dyes ), 4 );
Add( typeof( DyeTub ), 4 );
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Scissors ), 6 );
Add( typeof( Dyes ), 4 );
Add( typeof( DyeTub ), 4 );
Add( typeof( UncutCloth ), 1 );
Add( typeof( BoltOfCloth ), 50 );
Add( typeof( BoltOfCloth ), 50 );
Add( typeof( LightYarnUnraveled ), 9 );
Add( typeof( LightYarn ), 9 );
Add( typeof( DarkYarn ), 9 );
}
}
}
}
}
}
}
}

View file

@ -13,8 +13,8 @@ namespace Server.Mobiles
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public override IShopSellInfo SellInfo => m_SellInfo;
public override List<GenericBuyInfo> BuyInfo => m_BuyInfo;
public class InternalBuyInfo : List<GenericBuyInfo>
{
@ -47,4 +47,4 @@ namespace Server.Mobiles
}
}
}
}
}

Some files were not shown because too many files have changed in this diff Show more