Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View 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);
}
}
}
}