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

namespace Server.Items
{
	public class CarpShopAddon : BaseAddon
	{
        private static int[,] m_AddOnSimpleComponents = new int[,] {
			  {4609, -3, 3, 0}, {4611, -3, 2, 0}, {4611, -3, 1, 0}// 1	2	3	
			, {4610, -3, 0, 0}, {5373, -3, 1, 5}, {4173, -3, 3, 6}// 4	5	6	
			, {4176, -3, 3, 7}, {6264, -3, 0, 6}, {6262, -3, 0, 7}// 7	8	9	
			, {6265, -3, 0, 8}, {4185, -3, 2, 6}, {7861, -3, -1, 0}// 10	11	12	
			, {6647, 1, -3, 0}, {4152, -1, 1, 0}, {7806, -3, -2, 0}// 13	14	15	
			, {7793, 0, -3, 0}, {7797, 0, -2, 0}, {6651, 1, 2, 0}// 16	17	18	
			, {7800, -2, -3, 0}, {7129, -2, 3, 0}, {6645, 3, -3, 0}// 19	20	21	
			, {6646, 2, -3, 0}, {4152, 2, -2, 0}, {6652, 2, 2, 0}// 22	23	24	
			, {7790, 2, -2, 3}, {7135, 3, -1, 0}// 25	26	
		};

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

		[ Constructable ]
		public CarpShopAddon()
		{

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

		[Constructable]
		public CarpShopAddonDeed()
		{
			Name = "CarpShop";
		}

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