using System;
using Server;

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

		#region Mondain's Legacy
		public override bool RetainDeedHue{ get{ return true; }	}
		#endregion

		[Constructable]
		public ElvenStoveEastAddon()
		{
			AddComponent( new AddonComponent( 0x2DDB ), 0, 0, 0 );
		}

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

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}

	public class ElvenStoveEastDeed : BaseAddonDeed
	{
		public override BaseAddon Addon{ get{ return new ElvenStoveEastAddon(); } }
		public override int LabelNumber{ get{ return 1073395; } } // elven oven (east)

		[Constructable]
		public ElvenStoveEastDeed()
		{
		}

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

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}
}