Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+65
View File
@@ -0,0 +1,65 @@
using System;
using System.Collections.Generic;
namespace Server.Mobiles
{
public class Tanner : BaseVendor
{
private readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
[Constructable]
public Tanner()
: base("the tanner")
{
this.SetSkill(SkillName.Tailoring, 36.0, 68.0);
}
public Tanner(Serial serial)
: base(serial)
{
}
protected override List<SBInfo> SBInfos
{
get
{
return this.m_SBInfos;
}
}
public override void InitSBInfo()
{
if (!this.IsStygianVendor)
{
this.m_SBInfos.Add(new SBTanner());
}
else
{
this.m_SBInfos.Add(new SBSATanner());
}
}
public override bool ValidateBought(Mobile buyer, Item item)
{
if (item is Server.Items.TaxidermyKit && buyer.Skills[SkillName.Carpentry].Value < 90.1)
{
this.SayTo(buyer, 1042603, 0x3B2); // You would not understand how to use the kit.
return false;
}
return true;
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}