Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
95
Scripts/Mobiles/NPCs/GrandpaCharley.cs
Normal file
95
Scripts/Mobiles/NPCs/GrandpaCharley.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class GrandpaCharley : BaseVendor
|
||||
{
|
||||
private readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
[Constructable]
|
||||
public GrandpaCharley()
|
||||
: base("the farmer")
|
||||
{
|
||||
this.Name = "Grandpa Charley";
|
||||
|
||||
this.SetSkill(SkillName.ItemID, 70.0, 80.0);
|
||||
}
|
||||
|
||||
public GrandpaCharley(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsActiveVendor
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public override bool CanTeach
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public override bool IsInvulnerable
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
protected override List<SBInfo> SBInfos
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_SBInfos;
|
||||
}
|
||||
}
|
||||
public override void InitSBInfo()
|
||||
{
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
this.InitStats(100, 100, 25);
|
||||
|
||||
this.Female = false;
|
||||
this.CantWalk = false;
|
||||
this.Race = Race.Human;
|
||||
|
||||
this.Hue = 0x8410;
|
||||
this.HairItemID = 0x203B;
|
||||
this.HairHue = 0x3B2;
|
||||
this.FacialHairItemID = 0x203E;
|
||||
this.FacialHairHue = 0x3B2;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
this.AddItem(new Backpack());
|
||||
this.AddItem(new ShepherdsCrook());
|
||||
this.AddItem(new Shoes(0x72F));
|
||||
this.AddItem(new LongPants(0x519));
|
||||
this.AddItem(new FancyShirt(0x600));
|
||||
this.AddItem(new WideBrimHat(0x6B1));
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user