Files
abysmal-isle/Scripts/Scripts-master/Quests/Quete of Elements english/Items/aeParchemin1.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

55 lines
1.2 KiB
C#

using System;
using Server;
using Server.Network;
using System.Collections;
namespace Server.Items
{
public class aeParchment1 : Item
{
[Constructable]
public aeParchment1()
{
ItemID = 5357;
Weight = 1.0;
Name = "A section of Parchment of Knowledge";
Hue = 1321;
}
public override void OnDoubleClick(Mobile from)
{
Item n = from.Backpack.FindItemByType(typeof(aeParchment2));
if (n != null)
{
from.AddToBackpack(new aeParchment3());
n.Delete();
Delete();
}
else
{
from.PrivateOverheadMessage(MessageType.Regular, 1153, false, "You lack the other peice to combine with this", from.NetState);
}
}
public aeParchment1(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();
}
}
}