Files
abysmal-isle/Scripts/Services/Revamped Dungeons/WrongDungeon/Mobile/WrongPrisoner.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

60 lines
1.4 KiB
C#

using System;
using Server.Items;
namespace Server.Engines.Quests
{
public class WrongPrisoner : BaseEscort
{
[Constructable]
public WrongPrisoner()
: base()
{
this.Title = "the prisoner";
this.IsPrisoner = true;
this.Female = false;
this.Body = 0x190;
this.Hue = 33802;
this.Name = NameList.RandomName("male");
this.SetWearable(new PlateChest());
this.SetWearable(new PlateArms());
this.SetWearable(new PlateGloves());
this.SetWearable(new PlateLegs());
}
public WrongPrisoner(Serial serial)
: base(serial)
{
}
public override void InitOutfit() { }
public override bool IsInvulnerable { get { return !this.Controlled; } }
public override Type[] Quests
{
get
{
return new Type[]
{
typeof(EscortToWrongEntrance)
};
}
}
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();
}
}
}