Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
52
Scripts/Items/Artifacts/Decorative/GhostShipAnchor.cs
Normal file
52
Scripts/Items/Artifacts/Decorative/GhostShipAnchor.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GhostShipAnchor : Item
|
||||
{
|
||||
public override bool IsArtifact { get { return true; } }
|
||||
[Constructable]
|
||||
public GhostShipAnchor()
|
||||
: base(0x14F7)
|
||||
{
|
||||
this.Hue = 0x47E;
|
||||
this.Weight = 2;
|
||||
}
|
||||
|
||||
public GhostShipAnchor(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int LabelNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1070816;
|
||||
}
|
||||
}// Ghost Ship Anchor
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)1);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
switch (version)
|
||||
{
|
||||
case 0:
|
||||
this.Weight = 2;
|
||||
break;
|
||||
}
|
||||
|
||||
if (this.ItemID == 0x1F47)
|
||||
this.ItemID = 0x14F7;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user