/////////////////////////////////////////////////
//                                             //
// Automatically generated by the              //
// AddonGenerator script by Arya               //
//                                             //
/////////////////////////////////////////////////
using System;
using Server;
using Server.Items;

namespace Server.Items
{
	public class DwarvenForgeEast2Addon : BaseAddon
	{
		public override BaseAddonDeed Deed
		{
			get
			{
				return new DwarvenForgeEast2AddonDeed();
			}
		}
		public override bool RetainDeedHue{ get{ return true; } }
		
		[ Constructable ]
		public DwarvenForgeEast2Addon( int hue )
		{
			AddonComponent ac;
			ac = new AddonComponent( 6534 );
			ac.Name = "Dwarven Forge";
			ac.Hue = hue;
			AddComponent( ac, 0, 0, 0 );
			ac = new AddonComponent( 6542 );
			ac.Name = "Dwarven Forge";
			ac.Hue = hue;
			AddComponent( ac, 0, 1, 0 );
		}
		
		[ Constructable ]
		public DwarvenForgeEast2Addon() : this( 0 )
		{
		}

		public DwarvenForgeEast2Addon( 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 DwarvenForgeEast2AddonDeed : BaseAddonDeed
	{
		public override BaseAddon Addon
		{
			get
			{
				return new DwarvenForgeEast2Addon( this.Hue );
			}
		}

		[Constructable]
		public DwarvenForgeEast2AddonDeed()
		{
			Name = "Dwarven Forge East 2";
		}

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