using System;
using Server.Mobiles;
using Server.Items;
using Server.Targeting;
using Server;

namespace Server.Items
{
    public class InfusedAlchemistsGem : Item
    {
        public override int LabelNumber{ get{ return 1113006; } } 
         
        [Constructable]
        public InfusedAlchemistsGem() : base(0x1EA7)
        {
            Weight = 1.0;
        }
   
        public override void AddNameProperties( ObjectPropertyList list )
        {
              base.AddNameProperties( list );
              
              list.Add(1070722, "Alchemy Skill Increaser + 1");

        } 
         
        public override void OnDoubleClick(Mobile from)
        {
           
                 from.Skills[SkillName.Alchemy].Base += 1;
                 from.SendMessage("You have increased your Alchemy Skill by 1 Point !."); 
                 this.Delete();
              
        }

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