
////////////////////////////////////////
//                                     //
//   Generated by CEO's YAAAG - Ver 2  //
// (Yet Another Arya Addon Generator)  //
//    Modified by Hammerhand for       //
//      SA & High Seas content         //
//                                     //
////////////////////////////////////////
using System;
using Server;
using Server.Items;

namespace SSsmallsmithaddon
{
	public class SSsmallsmithaddonAddon : BaseAddon
	{
        private static int[,] m_AddOnSimpleComponents = new int[,] {
			  {1180, 2, 1, 0}, {1180, 0, 1, 0}, {1180, 1, -1, 0}// 1	2	3	
			, {4015, 1, -1, 0}, {1180, 1, 0, 0}, {1180, 0, -1, 0}// 4	5	6	
			, {1180, 1, 1, 0}, {1180, 0, 0, 0}, {1180, 2, 2, 0}// 7	8	9	
			, {1180, 2, -1, 0}, {4017, 0, -1, 0}, {1180, 0, 2, 0}// 10	11	12	
			, {1180, 1, 2, 0}, {1180, 2, 0, 0}, {1180, -1, 1, 0}// 13	14	15	
			, {1180, -1, 2, 0}, {1180, -1, 0, 0}, {1180, -1, -1, 0}// 16	17	18	
					};

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

		[ Constructable ]
		public SSsmallsmithaddonAddon()
		{

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

		[Constructable]
		public SSsmallsmithaddonAddonDeed()
		{
			Name = "SSsmallsmithaddon";
		}

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