Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Network;
|
||||
using System.Collections;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class eParchment1 : Item
|
||||
{
|
||||
[Constructable]
|
||||
public eParchment1()
|
||||
{
|
||||
ItemID = 5357;
|
||||
Weight = 1.0;
|
||||
Name = "A section of Parchment of Wisdom";
|
||||
Hue = 669;
|
||||
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
Item n = from.Backpack.FindItemByType(typeof(eParchment2));
|
||||
if (n != null)
|
||||
{
|
||||
from.AddToBackpack(new eParchment3());
|
||||
n.Delete();
|
||||
Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
from.PrivateOverheadMessage(MessageType.Regular, 1153, false, "You lack the other peice to combine with this", from.NetState);
|
||||
}
|
||||
}
|
||||
|
||||
public eParchment1(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user