v0.0.1-Alpha (#42)
This commit is contained in:
parent
d30f93c454
commit
a36796c2c1
3552 changed files with 2476 additions and 15223 deletions
|
|
@ -0,0 +1,66 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class BlacksmithGuildmaster : BaseGuildmaster
|
||||
{
|
||||
[Constructible]
|
||||
public BlacksmithGuildmaster() : base("blacksmith")
|
||||
{
|
||||
SetSkill(SkillName.ArmsLore, 65.0, 88.0);
|
||||
SetSkill(SkillName.Blacksmith, 90.0, 100.0);
|
||||
SetSkill(SkillName.Macing, 36.0, 68.0);
|
||||
SetSkill(SkillName.Parry, 36.0, 68.0);
|
||||
}
|
||||
|
||||
public BlacksmithGuildmaster(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override NpcGuild NpcGuild => NpcGuild.BlacksmithsGuild;
|
||||
|
||||
public override bool IsActiveVendor => true;
|
||||
|
||||
public override bool ClickTitle => true;
|
||||
|
||||
public override VendorShoeType ShoeType => VendorShoeType.ThighBoots;
|
||||
|
||||
public override void InitSBInfo()
|
||||
{
|
||||
SBInfos.Add(new SBBlacksmith());
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
base.InitOutfit();
|
||||
|
||||
Item item = Utility.RandomBool() ? null : new RingmailChest();
|
||||
|
||||
if (item != null && !EquipItem(item))
|
||||
{
|
||||
item.Delete();
|
||||
item = null;
|
||||
}
|
||||
|
||||
if (item == null)
|
||||
AddItem(new FullApron());
|
||||
|
||||
AddItem(new Bascinet());
|
||||
AddItem(new SmithHammer());
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue