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

namespace Server.Items
{
	public class DEVAquariumBarAddon : BaseAddon
	{
        private static int[,] m_AddOnSimpleComponents = new int[,] {
			  {2495, -2, 3, 6}, {2500, -2, -2, 11}, {2501, -2, -2, 17}// 4	6	7	
			, {2464, 2, -2, 11}, {2502, -2, -2, 6}, {2500, -2, -2, 1}// 8	9	10	
			, {2460, 1, -2, 1}, {2462, 1, -2, 11}, {2460, 1, -2, 6}// 12	13	14	
			, {2461, 1, -2, 17}, {5929, -2, 0, 11}, {2465, 2, -2, 6}// 15	16	20	
			, {2464, 2, -2, 17}, {2466, 2, -2, 1}, {2506, 1, 1, 11}// 39	40	41	
			, {3605, 1, 1, 12}, {10302, 0, 1, 11}, {2450, -2, 1, 12}// 42	43	44	
			, {2445, 0, -2, 6}, {8070, -1, 1, 11}, {2495, 0, -2, 17}// 46	47	49	
			, {2483, 0, -2, 17}, {3781, -2, 1, 14}, {7709, -2, 1, 14}// 51	53	54	
			, {3542, -1, 2, 11}, {4041, -2, 2, 6}// 66	169	
		};

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

		[ Constructable ]
		public DEVAquariumBarAddon()
		{

            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] );


