
//////////////////////////
//Created by LostSinner//
////////////////////////
using System;
using Server;
using Server.Network;
using System.Collections;

namespace Server.Items
{
	public class AncientScroll2 : Item
	{
        [Constructable]
        public AncientScroll2()
        {
            ItemID = 5357;
            Weight = 1.0;
            Name = "A section of an anceint scroll";
            Hue = 1055;
				
        }

        public override void OnDoubleClick(Mobile from)
        {
            Item nm = from.Backpack.FindItemByType(typeof(AncientScroll1));
            if (nm != null)
            {
                from.AddToBackpack(new AncientScroll3());
                nm.Delete();
                Delete();
            }
            else
            {
                from.PrivateOverheadMessage(MessageType.Regular, 1153, false, "You lack the other peice to combine with this", from.NetState);
            }
        }

        public AncientScroll2(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();
		}
	}
}