/////////////////////////////////////////////////
//                                             //
// Automatically generated by the              //
// AddonGenerator script by Arya               //
//                                             //
/////////////////////////////////////////////////
using System;
using Server;
using Server.Items;

namespace ingoty
{
	public class AG_TreasureAddon : BaseAddon
	{
		public override BaseAddonDeed Deed
		{
			get
			{
				return new AG_TreasureAddonDeed();
			}
		}

		[ Constructable ]
		public AG_TreasureAddon()
		{
			AddonComponent ac;
			ac = new AddonComponent( 7005 );
			AddComponent( ac, -1, -1, 0 );
			ac = new AddonComponent( 6996 );
			AddComponent( ac, -1, 0, 0 );
			ac = new AddonComponent( 6997 );
			AddComponent( ac, -2, 0, 0 );
			ac = new AddonComponent( 6998 );
			AddComponent( ac, -2, -1, 0 );
			ac = new AddonComponent( 6995 );
			AddComponent( ac, 0, 0, 0 );
			ac = new AddonComponent( 6999 );
			AddComponent( ac, -2, -2, 0 );
			ac = new AddonComponent( 7003 );
			AddComponent( ac, 1, -1, 0 );
			ac = new AddonComponent( 7004 );
			AddComponent( ac, 0, -1, 0 );
			ac = new AddonComponent( 7002 );
			AddComponent( ac, 1, -2, 0 );
			ac = new AddonComponent( 7001 );
			AddComponent( ac, 0, -2, 0 );
			ac = new AddonComponent( 7000 );
			AddComponent( ac, -1, -2, 0 );
		}

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

		[Constructable]
		public AG_TreasureAddonDeed()
		{
			Name = "Pile of Treasure";
		}

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