
////////////////////////////////////////
//                                    //
//   Generated by CEO's YAAAG - V1.2  //
// (Yet Another Arya Addon Generator) //
//                                    //
////////////////////////////////////////
using System;
using Server;
using Server.Items;

namespace Server.Items
{
	public class HugeForge2Addon : BaseAddon
	{
        private static int[,] m_AddOnSimpleComponents = new int[,] {
			  {37, 0, -1, 16}, {36, 0, 2, 16}, {38, 0, 1, 16}// 1	2	3	
			, {38, 0, 0, 16}, {1180, 1, 0, 8}, {1180, 1, 1, 8}// 4	5	6	
			, {1180, 1, 2, 8}, {37, 0, 2, 0}, {37, 0, 2, 8}// 7	8	9	
			, {37, 0, -1, 0}, {37, 0, -1, 8}, {45, 0, 1, 24}// 10	11	12	
			, {6544, 1, 2, 0}, {6544, 1, 1, 0}, {6544, 1, 0, 0}// 13	14	15	
			, {36, 1, 2, 0}, {38, 1, 1, 0}, {38, 1, 0, 0}// 16	17	18	
			, {6723, 0, 2, 8}, {6719, 0, 0, 8}, {6711, 0, 1, 8}// 19	20	21	
			, {49, 0, 0, 24}, {14120, 0, 1, 19}, {7158, 1, 2, 8}// 22	23	24	
			, {4027, 1, 1, 8}, {4020, 1, 0, 8}// 25	26	
		};

 
            
		public override BaseAddonDeed Deed
		{
			get
			{
				return new HugeForge2AddonDeed();
			}
		}

		[ Constructable ]
		public HugeForge2Addon()
		{

            for (int i = 0; i < m_AddOnSimpleComponents.Length / 4; i++)
                AddComponent( new AddonComponent( m_AddOnSimpleComponents[i,0] ), m_AddOnSimpleComponents[i,1], m_AddOnSimpleComponents[i,2], m_AddOnSimpleComponents[i,3] );


		}

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

		[Constructable]
		public HugeForge2AddonDeed()
		{
			Name = "HugeForge2";
		}

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