Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
27
Scripts/VendorInfo/AnimalBuy.cs
Normal file
27
Scripts/VendorInfo/AnimalBuy.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class AnimalBuyInfo : GenericBuyInfo
|
||||
{
|
||||
private readonly int m_ControlSlots;
|
||||
public AnimalBuyInfo(int controlSlots, Type type, int price, int amount, int itemID, int hue)
|
||||
: this(controlSlots, null, type, price, amount, itemID, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public AnimalBuyInfo(int controlSlots, string name, Type type, int price, int amount, int itemID, int hue)
|
||||
: base(name, type, price, amount, itemID, hue)
|
||||
{
|
||||
m_ControlSlots = controlSlots;
|
||||
}
|
||||
|
||||
public override int ControlSlots
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ControlSlots;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
39
Scripts/VendorInfo/BeverageBuy.cs
Normal file
39
Scripts/VendorInfo/BeverageBuy.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class BeverageBuyInfo : GenericBuyInfo
|
||||
{
|
||||
private readonly BeverageType m_Content;
|
||||
public BeverageBuyInfo(Type type, BeverageType content, int price, int amount, int itemID, int hue)
|
||||
: this(null, type, content, price, amount, itemID, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public BeverageBuyInfo(string name, Type type, BeverageType content, int price, int amount, int itemID, int hue)
|
||||
: base(name, type, price, amount, itemID, hue)
|
||||
{
|
||||
m_Content = content;
|
||||
|
||||
if (type == typeof(Pitcher))
|
||||
Name = (1048128 + (int)content).ToString();
|
||||
else if (type == typeof(BeverageBottle))
|
||||
Name = (1042959 + (int)content).ToString();
|
||||
else if (type == typeof(Jug))
|
||||
Name = (1042965 + (int)content).ToString();
|
||||
}
|
||||
|
||||
public override bool CanCacheDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public override IEntity GetEntity()
|
||||
{
|
||||
return (IEntity)Activator.CreateInstance(Type, new object[] { m_Content });
|
||||
}
|
||||
}
|
||||
}
|
||||
507
Scripts/VendorInfo/GenericBuy.cs
Normal file
507
Scripts/VendorInfo/GenericBuy.cs
Normal file
@@ -0,0 +1,507 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
using System.Linq;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class GenericBuyInfo : IBuyItemInfo
|
||||
{
|
||||
public static Dictionary<Type, int> BuyPrices = new Dictionary<Type, int>();
|
||||
private Type m_Type;
|
||||
private string m_Name;
|
||||
private int m_Price;
|
||||
private int m_MaxAmount, m_Amount;
|
||||
private int m_ItemID;
|
||||
private int m_Hue;
|
||||
private object[] m_Args;
|
||||
private IEntity m_DisplayEntity;
|
||||
private int m_PriceScalar;
|
||||
private bool m_Stackable;
|
||||
private int m_TotalBought;
|
||||
private int m_TotalSold;
|
||||
|
||||
public GenericBuyInfo(Type type, int price, int amount, int itemID, int hue, bool stacks = false)
|
||||
: this(null, type, price, amount, itemID, hue, null, stacks)
|
||||
{
|
||||
}
|
||||
|
||||
public GenericBuyInfo(string name, Type type, int price, int amount, int itemID, int hue, bool stacks = false)
|
||||
: this(name, type, price, amount, itemID, hue, null, stacks)
|
||||
{
|
||||
}
|
||||
|
||||
public GenericBuyInfo(Type type, int price, int amount, int itemID, int hue, object[] args, bool stacks = false)
|
||||
: this(null, type, price, amount, itemID, hue, args, stacks)
|
||||
{
|
||||
}
|
||||
|
||||
public GenericBuyInfo(string name, Type type, int price, int amount, int itemID, int hue, object[] args, bool stacks = false)
|
||||
{
|
||||
if(type != null)
|
||||
BuyPrices[type] = price;
|
||||
|
||||
m_Type = type;
|
||||
m_Price = price;
|
||||
m_ItemID = itemID;
|
||||
m_Hue = hue;
|
||||
m_Args = args;
|
||||
m_Stackable = stacks;
|
||||
|
||||
if (type != null && EconomyItem)
|
||||
{
|
||||
m_MaxAmount = m_Amount = BaseVendor.EconomyStockAmount;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_MaxAmount = m_Amount = amount;
|
||||
}
|
||||
|
||||
if(Siege.SiegeShard)
|
||||
{
|
||||
m_Price *= 3;
|
||||
}
|
||||
|
||||
if (name == null)
|
||||
m_Name = itemID < 0x4000 ? (1020000 + itemID).ToString() : (1078872 + itemID).ToString();
|
||||
else
|
||||
m_Name = name;
|
||||
}
|
||||
|
||||
public virtual int ControlSlots
|
||||
{
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
public virtual bool CanCacheDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}//return ( m_Args == null || m_Args.Length == 0 ); }
|
||||
public Type Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Type;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Type = value;
|
||||
}
|
||||
}
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Name;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Name = value;
|
||||
}
|
||||
}
|
||||
public int DefaultPrice
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_PriceScalar;
|
||||
}
|
||||
}
|
||||
public int PriceScalar
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_PriceScalar;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_PriceScalar = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int TotalBought
|
||||
{
|
||||
get { return m_TotalBought; }
|
||||
set { m_TotalBought = value; }
|
||||
}
|
||||
|
||||
public int TotalSold
|
||||
{
|
||||
get { return m_TotalSold; }
|
||||
set { m_TotalSold = value; }
|
||||
}
|
||||
|
||||
public virtual bool Stackable
|
||||
{
|
||||
get { return m_Stackable; }
|
||||
set { m_Stackable = value; }
|
||||
}
|
||||
|
||||
public bool EconomyItem { get { return BaseVendor.UseVendorEconomy && m_Stackable; } }
|
||||
|
||||
public int Price
|
||||
{
|
||||
get
|
||||
{
|
||||
int ecoInc = 0;
|
||||
|
||||
if (EconomyItem)
|
||||
{
|
||||
if (m_TotalBought >= BaseVendor.BuyItemChange)
|
||||
{
|
||||
ecoInc += m_TotalBought / BaseVendor.BuyItemChange;
|
||||
}
|
||||
|
||||
if (m_TotalSold >= BaseVendor.SellItemChange)
|
||||
{
|
||||
ecoInc -= m_TotalSold / BaseVendor.SellItemChange;
|
||||
}
|
||||
}
|
||||
|
||||
if (m_PriceScalar != 0)
|
||||
{
|
||||
if (m_Price > 5000000)
|
||||
{
|
||||
long price = m_Price;
|
||||
|
||||
price *= m_PriceScalar;
|
||||
price += 50;
|
||||
price /= 100;
|
||||
|
||||
if (price > int.MaxValue)
|
||||
price = int.MaxValue;
|
||||
|
||||
if (EconomyItem && (int)price + ecoInc < 2)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
return (int)price + ecoInc;
|
||||
}
|
||||
|
||||
if (EconomyItem && (((m_Price * m_PriceScalar) + 50) / 100) + ecoInc < 2)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
return (((m_Price * m_PriceScalar) + 50) / 100) + ecoInc;
|
||||
}
|
||||
|
||||
if (EconomyItem && m_Price + ecoInc < 2)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
return m_Price + ecoInc;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Price = value;
|
||||
}
|
||||
}
|
||||
public int ItemID
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ItemID;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_ItemID = value;
|
||||
}
|
||||
}
|
||||
public int Hue
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Hue;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Hue = value;
|
||||
}
|
||||
}
|
||||
public int Amount
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Amount;
|
||||
}
|
||||
set
|
||||
{
|
||||
// Amount is ALWAYS 500
|
||||
if (EconomyItem)
|
||||
{
|
||||
m_Amount = BaseVendor.EconomyStockAmount;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (value < 0)
|
||||
value = 0;
|
||||
|
||||
m_Amount = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
public int MaxAmount
|
||||
{
|
||||
get
|
||||
{
|
||||
// Amount is ALWAYS 500
|
||||
if (EconomyItem)
|
||||
{
|
||||
return BaseVendor.EconomyStockAmount;
|
||||
}
|
||||
|
||||
return m_MaxAmount;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_MaxAmount = value;
|
||||
}
|
||||
}
|
||||
public object[] Args
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Args;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Args = value;
|
||||
}
|
||||
}
|
||||
public void DeleteDisplayEntity()
|
||||
{
|
||||
if (m_DisplayEntity == null)
|
||||
return;
|
||||
|
||||
m_DisplayEntity.Delete();
|
||||
m_DisplayEntity = null;
|
||||
}
|
||||
|
||||
public IEntity GetDisplayEntity()
|
||||
{
|
||||
if (m_DisplayEntity != null && !IsDeleted(m_DisplayEntity))
|
||||
return m_DisplayEntity;
|
||||
|
||||
bool canCache = CanCacheDisplay;
|
||||
|
||||
if (canCache)
|
||||
m_DisplayEntity = DisplayCache.Cache.Lookup(m_Type);
|
||||
|
||||
if (m_DisplayEntity == null || IsDeleted(m_DisplayEntity))
|
||||
m_DisplayEntity = GetEntity();
|
||||
|
||||
DisplayCache.Cache.Store(m_Type, m_DisplayEntity, canCache);
|
||||
|
||||
return m_DisplayEntity;
|
||||
}
|
||||
|
||||
//get a new instance of an object (we just bought it)
|
||||
public virtual IEntity GetEntity()
|
||||
{
|
||||
if (m_Args == null || m_Args.Length == 0)
|
||||
return (IEntity)Activator.CreateInstance(m_Type);
|
||||
|
||||
return (IEntity)Activator.CreateInstance(m_Type, m_Args);
|
||||
//return (Item)Activator.CreateInstance( m_Type );
|
||||
}
|
||||
|
||||
//Attempt to restock with item, (return true if restock sucessful)
|
||||
public virtual bool Restock(Item item, int amount)
|
||||
{
|
||||
if (item == null || item.GetType() != m_Type)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return EconomyItem;
|
||||
}
|
||||
|
||||
public virtual void OnRestock()
|
||||
{
|
||||
if (m_Amount <= 0)
|
||||
{
|
||||
m_MaxAmount *= 2;
|
||||
|
||||
if (m_MaxAmount >= 999)
|
||||
m_MaxAmount = 999;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* NOTE: According to UO.com, the quantity is halved if the item does not reach 0
|
||||
* Here we implement differently: the quantity is halved only if less than half
|
||||
* of the maximum quantity was bought. That is, if more than half is sold, then
|
||||
* there's clearly a demand and we should not cut down on the stock.
|
||||
*/
|
||||
int halfQuantity = m_MaxAmount;
|
||||
|
||||
if (halfQuantity >= 999)
|
||||
halfQuantity = 640;
|
||||
else if (halfQuantity > 20)
|
||||
halfQuantity /= 2;
|
||||
|
||||
if (m_Amount >= halfQuantity)
|
||||
m_MaxAmount = halfQuantity;
|
||||
}
|
||||
|
||||
m_Amount = m_MaxAmount;
|
||||
}
|
||||
|
||||
private bool IsDeleted(IEntity obj)
|
||||
{
|
||||
if (obj is Item)
|
||||
return ((Item)obj).Deleted;
|
||||
else if (obj is Mobile)
|
||||
return ((Mobile)obj).Deleted;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public void OnBought(Mobile buyer, BaseVendor vendor, IEntity entity, int amount)
|
||||
{
|
||||
if (EconomyItem)
|
||||
{
|
||||
foreach (var bii in vendor.GetBuyInfo().OfType<GenericBuyInfo>())
|
||||
{
|
||||
if (bii.Type == m_Type || (m_Type == typeof(UncutCloth) && bii.Type == typeof(Cloth)) || (m_Type == typeof(Cloth) && bii.Type == typeof(UncutCloth)))
|
||||
{
|
||||
bii.TotalBought += amount;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
EventSink.InvokeValidVendorPurchase(new ValidVendorPurchaseEventArgs(buyer, vendor, entity, m_Price));
|
||||
}
|
||||
|
||||
public void OnSold(BaseVendor vendor, int amount)
|
||||
{
|
||||
if (EconomyItem)
|
||||
{
|
||||
foreach (var bii in vendor.GetBuyInfo().OfType<GenericBuyInfo>())
|
||||
{
|
||||
if (bii.Type == m_Type || (m_Type == typeof(UncutCloth) && bii.Type == typeof(Cloth)) || (m_Type == typeof(Cloth) && bii.Type == typeof(UncutCloth)))
|
||||
{
|
||||
bii.TotalSold += amount;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsDisplayCache(IEntity e)
|
||||
{
|
||||
if (e is Mobile)
|
||||
{
|
||||
return DisplayCache.Cache.Mobiles != null && DisplayCache.Cache.Mobiles.Contains((Mobile)e);
|
||||
}
|
||||
|
||||
return DisplayCache.Cache.Table != null && DisplayCache.Cache.Table.ContainsValue(e);
|
||||
}
|
||||
|
||||
private class DisplayCache : Container
|
||||
{
|
||||
private static DisplayCache m_Cache;
|
||||
private Dictionary<Type, IEntity> m_Table;
|
||||
private List<Mobile> m_Mobiles;
|
||||
|
||||
public List<Mobile> Mobiles { get { return m_Mobiles; } }
|
||||
public Dictionary<Type, IEntity> Table { get { return m_Table; } }
|
||||
|
||||
public DisplayCache()
|
||||
: base(0)
|
||||
{
|
||||
m_Table = new Dictionary<Type, IEntity>();
|
||||
m_Mobiles = new List<Mobile>();
|
||||
}
|
||||
|
||||
public DisplayCache(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public static DisplayCache Cache
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_Cache == null || m_Cache.Deleted)
|
||||
m_Cache = new DisplayCache();
|
||||
|
||||
return m_Cache;
|
||||
}
|
||||
}
|
||||
public IEntity Lookup(Type key)
|
||||
{
|
||||
IEntity e = null;
|
||||
m_Table.TryGetValue(key, out e);
|
||||
return e;
|
||||
}
|
||||
|
||||
public void Store(Type key, IEntity obj, bool cache)
|
||||
{
|
||||
if (cache)
|
||||
m_Table[key] = obj;
|
||||
|
||||
if (obj is Item)
|
||||
AddItem((Item)obj);
|
||||
else if (obj is Mobile)
|
||||
m_Mobiles.Add((Mobile)obj);
|
||||
}
|
||||
|
||||
public override void OnAfterDelete()
|
||||
{
|
||||
base.OnAfterDelete();
|
||||
|
||||
for (int i = 0; i < m_Mobiles.Count; ++i)
|
||||
m_Mobiles[i].Delete();
|
||||
|
||||
m_Mobiles.Clear();
|
||||
|
||||
for (int i = Items.Count - 1; i >= 0; --i)
|
||||
if (i < Items.Count)
|
||||
Items[i].Delete();
|
||||
|
||||
if (m_Cache == this)
|
||||
m_Cache = null;
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
|
||||
writer.Write(m_Mobiles);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
m_Mobiles = reader.ReadStrongMobileList();
|
||||
|
||||
for (int i = 0; i < m_Mobiles.Count; ++i)
|
||||
m_Mobiles[i].Delete();
|
||||
|
||||
m_Mobiles.Clear();
|
||||
|
||||
for (int i = Items.Count - 1; i >= 0; --i)
|
||||
if (i < Items.Count)
|
||||
Items[i].Delete();
|
||||
|
||||
if (m_Cache == null)
|
||||
m_Cache = this;
|
||||
else
|
||||
Delete();
|
||||
|
||||
m_Table = new Dictionary<Type, IEntity>();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
166
Scripts/VendorInfo/GenericSell.cs
Normal file
166
Scripts/VendorInfo/GenericSell.cs
Normal file
@@ -0,0 +1,166 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
using System.Linq;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class GenericSellInfo : IShopSellInfo
|
||||
{
|
||||
private readonly Dictionary<Type, int> m_Table = new Dictionary<Type, int>();
|
||||
private Type[] m_Types;
|
||||
public GenericSellInfo()
|
||||
{
|
||||
}
|
||||
|
||||
public Type[] Types
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_Types == null)
|
||||
{
|
||||
m_Types = new Type[m_Table.Keys.Count];
|
||||
m_Table.Keys.CopyTo(m_Types, 0);
|
||||
}
|
||||
|
||||
return m_Types;
|
||||
}
|
||||
}
|
||||
public void Add(Type type, int price)
|
||||
{
|
||||
m_Table[type] = price;
|
||||
m_Types = null;
|
||||
}
|
||||
|
||||
public int GetSellPriceFor(Item item)
|
||||
{
|
||||
return GetSellPriceFor(item, null);
|
||||
}
|
||||
|
||||
public int GetSellPriceFor(Item item, BaseVendor vendor)
|
||||
{
|
||||
int price = 0;
|
||||
m_Table.TryGetValue(item.GetType(), out price);
|
||||
|
||||
if (vendor != null && BaseVendor.UseVendorEconomy)
|
||||
{
|
||||
IBuyItemInfo buyInfo = vendor.GetBuyInfo().OfType<GenericBuyInfo>().FirstOrDefault(info => info.EconomyItem && info.Type == item.GetType());
|
||||
|
||||
if (buyInfo != null)
|
||||
{
|
||||
int sold = buyInfo.TotalSold;
|
||||
price = (int)((double)buyInfo.Price * .75);
|
||||
|
||||
return Math.Max(1, price);
|
||||
}
|
||||
}
|
||||
|
||||
if (item is BaseArmor)
|
||||
{
|
||||
BaseArmor armor = (BaseArmor)item;
|
||||
|
||||
if (armor.Quality == ItemQuality.Low)
|
||||
price = (int)(price * 0.60);
|
||||
else if (armor.Quality == ItemQuality.Exceptional)
|
||||
price = (int)(price * 1.25);
|
||||
|
||||
price += 100 * (int)armor.Durability;
|
||||
|
||||
price += 100 * (int)armor.ProtectionLevel;
|
||||
|
||||
if (price < 1)
|
||||
price = 1;
|
||||
}
|
||||
else if (item is BaseWeapon)
|
||||
{
|
||||
BaseWeapon weapon = (BaseWeapon)item;
|
||||
|
||||
if (weapon.Quality == ItemQuality.Low)
|
||||
price = (int)(price * 0.60);
|
||||
else if (weapon.Quality == ItemQuality.Exceptional)
|
||||
price = (int)(price * 1.25);
|
||||
|
||||
price += 100 * (int)weapon.DurabilityLevel;
|
||||
|
||||
price += 100 * (int)weapon.DamageLevel;
|
||||
|
||||
if (price < 1)
|
||||
price = 1;
|
||||
}
|
||||
else if (item is BaseBeverage)
|
||||
{
|
||||
int price1 = price, price2 = price;
|
||||
|
||||
if (item is Pitcher)
|
||||
{
|
||||
price1 = 3;
|
||||
price2 = 5;
|
||||
}
|
||||
else if (item is BeverageBottle)
|
||||
{
|
||||
price1 = 3;
|
||||
price2 = 3;
|
||||
}
|
||||
else if (item is Jug)
|
||||
{
|
||||
price1 = 6;
|
||||
price2 = 6;
|
||||
}
|
||||
|
||||
BaseBeverage bev = (BaseBeverage)item;
|
||||
|
||||
if (bev.IsEmpty || bev.Content == BeverageType.Milk)
|
||||
price = price1;
|
||||
else
|
||||
price = price2;
|
||||
}
|
||||
|
||||
return price;
|
||||
}
|
||||
|
||||
public int GetBuyPriceFor(Item item)
|
||||
{
|
||||
return GetBuyPriceFor(item, null);
|
||||
}
|
||||
|
||||
public int GetBuyPriceFor(Item item, BaseVendor vendor)
|
||||
{
|
||||
return (int)(1.90 * GetSellPriceFor(item, vendor));
|
||||
}
|
||||
|
||||
public string GetNameFor(Item item)
|
||||
{
|
||||
if (item.Name != null)
|
||||
return item.Name;
|
||||
else
|
||||
return item.LabelNumber.ToString();
|
||||
}
|
||||
|
||||
public bool IsSellable(Item item)
|
||||
{
|
||||
if (item.QuestItem)
|
||||
return false;
|
||||
|
||||
//if ( item.Hue != 0 )
|
||||
//return false;
|
||||
|
||||
return IsInList(item.GetType());
|
||||
}
|
||||
|
||||
public bool IsResellable(Item item)
|
||||
{
|
||||
if (item.QuestItem)
|
||||
return false;
|
||||
|
||||
//if ( item.Hue != 0 )
|
||||
//return false;
|
||||
|
||||
return IsInList(item.GetType());
|
||||
}
|
||||
|
||||
public bool IsInList(Type type)
|
||||
{
|
||||
return m_Table.ContainsKey(type);
|
||||
}
|
||||
}
|
||||
}
|
||||
27
Scripts/VendorInfo/PresetMapBuy.cs
Normal file
27
Scripts/VendorInfo/PresetMapBuy.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class PresetMapBuyInfo : GenericBuyInfo
|
||||
{
|
||||
private readonly PresetMapEntry m_Entry;
|
||||
public PresetMapBuyInfo(PresetMapEntry entry, int price, int amount)
|
||||
: base(entry.Name.ToString(), null, price, amount, 0x14EC, 0)
|
||||
{
|
||||
m_Entry = entry;
|
||||
}
|
||||
|
||||
public override bool CanCacheDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public override IEntity GetEntity()
|
||||
{
|
||||
return new PresetMap(m_Entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
112
Scripts/VendorInfo/SBAlchemist.cs
Normal file
112
Scripts/VendorInfo/SBAlchemist.cs
Normal file
@@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
using Server.Engines.Quests;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBAlchemist : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo;
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBAlchemist(Mobile m)
|
||||
{
|
||||
if (m != null)
|
||||
{
|
||||
m_BuyInfo = new InternalBuyInfo(m);
|
||||
}
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_SellInfo;
|
||||
}
|
||||
}
|
||||
public override List<GenericBuyInfo> BuyInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_BuyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo(Mobile m)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 10, 0xF0B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 10, 0xF08, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 10, 0xF06, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 10, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 10, 0xF09, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserPoisonPotion), 15, 10, 0xF0A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 10, 0xF07, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserExplosionPotion), 21, 10, 0xF0D, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(MortarPestle), 8, 10, 0xE9B, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BlackPearl), 5, 20, 0xF7A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bloodmoss), 5, 20, 0xF7B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
Add(new GenericBuyInfo(typeof(MandrakeRoot), 3, 20, 0xF86, 0));
|
||||
Add(new GenericBuyInfo(typeof(Nightshade), 3, 20, 0xF88, 0));
|
||||
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, true));
|
||||
Add(new GenericBuyInfo(typeof(HeatingStand), 2, 100, 0x1849, 0));
|
||||
Add(new GenericBuyInfo(typeof(SkinTingeingTincture), 1255, 20, 0xEFF, 90));
|
||||
|
||||
if (m.Map != Map.TerMur)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(HairDye), 37, 10, 0xEFF, 0));
|
||||
}
|
||||
else if (m is Zosilem)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(GlassblowingBook), 10637, 30, 0xFF4, 0));
|
||||
Add(new GenericBuyInfo(typeof(SandMiningBook), 10637, 30, 0xFF4, 0));
|
||||
Add(new GenericBuyInfo(typeof(Blowpipe), 21, 100, 0xE8A, 0x3B9));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
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(Bottle), 3);
|
||||
Add(typeof(MortarPestle), 4);
|
||||
Add(typeof(HairDye), 19);
|
||||
|
||||
Add(typeof(NightSightPotion), 7);
|
||||
Add(typeof(AgilityPotion), 7);
|
||||
Add(typeof(StrengthPotion), 7);
|
||||
Add(typeof(RefreshPotion), 7);
|
||||
Add(typeof(LesserCurePotion), 7);
|
||||
Add(typeof(CurePotion), 11);
|
||||
Add(typeof(GreaterCurePotion), 15);
|
||||
Add(typeof(LesserHealPotion), 7);
|
||||
Add(typeof(HealPotion), 11);
|
||||
Add(typeof(GreaterHealPotion), 15);
|
||||
Add(typeof(LesserPoisonPotion), 7);
|
||||
Add(typeof(PoisonPotion), 9);
|
||||
Add(typeof(GreaterPoisonPotion), 13);
|
||||
Add(typeof(DeadlyPoisonPotion), 21);
|
||||
Add(typeof(LesserExplosionPotion), 10);
|
||||
Add(typeof(ExplosionPotion), 15);
|
||||
Add(typeof(GreaterExplosionPotion), 25);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
59
Scripts/VendorInfo/SBAnimalTrainer.cs
Normal file
59
Scripts/VendorInfo/SBAnimalTrainer.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBAnimalTrainer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBAnimalTrainer()
|
||||
{
|
||||
}
|
||||
|
||||
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 AnimalBuyInfo(1, typeof(Cat), 132, 10, 201, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Dog), 170, 10, 217, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Horse), 550, 10, 204, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(PackHorse), 631, 10, 291, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(PackLlama), 565, 10, 292, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Rabbit), 106, 10, 205, 0));
|
||||
|
||||
if (!Core.AOS)
|
||||
{
|
||||
Add(new AnimalBuyInfo(1, typeof(Eagle), 402, 10, 5, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(BrownBear), 855, 10, 167, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(GrizzlyBear), 1767, 10, 212, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Panther), 1271, 10, 214, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(TimberWolf), 768, 10, 225, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Rat), 107, 10, 238, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Scripts/VendorInfo/SBArchitect.cs
Normal file
51
Scripts/VendorInfo/SBArchitect.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBArchitect : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBArchitect()
|
||||
{
|
||||
}
|
||||
|
||||
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("1041280", typeof(InteriorDecorator), 10001, 20, 0xFC1, 0));
|
||||
if (Core.AOS)
|
||||
Add(new GenericBuyInfo("1060651", typeof(HousePlacementTool), 627, 20, 0x14F6, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(InteriorDecorator), 5000);
|
||||
|
||||
if (Core.AOS)
|
||||
Add(typeof(HousePlacementTool), 301);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
60
Scripts/VendorInfo/SBAxeWeapon.cs
Normal file
60
Scripts/VendorInfo/SBAxeWeapon.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBAxeWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBAxeWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(ExecutionersAxe), 30, 20, 0xF45, 0));
|
||||
Add(new GenericBuyInfo(typeof(BattleAxe), 26, 20, 0xF47, 0));
|
||||
Add(new GenericBuyInfo(typeof(TwoHandedAxe), 32, 20, 0x1443, 0));
|
||||
Add(new GenericBuyInfo(typeof(Axe), 40, 20, 0xF49, 0));
|
||||
Add(new GenericBuyInfo(typeof(DoubleAxe), 52, 20, 0xF4B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Pickaxe), 22, 20, 0xE86, 0));
|
||||
Add(new GenericBuyInfo(typeof(LargeBattleAxe), 33, 20, 0x13FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarAxe), 29, 20, 0x13B0, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(BattleAxe), 13);
|
||||
Add(typeof(DoubleAxe), 26);
|
||||
Add(typeof(ExecutionersAxe), 15);
|
||||
Add(typeof(LargeBattleAxe), 16);
|
||||
Add(typeof(Pickaxe), 11);
|
||||
Add(typeof(TwoHandedAxe), 16);
|
||||
Add(typeof(WarAxe), 14);
|
||||
Add(typeof(Axe), 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
70
Scripts/VendorInfo/SBBaker.cs
Normal file
70
Scripts/VendorInfo/SBBaker.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBaker : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBBaker()
|
||||
{
|
||||
}
|
||||
|
||||
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("1031235", typeof(FreshGinger), 505, 10, 11235, 0));
|
||||
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
|
||||
Add(new GenericBuyInfo(typeof(Cake), 13, 20, 0x9E9, 0));
|
||||
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(CheesePizza), 8, 10, 0x1040, 0)); // OSI just has Pizza
|
||||
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);
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(SackFlour), 1);
|
||||
Add(typeof(Eggs), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
Scripts/VendorInfo/SBBanker.cs
Normal file
53
Scripts/VendorInfo/SBBanker.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBanker : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBBanker()
|
||||
{
|
||||
}
|
||||
|
||||
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("1041243", typeof(ContractOfEmployment), 1252, 20, 0x14F0, 0));
|
||||
|
||||
if (Multis.BaseHouse.NewVendorSystem)
|
||||
{
|
||||
Add(new GenericBuyInfo("1062332", typeof(VendorRentalContract), 1252, 20, 0x14F0, 0x672));
|
||||
Add(new GenericBuyInfo("1159156", typeof(CommissionContractOfEmployment), 28127, 20, 0x14F0, 0x672));
|
||||
}
|
||||
|
||||
Add(new GenericBuyInfo("1047016", typeof(CommodityDeed), 5, 20, 0x14F0, 0x47));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
Scripts/VendorInfo/SBBard.cs
Normal file
53
Scripts/VendorInfo/SBBard.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBard : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBBard()
|
||||
{
|
||||
}
|
||||
|
||||
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(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
119
Scripts/VendorInfo/SBBarkeeper.cs
Normal file
119
Scripts/VendorInfo/SBBarkeeper.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBarkeeper : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBBarkeeper()
|
||||
{
|
||||
}
|
||||
|
||||
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 BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Ale, 7, 20, 0x99F, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Wine, 7, 20, 0x9C7, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Liquor, 7, 20, 0x99B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Jug), BeverageType.Cider, 13, 20, 0x9C8, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Milk, 7, 20, 0x9F0, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Ale, 11, 20, 0x1F95, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Cider, 11, 20, 0x1F97, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Liquor, 11, 20, 0x1F99, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Wine, 11, 20, 0x1F9B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Water, 11, 20, 0x1F9D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 6, 10, 0x103B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CheeseWheel), 21, 10, 0x97E, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CookedBird), 17, 20, 0x9B7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LambLeg), 8, 20, 0x160A, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCarrots), 3, 20, 0x15F9, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCorn), 3, 20, 0x15FA, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfLettuce), 3, 20, 0x15FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfPeas), 3, 20, 0x15FC, 0));
|
||||
Add(new GenericBuyInfo(typeof(EmptyPewterBowl), 2, 20, 0x15FD, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfCorn), 3, 20, 0x15FE, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfLettuce), 3, 20, 0x15FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPeas), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPotatos), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfStew), 3, 20, 0x1604, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfTomatoSoup), 3, 20, 0x1606, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(ApplePie), 7, 20, 0x1041, 0, true)); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
|
||||
Add(new GenericBuyInfo("1016450", typeof(Chessboard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo("1016449", typeof(CheckerBoard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backgammon), 2, 20, 0xE1C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dices), 2, 20, 0xFA7, 0));
|
||||
Add(new GenericBuyInfo("1041243", typeof(ContractOfEmployment), 1252, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("a barkeep contract", typeof(BarkeepContract), 1252, 20, 0x14F0, 0));
|
||||
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 ) );
|
||||
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E9, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2836, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2837, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( GreenTeaBasket ), 2, 20, 0x284B, 0 ) );
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(WoodenBowlOfCarrots), 1);
|
||||
Add(typeof(WoodenBowlOfCorn), 1);
|
||||
Add(typeof(WoodenBowlOfLettuce), 1);
|
||||
Add(typeof(WoodenBowlOfPeas), 1);
|
||||
Add(typeof(EmptyPewterBowl), 1);
|
||||
Add(typeof(PewterBowlOfCorn), 1);
|
||||
Add(typeof(PewterBowlOfLettuce), 1);
|
||||
Add(typeof(PewterBowlOfPeas), 1);
|
||||
Add(typeof(PewterBowlOfPotatos), 1);
|
||||
Add(typeof(WoodenBowlOfStew), 1);
|
||||
Add(typeof(WoodenBowlOfTomatoSoup), 1);
|
||||
Add(typeof(BeverageBottle), 3);
|
||||
Add(typeof(Jug), 6);
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(GlassMug), 1);
|
||||
Add(typeof(BreadLoaf), 3);
|
||||
Add(typeof(CheeseWheel), 12);
|
||||
Add(typeof(Ribs), 6);
|
||||
Add(typeof(Peach), 1);
|
||||
Add(typeof(Pear), 1);
|
||||
Add(typeof(Grapes), 1);
|
||||
Add(typeof(Apple), 1);
|
||||
Add(typeof(Banana), 1);
|
||||
Add(typeof(Candle), 3);
|
||||
Add(typeof(Chessboard), 1);
|
||||
Add(typeof(CheckerBoard), 1);
|
||||
Add(typeof(Backgammon), 1);
|
||||
Add(typeof(Dices), 1);
|
||||
Add(typeof(ContractOfEmployment), 626);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/VendorInfo/SBBeekeeper.cs
Normal file
48
Scripts/VendorInfo/SBBeekeeper.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBeekeeper : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly 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), 2, 20, 0x1422, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(JarHoney), 1);
|
||||
Add(typeof(Beeswax), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
245
Scripts/VendorInfo/SBBlacksmith.cs
Normal file
245
Scripts/VendorInfo/SBBlacksmith.cs
Normal file
@@ -0,0 +1,245 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBlacksmith : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBBlacksmith()
|
||||
{
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_SellInfo;
|
||||
}
|
||||
}
|
||||
public override List<GenericBuyInfo> BuyInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_BuyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
this.Add(new GenericBuyInfo(typeof(IronIngot), 5, 16, 0x1BF2, 0, true));
|
||||
this.Add(new GenericBuyInfo(typeof(Tongs), 13, 14, 0xFBB, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(BronzeShield), 66, 20, 0x1B72, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Buckler), 50, 20, 0x1B73, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(MetalKiteShield), 123, 20, 0x1B74, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(HeaterShield), 231, 20, 0x1B76, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(WoodenKiteShield), 70, 20, 0x1B78, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(MetalShield), 121, 20, 0x1B7B, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(WoodenShield), 30, 20, 0x1B7A, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(PlateGorget), 104, 20, 0x1413, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(PlateChest), 243, 20, 0x1415, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(PlateLegs), 218, 20, 0x1411, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(PlateArms), 188, 20, 0x1410, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(PlateGloves), 155, 20, 0x1414, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(PlateHelm), 21, 20, 0x1412, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(CloseHelm), 18, 20, 0x1408, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(CloseHelm), 18, 20, 0x1409, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Helmet), 31, 20, 0x140A, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Helmet), 18, 20, 0x140B, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(NorseHelm), 18, 20, 0x140E, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(NorseHelm), 18, 20, 0x140F, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Bascinet), 18, 20, 0x140C, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(PlateHelm), 21, 20, 0x1419, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(ChainCoif), 17, 20, 0x13BB, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(ChainChest), 143, 20, 0x13BF, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(ChainLegs), 149, 20, 0x13BE, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(RingmailChest), 121, 20, 0x13ec, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(RingmailLegs), 90, 20, 0x13F0, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(RingmailArms), 85, 20, 0x13EE, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(RingmailGloves), 93, 20, 0x13eb, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(ExecutionersAxe), 30, 20, 0xF45, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Bardiche), 60, 20, 0xF4D, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(BattleAxe), 26, 20, 0xF47, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(TwoHandedAxe), 32, 20, 0x1443, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Bow), 35, 20, 0x13B2, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(ButcherKnife), 14, 20, 0x13F6, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Crossbow), 46, 20, 0xF50, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(HeavyCrossbow), 55, 20, 0x13FD, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Cutlass), 24, 20, 0x1441, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Dagger), 21, 20, 0xF52, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Halberd), 42, 20, 0x143E, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(HammerPick), 26, 20, 0x143D, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Katana), 33, 20, 0x13FF, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Kryss), 32, 20, 0x1401, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Broadsword), 35, 20, 0xF5E, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Longsword), 55, 20, 0xF61, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(ThinLongsword), 27, 20, 0x13B8, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(VikingSword), 55, 20, 0x13B9, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Cleaver), 15, 20, 0xEC3, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Axe), 40, 20, 0xF49, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(DoubleAxe), 52, 20, 0xF4B, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Pickaxe), 22, 20, 0xE86, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Pitchfork), 19, 20, 0xE87, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Scimitar), 36, 20, 0x13B6, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(SkinningKnife), 14, 20, 0xEC4, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(LargeBattleAxe), 33, 20, 0x13FB, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(WarAxe), 29, 20, 0x13B0, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
this.Add(new GenericBuyInfo(typeof(BoneHarvester), 35, 20, 0x26BB, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(CrescentBlade), 37, 20, 0x26C1, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(DoubleBladedStaff), 35, 20, 0x26BF, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Lance), 34, 20, 0x26C0, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Pike), 39, 20, 0x26BE, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Scythe), 39, 20, 0x26BA, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(CompositeBow), 50, 20, 0x26C2, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(RepeatingCrossbow), 57, 20, 0x26C3, 0));
|
||||
}
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(BlackStaff), 22, 20, 0xDF1, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Club), 16, 20, 0x13B4, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(GnarledStaff), 16, 20, 0x13F8, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Mace), 28, 20, 0xF5C, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Maul), 21, 20, 0x143B, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(QuarterStaff), 19, 20, 0xE89, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(ShepherdsCrook), 20, 20, 0xE81, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(SmithHammer), 21, 20, 0x13E3, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(ShortSpear), 23, 20, 0x1403, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(Spear), 31, 20, 0xF62, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(WarHammer), 25, 20, 0x1439, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(WarMace), 31, 20, 0x1407, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
this.Add(new GenericBuyInfo(typeof(Scepter), 39, 20, 0x26BC, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(BladedStaff), 40, 20, 0x26BD, 0));
|
||||
}
|
||||
|
||||
Add(new GenericBuyInfo("1154005", typeof(MalleableAlloy), 50, 500, 7139, 2949, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
this.Add(typeof(Tongs), 7);
|
||||
this.Add(typeof(IronIngot), 4);
|
||||
|
||||
this.Add(typeof(Buckler), 25);
|
||||
this.Add(typeof(BronzeShield), 33);
|
||||
this.Add(typeof(MetalShield), 60);
|
||||
this.Add(typeof(MetalKiteShield), 62);
|
||||
this.Add(typeof(HeaterShield), 115);
|
||||
this.Add(typeof(WoodenKiteShield), 35);
|
||||
|
||||
this.Add(typeof(WoodenShield), 15);
|
||||
|
||||
this.Add(typeof(PlateArms), 94);
|
||||
this.Add(typeof(PlateChest), 121);
|
||||
this.Add(typeof(PlateGloves), 72);
|
||||
this.Add(typeof(PlateGorget), 52);
|
||||
this.Add(typeof(PlateLegs), 109);
|
||||
|
||||
this.Add(typeof(FemalePlateChest), 113);
|
||||
this.Add(typeof(FemaleLeatherChest), 18);
|
||||
this.Add(typeof(FemaleStuddedChest), 25);
|
||||
this.Add(typeof(LeatherShorts), 14);
|
||||
this.Add(typeof(LeatherSkirt), 11);
|
||||
this.Add(typeof(LeatherBustierArms), 11);
|
||||
this.Add(typeof(StuddedBustierArms), 27);
|
||||
|
||||
this.Add(typeof(Bascinet), 9);
|
||||
this.Add(typeof(CloseHelm), 9);
|
||||
this.Add(typeof(Helmet), 9);
|
||||
this.Add(typeof(NorseHelm), 9);
|
||||
this.Add(typeof(PlateHelm), 10);
|
||||
|
||||
this.Add(typeof(ChainCoif), 6);
|
||||
this.Add(typeof(ChainChest), 71);
|
||||
this.Add(typeof(ChainLegs), 74);
|
||||
|
||||
this.Add(typeof(RingmailArms), 42);
|
||||
this.Add(typeof(RingmailChest), 60);
|
||||
this.Add(typeof(RingmailGloves), 26);
|
||||
this.Add(typeof(RingmailLegs), 45);
|
||||
|
||||
this.Add(typeof(BattleAxe), 13);
|
||||
this.Add(typeof(DoubleAxe), 26);
|
||||
this.Add(typeof(ExecutionersAxe), 15);
|
||||
this.Add(typeof(LargeBattleAxe), 16);
|
||||
this.Add(typeof(Pickaxe), 11);
|
||||
this.Add(typeof(TwoHandedAxe), 16);
|
||||
this.Add(typeof(WarAxe), 14);
|
||||
this.Add(typeof(Axe), 20);
|
||||
|
||||
this.Add(typeof(Bardiche), 30);
|
||||
this.Add(typeof(Halberd), 21);
|
||||
|
||||
this.Add(typeof(ButcherKnife), 7);
|
||||
this.Add(typeof(Cleaver), 7);
|
||||
this.Add(typeof(Dagger), 10);
|
||||
this.Add(typeof(SkinningKnife), 7);
|
||||
|
||||
this.Add(typeof(Club), 8);
|
||||
this.Add(typeof(HammerPick), 13);
|
||||
this.Add(typeof(Mace), 14);
|
||||
this.Add(typeof(Maul), 10);
|
||||
this.Add(typeof(WarHammer), 12);
|
||||
this.Add(typeof(WarMace), 15);
|
||||
|
||||
this.Add(typeof(HeavyCrossbow), 27);
|
||||
this.Add(typeof(Bow), 17);
|
||||
this.Add(typeof(Crossbow), 23);
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
this.Add(typeof(CompositeBow), 25);
|
||||
this.Add(typeof(RepeatingCrossbow), 28);
|
||||
this.Add(typeof(Scepter), 20);
|
||||
this.Add(typeof(BladedStaff), 20);
|
||||
this.Add(typeof(Scythe), 19);
|
||||
this.Add(typeof(BoneHarvester), 17);
|
||||
this.Add(typeof(Scepter), 18);
|
||||
this.Add(typeof(BladedStaff), 16);
|
||||
this.Add(typeof(Pike), 19);
|
||||
this.Add(typeof(DoubleBladedStaff), 17);
|
||||
this.Add(typeof(Lance), 17);
|
||||
this.Add(typeof(CrescentBlade), 18);
|
||||
}
|
||||
|
||||
this.Add(typeof(Spear), 15);
|
||||
this.Add(typeof(Pitchfork), 9);
|
||||
this.Add(typeof(ShortSpear), 11);
|
||||
|
||||
this.Add(typeof(BlackStaff), 11);
|
||||
this.Add(typeof(GnarledStaff), 8);
|
||||
this.Add(typeof(QuarterStaff), 9);
|
||||
this.Add(typeof(ShepherdsCrook), 10);
|
||||
|
||||
this.Add(typeof(SmithHammer), 10);
|
||||
|
||||
this.Add(typeof(Broadsword), 17);
|
||||
this.Add(typeof(Cutlass), 12);
|
||||
this.Add(typeof(Katana), 16);
|
||||
this.Add(typeof(Kryss), 16);
|
||||
this.Add(typeof(Longsword), 27);
|
||||
this.Add(typeof(Scimitar), 18);
|
||||
this.Add(typeof(ThinLongsword), 13);
|
||||
this.Add(typeof(VikingSword), 27);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/VendorInfo/SBBowyer.cs
Normal file
46
Scripts/VendorInfo/SBBowyer.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBBowyer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBBowyer()
|
||||
{
|
||||
}
|
||||
|
||||
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(FletcherTools), 2, 20, 0x1022, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(FletcherTools), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
64
Scripts/VendorInfo/SBButcher.cs
Normal file
64
Scripts/VendorInfo/SBButcher.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBButcher : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBButcher()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bacon), 7, 20, 0x979, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Ham), 26, 20, 0x9C9, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Sausage), 18, 20, 0x9C0, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RawChickenLeg), 6, 20, 0x1607, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RawBird), 9, 20, 0x9B9, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RawLambLeg), 9, 20, 0x1609, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RawRibs), 16, 20, 0x9F1, 0, true));
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
105
Scripts/VendorInfo/SBCarpenter.cs
Normal file
105
Scripts/VendorInfo/SBCarpenter.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBCarpenter : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBCarpenter()
|
||||
{
|
||||
}
|
||||
|
||||
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(Nails), 3, 20, 0x102E, 0));
|
||||
Add(new GenericBuyInfo(typeof(Axle), 2, 20, 0x105B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Board), 3, 20, 0x1BD7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(DrawKnife), 10, 20, 0x10E4, 0));
|
||||
Add(new GenericBuyInfo(typeof(Froe), 10, 20, 0x10E5, 0));
|
||||
Add(new GenericBuyInfo(typeof(Scorp), 10, 20, 0x10E7, 0));
|
||||
Add(new GenericBuyInfo(typeof(Inshave), 10, 20, 0x10E6, 0));
|
||||
Add(new GenericBuyInfo(typeof(DovetailSaw), 12, 20, 0x1028, 0));
|
||||
Add(new GenericBuyInfo(typeof(Saw), 15, 20, 0x1034, 0));
|
||||
Add(new GenericBuyInfo(typeof(Hammer), 17, 20, 0x102A, 0));
|
||||
Add(new GenericBuyInfo(typeof(MouldingPlane), 11, 20, 0x102C, 0));
|
||||
Add(new GenericBuyInfo(typeof(SmoothingPlane), 10, 20, 0x1032, 0));
|
||||
Add(new GenericBuyInfo(typeof(JointingPlane), 11, 20, 0x1030, 0));
|
||||
Add(new GenericBuyInfo(typeof(Drums), 21, 20, 0xE9C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tambourine), 21, 20, 0xE9D, 0));
|
||||
Add(new GenericBuyInfo(typeof(LapHarp), 21, 20, 0xEB2, 0));
|
||||
Add(new GenericBuyInfo(typeof(Lute), 21, 20, 0xEB3, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1154004", typeof(SolventFlask), 50, 500, 7192, 2969, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(WoodenBox), 7);
|
||||
Add(typeof(SmallCrate), 5);
|
||||
Add(typeof(MediumCrate), 6);
|
||||
Add(typeof(LargeCrate), 7);
|
||||
Add(typeof(WoodenChest), 15);
|
||||
|
||||
Add(typeof(LargeTable), 10);
|
||||
Add(typeof(Nightstand), 7);
|
||||
Add(typeof(YewWoodTable), 10);
|
||||
|
||||
Add(typeof(Throne), 24);
|
||||
Add(typeof(WoodenThrone), 6);
|
||||
Add(typeof(Stool), 6);
|
||||
Add(typeof(FootStool), 6);
|
||||
|
||||
Add(typeof(FancyWoodenChairCushion), 12);
|
||||
Add(typeof(WoodenChairCushion), 10);
|
||||
Add(typeof(WoodenChair), 8);
|
||||
Add(typeof(BambooChair), 6);
|
||||
Add(typeof(WoodenBench), 6);
|
||||
|
||||
Add(typeof(Saw), 9);
|
||||
Add(typeof(Scorp), 6);
|
||||
Add(typeof(SmoothingPlane), 6);
|
||||
Add(typeof(DrawKnife), 6);
|
||||
Add(typeof(Froe), 6);
|
||||
Add(typeof(Hammer), 14);
|
||||
Add(typeof(Inshave), 6);
|
||||
Add(typeof(JointingPlane), 6);
|
||||
Add(typeof(MouldingPlane), 6);
|
||||
Add(typeof(DovetailSaw), 7);
|
||||
Add(typeof(Board), 2);
|
||||
Add(typeof(Axle), 1);
|
||||
|
||||
Add(typeof(Club), 13);
|
||||
|
||||
Add(typeof(Lute), 10);
|
||||
Add(typeof(LapHarp), 10);
|
||||
Add(typeof(Tambourine), 10);
|
||||
Add(typeof(Drums), 10);
|
||||
|
||||
Add(typeof(Log), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
68
Scripts/VendorInfo/SBCarpets.cs
Normal file
68
Scripts/VendorInfo/SBCarpets.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBCarpets : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBCarpets()
|
||||
{
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
|
||||
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
private void AddCarpet( int itemId, int price )
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( DecorativeCarpet ), price, 500, itemId, 0, new object[] { itemId } ) );
|
||||
}
|
||||
|
||||
private void AddCarpetGroup( int baseId, int count, int price )
|
||||
{
|
||||
for ( int i = 0; i < count; i++ )
|
||||
AddCarpet( baseId + i, price );
|
||||
}
|
||||
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
// Blue carpets
|
||||
AddCarpetGroup( 0x56B8, 13, 100 );
|
||||
|
||||
// Red carpets
|
||||
AddCarpetGroup( 0x56C5, 11, 100 );
|
||||
|
||||
// Blue/gold carpets
|
||||
AddCarpetGroup( 0x56D0, 9, 200 );
|
||||
|
||||
// Brown/gold carpets
|
||||
AddCarpetGroup( 0x56D9, 9, 200 );
|
||||
|
||||
// Brown/red carpets
|
||||
AddCarpetGroup( 0x56E2, 9, 200 );
|
||||
|
||||
// Fancy carpets
|
||||
AddCarpetGroup( 0x56EB, 10, 500 );
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( Scissors ), 6 );
|
||||
Add( typeof( Dyes ), 4 );
|
||||
Add( typeof( DyeTub ), 4 );
|
||||
Add( typeof( BoltOfCloth ), 60 );
|
||||
Add( typeof( LightYarnUnraveled ), 9 );
|
||||
Add( typeof( LightYarn ), 9 );
|
||||
Add( typeof( DarkYarn ), 9 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/VendorInfo/SBChainmailArmor.cs
Normal file
50
Scripts/VendorInfo/SBChainmailArmor.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBChainmailArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBChainmailArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(ChainCoif), 17, 20, 0x13BB, 0));
|
||||
Add(new GenericBuyInfo(typeof(ChainChest), 143, 20, 0x13BF, 0));
|
||||
Add(new GenericBuyInfo(typeof(ChainLegs), 149, 20, 0x13BE, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(ChainCoif), 6);
|
||||
Add(typeof(ChainChest), 71);
|
||||
Add(typeof(ChainLegs), 74);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/VendorInfo/SBCobbler.cs
Normal file
52
Scripts/VendorInfo/SBCobbler.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBCobbler : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBCobbler()
|
||||
{
|
||||
}
|
||||
|
||||
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(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
99
Scripts/VendorInfo/SBCook.cs
Normal file
99
Scripts/VendorInfo/SBCook.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBCook : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBCook()
|
||||
{
|
||||
}
|
||||
|
||||
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(BreadLoaf), 5, 20, 0x103B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 5, 20, 0x103C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ApplePie), 7, 20, 0x1041, 0, true)); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
Add(new GenericBuyInfo(typeof(Cake), 13, 20, 0x9E9, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Muffins), 3, 20, 0x9EA, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(CheeseWheel), 21, 10, 0x97E, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CookedBird), 17, 20, 0x9B7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LambLeg), 8, 20, 0x160A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ChickenLeg), 5, 20, 0x1608, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCarrots), 3, 20, 0x15F9, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCorn), 3, 20, 0x15FA, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfLettuce), 3, 20, 0x15FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfPeas), 3, 20, 0x15FC, 0));
|
||||
Add(new GenericBuyInfo(typeof(EmptyPewterBowl), 2, 20, 0x15FD, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfCorn), 3, 20, 0x15FE, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfLettuce), 3, 20, 0x15FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPeas), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPotatos), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfStew), 3, 20, 0x1604, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfTomatoSoup), 3, 20, 0x1606, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RoastPig), 106, 20, 0x9BB, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(SackFlour), 3, 20, 0x1039, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(JarHoney), 3, 20, 0x9EC, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RollingPin), 2, 20, 0x1043, 0));
|
||||
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()
|
||||
{
|
||||
Add(typeof(CheeseWheel), 12);
|
||||
Add(typeof(CookedBird), 8);
|
||||
Add(typeof(RoastPig), 53);
|
||||
Add(typeof(Cake), 5);
|
||||
Add(typeof(JarHoney), 1);
|
||||
Add(typeof(SackFlour), 1);
|
||||
Add(typeof(BreadLoaf), 2);
|
||||
Add(typeof(ChickenLeg), 3);
|
||||
Add(typeof(LambLeg), 4);
|
||||
Add(typeof(Skillet), 1);
|
||||
Add(typeof(FlourSifter), 1);
|
||||
Add(typeof(RollingPin), 1);
|
||||
Add(typeof(Muffins), 1);
|
||||
Add(typeof(ApplePie), 3);
|
||||
|
||||
Add(typeof(WoodenBowlOfCarrots), 1);
|
||||
Add(typeof(WoodenBowlOfCorn), 1);
|
||||
Add(typeof(WoodenBowlOfLettuce), 1);
|
||||
Add(typeof(WoodenBowlOfPeas), 1);
|
||||
Add(typeof(EmptyPewterBowl), 1);
|
||||
Add(typeof(PewterBowlOfCorn), 1);
|
||||
Add(typeof(PewterBowlOfLettuce), 1);
|
||||
Add(typeof(PewterBowlOfPeas), 1);
|
||||
Add(typeof(PewterBowlOfPotatos), 1);
|
||||
Add(typeof(WoodenBowlOfStew), 1);
|
||||
Add(typeof(WoodenBowlOfTomatoSoup), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
88
Scripts/VendorInfo/SBFarmer.cs
Normal file
88
Scripts/VendorInfo/SBFarmer.cs
Normal file
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBFarmer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBFarmer()
|
||||
{
|
||||
}
|
||||
|
||||
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("1031235", typeof(FreshGinger), 505, 10, 11235, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cabbage), 5, 20, 0xC7B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Cantaloupe), 6, 20, 0xC79, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Carrot), 3, 20, 0xC78, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(HoneydewMelon), 7, 20, 0xC74, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Squash), 3, 20, 0xC72, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Lettuce), 5, 20, 0xC70, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Onion), 3, 20, 0xC6D, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Pumpkin), 11, 20, 0xC6A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(GreenGourd), 3, 20, 0xC66, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(YellowGourd), 3, 20, 0xC64, 0, true));
|
||||
//Add( new GenericBuyInfo( typeof( Turnip ), 6, 20, XXXXXX, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(Watermelon), 7, 20, 0xC5C, 0, true));
|
||||
//Add( new GenericBuyInfo( typeof( EarOfCorn ), 3, 20, XXXXXX, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(Eggs), 3, 20, 0x9B5, 0, true));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Milk, 7, 20, 0x9AD, 0));
|
||||
Add(new GenericBuyInfo(typeof(Peach), 3, 20, 0x9D2, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Pear), 3, 20, 0x994, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Lemon), 3, 20, 0x1728, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Lime), 3, 20, 0x172A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Grapes), 3, 20, 0x9D1, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Apple), 3, 20, 0x9D0, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(SheafOfHay), 2, 20, 0xF36, 0));
|
||||
Add(new GenericBuyInfo(typeof(Hoe), 5, 20, 3897, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(Eggs), 1);
|
||||
Add(typeof(Apple), 1);
|
||||
Add(typeof(Grapes), 1);
|
||||
Add(typeof(Watermelon), 3);
|
||||
Add(typeof(YellowGourd), 1);
|
||||
Add(typeof(GreenGourd), 1);
|
||||
Add(typeof(Pumpkin), 5);
|
||||
Add(typeof(Onion), 1);
|
||||
Add(typeof(Lettuce), 2);
|
||||
Add(typeof(Squash), 1);
|
||||
Add(typeof(Carrot), 1);
|
||||
Add(typeof(HoneydewMelon), 3);
|
||||
Add(typeof(Cantaloupe), 3);
|
||||
Add(typeof(Cabbage), 2);
|
||||
Add(typeof(Lemon), 1);
|
||||
Add(typeof(Lime), 1);
|
||||
Add(typeof(Peach), 1);
|
||||
Add(typeof(Pear), 1);
|
||||
Add(typeof(SheafOfHay), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
67
Scripts/VendorInfo/SBFisherman.cs
Normal file
67
Scripts/VendorInfo/SBFisherman.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBFisherman : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly 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, true));
|
||||
//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, true));
|
||||
Add(new GenericBuyInfo(typeof(Fish), 6, 80, 0x9CD, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Fish), 6, 80, 0x9CE, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Fish), 6, 80, 0x9CF, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(FishingPole), 15, 20, 0xDC0, 0));
|
||||
|
||||
#region Mondain's Legacy
|
||||
Add(new GenericBuyInfo(typeof(AquariumFishNet), 250, 20, 0xDC8, 0x240));
|
||||
Add(new GenericBuyInfo(typeof(AquariumFood), 62, 20, 0xEFC, 0));
|
||||
Add(new GenericBuyInfo(typeof(FishBowl), 6312, 20, 0x241C, 0x482));
|
||||
Add(new GenericBuyInfo(typeof(VacationWafer), 67, 20, 0x971, 0));
|
||||
Add(new GenericBuyInfo(typeof(AquariumNorthDeed), 250002, 20, 0x14F0, 0));
|
||||
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()
|
||||
{
|
||||
Add(typeof(RawFishSteak), 1);
|
||||
Add(typeof(Fish), 1);
|
||||
//TODO: Add( typeof( SmallFish ), 1 );
|
||||
Add(typeof(FishingPole), 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/VendorInfo/SBFortuneTeller.cs
Normal file
46
Scripts/VendorInfo/SBFortuneTeller.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBFortuneTeller : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBFortuneTeller()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bandage), 5, 20, 0xE21, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bandage), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/VendorInfo/SBFurtrader.cs
Normal file
46
Scripts/VendorInfo/SBFurtrader.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBFurtrader : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBFurtrader()
|
||||
{
|
||||
}
|
||||
|
||||
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(Hides), 3, 40, 0x1079, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Hides), 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/VendorInfo/SBGardener.cs
Normal file
52
Scripts/VendorInfo/SBGardener.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBGardener : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBGardener()
|
||||
{
|
||||
}
|
||||
|
||||
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(Hoe), 17, 20, 0xE86, 2524));
|
||||
Add(new GenericBuyInfo(typeof(GardeningContract), 10156, 500, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("1060834", typeof(Engines.Plants.PlantBowl), 2, 20, 0x15FD, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Water, 11, 20, 0x1F9D, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Hoe), 8);
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(Engines.Plants.PlantBowl), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
94
Scripts/VendorInfo/SBGlassblower.cs
Normal file
94
Scripts/VendorInfo/SBGlassblower.cs
Normal file
@@ -0,0 +1,94 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBGlassblower : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBGlassblower()
|
||||
{
|
||||
}
|
||||
|
||||
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(RefreshPotion), 15, 10, 0xF0B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 10, 0xF08, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 10, 0xF06, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 10, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 10, 0xF09, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserPoisonPotion), 15, 10, 0xF0A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 10, 0xF07, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserExplosionPotion), 21, 10, 0xF0D, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(MortarPestle), 8, 10, 0xE9B, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BlackPearl), 5, 20, 0xF7A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bloodmoss), 5, 20, 0xF7B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
Add(new GenericBuyInfo(typeof(MandrakeRoot), 3, 20, 0xF86, 0));
|
||||
Add(new GenericBuyInfo(typeof(Nightshade), 3, 20, 0xF88, 0));
|
||||
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, true));
|
||||
|
||||
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));
|
||||
Add(new GenericBuyInfo("1044608", typeof(Blowpipe), 21, 100, 0xE8A, 0x3B9));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
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(Bottle), 3);
|
||||
Add(typeof(MortarPestle), 4);
|
||||
|
||||
Add(typeof(NightSightPotion), 7);
|
||||
Add(typeof(AgilityPotion), 7);
|
||||
Add(typeof(StrengthPotion), 7);
|
||||
Add(typeof(RefreshPotion), 7);
|
||||
Add(typeof(LesserCurePotion), 7);
|
||||
Add(typeof(LesserHealPotion), 7);
|
||||
Add(typeof(LesserPoisonPotion), 7);
|
||||
Add(typeof(LesserExplosionPotion), 10);
|
||||
|
||||
Add(typeof(GlassblowingBook), 5000);
|
||||
Add(typeof(SandMiningBook), 5000);
|
||||
Add(typeof(Blowpipe), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/VendorInfo/SBHairStylist.cs
Normal file
50
Scripts/VendorInfo/SBHairStylist.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBHairStylist : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBHairStylist()
|
||||
{
|
||||
}
|
||||
|
||||
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("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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
54
Scripts/VendorInfo/SBHealer.cs
Normal file
54
Scripts/VendorInfo/SBHealer.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBHealer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBHealer()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bandage), 5, 20, 0xE21, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 20, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 20, 0xF0B, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bandage), 1);
|
||||
Add(typeof(LesserHealPotion), 7);
|
||||
Add(typeof(RefreshPotion), 7);
|
||||
Add(typeof(Garlic), 2);
|
||||
Add(typeof(Ginseng), 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/VendorInfo/SBHelmetArmor.cs
Normal file
58
Scripts/VendorInfo/SBHelmetArmor.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBHelmetArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBHelmetArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(PlateHelm), 21, 20, 0x1412, 0));
|
||||
Add(new GenericBuyInfo(typeof(CloseHelm), 18, 20, 0x1408, 0));
|
||||
Add(new GenericBuyInfo(typeof(CloseHelm), 18, 20, 0x1409, 0));
|
||||
Add(new GenericBuyInfo(typeof(Helmet), 31, 20, 0x140A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Helmet), 18, 20, 0x140B, 0));
|
||||
Add(new GenericBuyInfo(typeof(NorseHelm), 18, 20, 0x140E, 0));
|
||||
Add(new GenericBuyInfo(typeof(NorseHelm), 18, 20, 0x140F, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bascinet), 18, 20, 0x140C, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateHelm), 21, 20, 0x1419, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bascinet), 9);
|
||||
Add(typeof(CloseHelm), 9);
|
||||
Add(typeof(Helmet), 9);
|
||||
Add(typeof(NorseHelm), 9);
|
||||
Add(typeof(PlateHelm), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/VendorInfo/SBHerbalist.cs
Normal file
58
Scripts/VendorInfo/SBHerbalist.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBHerbalist : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBHerbalist()
|
||||
{
|
||||
}
|
||||
|
||||
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(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, true));
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
104
Scripts/VendorInfo/SBHolyMage.cs
Normal file
104
Scripts/VendorInfo/SBHolyMage.cs
Normal file
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBHolyMage : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBHolyMage()
|
||||
{
|
||||
}
|
||||
|
||||
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(Spellbook), 18, 10, 0xEFA, 0));
|
||||
Add(new GenericBuyInfo(typeof(ScribesPen), 8, 10, 0xFBF, 0));
|
||||
Add(new GenericBuyInfo(typeof(BlankScroll), 5, 20, 0x0E34, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1041072", typeof(MagicWizardsHat), 11, 10, 0x1718, Utility.RandomDyedHue()));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RecallRune), 15, 10, 0x1f14, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 20, 0xF0B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 20, 0xF08, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 20, 0xF06, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 20, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 20, 0xF09, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 20, 0xF07, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BlackPearl), 5, 20, 0xF7A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bloodmoss), 5, 20, 0xF7B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
Add(new GenericBuyInfo(typeof(MandrakeRoot), 3, 20, 0xF86, 0));
|
||||
Add(new GenericBuyInfo(typeof(Nightshade), 3, 20, 0xF88, 0));
|
||||
Add(new GenericBuyInfo(typeof(SpidersSilk), 3, 20, 0xF8D, 0));
|
||||
Add(new GenericBuyInfo(typeof(SulfurousAsh), 3, 20, 0xF8C, 0));
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for (int i = 0; i < types.Length && i < 8; ++i)
|
||||
{
|
||||
int itemID = 0x1F2E + i;
|
||||
|
||||
if (i == 6)
|
||||
itemID = 0x1F2D;
|
||||
else if (i > 6)
|
||||
--itemID;
|
||||
|
||||
Add(new GenericBuyInfo(types[i], 12 + ((i / 8) * 10), 20, itemID, 0, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
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(RecallRune), 8);
|
||||
Add(typeof(Spellbook), 9);
|
||||
Add(typeof(BlankScroll), 3);
|
||||
|
||||
Add(typeof(NightSightPotion), 7);
|
||||
Add(typeof(AgilityPotion), 7);
|
||||
Add(typeof(StrengthPotion), 7);
|
||||
Add(typeof(RefreshPotion), 7);
|
||||
Add(typeof(LesserCurePotion), 7);
|
||||
Add(typeof(LesserHealPotion), 7);
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for (int i = 0; i < types.Length; ++i)
|
||||
Add(types[i], ((i / 8) + 2) * 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
83
Scripts/VendorInfo/SBHouseDeed.cs
Normal file
83
Scripts/VendorInfo/SBHouseDeed.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Multis.Deeds;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBHouseDeed : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBHouseDeed()
|
||||
{
|
||||
}
|
||||
|
||||
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("deed to a stone-and-plaster house", typeof(StonePlasterHouseDeed), 43800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a field stone house", typeof(FieldStoneHouseDeed), 43800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a small brick house", typeof(SmallBrickHouseDeed), 43800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a wooden house", typeof(WoodHouseDeed), 43800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a wood-and-plaster house", typeof(WoodPlasterHouseDeed), 43800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a thatched-roof cottage", typeof(ThatchedRoofCottageDeed), 43800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a brick house", typeof(BrickHouseDeed), 144500, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a two-story wood-and-plaster house", typeof(TwoStoryWoodPlasterHouseDeed), 192400, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a tower", typeof(TowerDeed), 433200, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a small stone keep", typeof(KeepDeed), 665200, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a castle", typeof(CastleDeed), 1022800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a large house with patio", typeof(LargePatioDeed), 152800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a marble house with patio", typeof(LargeMarbleDeed), 192000, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a small stone tower", typeof(SmallTowerDeed), 88500, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a two story log cabin", typeof(LogCabinDeed), 97800, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a sandstone house with patio", typeof(SandstonePatioDeed), 90900, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a two story villa", typeof(VillaDeed), 136500, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a small stone workshop", typeof(StoneWorkshopDeed), 60600, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("deed to a small marble workshop", typeof(MarbleWorkshopDeed), 63000, 20, 0x14F0, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
/*Add( typeof( StonePlasterHouseDeed ), 43800 );
|
||||
Add( typeof( FieldStoneHouseDeed ), 43800 );
|
||||
Add( typeof( SmallBrickHouseDeed ), 43800 );
|
||||
Add( typeof( WoodHouseDeed ), 43800 );
|
||||
Add( typeof( WoodPlasterHouseDeed ), 43800 );
|
||||
Add( typeof( ThatchedRoofCottageDeed ), 43800 );
|
||||
Add( typeof( BrickHouseDeed ), 144500 );
|
||||
Add( typeof( TwoStoryWoodPlasterHouseDeed ), 192400 );
|
||||
Add( typeof( TowerDeed ), 433200 );
|
||||
Add( typeof( KeepDeed ), 665200 );
|
||||
Add( typeof( CastleDeed ), 1022800 );
|
||||
Add( typeof( LargePatioDeed ), 152800 );
|
||||
Add( typeof( LargeMarbleDeed ), 192800 );
|
||||
Add( typeof( SmallTowerDeed ), 88500 );
|
||||
Add( typeof( LogCabinDeed ), 97800 );
|
||||
Add( typeof( SandstonePatioDeed ), 90900 );
|
||||
Add( typeof( VillaDeed ), 136500 );
|
||||
Add( typeof( StoneWorkshopDeed ), 60600 );
|
||||
Add( typeof( MarbleWorkshopDeed ), 60300 );
|
||||
Add( typeof( SmallBrickHouseDeed ), 43800 );*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
Scripts/VendorInfo/SBInfo.cs
Normal file
15
Scripts/VendorInfo/SBInfo.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public abstract class SBInfo
|
||||
{
|
||||
public SBInfo()
|
||||
{
|
||||
}
|
||||
|
||||
public abstract IShopSellInfo SellInfo { get; }
|
||||
public abstract List<GenericBuyInfo> BuyInfo { get; }
|
||||
}
|
||||
}
|
||||
126
Scripts/VendorInfo/SBInnKeeper.cs
Normal file
126
Scripts/VendorInfo/SBInnKeeper.cs
Normal file
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBInnKeeper : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBInnKeeper()
|
||||
{
|
||||
}
|
||||
|
||||
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 BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Ale, 7, 20, 0x99F, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Wine, 7, 20, 0x9C7, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Liquor, 7, 20, 0x99B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Jug), BeverageType.Cider, 13, 20, 0x9C8, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Milk, 7, 20, 0x9F0, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Ale, 11, 20, 0x1F95, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Cider, 11, 20, 0x1F97, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Liquor, 11, 20, 0x1F99, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Wine, 11, 20, 0x1F9B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Water, 11, 20, 0x1F9D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 6, 10, 0x103B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CheeseWheel), 21, 10, 0x97E, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CookedBird), 17, 20, 0x9B7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LambLeg), 8, 20, 0x160A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ChickenLeg), 5, 20, 0x1608, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Ribs), 7, 20, 0x9F2, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCarrots), 3, 20, 0x15F9, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCorn), 3, 20, 0x15FA, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfLettuce), 3, 20, 0x15FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfPeas), 3, 20, 0x15FC, 0));
|
||||
Add(new GenericBuyInfo(typeof(EmptyPewterBowl), 2, 20, 0x15FD, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfCorn), 3, 20, 0x15FE, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfLettuce), 3, 20, 0x15FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPeas), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPotatos), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfStew), 3, 20, 0x1604, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfTomatoSoup), 3, 20, 0x1606, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(ApplePie), 7, 20, 0x1041, 0, true)); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Peach), 3, 20, 0x9D2, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Pear), 3, 20, 0x994, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Grapes), 3, 20, 0x9D1, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Apple), 3, 20, 0x9D0, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Banana), 2, 20, 0x171F, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Torch), 7, 20, 0xF6B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Candle), 6, 20, 0xA28, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Beeswax), 1, 20, 0x1422, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Backpack), 15, 20, 0x9B2, 0));
|
||||
Add(new GenericBuyInfo("1016450", typeof(Chessboard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo("1016449", typeof(CheckerBoard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backgammon), 2, 20, 0xE1C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dices), 2, 20, 0xFA7, 0));
|
||||
Add(new GenericBuyInfo("1041243", typeof(ContractOfEmployment), 1252, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("a barkeep contract", typeof(BarkeepContract), 1252, 20, 0x14F0, 0));
|
||||
|
||||
if (Multis.BaseHouse.NewVendorSystem)
|
||||
Add(new GenericBuyInfo("1062332", typeof(VendorRentalContract), 1252, 20, 0x14F0, 0x672));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(BeverageBottle), 3);
|
||||
Add(typeof(Jug), 6);
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(GlassMug), 1);
|
||||
Add(typeof(BreadLoaf), 3);
|
||||
Add(typeof(CheeseWheel), 12);
|
||||
Add(typeof(Ribs), 6);
|
||||
Add(typeof(Peach), 1);
|
||||
Add(typeof(Pear), 1);
|
||||
Add(typeof(Grapes), 1);
|
||||
Add(typeof(Apple), 1);
|
||||
Add(typeof(Banana), 1);
|
||||
Add(typeof(Torch), 3);
|
||||
Add(typeof(Candle), 3);
|
||||
Add(typeof(Chessboard), 1);
|
||||
Add(typeof(CheckerBoard), 1);
|
||||
Add(typeof(Backgammon), 1);
|
||||
Add(typeof(Dices), 1);
|
||||
Add(typeof(ContractOfEmployment), 626);
|
||||
Add(typeof(Beeswax), 1);
|
||||
Add(typeof(WoodenBowlOfCarrots), 1);
|
||||
Add(typeof(WoodenBowlOfCorn), 1);
|
||||
Add(typeof(WoodenBowlOfLettuce), 1);
|
||||
Add(typeof(WoodenBowlOfPeas), 1);
|
||||
Add(typeof(EmptyPewterBowl), 1);
|
||||
Add(typeof(PewterBowlOfCorn), 1);
|
||||
Add(typeof(PewterBowlOfLettuce), 1);
|
||||
Add(typeof(PewterBowlOfPeas), 1);
|
||||
Add(typeof(PewterBowlOfPotatos), 1);
|
||||
Add(typeof(WoodenBowlOfStew), 1);
|
||||
Add(typeof(WoodenBowlOfTomatoSoup), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
88
Scripts/VendorInfo/SBJewel.cs
Normal file
88
Scripts/VendorInfo/SBJewel.cs
Normal file
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBJewel : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBJewel()
|
||||
{
|
||||
}
|
||||
|
||||
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(GoldRing), 27, 20, 0x108A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Necklace), 26, 20, 0x1085, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldNecklace), 27, 20, 0x1088, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldBeadNecklace), 27, 20, 0x1089, 0));
|
||||
Add(new GenericBuyInfo(typeof(Beads), 27, 20, 0x108B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(GoldBracelet), 27, 20, 0x1086, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldEarrings), 27, 20, 0x1087, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1060740", typeof(BroadcastCrystal), 68, 20, 0x1ED0, 0, new object[] { 500 })); // 500 charges
|
||||
Add(new GenericBuyInfo("1060740", typeof(BroadcastCrystal), 131, 20, 0x1ED0, 0, new object[] { 1000 })); // 1000 charges
|
||||
Add(new GenericBuyInfo("1060740", typeof(BroadcastCrystal), 256, 20, 0x1ED0, 0, new object[] { 2000 })); // 2000 charges
|
||||
|
||||
Add(new GenericBuyInfo("1060740", typeof(ReceiverCrystal), 6, 20, 0x1ED0, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(StarSapphire), 125, 20, 0x0F0F, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Emerald), 100, 20, 0xF10, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Sapphire), 100, 20, 0xF19, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Ruby), 75, 20, 0xF13, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Citrine), 50, 20, 0xF15, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Amethyst), 100, 20, 0xF16, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Tourmaline), 75, 20, 0x0F18, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Amber), 50, 20, 0xF25, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Diamond), 200, 20, 0xF26, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Amber), 25);
|
||||
Add(typeof(Amethyst), 50);
|
||||
Add(typeof(Citrine), 25);
|
||||
Add(typeof(Diamond), 100);
|
||||
Add(typeof(Emerald), 50);
|
||||
Add(typeof(Ruby), 37);
|
||||
Add(typeof(Sapphire), 50);
|
||||
Add(typeof(StarSapphire), 62);
|
||||
Add(typeof(Tourmaline), 47);
|
||||
Add(typeof(GoldRing), 13);
|
||||
Add(typeof(SilverRing), 10);
|
||||
Add(typeof(Necklace), 13);
|
||||
Add(typeof(GoldNecklace), 13);
|
||||
Add(typeof(GoldBeadNecklace), 13);
|
||||
Add(typeof(SilverNecklace), 10);
|
||||
Add(typeof(SilverBeadNecklace), 10);
|
||||
Add(typeof(Beads), 13);
|
||||
Add(typeof(GoldBracelet), 13);
|
||||
Add(typeof(SilverBracelet), 10);
|
||||
Add(typeof(GoldEarrings), 13);
|
||||
Add(typeof(SilverEarrings), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/VendorInfo/SBKeeperOfBushido.cs
Normal file
45
Scripts/VendorInfo/SBKeeperOfBushido.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBKeeperOfBushido : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBKeeperOfBushido()
|
||||
{
|
||||
}
|
||||
|
||||
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(BookOfBushido), 500, 20, 9100, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/VendorInfo/SBKeeperOfChivalry.cs
Normal file
45
Scripts/VendorInfo/SBKeeperOfChivalry.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBKeeperOfChivalry : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBKeeperOfChivalry()
|
||||
{
|
||||
}
|
||||
|
||||
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(BookOfChivalry), 140, 20, 0x2252, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/VendorInfo/SBKeeperOfNinjitsu.cs
Normal file
45
Scripts/VendorInfo/SBKeeperOfNinjitsu.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBKeeperOfNinjitsu : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBKeeperOfNinjitsu()
|
||||
{
|
||||
}
|
||||
|
||||
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(BookOfNinjitsu), 500, 20, 0x23A0, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/VendorInfo/SBKnifeWeapon.cs
Normal file
52
Scripts/VendorInfo/SBKnifeWeapon.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBKnifeWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBKnifeWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(ButcherKnife), 14, 20, 0x13F6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dagger), 21, 20, 0xF52, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cleaver), 15, 20, 0xEC3, 0));
|
||||
Add(new GenericBuyInfo(typeof(SkinningKnife), 14, 20, 0xEC4, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(ButcherKnife), 7);
|
||||
Add(typeof(Cleaver), 7);
|
||||
Add(typeof(Dagger), 10);
|
||||
Add(typeof(SkinningKnife), 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
67
Scripts/VendorInfo/SBLeatherArmor.cs
Normal file
67
Scripts/VendorInfo/SBLeatherArmor.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBLeatherArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBLeatherArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(LeatherArms), 80, 20, 0x13CD, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherChest), 101, 20, 0x13CC, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherGloves), 60, 20, 0x13C6, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherGorget), 74, 20, 0x13C7, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherLegs), 80, 20, 0x13cb, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherCap), 10, 20, 0x1DB9, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleLeatherChest), 116, 20, 0x1C06, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherBustierArms), 97, 20, 0x1C0A, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherShorts), 86, 20, 0x1C00, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherSkirt), 87, 20, 0x1C08, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(LeatherArms), 40);
|
||||
Add(typeof(LeatherChest), 52);
|
||||
Add(typeof(LeatherGloves), 30);
|
||||
Add(typeof(LeatherGorget), 37);
|
||||
Add(typeof(LeatherLegs), 40);
|
||||
Add(typeof(LeatherCap), 5);
|
||||
|
||||
Add(typeof(FemaleLeatherChest), 18);
|
||||
Add(typeof(FemaleStuddedChest), 25);
|
||||
Add(typeof(LeatherShorts), 14);
|
||||
Add(typeof(LeatherSkirt), 11);
|
||||
Add(typeof(LeatherBustierArms), 11);
|
||||
Add(typeof(StuddedBustierArms), 27);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/VendorInfo/SBLeatherWorker.cs
Normal file
48
Scripts/VendorInfo/SBLeatherWorker.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBLeatherWorker : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBLeatherWorker()
|
||||
{
|
||||
}
|
||||
|
||||
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(Hides), 4, 999, 0x1078, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ThighBoots), 56, 10, 0x1711, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Hides), 2);
|
||||
Add(typeof(ThighBoots), 28);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/VendorInfo/SBMaceWeapon.cs
Normal file
56
Scripts/VendorInfo/SBMaceWeapon.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMaceWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMaceWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(HammerPick), 26, 20, 0x143D, 0));
|
||||
Add(new GenericBuyInfo(typeof(Club), 16, 20, 0x13B4, 0));
|
||||
Add(new GenericBuyInfo(typeof(Mace), 28, 20, 0xF5C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Maul), 21, 20, 0x143B, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarHammer), 25, 20, 0x1439, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarMace), 31, 20, 0x1407, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Club), 8);
|
||||
Add(typeof(HammerPick), 13);
|
||||
Add(typeof(Mace), 14);
|
||||
Add(typeof(Maul), 10);
|
||||
Add(typeof(WarHammer), 12);
|
||||
Add(typeof(WarMace), 15);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
146
Scripts/VendorInfo/SBMage.cs
Normal file
146
Scripts/VendorInfo/SBMage.cs
Normal file
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMage : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMage()
|
||||
{
|
||||
}
|
||||
|
||||
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(Spellbook), 18, 10, 0xEFA, 0));
|
||||
|
||||
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));
|
||||
|
||||
Add(new GenericBuyInfo("1041072", typeof(MagicWizardsHat), 11, 10, 0x1718, Utility.RandomDyedHue()));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RecallRune), 15, 10, 0x1F14, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 10, 0xF0B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 10, 0xF08, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 10, 0xF06, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 10, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 10, 0xF09, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserPoisonPotion), 15, 10, 0xF0A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 10, 0xF07, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserExplosionPotion), 21, 10, 0xF0D, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BlackPearl), 5, 20, 0xF7A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bloodmoss), 5, 20, 0xF7B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
Add(new GenericBuyInfo(typeof(MandrakeRoot), 3, 20, 0xF86, 0));
|
||||
Add(new GenericBuyInfo(typeof(Nightshade), 3, 20, 0xF88, 0));
|
||||
Add(new GenericBuyInfo(typeof(SpidersSilk), 3, 20, 0xF8D, 0));
|
||||
Add(new GenericBuyInfo(typeof(SulfurousAsh), 3, 20, 0xF8C, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(BatWing), 3, 999, 0xF78, 0));
|
||||
Add(new GenericBuyInfo(typeof(DaemonBlood), 6, 999, 0xF7D, 0));
|
||||
Add(new GenericBuyInfo(typeof(PigIron), 5, 999, 0xF8A, 0));
|
||||
Add(new GenericBuyInfo(typeof(NoxCrystal), 6, 999, 0xF8E, 0));
|
||||
Add(new GenericBuyInfo(typeof(GraveDust), 3, 999, 0xF8F, 0));
|
||||
}
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
int circles = 3;
|
||||
|
||||
for (int i = 0; i < circles * 8 && i < types.Length; ++i)
|
||||
{
|
||||
int itemID = 0x1F2E + i;
|
||||
|
||||
if (i == 6)
|
||||
itemID = 0x1F2D;
|
||||
else if (i > 6)
|
||||
--itemID;
|
||||
|
||||
Add(new GenericBuyInfo(types[i], 12 + ((i / 8) * 10), 20, itemID, 0, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
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);
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(typeof(BatWing), 1);
|
||||
Add(typeof(DaemonBlood), 3);
|
||||
Add(typeof(PigIron), 2);
|
||||
Add(typeof(NoxCrystal), 3);
|
||||
Add(typeof(GraveDust), 1);
|
||||
}
|
||||
|
||||
Add(typeof(RecallRune), 13);
|
||||
Add(typeof(Spellbook), 25);
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for (int i = 0; i < types.Length; ++i)
|
||||
Add(types[i], ((i / 8) + 2) * 2);
|
||||
|
||||
if (Core.SE)
|
||||
{
|
||||
Add(typeof(ExorcismScroll), 3);
|
||||
Add(typeof(AnimateDeadScroll), 8);
|
||||
Add(typeof(BloodOathScroll), 8);
|
||||
Add(typeof(CorpseSkinScroll), 8);
|
||||
Add(typeof(CurseWeaponScroll), 8);
|
||||
Add(typeof(EvilOmenScroll), 8);
|
||||
Add(typeof(PainSpikeScroll), 8);
|
||||
Add(typeof(SummonFamiliarScroll), 8);
|
||||
Add(typeof(HorrificBeastScroll), 8);
|
||||
Add(typeof(MindRotScroll), 10);
|
||||
Add(typeof(PoisonStrikeScroll), 10);
|
||||
Add(typeof(WraithFormScroll), 15);
|
||||
Add(typeof(LichFormScroll), 16);
|
||||
Add(typeof(StrangleScroll), 16);
|
||||
Add(typeof(WitherScroll), 16);
|
||||
Add(typeof(VampiricEmbraceScroll), 20);
|
||||
Add(typeof(VengefulSpiritScroll), 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/VendorInfo/SBMapmaker.cs
Normal file
58
Scripts/VendorInfo/SBMapmaker.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMapmaker : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMapmaker()
|
||||
{
|
||||
}
|
||||
|
||||
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(BlankMap), 5, 40, 0x14EC, 0));
|
||||
Add(new GenericBuyInfo(typeof(MapmakersPen), 8, 20, 0x0FBF, 0));
|
||||
Add(new GenericBuyInfo(typeof(BlankScroll), 12, 40, 0xEF3, 0));
|
||||
|
||||
for (int i = 0; i < PresetMapEntry.Table.Length; ++i)
|
||||
Add(new PresetMapBuyInfo(PresetMapEntry.Table[i], Utility.RandomMinMax(7, 10), 20));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(BlankScroll), 6);
|
||||
Add(typeof(MapmakersPen), 4);
|
||||
Add(typeof(BlankMap), 2);
|
||||
Add(typeof(CityMap), 3);
|
||||
Add(typeof(LocalMap), 3);
|
||||
Add(typeof(WorldMap), 3);
|
||||
Add(typeof(PresetMapEntry), 3);
|
||||
//TODO: Buy back maps that the mapmaker sells!!!
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/VendorInfo/SBMetalShields.cs
Normal file
56
Scripts/VendorInfo/SBMetalShields.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMetalShields : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMetalShields()
|
||||
{
|
||||
}
|
||||
|
||||
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(BronzeShield), 66, 20, 0x1B72, 0));
|
||||
Add(new GenericBuyInfo(typeof(Buckler), 50, 20, 0x1B73, 0));
|
||||
Add(new GenericBuyInfo(typeof(MetalKiteShield), 123, 20, 0x1B74, 0));
|
||||
Add(new GenericBuyInfo(typeof(HeaterShield), 231, 20, 0x1B76, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenKiteShield), 70, 20, 0x1B78, 0));
|
||||
Add(new GenericBuyInfo(typeof(MetalShield), 121, 20, 0x1B7B, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Buckler), 25);
|
||||
Add(typeof(BronzeShield), 33);
|
||||
Add(typeof(MetalShield), 60);
|
||||
Add(typeof(MetalKiteShield), 62);
|
||||
Add(typeof(HeaterShield), 115);
|
||||
Add(typeof(WoodenKiteShield), 35);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/VendorInfo/SBMiller.cs
Normal file
48
Scripts/VendorInfo/SBMiller.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMiller : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMiller()
|
||||
{
|
||||
}
|
||||
|
||||
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(SackFlour), 3, 20, 0x1039, 0));
|
||||
Add(new GenericBuyInfo(typeof(SheafOfHay), 2, 20, 0xF36, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(SackFlour), 1);
|
||||
Add(typeof(SheafOfHay), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/VendorInfo/SBMiner.cs
Normal file
58
Scripts/VendorInfo/SBMiner.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMiner : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMiner()
|
||||
{
|
||||
}
|
||||
|
||||
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(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/VendorInfo/SBMonk.cs
Normal file
46
Scripts/VendorInfo/SBMonk.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMonk : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMonk()
|
||||
{
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_SellInfo;
|
||||
}
|
||||
}
|
||||
public override List<GenericBuyInfo> BuyInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_BuyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo()
|
||||
{
|
||||
if (Core.AOS)
|
||||
Add(new GenericBuyInfo(typeof(MonkRobe), 136, 20, 0x2687, 0x21E));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
98
Scripts/VendorInfo/SBMystic.cs
Normal file
98
Scripts/VendorInfo/SBMystic.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBMystic : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBMystic()
|
||||
{
|
||||
}
|
||||
|
||||
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(PurgeMagicScroll), 18, 10, 0x2DA0, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(EnchantScroll), 23, 10, 0x2DA1, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(SleepScroll), 28, 10, 0x2DA2, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(EagleStrikeScroll), 33, 10, 0x2DA3, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AnimatedWeaponScroll), 38, 10, 0x2DA4, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StoneFormScroll), 43, 10, 0x2DA5, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(MysticBook), 18, 10, 0x2D9D, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ScribesPen), 8, 10, 0xFBF, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(BlankScroll), 5, 20, 0x0E34, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RecallRune), 15, 10, 0x1F14, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 10, 0xF0B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 10, 0xF08, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 10, 0xF06, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 10, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 10, 0xF09, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserPoisonPotion), 15, 10, 0xF0A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 10, 0xF07, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserExplosionPotion), 21, 10, 0xF0D, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BlackPearl), 5, 20, 0xF7A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bloodmoss), 5, 20, 0xF7B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
Add(new GenericBuyInfo(typeof(MandrakeRoot), 3, 20, 0xF86, 0));
|
||||
Add(new GenericBuyInfo(typeof(Nightshade), 3, 20, 0xF88, 0));
|
||||
Add(new GenericBuyInfo(typeof(SulfurousAsh), 3, 20, 0xF8C, 0));
|
||||
Add(new GenericBuyInfo(typeof(SpidersSilk), 3, 20, 0xF8D, 0));
|
||||
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Bone), 3, 20, 0xf7e, 0));
|
||||
Add(new GenericBuyInfo(typeof(FertileDirt), 3, 20, 0xF81, 0));
|
||||
Add(new GenericBuyInfo(typeof(NetherBoltScroll), 8, 20, 0x2D9E, 0));
|
||||
Add(new GenericBuyInfo(typeof(HealingStoneScroll), 13, 20, 0x2D9F, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(PurgeMagicScroll), 9);
|
||||
Add(typeof(EnchantScroll), 11);
|
||||
Add(typeof(SleepScroll), 14);
|
||||
Add(typeof(EagleStrikeScroll), 16);
|
||||
Add(typeof(AnimatedWeaponScroll), 19);
|
||||
Add(typeof(StoneFormScroll), 21);
|
||||
Add(typeof(MysticBook), 9);
|
||||
Add(typeof(RecallRune), 13);
|
||||
|
||||
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(NetherBoltScroll), 4);
|
||||
Add(typeof(HealingStoneScroll), 6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
97
Scripts/VendorInfo/SBNecromancer.cs
Normal file
97
Scripts/VendorInfo/SBNecromancer.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBNecromancer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBNecromancer()
|
||||
{
|
||||
}
|
||||
|
||||
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( BlackPearl ), 5, 20, 0xF7A, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Bloodmoss ), 7, 20, 0xF7B, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( MandrakeRoot ), 3, 20, 0xF86, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Garlic ), 3, 20, 0xF84, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Ginseng ), 3, 20, 0xF85, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Nightshade ), 4, 20, 0xF88, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( SpidersSilk ), 3, 20, 0xF8D, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( SulfurousAsh ), 4, 20, 0xF8C, 0 ) );
|
||||
|
||||
if ( Core.AOS )
|
||||
{
|
||||
Add( new GenericBuyInfo( typeof( BatWing ), 4, 20, 0xF78, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( GraveDust ), 4, 20, 0xF8F, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( DaemonBlood ), 4, 20, 0xF7D, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( NoxCrystal ), 4, 20, 0xF8E, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( PigIron ), 4, 20, 0xF8A, 0 ) );
|
||||
|
||||
Add( new GenericBuyInfo( typeof( NecromancerSpellbook ), 150, 10, 0x2253, 0 ) );
|
||||
}
|
||||
|
||||
Add(new GenericBuyInfo("1041072", typeof(MagicWizardsHat), 11, 10, 0x1718, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(ScribesPen), 8, 10, 0xFBF, 0));
|
||||
Add(new GenericBuyInfo(typeof(BlankScroll), 5, 20, 0x0E34, 0));
|
||||
Add( new GenericBuyInfo( typeof( RecallRune ), 25, 10, 0x1f14, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( Spellbook ), 50, 10, 0xEFA, 0 ) );
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for (int i = 0; i < types.Length && i < 8; ++i)
|
||||
{
|
||||
int itemID = 0x1F2E + i;
|
||||
|
||||
if (i == 6)
|
||||
itemID = 0x1F2D;
|
||||
else if (i > 6)
|
||||
--itemID;
|
||||
|
||||
Add(new GenericBuyInfo(types[i], 12 + ((i / 8) * 10), 20, itemID, 0, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add( typeof( WizardsHat ), 15 );
|
||||
Add( typeof( Runebook ), 1250 );
|
||||
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( RecallRune ), 13 );
|
||||
Add( typeof( Spellbook ), 25 );
|
||||
|
||||
if ( Core.AOS )
|
||||
{
|
||||
Add( typeof( PigIron ), 2 );
|
||||
Add( typeof( DaemonBlood ), 3 );
|
||||
Add( typeof( NoxCrystal ), 3 );
|
||||
Add( typeof( BatWing ), 1 );
|
||||
Add( typeof( GraveDust ), 1 );
|
||||
}
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for (int i = 0; i < types.Length; ++i)
|
||||
Add(types[i], ((i / 8) + 2) * 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/VendorInfo/SBPlateArmor.cs
Normal file
56
Scripts/VendorInfo/SBPlateArmor.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBPlateArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBPlateArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(PlateGorget), 104, 20, 0x1413, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateChest), 243, 20, 0x1415, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateLegs), 218, 20, 0x1411, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateArms), 188, 20, 0x1410, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateGloves), 155, 20, 0x1414, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(PlateArms), 94);
|
||||
Add(typeof(PlateChest), 121);
|
||||
Add(typeof(PlateGloves), 72);
|
||||
Add(typeof(PlateGorget), 52);
|
||||
Add(typeof(PlateLegs), 109);
|
||||
|
||||
Add(typeof(FemalePlateChest), 113);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
60
Scripts/VendorInfo/SBPlayerBarkeeper.cs
Normal file
60
Scripts/VendorInfo/SBPlayerBarkeeper.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBPlayerBarkeeper : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBPlayerBarkeeper()
|
||||
{
|
||||
}
|
||||
|
||||
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 BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Ale, 7, 20, 0x99F, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Wine, 7, 20, 0x9C7, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Liquor, 7, 20, 0x99B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Jug), BeverageType.Cider, 13, 20, 0x9C8, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Milk, 7, 20, 0x9F0, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Ale, 11, 20, 0x1F95, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Cider, 11, 20, 0x1F97, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Liquor, 11, 20, 0x1F99, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Wine, 11, 20, 0x1F9B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Water, 11, 20, 0x1F9D, 0));
|
||||
// TODO: pizza
|
||||
// TODO: bowl of *, tomato soup
|
||||
Add(new GenericBuyInfo("1016450", typeof(Chessboard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo("1016449", typeof(CheckerBoard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backgammon), 2, 20, 0xE1C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dices), 2, 20, 0xFA7, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/VendorInfo/SBPoleArmWeapon.cs
Normal file
48
Scripts/VendorInfo/SBPoleArmWeapon.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBPoleArmWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBPoleArmWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bardiche), 60, 20, 0xF4D, 0));
|
||||
Add(new GenericBuyInfo(typeof(Halberd), 42, 20, 0x143E, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bardiche), 30);
|
||||
Add(typeof(Halberd), 21);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
187
Scripts/VendorInfo/SBProvisioner.cs
Normal file
187
Scripts/VendorInfo/SBProvisioner.cs
Normal file
@@ -0,0 +1,187 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Guilds;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBProvisioner : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBProvisioner()
|
||||
{
|
||||
}
|
||||
|
||||
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("1060834", typeof(Engines.Plants.PlantBowl), 2, 20, 0x15FD, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Arrow), 2, 20, 0xF3F, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Bolt), 5, 20, 0x1BFB, 0, true));
|
||||
|
||||
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));
|
||||
Add(new GenericBuyInfo(typeof(OilFlask), 10, 20, 0x1C18, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Lockpick), 12, 20, 0x14FC, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(FloppyHat), 7, 20, 0x1713, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(WideBrimHat), 8, 20, 0x1714, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(Cap), 10, 20, 0x1715, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(TallStrawHat), 8, 20, 0x1716, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(StrawHat), 7, 20, 0x1717, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(WizardsHat), 11, 20, 0x1718, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(LeatherCap), 10, 20, 0x1DB9, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(FeatheredHat), 10, 20, 0x171A, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(TricorneHat), 8, 20, 0x171B, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(Bandana), 6, 20, 0x1540, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(SkullCap), 7, 20, 0x1544, Utility.RandomDyedHue()));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 6, 10, 0x103B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LambLeg), 8, 20, 0x160A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ChickenLeg), 5, 20, 0x1608, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CookedBird), 17, 20, 0x9B7, 0, true));
|
||||
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Ale, 7, 20, 0x99F, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Wine, 7, 20, 0x9C7, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Liquor, 7, 20, 0x99B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Jug), BeverageType.Cider, 13, 20, 0x9C8, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Pear), 3, 20, 0x994, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Apple), 3, 20, 0x9D0, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Beeswax), 1, 20, 0x1422, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0));
|
||||
Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Bottle), 5, 20, 0xF0E, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RedBook), 15, 20, 0xFF1, 0));
|
||||
Add(new GenericBuyInfo(typeof(BlueBook), 15, 20, 0xFF2, 0));
|
||||
Add(new GenericBuyInfo(typeof(TanBook), 15, 20, 0xFF0, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(WoodenBox), 14, 20, 0xE7D, 0));
|
||||
Add(new GenericBuyInfo(typeof(Key), 2, 20, 0x100E, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Bedroll), 5, 20, 0xA59, 0));
|
||||
Add(new GenericBuyInfo(typeof(Kindling), 2, 20, 0xDE1, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo("1041205", typeof(Multis.SmallBoatDeed), 10177, 20, 0x14F2, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1041060", typeof(HairDye), 60, 20, 0xEFF, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1016450", typeof(Chessboard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo("1016449", typeof(CheckerBoard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backgammon), 2, 20, 0xE1C, 0));
|
||||
if (Core.AOS)
|
||||
Add(new GenericBuyInfo(typeof(Engines.Mahjong.MahjongGame), 6, 20, 0xFAA, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dices), 2, 20, 0xFA7, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(SmallBagBall), 3, 20, 0x2256, 0));
|
||||
Add(new GenericBuyInfo(typeof(LargeBagBall), 3, 20, 0x2257, 0));
|
||||
}
|
||||
|
||||
if (!Guild.NewGuildSystem)
|
||||
Add(new GenericBuyInfo("1041055", typeof(GuildDeed), 12450, 20, 0x14F0, 0));
|
||||
|
||||
if (Core.ML)
|
||||
Add(new GenericBuyInfo("1079931", typeof(SalvageBag), 1255, 20, 0xE76, Utility.RandomBlueHue()));
|
||||
|
||||
if (Core.SA)
|
||||
Add(new GenericBuyInfo("1114770", typeof(SkinTingeingTincture), 1255, 20, 0xEFF, 90));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Arrow), 1);
|
||||
Add(typeof(Bolt), 2);
|
||||
Add(typeof(Backpack), 7);
|
||||
Add(typeof(Pouch), 3);
|
||||
Add(typeof(Bag), 3);
|
||||
Add(typeof(Candle), 3);
|
||||
Add(typeof(Torch), 4);
|
||||
Add(typeof(Lantern), 1);
|
||||
Add(typeof(Lockpick), 6);
|
||||
Add(typeof(FloppyHat), 3);
|
||||
Add(typeof(WideBrimHat), 4);
|
||||
Add(typeof(Cap), 5);
|
||||
Add(typeof(TallStrawHat), 4);
|
||||
Add(typeof(StrawHat), 3);
|
||||
Add(typeof(WizardsHat), 5);
|
||||
Add(typeof(LeatherCap), 5);
|
||||
Add(typeof(FeatheredHat), 5);
|
||||
Add(typeof(TricorneHat), 4);
|
||||
Add(typeof(Bandana), 3);
|
||||
Add(typeof(SkullCap), 3);
|
||||
Add(typeof(Bottle), 3);
|
||||
Add(typeof(RedBook), 7);
|
||||
Add(typeof(BlueBook), 7);
|
||||
Add(typeof(TanBook), 7);
|
||||
Add(typeof(WoodenBox), 7);
|
||||
Add(typeof(Kindling), 1);
|
||||
Add(typeof(HairDye), 30);
|
||||
Add(typeof(Chessboard), 1);
|
||||
Add(typeof(CheckerBoard), 1);
|
||||
Add(typeof(Backgammon), 1);
|
||||
Add(typeof(Dices), 1);
|
||||
|
||||
Add(typeof(Beeswax), 1);
|
||||
|
||||
Add(typeof(Amber), 25);
|
||||
Add(typeof(Amethyst), 50);
|
||||
Add(typeof(Citrine), 25);
|
||||
Add(typeof(Diamond), 100);
|
||||
Add(typeof(Emerald), 50);
|
||||
Add(typeof(Ruby), 37);
|
||||
Add(typeof(Sapphire), 50);
|
||||
Add(typeof(StarSapphire), 62);
|
||||
Add(typeof(Tourmaline), 47);
|
||||
Add(typeof(GoldRing), 13);
|
||||
Add(typeof(SilverRing), 10);
|
||||
Add(typeof(Necklace), 13);
|
||||
Add(typeof(GoldNecklace), 13);
|
||||
Add(typeof(GoldBeadNecklace), 13);
|
||||
Add(typeof(SilverNecklace), 10);
|
||||
Add(typeof(SilverBeadNecklace), 10);
|
||||
Add(typeof(Beads), 13);
|
||||
Add(typeof(GoldBracelet), 13);
|
||||
Add(typeof(SilverBracelet), 10);
|
||||
Add(typeof(GoldEarrings), 13);
|
||||
Add(typeof(SilverEarrings), 10);
|
||||
|
||||
if (!Guild.NewGuildSystem)
|
||||
Add(typeof(GuildDeed), 6225);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
44
Scripts/VendorInfo/SBRancher.cs
Normal file
44
Scripts/VendorInfo/SBRancher.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBRancher : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBRancher()
|
||||
{
|
||||
}
|
||||
|
||||
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 AnimalBuyInfo(1, typeof(PackHorse), 631, 10, 291, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
70
Scripts/VendorInfo/SBRangedWeapon.cs
Normal file
70
Scripts/VendorInfo/SBRangedWeapon.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBRangedWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBRangedWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(Crossbow), 55, 20, 0xF50, 0));
|
||||
Add(new GenericBuyInfo(typeof(HeavyCrossbow), 55, 20, 0x13FD, 0));
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(RepeatingCrossbow), 46, 20, 0x26C3, 0));
|
||||
Add(new GenericBuyInfo(typeof(CompositeBow), 45, 20, 0x26C2, 0));
|
||||
}
|
||||
Add(new GenericBuyInfo(typeof(Bolt), 2, Utility.Random(30, 60), 0x1BFB, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Bow), 40, 20, 0x13B2, 0));
|
||||
Add(new GenericBuyInfo(typeof(Arrow), 2, Utility.Random(30, 60), 0xF3F, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Feather), 2, Utility.Random(30, 60), 0x1BD1, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Shaft), 3, Utility.Random(30, 60), 0x1BD4, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bolt), 1);
|
||||
Add(typeof(Arrow), 1);
|
||||
Add(typeof(Shaft), 1);
|
||||
Add(typeof(Feather), 1);
|
||||
|
||||
Add(typeof(HeavyCrossbow), 27);
|
||||
Add(typeof(Bow), 17);
|
||||
Add(typeof(Crossbow), 25);
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(typeof(CompositeBow), 23);
|
||||
Add(typeof(RepeatingCrossbow), 22);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
49
Scripts/VendorInfo/SBRanger.cs
Normal file
49
Scripts/VendorInfo/SBRanger.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBRanger : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBRanger()
|
||||
{
|
||||
}
|
||||
|
||||
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 AnimalBuyInfo(1, typeof(Cat), 138, 20, 201, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Dog), 181, 20, 217, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(PackLlama), 491, 20, 292, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(PackHorse), 606, 20, 291, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bandage), 5, 20, 0xE21, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/VendorInfo/SBRealEstateBroker.cs
Normal file
48
Scripts/VendorInfo/SBRealEstateBroker.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBRealEstateBroker : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBRealEstateBroker()
|
||||
{
|
||||
}
|
||||
|
||||
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(BlankScroll), 5, 20, 0x0E34, 0));
|
||||
Add(new GenericBuyInfo(typeof(ScribesPen), 8, 20, 0xFBF, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(ScribesPen), 4);
|
||||
Add(typeof(BlankScroll), 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/VendorInfo/SBRingmailArmor.cs
Normal file
52
Scripts/VendorInfo/SBRingmailArmor.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBRingmailArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBRingmailArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(RingmailChest), 121, 20, 0x13ec, 0));
|
||||
Add(new GenericBuyInfo(typeof(RingmailLegs), 90, 20, 0x13F0, 0));
|
||||
Add(new GenericBuyInfo(typeof(RingmailArms), 85, 20, 0x13EE, 0));
|
||||
Add(new GenericBuyInfo(typeof(RingmailGloves), 93, 20, 0x13eb, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(RingmailArms), 42);
|
||||
Add(typeof(RingmailChest), 60);
|
||||
Add(typeof(RingmailGloves), 26);
|
||||
Add(typeof(RingmailLegs), 45);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
Scripts/VendorInfo/SBSAArmor.cs
Normal file
79
Scripts/VendorInfo/SBSAArmor.cs
Normal file
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSAArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBSAArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(FemaleGargishPlateArms), 363, 20, 0x307, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishPlateArms), 328, 20, 0x308, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishPlateChest), 481, 20, 0x309, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishPlateChest), 462, 20, 0x30A, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishPlateKilt), 338, 20, 0x30B, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishPlateKilt), 370, 20, 0x30C, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishPlateLegs), 372, 20, 0x30D, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishPlateLegs), 355, 20, 0x30E, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishStoneArms), 116, 20, 0x283, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishStoneArms), 121, 20, 0x284, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishStoneChest), 135, 20, 0x285, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishStoneChest), 142, 20, 0x286, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishStoneKilt), 135, 20, 0x287, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishStoneKilt), 132, 20, 0x288, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishStoneLegs), 116, 20, 0x289, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishStoneLegs), 113, 20, 0x28A, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(FemaleGargishPlateArms), 181);
|
||||
Add(typeof(GargishPlateArms), 164);
|
||||
Add(typeof(FemaleGargishPlateChest), 240);
|
||||
Add(typeof(GargishPlateChest), 231);
|
||||
Add(typeof(FemaleGargishPlateKilt), 169);
|
||||
Add(typeof(GargishPlateKilt), 185);
|
||||
Add(typeof(FemaleGargishPlateLegs), 186);
|
||||
Add(typeof(GargishPlateLegs), 177);
|
||||
|
||||
Add(typeof(FemaleGargishStoneArms), 58);
|
||||
Add(typeof(GargishStoneArms), 60);
|
||||
Add(typeof(FemaleGargishStoneChest), 67);
|
||||
Add(typeof(GargishStoneChest), 71);
|
||||
Add(typeof(FemaleGargishStoneKilt), 67);
|
||||
Add(typeof(GargishStoneKilt), 66);
|
||||
Add(typeof(FemaleGargishStoneLegs), 58);
|
||||
Add(typeof(GargishStoneLegs), 56);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/VendorInfo/SBSABlacksmith.cs
Normal file
50
Scripts/VendorInfo/SBSABlacksmith.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSABlacksmith : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSABlacksmith()
|
||||
{
|
||||
}
|
||||
|
||||
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(IronIngot), 9, 16, 0x1BF2, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tongs), 13, 14, 0xFBB, 0));
|
||||
Add(new GenericBuyInfo(typeof(GemMiningBook), 10625, 20, 0xFBE, 0));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(IronIngot), 4);
|
||||
Add(typeof(Tongs), 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
83
Scripts/VendorInfo/SBSATailor.cs
Normal file
83
Scripts/VendorInfo/SBSATailor.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSATailor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSATailor()
|
||||
{
|
||||
}
|
||||
|
||||
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(Cotton), 102, 20, 0xDF9, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Wool), 62, 20, 0xDF8, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Flax), 102, 20, 0x1A9C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(SpoolOfThread), 18, 20, 0xFA0, 0, true));
|
||||
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(GargishRobe), 32, 20, 0x4000, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishFancyRobe), 46, 20, 0x4002, 0));
|
||||
|
||||
this.Add(new GenericBuyInfo(typeof(FemaleGargishClothArmsArmor), 62, 20, 0x403, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(GargishClothArmsArmor), 61, 20, 0x404, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(FemaleGargishClothChestArmor), 83, 20, 0x405, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(GargishClothChestArmor), 78, 20, 0x406, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(FemaleGargishClothLegsArmor), 71, 20, 0x409, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(GargishClothLegsArmor), 66, 20, 0x40A, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(FemaleGargishClothKiltArmor), 57, 20, 0x407, 0));
|
||||
this.Add(new GenericBuyInfo(typeof(GargishClothKiltArmor), 56, 20, 0x408, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Cotton), 51);
|
||||
Add(typeof(Wool), 31);
|
||||
Add(typeof(Flax), 51);
|
||||
Add(typeof(SpoolOfThread), 9);
|
||||
Add(typeof(SewingKit), 1);
|
||||
Add(typeof(Scissors), 6);
|
||||
Add(typeof(DyeTub), 4);
|
||||
Add(typeof(Dyes), 4);
|
||||
|
||||
this.Add(typeof(GargishRobe), 16);
|
||||
this.Add(typeof(GargishFancyRobe), 23);
|
||||
this.Add(typeof(FemaleGargishClothArmsArmor), 30);
|
||||
this.Add(typeof(GargishClothArmsArmor), 30);
|
||||
this.Add(typeof(FemaleGargishClothChestArmor), 40);
|
||||
this.Add(typeof(GargishClothChestArmor), 42);
|
||||
this.Add(typeof(FemaleGargishClothLegsArmor), 30);
|
||||
this.Add(typeof(GargishClothLegsArmor), 32);
|
||||
this.Add(typeof(FemaleGargishClothKiltArmor), 30);
|
||||
this.Add(typeof(GargishClothKiltArmor), 32);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
71
Scripts/VendorInfo/SBSATanner.cs
Normal file
71
Scripts/VendorInfo/SBSATanner.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSATanner : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSATanner()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bag), 6, 20, 0xE76, 0));
|
||||
Add(new GenericBuyInfo(typeof(Pouch), 6, 20, 0xE79, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backpack), 15, 20, 0x9B2, 0));
|
||||
Add(new GenericBuyInfo(typeof(Leather), 6, 20, 0x1081, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(GargishDagger), 20, 20, 0x902, 0));
|
||||
Add(new GenericBuyInfo(typeof(TaxidermyKit), 100000, 20, 0x1EBA, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishLeatherArms), 73, 20, 0x301, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishLeatherArms), 80, 20, 0x302, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishLeatherChest), 77, 20, 0x303, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishLeatherChest), 77, 20, 0x304, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleGargishLeatherKilt), 92, 20, 0x310, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishLeatherKilt), 85, 20, 0x311, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishLeatherLegs), 67, 20, 0x305, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bag), 3);
|
||||
Add(typeof(Pouch), 3);
|
||||
Add(typeof(Backpack), 7);
|
||||
Add(typeof(Leather), 5);
|
||||
Add(typeof(GargishDagger), 10);
|
||||
|
||||
Add(typeof(FemaleGargishLeatherArms), 42);
|
||||
Add(typeof(GargishLeatherArms), 41);
|
||||
Add(typeof(FemaleGargishLeatherChest), 44);
|
||||
Add(typeof(GargishLeatherChest), 38);
|
||||
Add(typeof(FemaleGargishLeatherKilt), 46);
|
||||
Add(typeof(GargishLeatherKilt), 48);
|
||||
Add(typeof(GargishLeatherLegs), 34);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
105
Scripts/VendorInfo/SBSAWeapons.cs
Normal file
105
Scripts/VendorInfo/SBSAWeapons.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSAWeapons : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSAWeapons()
|
||||
{
|
||||
}
|
||||
|
||||
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(DualShortAxes), 83, 20, 0x8FD, 0));
|
||||
Add(new GenericBuyInfo(typeof(BloodBlade), 47, 20, 0x8FE, 0));
|
||||
Add(new GenericBuyInfo(typeof(Boomerang), 28, 20, 0x8FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cyclone), 47, 20, 0x901, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishDagger), 20, 20, 0x902, 0));
|
||||
Add(new GenericBuyInfo(typeof(DiscMace), 62, 20, 0x903, 0));
|
||||
Add(new GenericBuyInfo(typeof(GlassStaff), 11, 20, 0x905, 0));
|
||||
Add(new GenericBuyInfo(typeof(SerpentStoneStaff), 30, 20, 0x906, 0));
|
||||
Add(new GenericBuyInfo(typeof(Shortblade), 57, 20, 0x907, 0));
|
||||
Add(new GenericBuyInfo(typeof(SoulGlaive), 68, 20, 0x090A, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishTalwar), 63, 20, 0x908, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishCleaver), 8, 20, 0x48AE, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishBattleAxe), 22, 20, 0x48B0, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishAxe), 23, 20, 0x48B2, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishBardiche), 47, 20, 0x48B4, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishButcherKnife), 8, 20, 0x48B6, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishGnarledStaff), 11, 20, 0x48B8, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishKatana), 17, 20, 0x48BA, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishKryss), 15, 20, 0x48BC, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishWarFork), 15, 20, 0x48BE, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishWarHammer), 16, 20, 0x48C0, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishMaul), 13, 20, 0x48C2, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishScythe), 31, 20, 0x48C4, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishBoneHarvester), 30, 20, 0x48C6, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishPike), 31, 20, 0x48C8, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishLance), 40, 20, 0x48CA, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishTessen), 23, 20, 0x48CC, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishTekagi), 18, 20, 0x48CE, 0));
|
||||
Add(new GenericBuyInfo(typeof(GargishDaisho), 23, 20, 0x48D0, 0));
|
||||
Add(new GenericBuyInfo(typeof(GlassSword), 28, 20, 0x90C, 0));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(DualShortAxes), 41);
|
||||
Add(typeof(BloodBlade), 23);
|
||||
Add(typeof(Boomerang), 14);
|
||||
Add(typeof(Cyclone), 23);
|
||||
Add(typeof(GargishDagger), 10);
|
||||
Add(typeof(DiscMace), 31);
|
||||
Add(typeof(GlassStaff), 5);
|
||||
Add(typeof(SerpentStoneStaff), 15);
|
||||
Add(typeof(Shortblade), 28);
|
||||
Add(typeof(SoulGlaive), 34);
|
||||
Add(typeof(GargishTalwar), 31);
|
||||
Add(typeof(GargishCleaver), 4);
|
||||
Add(typeof(GargishBattleAxe), 11);
|
||||
Add(typeof(GargishAxe), 11);
|
||||
Add(typeof(GargishBardiche), 23);
|
||||
Add(typeof(GargishButcherKnife), 4);
|
||||
Add(typeof(GargishGnarledStaff), 5);
|
||||
Add(typeof(GargishKatana), 8);
|
||||
Add(typeof(GargishKryss), 7);
|
||||
Add(typeof(GargishWarFork), 7);
|
||||
Add(typeof(GargishWarHammer), 8);
|
||||
Add(typeof(GargishMaul), 6);
|
||||
Add(typeof(GargishScythe), 15);
|
||||
Add(typeof(GargishBoneHarvester), 15);
|
||||
Add(typeof(GargishPike), 15);
|
||||
Add(typeof(GargishLance), 20);
|
||||
Add(typeof(GargishTessen), 11);
|
||||
Add(typeof(GargishTekagi), 9);
|
||||
Add(typeof(GargishDaisho), 11);
|
||||
Add(typeof(GlassSword), 14);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
60
Scripts/VendorInfo/SBSEArmor.cs
Normal file
60
Scripts/VendorInfo/SBSEArmor.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSEArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSEArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(PlateHatsuburi), 76, 20, 0x2775, 0));
|
||||
Add(new GenericBuyInfo(typeof(HeavyPlateJingasa), 76, 20, 0x2777, 0));
|
||||
Add(new GenericBuyInfo(typeof(DecorativePlateKabuto), 95, 20, 0x2778, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateDo), 310, 20, 0x277D, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateHiroSode), 222, 20, 0x2780, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateSuneate), 224, 20, 0x2788, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlateHaidate), 235, 20, 0x278D, 0));
|
||||
Add(new GenericBuyInfo(typeof(ChainHatsuburi), 76, 20, 0x2774, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(PlateHatsuburi), 38);
|
||||
Add(typeof(HeavyPlateJingasa), 38);
|
||||
Add(typeof(DecorativePlateKabuto), 47);
|
||||
Add(typeof(PlateDo), 155);
|
||||
Add(typeof(PlateHiroSode), 111);
|
||||
Add(typeof(PlateSuneate), 112);
|
||||
Add(typeof(PlateHaidate), 117);
|
||||
Add(typeof(ChainHatsuburi), 38);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
54
Scripts/VendorInfo/SBSEBowyer.cs
Normal file
54
Scripts/VendorInfo/SBSEBowyer.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSEBowyer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSEBowyer()
|
||||
{
|
||||
}
|
||||
|
||||
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(Yumi), 53, 20, 0x27A5, 0));
|
||||
Add(new GenericBuyInfo(typeof(Fukiya), 20, 20, 0x27AA, 0));
|
||||
Add(new GenericBuyInfo(typeof(Nunchaku), 35, 20, 0x27AE, 0));
|
||||
Add(new GenericBuyInfo(typeof(FukiyaDarts), 3, 20, 0x2806, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bokuto), 21, 20, 0x27A8, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Yumi), 26);
|
||||
Add(typeof(Fukiya), 10);
|
||||
Add(typeof(Nunchaku), 17);
|
||||
Add(typeof(FukiyaDarts), 1);
|
||||
Add(typeof(Bokuto), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
Scripts/VendorInfo/SBSECarpenter.cs
Normal file
53
Scripts/VendorInfo/SBSECarpenter.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSECarpenter : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSECarpenter()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bokuto), 21, 20, 0x27A8, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tetsubo), 43, 20, 0x27A6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Fukiya), 20, 20, 0x27AA, 0));
|
||||
Add(new GenericBuyInfo(typeof(BambooFlute), 21, 20, 0x2805, 0));
|
||||
Add(new GenericBuyInfo(typeof(BambooFlute), 21, 20, 0x2805, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Tetsubo), 21);
|
||||
Add(typeof(Fukiya), 10);
|
||||
Add(typeof(BambooFlute), 10);
|
||||
Add(typeof(Bokuto), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
64
Scripts/VendorInfo/SBSECook.cs
Normal file
64
Scripts/VendorInfo/SBSECook.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSECook : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSECook()
|
||||
{
|
||||
}
|
||||
|
||||
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(Wasabi), 2, 20, 0x24E8, 0));
|
||||
Add(new GenericBuyInfo(typeof(Wasabi), 2, 20, 0x24E9, 0));
|
||||
Add(new GenericBuyInfo(typeof(SushiRolls), 3, 20, 0x283E, 0));
|
||||
Add(new GenericBuyInfo(typeof(SushiPlatter), 3, 20, 0x2840, 0));
|
||||
Add(new GenericBuyInfo(typeof(GreenTea), 3, 20, 0x284C, 0));
|
||||
Add(new GenericBuyInfo(typeof(MisoSoup), 3, 20, 0x284D, 0));
|
||||
Add(new GenericBuyInfo(typeof(WhiteMisoSoup), 3, 20, 0x284E, 0));
|
||||
Add(new GenericBuyInfo(typeof(RedMisoSoup), 3, 20, 0x284F, 0));
|
||||
Add(new GenericBuyInfo(typeof(AwaseMisoSoup), 3, 20, 0x2850, 0));
|
||||
Add(new GenericBuyInfo(typeof(BentoBox), 6, 20, 0x2836, 0));
|
||||
Add(new GenericBuyInfo(typeof(BentoBox), 6, 20, 0x2837, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Wasabi), 1);
|
||||
Add(typeof(BentoBox), 3);
|
||||
Add(typeof(GreenTea), 1);
|
||||
Add(typeof(SushiRolls), 1);
|
||||
Add(typeof(SushiPlatter), 2);
|
||||
Add(typeof(MisoSoup), 1);
|
||||
Add(typeof(RedMisoSoup), 1);
|
||||
Add(typeof(WhiteMisoSoup), 1);
|
||||
Add(typeof(AwaseMisoSoup), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/VendorInfo/SBSEFood.cs
Normal file
52
Scripts/VendorInfo/SBSEFood.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSEFood : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSEFood()
|
||||
{
|
||||
}
|
||||
|
||||
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(Wasabi), 2, 20, 0x24E8, 0));
|
||||
Add(new GenericBuyInfo(typeof(Wasabi), 2, 20, 0x24E9, 0));
|
||||
Add(new GenericBuyInfo(typeof(BentoBox), 6, 20, 0x2836, 0));
|
||||
Add(new GenericBuyInfo(typeof(BentoBox), 6, 20, 0x2837, 0));
|
||||
Add(new GenericBuyInfo(typeof(GreenTeaBasket), 1000, 20, 0x284B, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Wasabi), 1);
|
||||
Add(typeof(BentoBox), 3);
|
||||
Add(typeof(GreenTeaBasket), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/VendorInfo/SBSEHats.cs
Normal file
50
Scripts/VendorInfo/SBSEHats.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSEHats : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSEHats()
|
||||
{
|
||||
}
|
||||
|
||||
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(Kasa), 31, 20, 0x2798, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherJingasa), 11, 20, 0x2776, 0));
|
||||
Add(new GenericBuyInfo(typeof(ClothNinjaHood), 33, 20, 0x278F, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Kasa), 15);
|
||||
Add(typeof(LeatherJingasa), 5);
|
||||
Add(typeof(ClothNinjaHood), 16);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
69
Scripts/VendorInfo/SBSELeatherArmor.cs
Normal file
69
Scripts/VendorInfo/SBSELeatherArmor.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSELeatherArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSELeatherArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(LeatherJingasa), 11, 20, 0x2776, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherDo), 87, 20, 0x277B, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherHiroSode), 49, 20, 0x277E, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherSuneate), 55, 20, 0x2786, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherHaidate), 54, 20, 0x278A, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherNinjaPants), 49, 20, 0x2791, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherNinjaJacket), 51, 20, 0x2793, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(StuddedMempo), 61, 20, 0x279D, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedDo), 130, 20, 0x277C, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedHiroSode), 73, 20, 0x277F, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedSuneate), 78, 20, 0x2787, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedHaidate), 76, 20, 0x278B, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(LeatherJingasa), 5);
|
||||
Add(typeof(LeatherDo), 42);
|
||||
Add(typeof(LeatherHiroSode), 23);
|
||||
Add(typeof(LeatherSuneate), 26);
|
||||
Add(typeof(LeatherHaidate), 28);
|
||||
Add(typeof(LeatherNinjaPants), 25);
|
||||
Add(typeof(LeatherNinjaJacket), 26);
|
||||
Add(typeof(StuddedMempo), 28);
|
||||
Add(typeof(StuddedDo), 66);
|
||||
Add(typeof(StuddedHiroSode), 32);
|
||||
Add(typeof(StuddedSuneate), 40);
|
||||
Add(typeof(StuddedHaidate), 37);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
64
Scripts/VendorInfo/SBSEWeapons.cs
Normal file
64
Scripts/VendorInfo/SBSEWeapons.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSEWeapons : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSEWeapons()
|
||||
{
|
||||
}
|
||||
|
||||
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(NoDachi), 82, 20, 0x27A2, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tessen), 83, 20, 0x27A3, 0));
|
||||
Add(new GenericBuyInfo(typeof(Wakizashi), 38, 20, 0x27A4, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tetsubo), 43, 20, 0x27A6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Lajatang), 108, 20, 0x27A7, 0));
|
||||
Add(new GenericBuyInfo(typeof(Daisho), 66, 20, 0x27A9, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tekagi), 55, 20, 0x27AB, 0));
|
||||
Add(new GenericBuyInfo(typeof(Shuriken), 18, 20, 0x27AC, 0));
|
||||
Add(new GenericBuyInfo(typeof(Kama), 61, 20, 0x27AD, 0));
|
||||
Add(new GenericBuyInfo(typeof(Sai), 56, 20, 0x27AF, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(NoDachi), 41);
|
||||
Add(typeof(Tessen), 41);
|
||||
Add(typeof(Wakizashi), 19);
|
||||
Add(typeof(Tetsubo), 21);
|
||||
Add(typeof(Lajatang), 54);
|
||||
Add(typeof(Daisho), 33);
|
||||
Add(typeof(Tekagi), 22);
|
||||
Add(typeof(Shuriken), 9);
|
||||
Add(typeof(Kama), 30);
|
||||
Add(typeof(Sai), 28);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
65
Scripts/VendorInfo/SBScribe.cs
Normal file
65
Scripts/VendorInfo/SBScribe.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBScribe : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo;
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBScribe(Mobile m)
|
||||
{
|
||||
if (m != null)
|
||||
{
|
||||
m_BuyInfo = new InternalBuyInfo(m);
|
||||
}
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_SellInfo;
|
||||
}
|
||||
}
|
||||
public override List<GenericBuyInfo> BuyInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_BuyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo(Mobile m)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(ScribesPen), 8, 20, 0xFBF, 0));
|
||||
Add(new GenericBuyInfo(typeof(BlankScroll), 5, 999, 0x0E34, 0));
|
||||
Add(new GenericBuyInfo(typeof(BrownBook), 15, 10, 0xFEF, 0));
|
||||
Add(new GenericBuyInfo(typeof(TanBook), 15, 10, 0xFF0, 0));
|
||||
Add(new GenericBuyInfo(typeof(BlueBook), 15, 10, 0xFF2, 0));
|
||||
|
||||
if (m.Map == Map.Tokuno || m.Map == Map.TerMur)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(BookOfNinjitsu), 335, 20, 0x23A0, 0));
|
||||
Add(new GenericBuyInfo(typeof(BookOfBushido), 280, 20, 0x238C, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(ScribesPen), 4);
|
||||
Add(typeof(BrownBook), 7);
|
||||
Add(typeof(TanBook), 7);
|
||||
Add(typeof(BlueBook), 7);
|
||||
Add(typeof(BlankScroll), 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
70
Scripts/VendorInfo/SBShipwright.cs
Normal file
70
Scripts/VendorInfo/SBShipwright.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
using Server.Multis;
|
||||
using Server.Regions;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBShipwright : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo;
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
|
||||
|
||||
public SBShipwright(Mobile m)
|
||||
{
|
||||
if (m != null)
|
||||
{
|
||||
m_BuyInfo = new InternalBuyInfo(m);
|
||||
}
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_SellInfo;
|
||||
}
|
||||
}
|
||||
public override List<GenericBuyInfo> BuyInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_BuyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo(Mobile m)
|
||||
{
|
||||
Add(new GenericBuyInfo("1041205", typeof(SmallBoatDeed), 10177, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1041206", typeof(SmallDragonBoatDeed), 10177, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1041207", typeof(MediumBoatDeed), 11552, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1041208", typeof(MediumDragonBoatDeed), 11552, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1041209", typeof(LargeBoatDeed), 12927, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1041210", typeof(LargeDragonBoatDeed), 12927, 20, 0x14F2, 0));
|
||||
|
||||
if (m.Region is SeaMarketRegion || m.Region is TokunoDocksRegion)
|
||||
{
|
||||
Add(new GenericBuyInfo("1116740", typeof(TokunoGalleonDeed), 150002, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1116739", typeof(GargishGalleonDeed), 200002, 20, 0x14F2, 0));
|
||||
Add(new GenericBuyInfo("1116491", typeof(RowBoatDeed), 6252, 20, 0x14F2, 0));
|
||||
}
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Spyglass), 3, 20, 0x14F5, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
//You technically CAN sell them back, *BUT* the vendors do not carry enough money to buy with
|
||||
Add(typeof(Spyglass), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/VendorInfo/SBSmithTools.cs
Normal file
48
Scripts/VendorInfo/SBSmithTools.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSmithTools : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSmithTools()
|
||||
{
|
||||
}
|
||||
|
||||
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(IronIngot), 5, 16, 0x1BF2, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Tongs), 13, 14, 0xFBB, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Tongs), 7);
|
||||
Add(typeof(IronIngot), 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/VendorInfo/SBSpearForkWeapon.cs
Normal file
50
Scripts/VendorInfo/SBSpearForkWeapon.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSpearForkWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSpearForkWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(Pitchfork), 19, 20, 0xE87, 0));
|
||||
Add(new GenericBuyInfo(typeof(ShortSpear), 23, 20, 0x1403, 0));
|
||||
Add(new GenericBuyInfo(typeof(Spear), 31, 20, 0xF62, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Spear), 15);
|
||||
Add(typeof(Pitchfork), 9);
|
||||
Add(typeof(ShortSpear), 11);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/VendorInfo/SBStavesWeapon.cs
Normal file
52
Scripts/VendorInfo/SBStavesWeapon.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBStavesWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBStavesWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(BlackStaff), 22, 20, 0xDF1, 0));
|
||||
Add(new GenericBuyInfo(typeof(GnarledStaff), 16, 20, 0x13F8, 0));
|
||||
Add(new GenericBuyInfo(typeof(QuarterStaff), 19, 20, 0xE89, 0));
|
||||
Add(new GenericBuyInfo(typeof(ShepherdsCrook), 20, 20, 0xE81, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(BlackStaff), 11);
|
||||
Add(typeof(GnarledStaff), 8);
|
||||
Add(typeof(QuarterStaff), 9);
|
||||
Add(typeof(ShepherdsCrook), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
107
Scripts/VendorInfo/SBStoneCrafter.cs
Normal file
107
Scripts/VendorInfo/SBStoneCrafter.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBStoneCrafter : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBStoneCrafter()
|
||||
{
|
||||
}
|
||||
|
||||
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(Nails), 3, 20, 0x102E, 0));
|
||||
Add(new GenericBuyInfo(typeof(Axle), 2, 20, 0x105B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Board), 3, 20, 0x1BD7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(DrawKnife), 10, 20, 0x10E4, 0));
|
||||
Add(new GenericBuyInfo(typeof(Froe), 10, 20, 0x10E5, 0));
|
||||
Add(new GenericBuyInfo(typeof(Scorp), 10, 20, 0x10E7, 0));
|
||||
Add(new GenericBuyInfo(typeof(Inshave), 10, 20, 0x10E6, 0));
|
||||
Add(new GenericBuyInfo(typeof(DovetailSaw), 12, 20, 0x1028, 0));
|
||||
Add(new GenericBuyInfo(typeof(Saw), 15, 20, 0x1034, 0));
|
||||
Add(new GenericBuyInfo(typeof(Hammer), 17, 20, 0x102A, 0));
|
||||
Add(new GenericBuyInfo(typeof(MouldingPlane), 11, 20, 0x102C, 0));
|
||||
Add(new GenericBuyInfo(typeof(SmoothingPlane), 10, 20, 0x1032, 0));
|
||||
Add(new GenericBuyInfo(typeof(JointingPlane), 11, 20, 0x1030, 0));
|
||||
|
||||
Add(new GenericBuyInfo("Making Valuables With Stonecrafting", typeof(MasonryBook), 10625, 10, 0xFBE, 0));
|
||||
Add(new GenericBuyInfo("Mining For Quality Stone", typeof(StoneMiningBook), 10625, 10, 0xFBE, 0));
|
||||
Add(new GenericBuyInfo("1044515", typeof(MalletAndChisel), 3, 50, 0x12B3, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(MasonryBook), 5000);
|
||||
Add(typeof(StoneMiningBook), 5000);
|
||||
Add(typeof(MalletAndChisel), 1);
|
||||
|
||||
Add(typeof(WoodenBox), 7);
|
||||
Add(typeof(SmallCrate), 5);
|
||||
Add(typeof(MediumCrate), 6);
|
||||
Add(typeof(LargeCrate), 7);
|
||||
Add(typeof(WoodenChest), 15);
|
||||
|
||||
Add(typeof(LargeTable), 10);
|
||||
Add(typeof(Nightstand), 7);
|
||||
Add(typeof(YewWoodTable), 10);
|
||||
|
||||
Add(typeof(Throne), 24);
|
||||
Add(typeof(WoodenThrone), 6);
|
||||
Add(typeof(Stool), 6);
|
||||
Add(typeof(FootStool), 6);
|
||||
|
||||
Add(typeof(FancyWoodenChairCushion), 12);
|
||||
Add(typeof(WoodenChairCushion), 10);
|
||||
Add(typeof(WoodenChair), 8);
|
||||
Add(typeof(BambooChair), 6);
|
||||
Add(typeof(WoodenBench), 6);
|
||||
|
||||
Add(typeof(Saw), 9);
|
||||
Add(typeof(Scorp), 6);
|
||||
Add(typeof(SmoothingPlane), 6);
|
||||
Add(typeof(DrawKnife), 6);
|
||||
Add(typeof(Froe), 6);
|
||||
Add(typeof(Hammer), 14);
|
||||
Add(typeof(Inshave), 6);
|
||||
Add(typeof(JointingPlane), 6);
|
||||
Add(typeof(MouldingPlane), 6);
|
||||
Add(typeof(DovetailSaw), 7);
|
||||
Add(typeof(Board), 2);
|
||||
Add(typeof(Axle), 1);
|
||||
|
||||
Add(typeof(WoodenShield), 31);
|
||||
Add(typeof(BlackStaff), 24);
|
||||
Add(typeof(GnarledStaff), 12);
|
||||
Add(typeof(QuarterStaff), 15);
|
||||
Add(typeof(ShepherdsCrook), 12);
|
||||
Add(typeof(Club), 13);
|
||||
|
||||
Add(typeof(Log), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/VendorInfo/SBStuddedArmor.cs
Normal file
58
Scripts/VendorInfo/SBStuddedArmor.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBStuddedArmor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBStuddedArmor()
|
||||
{
|
||||
}
|
||||
|
||||
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(StuddedArms), 87, 20, 0x13DC, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedChest), 128, 20, 0x13DB, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedGloves), 79, 20, 0x13D5, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedGorget), 73, 20, 0x13D6, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedLegs), 103, 20, 0x13DA, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleStuddedChest), 142, 20, 0x1C02, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedBustierArms), 120, 20, 0x1c0c, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(StuddedArms), 43);
|
||||
Add(typeof(StuddedChest), 64);
|
||||
Add(typeof(StuddedGloves), 39);
|
||||
Add(typeof(StuddedGorget), 36);
|
||||
Add(typeof(StuddedLegs), 51);
|
||||
Add(typeof(FemaleStuddedChest), 71);
|
||||
Add(typeof(StuddedBustierArms), 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
82
Scripts/VendorInfo/SBSwordWeapon.cs
Normal file
82
Scripts/VendorInfo/SBSwordWeapon.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBSwordWeapon : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBSwordWeapon()
|
||||
{
|
||||
}
|
||||
|
||||
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(Cutlass), 24, 20, 0x1441, 0));
|
||||
Add(new GenericBuyInfo(typeof(Katana), 33, 20, 0x13FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(Kryss), 32, 20, 0x1401, 0));
|
||||
Add(new GenericBuyInfo(typeof(Broadsword), 35, 20, 0xF5E, 0));
|
||||
Add(new GenericBuyInfo(typeof(Longsword), 55, 20, 0xF61, 0));
|
||||
Add(new GenericBuyInfo(typeof(ThinLongsword), 27, 20, 0x13B8, 0));
|
||||
Add(new GenericBuyInfo(typeof(VikingSword), 55, 20, 0x13B9, 0));
|
||||
Add(new GenericBuyInfo(typeof(Scimitar), 36, 20, 0x13B6, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(BoneHarvester), 35, 20, 0x26BB, 0));
|
||||
Add(new GenericBuyInfo(typeof(CrescentBlade), 37, 20, 0x26C1, 0));
|
||||
Add(new GenericBuyInfo(typeof(DoubleBladedStaff), 35, 20, 0x26BF, 0));
|
||||
Add(new GenericBuyInfo(typeof(Lance), 34, 20, 0x26C0, 0));
|
||||
Add(new GenericBuyInfo(typeof(Pike), 39, 20, 0x26BE, 0));
|
||||
Add(new GenericBuyInfo(typeof(Scythe), 39, 20, 0x26BA, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Broadsword), 17);
|
||||
Add(typeof(Cutlass), 12);
|
||||
Add(typeof(Katana), 16);
|
||||
Add(typeof(Kryss), 16);
|
||||
Add(typeof(Longsword), 27);
|
||||
Add(typeof(Scimitar), 18);
|
||||
Add(typeof(ThinLongsword), 13);
|
||||
Add(typeof(VikingSword), 27);
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(typeof(Scythe), 19);
|
||||
Add(typeof(BoneHarvester), 17);
|
||||
Add(typeof(Scepter), 18);
|
||||
Add(typeof(BladedStaff), 16);
|
||||
Add(typeof(Pike), 19);
|
||||
Add(typeof(DoubleBladedStaff), 17);
|
||||
Add(typeof(Lance), 17);
|
||||
Add(typeof(CrescentBlade), 18);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
135
Scripts/VendorInfo/SBTailor.cs
Normal file
135
Scripts/VendorInfo/SBTailor.cs
Normal file
@@ -0,0 +1,135 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBTailor : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBTailor()
|
||||
{
|
||||
}
|
||||
|
||||
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(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(Shirt), 12, 20, 0x1517, 0));
|
||||
Add(new GenericBuyInfo(typeof(ShortPants), 7, 20, 0x152E, 0));
|
||||
Add(new GenericBuyInfo(typeof(FancyShirt), 21, 20, 0x1EFD, 0));
|
||||
Add(new GenericBuyInfo(typeof(LongPants), 10, 20, 0x1539, 0));
|
||||
Add(new GenericBuyInfo(typeof(FancyDress), 26, 20, 0x1EFF, 0));
|
||||
Add(new GenericBuyInfo(typeof(PlainDress), 13, 20, 0x1F01, 0));
|
||||
Add(new GenericBuyInfo(typeof(Kilt), 11, 20, 0x1537, 0));
|
||||
Add(new GenericBuyInfo(typeof(Kilt), 11, 20, 0x1537, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(HalfApron), 10, 20, 0x153b, 0));
|
||||
Add(new GenericBuyInfo(typeof(Robe), 18, 20, 0x1F03, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cloak), 8, 20, 0x1515, 0));
|
||||
Add(new GenericBuyInfo(typeof(Cloak), 8, 20, 0x1515, 0));
|
||||
Add(new GenericBuyInfo(typeof(Doublet), 13, 20, 0x1F7B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Tunic), 18, 20, 0x1FA1, 0));
|
||||
Add(new GenericBuyInfo(typeof(JesterSuit), 26, 20, 0x1F9F, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(JesterHat), 12, 20, 0x171C, 0));
|
||||
Add(new GenericBuyInfo(typeof(FloppyHat), 7, 20, 0x1713, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(WideBrimHat), 8, 20, 0x1714, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(Cap), 10, 20, 0x1715, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(TallStrawHat), 8, 20, 0x1716, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(StrawHat), 7, 20, 0x1717, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(WizardsHat), 11, 20, 0x1718, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(LeatherCap), 10, 20, 0x1DB9, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(FeatheredHat), 10, 20, 0x171A, Utility.RandomDyedHue()));
|
||||
Add(new GenericBuyInfo(typeof(TricorneHat), 8, 20, 0x171B, Utility.RandomDyedHue()));
|
||||
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(), true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Cloth), 2, 20, 0x1766, Utility.RandomDyedHue(), true));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 2, 20, 0x1767, Utility.RandomDyedHue(), true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Cotton), 102, 20, 0xDF9, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Wool), 62, 20, 0xDF8, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Flax), 102, 20, 0x1A9C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(SpoolOfThread), 18, 20, 0xFA0, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Scissors), 6);
|
||||
Add(typeof(SewingKit), 1);
|
||||
Add(typeof(Dyes), 4);
|
||||
Add(typeof(DyeTub), 4);
|
||||
|
||||
Add(typeof(BoltOfCloth), 50);
|
||||
Add(typeof(Cloth), 1);
|
||||
Add(typeof(UncutCloth), 1);
|
||||
|
||||
Add(typeof(FancyShirt), 10);
|
||||
Add(typeof(Shirt), 6);
|
||||
|
||||
Add(typeof(ShortPants), 3);
|
||||
Add(typeof(LongPants), 5);
|
||||
|
||||
Add(typeof(Cloak), 4);
|
||||
Add(typeof(FancyDress), 12);
|
||||
Add(typeof(Robe), 9);
|
||||
Add(typeof(PlainDress), 7);
|
||||
|
||||
Add(typeof(Skirt), 5);
|
||||
Add(typeof(Kilt), 5);
|
||||
|
||||
Add(typeof(Doublet), 7);
|
||||
Add(typeof(Tunic), 9);
|
||||
Add(typeof(JesterSuit), 13);
|
||||
|
||||
Add(typeof(FullApron), 5);
|
||||
Add(typeof(HalfApron), 5);
|
||||
|
||||
Add(typeof(JesterHat), 6);
|
||||
Add(typeof(FloppyHat), 3);
|
||||
Add(typeof(WideBrimHat), 4);
|
||||
Add(typeof(Cap), 5);
|
||||
Add(typeof(SkullCap), 3);
|
||||
Add(typeof(Bandana), 3);
|
||||
Add(typeof(TallStrawHat), 4);
|
||||
Add(typeof(StrawHat), 4);
|
||||
Add(typeof(WizardsHat), 5);
|
||||
Add(typeof(Bonnet), 4);
|
||||
Add(typeof(FeatheredHat), 5);
|
||||
Add(typeof(TricorneHat), 4);
|
||||
|
||||
Add(typeof(SpoolOfThread), 9);
|
||||
|
||||
Add(typeof(Flax), 51);
|
||||
Add(typeof(Cotton), 51);
|
||||
Add(typeof(Wool), 31);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
103
Scripts/VendorInfo/SBTanner.cs
Normal file
103
Scripts/VendorInfo/SBTanner.cs
Normal file
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBTanner : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBTanner()
|
||||
{
|
||||
}
|
||||
|
||||
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(LeatherGorget), 31, 20, 0x13C7, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherCap), 10, 20, 0x1DB9, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherArms), 37, 20, 0x13CD, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherChest), 47, 20, 0x13CC, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherLegs), 36, 20, 0x13CB, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherGloves), 31, 20, 0x13C6, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(StuddedGorget), 50, 20, 0x13D6, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedArms), 57, 20, 0x13DC, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedChest), 75, 20, 0x13DB, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedLegs), 67, 20, 0x13DA, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedGloves), 45, 20, 0x13D5, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(FemaleStuddedChest), 62, 20, 0x1C02, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemalePlateChest), 207, 20, 0x1C04, 0));
|
||||
Add(new GenericBuyInfo(typeof(FemaleLeatherChest), 36, 20, 0x1C06, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherShorts), 28, 20, 0x1C00, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherSkirt), 25, 20, 0x1C08, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherBustierArms), 25, 20, 0x1C0A, 0));
|
||||
Add(new GenericBuyInfo(typeof(LeatherBustierArms), 30, 20, 0x1C0B, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedBustierArms), 50, 20, 0x1C0C, 0));
|
||||
Add(new GenericBuyInfo(typeof(StuddedBustierArms), 47, 20, 0x1C0D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Bag), 6, 20, 0xE76, 0));
|
||||
Add(new GenericBuyInfo(typeof(Pouch), 6, 20, 0xE79, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backpack), 15, 20, 0x9B2, 0));
|
||||
Add(new GenericBuyInfo(typeof(Leather), 6, 20, 0x1081, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(SkinningKnife), 15, 20, 0xEC4, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1041279", typeof(TaxidermyKit), 100000, 20, 0x1EBA, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bag), 3);
|
||||
Add(typeof(Pouch), 3);
|
||||
Add(typeof(Backpack), 7);
|
||||
|
||||
Add(typeof(Leather), 5);
|
||||
|
||||
Add(typeof(SkinningKnife), 7);
|
||||
|
||||
Add(typeof(LeatherArms), 18);
|
||||
Add(typeof(LeatherChest), 23);
|
||||
Add(typeof(LeatherGloves), 15);
|
||||
Add(typeof(LeatherGorget), 15);
|
||||
Add(typeof(LeatherLegs), 18);
|
||||
Add(typeof(LeatherCap), 5);
|
||||
|
||||
Add(typeof(StuddedArms), 43);
|
||||
Add(typeof(StuddedChest), 37);
|
||||
Add(typeof(StuddedGloves), 39);
|
||||
Add(typeof(StuddedGorget), 22);
|
||||
Add(typeof(StuddedLegs), 33);
|
||||
|
||||
Add(typeof(FemaleStuddedChest), 31);
|
||||
Add(typeof(StuddedBustierArms), 23);
|
||||
Add(typeof(FemalePlateChest), 103);
|
||||
Add(typeof(FemaleLeatherChest), 18);
|
||||
Add(typeof(LeatherBustierArms), 12);
|
||||
Add(typeof(LeatherShorts), 14);
|
||||
Add(typeof(LeatherSkirt), 12);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
122
Scripts/VendorInfo/SBTavernKeeper.cs
Normal file
122
Scripts/VendorInfo/SBTavernKeeper.cs
Normal file
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBTavernKeeper : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBTavernKeeper()
|
||||
{
|
||||
}
|
||||
|
||||
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 BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Ale, 7, 20, 0x99F, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Wine, 7, 20, 0x9C7, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Liquor, 7, 20, 0x99B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Jug), BeverageType.Cider, 13, 20, 0x9C8, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Milk, 7, 20, 0x9F0, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Ale, 11, 20, 0x1F95, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Cider, 11, 20, 0x1F97, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Liquor, 11, 20, 0x1F99, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Wine, 11, 20, 0x1F9B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Water, 11, 20, 0x1F9D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 6, 10, 0x103B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CheeseWheel), 21, 10, 0x97E, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CookedBird), 17, 20, 0x9B7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LambLeg), 8, 20, 0x160A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(ChickenLeg), 5, 20, 0x1608, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Ribs), 7, 20, 0x9F2, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCarrots), 3, 20, 0x15F9, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCorn), 3, 20, 0x15FA, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfLettuce), 3, 20, 0x15FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfPeas), 3, 20, 0x15FC, 0));
|
||||
Add(new GenericBuyInfo(typeof(EmptyPewterBowl), 2, 20, 0x15FD, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfCorn), 3, 20, 0x15FE, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfLettuce), 3, 20, 0x15FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPeas), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPotatos), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfStew), 3, 20, 0x1604, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfTomatoSoup), 3, 20, 0x1606, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(ApplePie), 7, 20, 0x1041, 0, true)); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
|
||||
Add(new GenericBuyInfo("1016450", typeof(Chessboard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo("1016449", typeof(CheckerBoard), 2, 20, 0xFA6, 0));
|
||||
Add(new GenericBuyInfo(typeof(Backgammon), 2, 20, 0xE1C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dices), 2, 20, 0xFA7, 0));
|
||||
Add(new GenericBuyInfo("1041243", typeof(ContractOfEmployment), 1252, 20, 0x14F0, 0));
|
||||
Add(new GenericBuyInfo("a barkeep contract", typeof(BarkeepContract), 1252, 20, 0x14F0, 0));
|
||||
|
||||
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 ) );
|
||||
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E9, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2836, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2837, 0 ) );
|
||||
Add( new GenericBuyInfo( typeof( GreenTeaBasket ), 2, 20, 0x284B, 0 ) );
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(WoodenBowlOfCarrots), 1);
|
||||
Add(typeof(WoodenBowlOfCorn), 1);
|
||||
Add(typeof(WoodenBowlOfLettuce), 1);
|
||||
Add(typeof(WoodenBowlOfPeas), 1);
|
||||
Add(typeof(EmptyPewterBowl), 1);
|
||||
Add(typeof(PewterBowlOfCorn), 1);
|
||||
Add(typeof(PewterBowlOfLettuce), 1);
|
||||
Add(typeof(PewterBowlOfPeas), 1);
|
||||
Add(typeof(PewterBowlOfPotatos), 1);
|
||||
Add(typeof(WoodenBowlOfStew), 1);
|
||||
Add(typeof(WoodenBowlOfTomatoSoup), 1);
|
||||
Add(typeof(BeverageBottle), 3);
|
||||
Add(typeof(Jug), 6);
|
||||
Add(typeof(Pitcher), 5);
|
||||
Add(typeof(GlassMug), 1);
|
||||
Add(typeof(BreadLoaf), 3);
|
||||
Add(typeof(CheeseWheel), 12);
|
||||
Add(typeof(Ribs), 6);
|
||||
Add(typeof(Peach), 1);
|
||||
Add(typeof(Pear), 1);
|
||||
Add(typeof(Grapes), 1);
|
||||
Add(typeof(Apple), 1);
|
||||
Add(typeof(Banana), 1);
|
||||
Add(typeof(Candle), 3);
|
||||
Add(typeof(Chessboard), 1);
|
||||
Add(typeof(CheckerBoard), 1);
|
||||
Add(typeof(Backgammon), 1);
|
||||
Add(typeof(Dices), 1);
|
||||
Add(typeof(ContractOfEmployment), 626);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/VendorInfo/SBThief.cs
Normal file
61
Scripts/VendorInfo/SBThief.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBThief : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly 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( OilFlask ), 8, 20, 0x####, 0 ) );
|
||||
Add(new GenericBuyInfo(typeof(Lockpick), 12, 20, 0x14FC, 0, true));
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Backpack), 7);
|
||||
Add(typeof(Pouch), 3);
|
||||
Add(typeof(Torch), 3);
|
||||
Add(typeof(Lantern), 1);
|
||||
//Add( typeof( OilFlask ), 4 );
|
||||
Add(typeof(Lockpick), 6);
|
||||
Add(typeof(WoodenBox), 7);
|
||||
Add(typeof(HairDye), 19);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
149
Scripts/VendorInfo/SBTinker.cs
Normal file
149
Scripts/VendorInfo/SBTinker.cs
Normal file
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBTinker : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo;
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
|
||||
public SBTinker(BaseVendor owner)
|
||||
{
|
||||
m_BuyInfo = new InternalBuyInfo(owner);
|
||||
}
|
||||
|
||||
public override IShopSellInfo SellInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_SellInfo;
|
||||
}
|
||||
}
|
||||
public override List<GenericBuyInfo> BuyInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_BuyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalBuyInfo : List<GenericBuyInfo>
|
||||
{
|
||||
public InternalBuyInfo(BaseVendor owner)
|
||||
{
|
||||
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, true));
|
||||
Add(new GenericBuyInfo(typeof(AxleGears), 3, 20, 0x1051, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Gears), 2, 20, 0x1053, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Hinge), 2, 20, 0x1055, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Sextant), 13, 20, 0x1057, 0));
|
||||
Add(new GenericBuyInfo(typeof(SextantParts), 5, 20, 0x1059, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Axle), 2, 20, 0x105B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Springs), 3, 20, 0x105D, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo("1024111", typeof(Key), 8, 20, 0x100F, 0));
|
||||
Add(new GenericBuyInfo("1024112", typeof(Key), 8, 20, 0x1010, 0));
|
||||
Add(new GenericBuyInfo("1024115", typeof(Key), 8, 20, 0x1013, 0));
|
||||
Add(new GenericBuyInfo(typeof(KeyRing), 8, 20, 0x1010, 0));
|
||||
Add(new GenericBuyInfo(typeof(Lockpick), 12, 20, 0x14FC, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(TinkersTools), 7, 20, 0x1EBC, 0));
|
||||
Add(new GenericBuyInfo(typeof(Board), 3, 20, 0x1BD7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(IronIngot), 5, 16, 0x1BF2, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(SewingKit), 3, 20, 0xF9D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(DrawKnife), 10, 20, 0x10E4, 0));
|
||||
Add(new GenericBuyInfo(typeof(Froe), 10, 20, 0x10E5, 0));
|
||||
Add(new GenericBuyInfo(typeof(Scorp), 10, 20, 0x10E7, 0));
|
||||
Add(new GenericBuyInfo(typeof(Inshave), 10, 20, 0x10E6, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(ButcherKnife), 13, 20, 0x13F6, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Scissors), 11, 20, 0xF9F, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Tongs), 13, 14, 0xFBB, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(DovetailSaw), 12, 20, 0x1028, 0));
|
||||
Add(new GenericBuyInfo(typeof(Saw), 15, 20, 0x1034, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Hammer), 17, 20, 0x102A, 0));
|
||||
Add(new GenericBuyInfo(typeof(SmithHammer), 23, 20, 0x13E3, 0));
|
||||
// TODO: Sledgehammer
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Shovel), 12, 20, 0xF39, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(MouldingPlane), 11, 20, 0x102C, 0));
|
||||
Add(new GenericBuyInfo(typeof(JointingPlane), 10, 20, 0x1030, 0));
|
||||
Add(new GenericBuyInfo(typeof(SmoothingPlane), 11, 20, 0x1032, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Pickaxe), 25, 20, 0xE86, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Drums), 21, 20, 0x0E9C, 0));
|
||||
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));
|
||||
|
||||
if (owner != null && owner.Race == Race.Gargoyle)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(AudChar), 33, 20, 0x403B, 0));
|
||||
Add(new GenericBuyInfo("1080201", typeof(StatuetteEngravingTool), 1253, 20, 0x12B3, 0));
|
||||
Add(new GenericBuyInfo(typeof(BasketWeavingBook), 10625, 20, 0xFBE, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Drums), 10);
|
||||
Add(typeof(Tambourine), 10);
|
||||
Add(typeof(LapHarp), 10);
|
||||
Add(typeof(Lute), 10);
|
||||
|
||||
Add(typeof(Shovel), 6);
|
||||
Add(typeof(SewingKit), 1);
|
||||
Add(typeof(Scissors), 6);
|
||||
Add(typeof(Tongs), 7);
|
||||
Add(typeof(Key), 1);
|
||||
|
||||
Add(typeof(DovetailSaw), 6);
|
||||
Add(typeof(MouldingPlane), 6);
|
||||
Add(typeof(Nails), 1);
|
||||
Add(typeof(JointingPlane), 6);
|
||||
Add(typeof(SmoothingPlane), 6);
|
||||
Add(typeof(Saw), 7);
|
||||
|
||||
Add(typeof(Clock), 11);
|
||||
Add(typeof(ClockParts), 1);
|
||||
Add(typeof(AxleGears), 1);
|
||||
Add(typeof(Gears), 1);
|
||||
Add(typeof(Hinge), 1);
|
||||
Add(typeof(Sextant), 6);
|
||||
Add(typeof(SextantParts), 2);
|
||||
Add(typeof(Axle), 1);
|
||||
Add(typeof(Springs), 1);
|
||||
|
||||
Add(typeof(DrawKnife), 5);
|
||||
Add(typeof(Froe), 5);
|
||||
Add(typeof(Inshave), 5);
|
||||
Add(typeof(Scorp), 5);
|
||||
|
||||
Add(typeof(Lockpick), 6);
|
||||
Add(typeof(TinkerTools), 3);
|
||||
|
||||
Add(typeof(Board), 1);
|
||||
Add(typeof(Log), 1);
|
||||
|
||||
Add(typeof(Pickaxe), 16);
|
||||
Add(typeof(Hammer), 3);
|
||||
Add(typeof(SmithHammer), 11);
|
||||
Add(typeof(ButcherKnife), 6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
88
Scripts/VendorInfo/SBVagabond.cs
Normal file
88
Scripts/VendorInfo/SBVagabond.cs
Normal file
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBVagabond : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBVagabond()
|
||||
{
|
||||
}
|
||||
|
||||
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(GoldRing), 27, 20, 0x108A, 0));
|
||||
Add(new GenericBuyInfo(typeof(Necklace), 26, 20, 0x1085, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldNecklace), 27, 20, 0x1088, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldBeadNecklace), 27, 20, 0x1089, 0));
|
||||
Add(new GenericBuyInfo(typeof(Beads), 27, 20, 0x108B, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldBracelet), 27, 20, 0x1086, 0));
|
||||
Add(new GenericBuyInfo(typeof(GoldEarrings), 27, 20, 0x1087, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Board), 3, 20, 0x1BD7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(IronIngot), 6, 20, 0x1BF2, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(StarSapphire), 125, 20, 0x0F0F, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Emerald), 100, 20, 0xF10, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Sapphire), 100, 20, 0xF11, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Ruby), 75, 20, 0xF13, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Citrine), 50, 20, 0xF15, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Amethyst), 100, 20, 0xF16, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Tourmaline), 75, 20, 0x0F18, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Amber), 50, 20, 0xF25, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Diamond), 200, 20, 0xF26, 0, true));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Board), 1);
|
||||
Add(typeof(IronIngot), 3);
|
||||
|
||||
Add(typeof(Amber), 25);
|
||||
Add(typeof(Amethyst), 50);
|
||||
Add(typeof(Citrine), 25);
|
||||
Add(typeof(Diamond), 100);
|
||||
Add(typeof(Emerald), 50);
|
||||
Add(typeof(Ruby), 37);
|
||||
Add(typeof(Sapphire), 50);
|
||||
Add(typeof(StarSapphire), 62);
|
||||
Add(typeof(Tourmaline), 47);
|
||||
Add(typeof(GoldRing), 13);
|
||||
Add(typeof(SilverRing), 10);
|
||||
Add(typeof(Necklace), 13);
|
||||
Add(typeof(GoldNecklace), 13);
|
||||
Add(typeof(GoldBeadNecklace), 13);
|
||||
Add(typeof(SilverNecklace), 10);
|
||||
Add(typeof(SilverBeadNecklace), 10);
|
||||
Add(typeof(Beads), 13);
|
||||
Add(typeof(GoldBracelet), 13);
|
||||
Add(typeof(SilverBracelet), 10);
|
||||
Add(typeof(GoldEarrings), 13);
|
||||
Add(typeof(SilverEarrings), 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
147
Scripts/VendorInfo/SBVarietyDealer.cs
Normal file
147
Scripts/VendorInfo/SBVarietyDealer.cs
Normal file
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBVarietyDealer : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBVarietyDealer()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bandage), 5, 20, 0xE21, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BlankScroll), 5, 999, 0x0E34, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 10, 0xF06, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 10, 0xF08, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 10, 0xF09, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 10, 0xF0B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 10, 0xF07, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 10, 0xF0C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserPoisonPotion), 15, 10, 0xF0A, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LesserExplosionPotion), 21, 10, 0xF0D, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Bolt), 6, Utility.Random(30, 60), 0x1BFB, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(Arrow), 3, Utility.Random(30, 60), 0xF3F, 0, true));
|
||||
|
||||
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, true));
|
||||
Add(new GenericBuyInfo(typeof(Backpack), 15, 20, 0x9B2, 0));
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
int circles = 3;
|
||||
|
||||
for (int i = 0; i < circles * 8 && i < types.Length; ++i)
|
||||
{
|
||||
int itemID = 0x1F2E + i;
|
||||
|
||||
if (i == 6)
|
||||
itemID = 0x1F2D;
|
||||
else if (i > 6)
|
||||
--itemID;
|
||||
|
||||
Add(new GenericBuyInfo(types[i], 12 + ((i / 8) * 10), 20, itemID, 0, true));
|
||||
}
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(BatWing), 3, 999, 0xF78, 0));
|
||||
Add(new GenericBuyInfo(typeof(GraveDust), 3, 999, 0xF8F, 0));
|
||||
Add(new GenericBuyInfo(typeof(DaemonBlood), 6, 999, 0xF7D, 0));
|
||||
Add(new GenericBuyInfo(typeof(NoxCrystal), 6, 999, 0xF8E, 0));
|
||||
Add(new GenericBuyInfo(typeof(PigIron), 5, 999, 0xF8A, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(NecromancerSpellbook), 115, 10, 0x2253, 0));
|
||||
}
|
||||
|
||||
Add(new GenericBuyInfo(typeof(RecallRune), 15, 10, 0x1f14, 0));
|
||||
Add(new GenericBuyInfo(typeof(Spellbook), 18, 10, 0xEFA, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1041072", typeof(MagicWizardsHat), 11, 10, 0x1718, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bandage), 1);
|
||||
|
||||
Add(typeof(BlankScroll), 3);
|
||||
|
||||
Add(typeof(NightSightPotion), 7);
|
||||
Add(typeof(AgilityPotion), 7);
|
||||
Add(typeof(StrengthPotion), 7);
|
||||
Add(typeof(RefreshPotion), 7);
|
||||
Add(typeof(LesserCurePotion), 7);
|
||||
Add(typeof(LesserHealPotion), 7);
|
||||
Add(typeof(LesserPoisonPotion), 7);
|
||||
Add(typeof(LesserExplosionPotion), 10);
|
||||
|
||||
Add(typeof(Bolt), 3);
|
||||
Add(typeof(Arrow), 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(BreadLoaf), 3);
|
||||
Add(typeof(Backpack), 7);
|
||||
Add(typeof(RecallRune), 8);
|
||||
Add(typeof(Spellbook), 9);
|
||||
Add(typeof(BlankScroll), 3);
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(typeof(BatWing), 2);
|
||||
Add(typeof(GraveDust), 2);
|
||||
Add(typeof(DaemonBlood), 3);
|
||||
Add(typeof(NoxCrystal), 3);
|
||||
Add(typeof(PigIron), 3);
|
||||
}
|
||||
|
||||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for (int i = 0; i < types.Length; ++i)
|
||||
Add(types[i], ((i / 8) + 2) * 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/VendorInfo/SBVeterinarian.cs
Normal file
50
Scripts/VendorInfo/SBVeterinarian.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBVeterinarian : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBVeterinarian()
|
||||
{
|
||||
}
|
||||
|
||||
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(Bandage), 6, 20, 0xE21, 0, true));
|
||||
Add(new AnimalBuyInfo(1, typeof(PackHorse), 616, 10, 291, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(PackLlama), 523, 10, 292, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Dog), 158, 10, 217, 0));
|
||||
Add(new AnimalBuyInfo(1, typeof(Cat), 131, 10, 201, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(Bandage), 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
73
Scripts/VendorInfo/SBWaiter.cs
Normal file
73
Scripts/VendorInfo/SBWaiter.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWaiter : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBWaiter()
|
||||
{
|
||||
}
|
||||
|
||||
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 BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Ale, 7, 20, 0x99F, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Wine, 7, 20, 0x9C7, 0));
|
||||
Add(new BeverageBuyInfo(typeof(BeverageBottle), BeverageType.Liquor, 7, 20, 0x99B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Jug), BeverageType.Cider, 13, 20, 0x9C8, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Milk, 7, 20, 0x9F0, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Ale, 11, 20, 0x1F95, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Cider, 11, 20, 0x1F97, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Liquor, 11, 20, 0x1F99, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Wine, 11, 20, 0x1F9B, 0));
|
||||
Add(new BeverageBuyInfo(typeof(Pitcher), BeverageType.Water, 11, 20, 0x1F9D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BreadLoaf), 6, 10, 0x103B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CheeseWheel), 21, 10, 0x97E, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(CookedBird), 17, 20, 0x9B7, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LambLeg), 8, 20, 0x160A, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCarrots), 3, 20, 0x15F9, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfCorn), 3, 20, 0x15FA, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfLettuce), 3, 20, 0x15FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfPeas), 3, 20, 0x15FC, 0));
|
||||
Add(new GenericBuyInfo(typeof(EmptyPewterBowl), 2, 20, 0x15FD, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfCorn), 3, 20, 0x15FE, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfLettuce), 3, 20, 0x15FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPeas), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(PewterBowlOfPotatos), 3, 20, 0x1601, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfStew), 3, 20, 0x1604, 0));
|
||||
Add(new GenericBuyInfo(typeof(WoodenBowlOfTomatoSoup), 3, 20, 0x1606, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(ApplePie), 7, 20, 0x1041, 0, true)); //OSI just has Pie, not Apple/Fruit/Meat
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
191
Scripts/VendorInfo/SBWeaponSmith.cs
Normal file
191
Scripts/VendorInfo/SBWeaponSmith.cs
Normal file
@@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWeaponSmith : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBWeaponSmith()
|
||||
{
|
||||
}
|
||||
|
||||
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(BlackStaff), 22, 20, 0xDF1, 0));
|
||||
Add(new GenericBuyInfo(typeof(Club), 16, 20, 0x13B4, 0));
|
||||
Add(new GenericBuyInfo(typeof(GnarledStaff), 16, 20, 0x13F8, 0));
|
||||
Add(new GenericBuyInfo(typeof(Mace), 28, 20, 0xF5C, 0));
|
||||
Add(new GenericBuyInfo(typeof(Maul), 21, 20, 0x143B, 0));
|
||||
Add(new GenericBuyInfo(typeof(QuarterStaff), 19, 20, 0xE89, 0));
|
||||
Add(new GenericBuyInfo(typeof(ShepherdsCrook), 20, 20, 0xE81, 0));
|
||||
Add(new GenericBuyInfo(typeof(SmithHammer), 21, 20, 0x13E3, 0));
|
||||
Add(new GenericBuyInfo(typeof(ShortSpear), 23, 20, 0x1403, 0));
|
||||
Add(new GenericBuyInfo(typeof(Spear), 31, 20, 0xF62, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarHammer), 25, 20, 0x1439, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarMace), 31, 20, 0x1407, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(Scepter), 39, 20, 0x26BC, 0));
|
||||
Add(new GenericBuyInfo(typeof(BladedStaff), 40, 20, 0x26BD, 0));
|
||||
}
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Hatchet), 25, 20, 0xF44, 0));
|
||||
Add(new GenericBuyInfo(typeof(Hatchet), 27, 20, 0xF43, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarFork), 32, 20, 0x1405, 0));
|
||||
|
||||
switch ( Utility.Random(3))
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(ExecutionersAxe), 30, 20, 0xF45, 0));
|
||||
Add(new GenericBuyInfo(typeof(Bardiche), 60, 20, 0xF4D, 0));
|
||||
Add(new GenericBuyInfo(typeof(BattleAxe), 26, 20, 0xF47, 0));
|
||||
Add(new GenericBuyInfo(typeof(TwoHandedAxe), 32, 20, 0x1443, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Bow), 35, 20, 0x13B2, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(ButcherKnife), 14, 20, 0x13F6, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Crossbow), 46, 20, 0xF50, 0));
|
||||
Add(new GenericBuyInfo(typeof(HeavyCrossbow), 55, 20, 0x13FD, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Cutlass), 24, 20, 0x1441, 0));
|
||||
Add(new GenericBuyInfo(typeof(Dagger), 21, 20, 0xF52, 0));
|
||||
Add(new GenericBuyInfo(typeof(Halberd), 42, 20, 0x143E, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(HammerPick), 26, 20, 0x143D, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Katana), 33, 20, 0x13FF, 0));
|
||||
Add(new GenericBuyInfo(typeof(Kryss), 32, 20, 0x1401, 0));
|
||||
Add(new GenericBuyInfo(typeof(Broadsword), 35, 20, 0xF5E, 0));
|
||||
Add(new GenericBuyInfo(typeof(Longsword), 55, 20, 0xF61, 0));
|
||||
Add(new GenericBuyInfo(typeof(ThinLongsword), 27, 20, 0x13B8, 0));
|
||||
Add(new GenericBuyInfo(typeof(VikingSword), 55, 20, 0x13B9, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Cleaver), 15, 20, 0xEC3, 0));
|
||||
Add(new GenericBuyInfo(typeof(Axe), 40, 20, 0xF49, 0));
|
||||
Add(new GenericBuyInfo(typeof(DoubleAxe), 52, 20, 0xF4B, 0));
|
||||
Add(new GenericBuyInfo(typeof(Pickaxe), 22, 20, 0xE86, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Pitchfork), 19, 20, 0xE87, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Scimitar), 36, 20, 0x13B6, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(SkinningKnife), 14, 20, 0xEC4, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(LargeBattleAxe), 33, 20, 0x13FB, 0));
|
||||
Add(new GenericBuyInfo(typeof(WarAxe), 29, 20, 0x13B0, 0));
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(new GenericBuyInfo(typeof(BoneHarvester), 35, 20, 0x26BB, 0));
|
||||
Add(new GenericBuyInfo(typeof(CrescentBlade), 37, 20, 0x26C1, 0));
|
||||
Add(new GenericBuyInfo(typeof(DoubleBladedStaff), 35, 20, 0x26BF, 0));
|
||||
Add(new GenericBuyInfo(typeof(Lance), 34, 20, 0x26C0, 0));
|
||||
Add(new GenericBuyInfo(typeof(Pike), 39, 20, 0x26BE, 0));
|
||||
Add(new GenericBuyInfo(typeof(Scythe), 39, 20, 0x26BA, 0));
|
||||
Add(new GenericBuyInfo(typeof(CompositeBow), 50, 20, 0x26C2, 0));
|
||||
Add(new GenericBuyInfo(typeof(RepeatingCrossbow), 57, 20, 0x26C3, 0));
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(BattleAxe), 13);
|
||||
Add(typeof(DoubleAxe), 26);
|
||||
Add(typeof(ExecutionersAxe), 15);
|
||||
Add(typeof(LargeBattleAxe), 16);
|
||||
Add(typeof(Pickaxe), 11);
|
||||
Add(typeof(TwoHandedAxe), 16);
|
||||
Add(typeof(WarAxe), 14);
|
||||
Add(typeof(Axe), 20);
|
||||
|
||||
Add(typeof(Bardiche), 30);
|
||||
Add(typeof(Halberd), 21);
|
||||
|
||||
Add(typeof(ButcherKnife), 7);
|
||||
Add(typeof(Cleaver), 7);
|
||||
Add(typeof(Dagger), 10);
|
||||
Add(typeof(SkinningKnife), 7);
|
||||
|
||||
Add(typeof(Club), 8);
|
||||
Add(typeof(HammerPick), 13);
|
||||
Add(typeof(Mace), 14);
|
||||
Add(typeof(Maul), 10);
|
||||
Add(typeof(WarHammer), 12);
|
||||
Add(typeof(WarMace), 15);
|
||||
|
||||
Add(typeof(HeavyCrossbow), 27);
|
||||
Add(typeof(Bow), 17);
|
||||
Add(typeof(Crossbow), 23);
|
||||
|
||||
if (Core.AOS)
|
||||
{
|
||||
Add(typeof(CompositeBow), 25);
|
||||
Add(typeof(RepeatingCrossbow), 28);
|
||||
Add(typeof(Scepter), 20);
|
||||
Add(typeof(BladedStaff), 20);
|
||||
Add(typeof(Scythe), 19);
|
||||
Add(typeof(BoneHarvester), 17);
|
||||
Add(typeof(Scepter), 18);
|
||||
Add(typeof(BladedStaff), 16);
|
||||
Add(typeof(Pike), 19);
|
||||
Add(typeof(DoubleBladedStaff), 17);
|
||||
Add(typeof(Lance), 17);
|
||||
Add(typeof(CrescentBlade), 18);
|
||||
}
|
||||
|
||||
Add(typeof(Spear), 15);
|
||||
Add(typeof(Pitchfork), 9);
|
||||
Add(typeof(ShortSpear), 11);
|
||||
|
||||
Add(typeof(BlackStaff), 11);
|
||||
Add(typeof(GnarledStaff), 8);
|
||||
Add(typeof(QuarterStaff), 9);
|
||||
Add(typeof(ShepherdsCrook), 10);
|
||||
|
||||
Add(typeof(SmithHammer), 10);
|
||||
|
||||
Add(typeof(Broadsword), 17);
|
||||
Add(typeof(Cutlass), 12);
|
||||
Add(typeof(Katana), 16);
|
||||
Add(typeof(Kryss), 16);
|
||||
Add(typeof(Longsword), 27);
|
||||
Add(typeof(Scimitar), 18);
|
||||
Add(typeof(ThinLongsword), 13);
|
||||
Add(typeof(VikingSword), 27);
|
||||
|
||||
Add(typeof(Hatchet), 13);
|
||||
Add(typeof(WarFork), 16);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
72
Scripts/VendorInfo/SBWeaver.cs
Normal file
72
Scripts/VendorInfo/SBWeaver.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWeaver : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBWeaver()
|
||||
{
|
||||
}
|
||||
|
||||
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(Dyes), 8, 20, 0xFA9, 0));
|
||||
Add(new GenericBuyInfo(typeof(DyeTub), 8, 20, 0xFAB, 0));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1761, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1762, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1763, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(UncutCloth), 3, 20, 0x1764, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf9B, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf9C, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf96, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(BoltOfCloth), 100, 20, 0xf97, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(DarkYarn), 18, 20, 0xE1D, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LightYarn), 18, 20, 0xE1E, 0, true));
|
||||
Add(new GenericBuyInfo(typeof(LightYarnUnraveled), 18, 20, 0xE1F, 0, true));
|
||||
|
||||
Add(new GenericBuyInfo(typeof(Scissors), 11, 20, 0xF9F, 0));
|
||||
|
||||
Add(new GenericBuyInfo("1154003", typeof(LeatherBraid), 50, 500, 5152, 2968));
|
||||
}
|
||||
}
|
||||
|
||||
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(LightYarnUnraveled), 9);
|
||||
Add(typeof(LightYarn), 9);
|
||||
Add(typeof(DarkYarn), 9);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/VendorInfo/SBWoodenShields.cs
Normal file
46
Scripts/VendorInfo/SBWoodenShields.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SBWoodenShields : SBInfo
|
||||
{
|
||||
private readonly List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
|
||||
private readonly IShopSellInfo m_SellInfo = new InternalSellInfo();
|
||||
public SBWoodenShields()
|
||||
{
|
||||
}
|
||||
|
||||
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(WoodenShield), 30, 20, 0x1B7A, 0));
|
||||
}
|
||||
}
|
||||
|
||||
public class InternalSellInfo : GenericSellInfo
|
||||
{
|
||||
public InternalSellInfo()
|
||||
{
|
||||
Add(typeof(WoodenShield), 15);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
212
Scripts/VendorInfo/VendorInventory.cs
Normal file
212
Scripts/VendorInfo/VendorInventory.cs
Normal file
@@ -0,0 +1,212 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Multis;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class VendorInventory
|
||||
{
|
||||
public static readonly TimeSpan GracePeriod = TimeSpan.FromDays(7.0);
|
||||
private readonly List<Item> m_Items;
|
||||
private readonly DateTime m_ExpireTime;
|
||||
private readonly Timer m_ExpireTimer;
|
||||
private BaseHouse m_House;
|
||||
private string m_VendorName;
|
||||
private string m_ShopName;
|
||||
private Mobile m_Owner;
|
||||
private int m_Gold;
|
||||
|
||||
public VendorInventory(BaseHouse house, Mobile owner, string vendorName, string shopName)
|
||||
{
|
||||
m_House = house;
|
||||
m_Owner = owner;
|
||||
m_VendorName = vendorName;
|
||||
m_ShopName = shopName;
|
||||
|
||||
m_Items = new List<Item>();
|
||||
|
||||
m_ExpireTime = DateTime.UtcNow + GracePeriod;
|
||||
m_ExpireTimer = new ExpireTimer(this, GracePeriod);
|
||||
m_ExpireTimer.Start();
|
||||
}
|
||||
|
||||
public VendorInventory(BaseHouse house, GenericReader reader)
|
||||
{
|
||||
m_House = house;
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
|
||||
m_Owner = reader.ReadMobile();
|
||||
m_VendorName = reader.ReadString();
|
||||
m_ShopName = reader.ReadString();
|
||||
|
||||
m_Items = reader.ReadStrongItemList();
|
||||
m_Gold = reader.ReadInt();
|
||||
|
||||
m_ExpireTime = reader.ReadDeltaTime();
|
||||
|
||||
if (m_Items.Count == 0 && m_Gold == 0)
|
||||
{
|
||||
Timer.DelayCall(TimeSpan.Zero, new TimerCallback(Delete));
|
||||
}
|
||||
else
|
||||
{
|
||||
TimeSpan delay = m_ExpireTime - DateTime.UtcNow;
|
||||
m_ExpireTimer = new ExpireTimer(this, delay > TimeSpan.Zero ? delay : TimeSpan.Zero);
|
||||
m_ExpireTimer.Start();
|
||||
}
|
||||
}
|
||||
|
||||
public BaseHouse House
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_House;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_House = value;
|
||||
}
|
||||
}
|
||||
public string VendorName
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_VendorName;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_VendorName = value;
|
||||
}
|
||||
}
|
||||
public string ShopName
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ShopName;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_ShopName = value;
|
||||
}
|
||||
}
|
||||
public Mobile Owner
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Owner;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Owner = value;
|
||||
}
|
||||
}
|
||||
public List<Item> Items
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Items;
|
||||
}
|
||||
}
|
||||
public int Gold
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Gold;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_Gold = value;
|
||||
}
|
||||
}
|
||||
public DateTime ExpireTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ExpireTime;
|
||||
}
|
||||
}
|
||||
public void AddItem(Item item)
|
||||
{
|
||||
item.Internalize();
|
||||
m_Items.Add(item);
|
||||
}
|
||||
|
||||
public void Delete()
|
||||
{
|
||||
foreach (Item item in Items)
|
||||
{
|
||||
item.Delete();
|
||||
}
|
||||
|
||||
Items.Clear();
|
||||
Gold = 0;
|
||||
|
||||
if (House != null)
|
||||
House.VendorInventories.Remove(this);
|
||||
|
||||
m_ExpireTimer.Stop();
|
||||
}
|
||||
|
||||
public void Serialize(GenericWriter writer)
|
||||
{
|
||||
writer.WriteEncodedInt(0); // version
|
||||
|
||||
writer.Write((Mobile)m_Owner);
|
||||
writer.Write((string)m_VendorName);
|
||||
writer.Write((string)m_ShopName);
|
||||
|
||||
writer.Write(m_Items, true);
|
||||
writer.Write((int)m_Gold);
|
||||
|
||||
writer.WriteDeltaTime(m_ExpireTime);
|
||||
}
|
||||
|
||||
private class ExpireTimer : Timer
|
||||
{
|
||||
private readonly VendorInventory m_Inventory;
|
||||
public ExpireTimer(VendorInventory inventory, TimeSpan delay)
|
||||
: base(delay)
|
||||
{
|
||||
m_Inventory = inventory;
|
||||
|
||||
Priority = TimerPriority.OneMinute;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
{
|
||||
BaseHouse house = m_Inventory.House;
|
||||
|
||||
if (house != null)
|
||||
{
|
||||
if (m_Inventory.Gold > 0)
|
||||
{
|
||||
if (AccountGold.Enabled && m_Inventory.Owner != null)
|
||||
{
|
||||
Banker.Deposit(house.Owner, m_Inventory.Gold, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (house.MovingCrate == null)
|
||||
house.MovingCrate = new MovingCrate(house);
|
||||
|
||||
Banker.Deposit(house.MovingCrate, m_Inventory.Gold);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (Item item in m_Inventory.Items)
|
||||
{
|
||||
if (!item.Deleted)
|
||||
house.DropToMovingCrate(item);
|
||||
}
|
||||
|
||||
m_Inventory.Gold = 0;
|
||||
m_Inventory.Items.Clear();
|
||||
}
|
||||
|
||||
m_Inventory.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user