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

namespace Server.Items
{
	public class SquareDisplayCase2Addon : BaseAddon
	{
        private static int[,] m_AddOnSimpleComponents = new int[,] {
			  {2831, 0, 0, 0}, {2831, 1, 0, 0}, {2831, 0, 1, 0}// 1	2	3	
			, {2831, 1, 1, 0}, {2832, -1, -1, 0}, {2835, 2, -1, 0}// 4	5	6	
			, {2836, 2, 0, 0}, {2836, 2, 1, 0}, {2838, -1, 0, 0}// 7	8	9	
			, {2838, -1, 1, 0}, {2839, 0, -1, 0}, {2839, 1, -1, 0}// 10	11	12	
			, {2723, -1, -1, 3}, {2724, 2, -1, 3}, {2722, 0, -1, 3}// 13	14	15	
			, {2722, 1, -1, 3}, {2721, -1, 0, 3}, {2721, -1, 1, 3}// 16	17	18	
			, {2719, 2, 0, 3}, {2719, 2, 1, 3}, {2833, 2, 2, 0}// 19	20	21	
			, {2834, -1, 2, 0}, {2837, 0, 2, 0}, {2837, 1, 2, 0}// 22	23	24	
			, {2840, 2, 2, 3}, {2725, -1, 2, 3}, {2720, 0, 2, 3}// 25	26	27	
			, {2720, 1, 2, 3}// 28	
		};

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

		[ Constructable ]
		public SquareDisplayCase2Addon()
		{

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

		[Constructable]
		public SquareDisplayCase2AddonDeed()
		{
			Name = "SquareDisplayCase2";
		}

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