// Created by ice
using System;
using Server;
using Server.Items;

namespace Server.Items
{
	public class Grave4WAddon : BaseAddon
	{
		public override BaseAddonDeed Deed
		{
			get
			{
				return new Grave4WAddonDeed();
			}
		}

		[ Constructable ]
		public Grave4WAddon()
		{
			AddComponent( new AddonComponent( 3808 ), 1, 0, 0 );
			AddComponent( new AddonComponent( 3810 ), 0, 0, 0 );
			AddComponent( new AddonComponent( 4463 ), -1, 0, 0 );
			AddonComponent ac = null;

		}

		public Grave4WAddon( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( 0 ); // Version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
		}
	}

	public class Grave4WAddonDeed : BaseAddonDeed
	{
		public override BaseAddon Addon
		{
			get
			{
				return new Grave4WAddon();
			}
		}

		[Constructable]
		public Grave4WAddonDeed()
		{
			Name = "Grave4W";
Hue = 2406;
		}

		public Grave4WAddonDeed( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( 0 ); // Version
		}

		public override void	Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
		}
	}
}