71 lines
1.7 KiB
C#
71 lines
1.7 KiB
C#
using System;
|
|
using Server.Engines.Craft;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[Alterable(typeof(DefBlacksmithy), typeof(GargishSkullLongsword))]
|
|
[FlipableAttribute(41793, 41794)]
|
|
public class SkullLongsword : Longsword
|
|
{
|
|
public override int LabelNumber { get { return 1125817; } } // skull longsword
|
|
|
|
[Constructable]
|
|
public SkullLongsword()
|
|
{
|
|
ItemID = 41793;
|
|
}
|
|
|
|
public SkullLongsword(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
|
|
[FlipableAttribute(41797, 41798)]
|
|
public class GargishSkullLongsword : Longsword
|
|
{
|
|
public override int LabelNumber { get { return 1125821; } } // gargish skull longsword
|
|
public override Race RequiredRace { get { return Race.Gargoyle; } }
|
|
public override bool CanBeWornByGargoyles { get { return true; } }
|
|
|
|
[Constructable]
|
|
public GargishSkullLongsword()
|
|
{
|
|
ItemID = 41797;
|
|
}
|
|
|
|
public GargishSkullLongsword(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|