Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user