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

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

		[ Constructable ]
		public Grave4NAddon()
		{
			AddComponent( new AddonComponent( 3795 ), 0, 1, 0 );
			AddComponent( new AddonComponent( 3809 ), 0, 0, 0 );
			AddComponent( new AddonComponent( 4460 ), 0, -1, 0 );
			AddonComponent ac = null;

		}

		public Grave4NAddon( 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 Grave4NAddonDeed : BaseAddonDeed
	{
		public override BaseAddon Addon
		{
			get
			{
				return new Grave4NAddon();
			}
		}

		[Constructable]
		public Grave4NAddonDeed()
		{
			Name = "Grave4N";
Hue = 2406;
		}

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