			AddComplexComponent( (BaseAddon) this, 4604, 2, 3, 0, 1125, -1, "", 1);// 1
			AddComplexComponent( (BaseAddon) this, 4173, -2, -2, 6, 1125, -1, "wine rack", 1);// 2
			AddComplexComponent( (BaseAddon) this, 4173, -2, -2, 0, 1125, -1, "wine rack", 1);// 3
			AddComplexComponent( (BaseAddon) this, 2503, -2, 3, 6, 0, -1, "bottle of Merlot", 1);// 5
			AddComplexComponent( (BaseAddon) this, 4173, -2, -2, 12, 1125, -1, "wine rack", 1);// 11
			AddComplexComponent( (BaseAddon) this, 4173, -1, -2, 0, 1125, -1, "wine rack", 1);// 17
			AddComplexComponent( (BaseAddon) this, 4173, -1, -2, 6, 1125, -1, "wine rack", 1);// 18
			AddComplexComponent( (BaseAddon) this, 2461, -1, -2, 6, 635, -1, "bottles of champagne", 1);// 19
			AddComplexComponent( (BaseAddon) this, 2462, -1, -2, 1, 635, -1, "bottles of champagne", 1);// 21
			AddComplexComponent( (BaseAddon) this, 2460, -1, -2, 11, 635, -1, "bottles of champagne", 1);// 22
			AddComplexComponent( (BaseAddon) this, 4173, 1, -2, 0, 1125, -1, "wine rack", 1);// 23
			AddComplexComponent( (BaseAddon) this, 4173, 0, -2, 6, 1125, -1, "wine rack", 1);// 24
			AddComplexComponent( (BaseAddon) this, 4173, -1, -2, 12, 1125, -1, "wine rack", 1);// 25
			AddComplexComponent( (BaseAddon) this, 4173, 0, -2, 0, 1125, -1, "wine rack", 1);// 26
			AddComplexComponent( (BaseAddon) this, 4173, 1, -2, 12, 1125, -1, "wine rack", 1);// 27
			AddComplexComponent( (BaseAddon) this, 4173, 0, -2, 12, 1125, -1, "wine rack", 1);// 28
			AddComplexComponent( (BaseAddon) this, 4173, 1, -2, 6, 1125, -1, "wine rack", 1);// 29
			AddComplexComponent( (BaseAddon) this, 4173, 2, -2, 12, 1125, -1, "wine rack", 1);// 30
			AddComplexComponent( (BaseAddon) this, 4173, 3, -2, 12, 1125, -1, "wine rack", 1);// 31
			AddComplexComponent( (BaseAddon) this, 4173, 2, -2, 0, 1125, -1, "wine rack", 1);// 32
			AddComplexComponent( (BaseAddon) this, 4173, 3, -2, 6, 1125, -1, "wine rack", 1);// 33
			AddComplexComponent( (BaseAddon) this, 4173, 3, -2, 0, 1125, -1, "wine rack", 1);// 34
			AddComplexComponent( (BaseAddon) this, 4173, 2, -2, 7, 1125, -1, "wine rack", 1);// 35
			AddComplexComponent( (BaseAddon) this, 4604, 0, 3, 0, 1125, -1, "", 1);// 36
			AddComplexComponent( (BaseAddon) this, 2868, 1, 3, 0, 1125, -1, "", 1);// 37
			AddComplexComponent( (BaseAddon) this, 2919, -2, -2, 16, 1051, -1, "wine rack", 1);// 38
			AddComplexComponent( (BaseAddon) this, 4604, -3, 3, 0, 1125, -1, "", 1);// 45
			AddComplexComponent( (BaseAddon) this, 4604, -1, 3, 0, 1125, -1, "", 1);// 48
			AddComplexComponent( (BaseAddon) this, 3182, 3, 2, 12, 0, -1, "seaweed", 1);// 50
			AddComplexComponent( (BaseAddon) this, 4086, 0, -2, 11, 1072, -1, "Decanter", 1);// 52
			AddComplexComponent( (BaseAddon) this, 2919, -1, -2, 0, 1051, -1, "wine rack", 1);// 55
			AddComplexComponent( (BaseAddon) this, 6870, 0, -2, 3, 0, -1, "Kassandra's Reserve", 1);// 56
			AddComplexComponent( (BaseAddon) this, 15104, 3, 2, 17, 0, -1, "Anthias", 1);// 57
			AddComplexComponent( (BaseAddon) this, 2868, -2, 3, 0, 1125, -1, "", 1);// 58
			AddComplexComponent( (BaseAddon) this, 5363, 1, 2, 9, 2765, -1, "Carpe Diem", 1);// 59
			AddComplexComponent( (BaseAddon) this, 3182, 2, 2, 11, 0, -1, "seaweed", 1);// 60
			AddComplexComponent( (BaseAddon) this, 2459, -1, -2, 17, 635, -1, "bottle of champagne", 1);// 61
			AddComplexComponent( (BaseAddon) this, 2919, -2, -2, 0, 1051, -1, "wine rack", 1);// 62
			AddComplexComponent( (BaseAddon) this, 15110, 3, 1, 14, 0, -1, "Yellow Tang", 1);// 63
			AddComplexComponent( (BaseAddon) this, 15108, 2, 2, 13, 0, -1, "Albino Angelfish", 1);// 64
			AddComplexComponent( (BaseAddon) this, 15111, 0, 2, 14, 0, -1, "Powderblue Tang", 1);// 65
			AddComplexComponent( (BaseAddon) this, 12688, 3, 1, 12, 0, -1, "seaweed", 1);// 67
			AddComplexComponent( (BaseAddon) this, 2919, 0, -2, 16, 1051, -1, "wine rack", 1);// 68
			AddComplexComponent( (BaseAddon) this, 2919, 1, -2, 16, 1051, -1, "", 1);// 69
			AddComplexComponent( (BaseAddon) this, 2919, 2, -2, 16, 1051, -1, "wine rack", 1);// 70
			AddComplexComponent( (BaseAddon) this, 2919, -2, -2, 10, 1051, -1, "wine rack", 1);// 71
			AddComplexComponent( (BaseAddon) this, 2919, -1, -2, 10, 1051, -1, "wine rack", 1);// 72
			AddComplexComponent( (BaseAddon) this, 2919, 0, -2, 10, 1051, -1, "wine rack", 1);// 73
			AddComplexComponent( (BaseAddon) this, 2919, 1, -2, 10, 1051, -1, "wine rack", 1);// 74
			AddComplexComponent( (BaseAddon) this, 2919, 2, -2, 10, 1051, -1, "wine rack", 1);// 75
			AddComplexComponent( (BaseAddon) this, 2919, -1, -2, 16, 1051, -1, "wine rack", 1);// 76
			AddComplexComponent( (BaseAddon) this, 2919, 2, -2, 5, 1051, -1, "wine rack", 1);// 77
			AddComplexComponent( (BaseAddon) this, 2919, 2, -2, 0, 1051, -1, "wine rack", 1);// 78
			AddComplexComponent( (BaseAddon) this, 2919, -2, -2, 5, 1051, -1, "wine rack", 1);// 79
			AddComplexComponent( (BaseAddon) this, 2919, -1, -2, 5, 1051, -1, "wine rack", 1);// 80
			AddComplexComponent( (BaseAddon) this, 2919, 0, -2, 5, 1051, -1, "wine rack", 1);// 81
			AddComplexComponent( (BaseAddon) this, 2919, 1, -2, 5, 1051, -1, "wine rack", 1);// 82
			AddComplexComponent( (BaseAddon) this, 2919, 1, -2, 0, 1051, -1, "wine rack", 1);// 83
			AddComplexComponent( (BaseAddon) this, 2919, 0, -2, 0, 1051, -1, "wine rack", 1);// 84
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 9, 91, 0, "water", 1);// 85
			AddComplexComponent( (BaseAddon) this, 10414, 2, 0, 0, 1, -1, "fishtank base", 1);// 86
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 6, 88, 0, "water", 1);// 87
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 5, 89, 0, "water", 1);// 88
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 4, 88, 0, "water", 1);// 89
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 3, 87, 0, "water", 1);// 90
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 2, 87, 0, "water", 1);// 91
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 1, 348, 0, "sand", 1);// 92
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 7, 91, 0, "water", 1);// 93
			AddComplexComponent( (BaseAddon) this, 1993, 2, 0, 10, 1051, -1, "counter", 1);// 94
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 6, 90, 0, "water", 1);// 95
			AddComplexComponent( (BaseAddon) this, 4846, 2, 0, 8, 91, 0, "water", 1);// 96
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 9, 91, 0, "water", 1);// 97
			AddComplexComponent( (BaseAddon) this, 10414, 2, 1, 0, 1, -1, "fishtank base", 1);// 98
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 6, 88, 0, "water", 1);// 99
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 5, 89, 0, "water", 1);// 100
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 4, 88, 0, "water", 1);// 101
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 3, 87, 0, "water", 1);// 102
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 2, 87, 0, "water", 1);// 103
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 1, 348, 0, "sand", 1);// 104
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 7, 91, 0, "water", 1);// 105
			AddComplexComponent( (BaseAddon) this, 1993, 2, 1, 10, 1051, -1, "counter", 1);// 106
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 6, 90, 0, "water", 1);// 107
			AddComplexComponent( (BaseAddon) this, 4846, 2, 1, 8, 91, 0, "water", 1);// 108
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 9, 91, 0, "water", 1);// 109
			AddComplexComponent( (BaseAddon) this, 10414, 1, 1, 0, 1, -1, "fishtank base", 1);// 110
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 6, 88, 0, "water", 1);// 111
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 5, 89, 0, "water", 1);// 112
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 4, 88, 0, "water", 1);// 113
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 3, 87, 0, "water", 1);// 114
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 2, 87, 0, "water", 1);// 115
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 1, 348, 0, "sand", 1);// 116
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 7, 91, 0, "water", 1);// 117
			AddComplexComponent( (BaseAddon) this, 1993, 1, 1, 10, 1051, -1, "counter", 1);// 118
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 6, 90, 0, "water", 1);// 119
			AddComplexComponent( (BaseAddon) this, 4846, 1, 1, 8, 91, 0, "water", 1);// 120
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 9, 91, 0, "water", 1);// 121
			AddComplexComponent( (BaseAddon) this, 10414, 0, 1, 0, 1, -1, "fishtank base", 1);// 122
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 6, 88, 0, "water", 1);// 123
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 5, 89, 0, "water", 1);// 124
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 4, 88, 0, "water", 1);// 125
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 3, 87, 0, "water", 1);// 126
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 2, 87, 0, "water", 1);// 127
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 1, 348, 0, "sand", 1);// 128
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 7, 91, 0, "water", 1);// 129
			AddComplexComponent( (BaseAddon) this, 1993, 0, 1, 10, 1051, -1, "counter", 1);// 130
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 6, 90, 0, "water", 1);// 131
			AddComplexComponent( (BaseAddon) this, 4846, 0, 1, 8, 91, 0, "water", 1);// 132
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 9, 91, 0, "water", 1);// 133
			AddComplexComponent( (BaseAddon) this, 10414, -1, 1, 0, 1, -1, "fishtank base", 1);// 134
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 6, 88, 0, "water", 1);// 135
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 5, 89, 0, "water", 1);// 136
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 4, 88, 0, "water", 1);// 137
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 3, 87, 0, "water", 1);// 138
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 2, 87, 0, "water", 1);// 139
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 1, 348, 0, "sand", 1);// 140
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 7, 91, 0, "water", 1);// 141
			AddComplexComponent( (BaseAddon) this, 1993, -1, 1, 10, 1051, -1, "counter", 1);// 142
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 6, 90, 0, "water", 1);// 143
			AddComplexComponent( (BaseAddon) this, 4846, -1, 1, 8, 91, 0, "water", 1);// 144
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 9, 91, 0, "water", 1);// 145
			AddComplexComponent( (BaseAddon) this, 10414, -2, 1, 0, 1, -1, "fishtank base", 1);// 146
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 6, 88, 0, "water", 1);// 147
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 5, 89, 0, "water", 1);// 148
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 4, 88, 0, "water", 1);// 149
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 3, 87, 0, "water", 1);// 150
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 2, 87, 0, "water", 1);// 151
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 1, 348, 0, "sand", 1);// 152
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 7, 91, 0, "water", 1);// 153
			AddComplexComponent( (BaseAddon) this, 1993, -2, 1, 10, 1051, -1, "counter", 1);// 154
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 6, 90, 0, "water", 1);// 155
			AddComplexComponent( (BaseAddon) this, 4846, -2, 1, 8, 91, 0, "water", 1);// 156
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 9, 91, 0, "water", 1);// 157
			AddComplexComponent( (BaseAddon) this, 10414, -2, 0, 0, 1, -1, "fishtank base", 1);// 158
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 6, 88, 0, "water", 1);// 159
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 5, 89, 0, "water", 1);// 160
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 4, 88, 0, "water", 1);// 161
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 3, 87, 0, "water", 1);// 162
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 2, 87, 0, "water", 1);// 163
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 1, 348, 0, "sand", 1);// 164
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 7, 91, 0, "water", 1);// 165
			AddComplexComponent( (BaseAddon) this, 1993, -2, 0, 10, 1051, -1, "counter", 1);// 166
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 6, 90, 0, "water", 1);// 167
			AddComplexComponent( (BaseAddon) this, 4846, -2, 0, 8, 91, 0, "water", 1);// 168

		}

		public DEVAquariumBarAddon( Serial serial ) : base( serial )
		{
		}

        private static void AddComplexComponent(BaseAddon addon, int item, int xoffset, int yoffset, int zoffset, int hue, int lightsource)
        {
            AddComplexComponent(addon, item, xoffset, yoffset, zoffset, hue, lightsource, null, 1);
        }

        private static void AddComplexComponent(BaseAddon addon, int item, int xoffset, int yoffset, int zoffset, int hue, int lightsource, string name, int amount)
        {
            AddonComponent ac;
            ac = new AddonComponent(item);
            if (name != null && name.Length > 0)
                ac.Name = name;
            if (hue != 0)
                ac.Hue = hue;
            if (amount > 1)
            {
                ac.Stackable = true;
                ac.Amount = amount;
            }
            if (lightsource != -1)
                ac.Light = (LightType) lightsource;
            addon.AddComponent(ac, xoffset, yoffset, zoffset);
        }

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

		[Constructable]
		public DEVAquariumBarAddonDeed()
		{
			Name = "DEVAquariumBar";
		}

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