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

namespace Server.Items
{
	public class YardGate1southAddon : BaseAddon
	{
        private static int[,] m_AddOnSimpleComponents = new int[,] {
			  {3215, -3, 0, 0}, {3215, -2, 0, 0}, {3215, -1, 0, 0}// 1	2	3	
			, {3215, -2, 0, 6}, {3215, -1, 0, 7}, {3215, -1, 0, 14}// 4	5	6	
			, {3215, 0, 0, 16}, {3215, 1, 0, 16}, {3215, 2, 0, 0}// 7	8	9	
			, {3215, 3, 0, 0}, {3215, 4, 0, 0}, {3215, 2, 0, 8}// 10	11	12	
			, {3215, 3, 0, 6}, {3215, 2, 0, 14}, {3209, -2, 0, 12}// 13	14	15	
			, {3209, 3, 0, 12}, {3209, -1, 0, 19}, {3209, 2, 0, 19}// 16	17	18	
			, {3265, 0, 0, 20}, {3265, 1, 0, 21}, {3263, 2, 1, 0}// 19	20	21	
			, {3263, -1, 1, 0}, {3208, 2, 1, 2}, {3208, -1, 1, 3}// 22	23	24	
					};

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

		[ Constructable ]
		public YardGate1southAddon()
		{

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

		[Constructable]
		public YardGate1southAddonDeed()
		{
			Name = "YardGate1south";
		}

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