//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class winegazeboAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {3369, -1, 1, 0}, {3195, 0, -1, 5}, {3196, 0, 0, 8}// 1 7 8 , {2860, 1, 1, 0}, {2861, 2, 0, 0}, {3195, 0, 0, 9}// 11 12 13 , {3976, 0, 0, 7}, {3195, 0, 1, 8}, {2513, 2, -1, 6}// 14 15 16 , {3196, 1, -1, 10}, {3196, 0, -1, 9}, {2513, 0, -1, 6}// 17 26 27 , {3976, 1, -1, 5}, {8091, 1, 0, 9}, {2868, 1, 0, 0}// 29 37 38 , {3195, 1, -1, 4}, {2513, 1, -1, 3}, {2513, 0, 0, 3}// 39 40 41 }; public override BaseAddonDeed Deed { get { return new winegazeboAddonDeed(); } } [ Constructable ] public winegazeboAddon() { 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, 3976, 0, 1, 9, 0, -1, "", 2);// 2 AddComplexComponent( (BaseAddon) this, 3976, 2, -1, 8, 0, -1, "", 2);// 3 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 1, 0, 29, "", 1);// 4 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 5, 0, 29, "", 1);// 5 AddComplexComponent( (BaseAddon) this, 3976, 0, -1, 8, 0, -1, "", 2);// 6 AddComplexComponent( (BaseAddon) this, 3615, 0, 0, 8, 62, -1, "", 1);// 9 AddComplexComponent( (BaseAddon) this, 3613, 1, -1, 7, 62, -1, "", 1);// 10 AddComplexComponent( (BaseAddon) this, 3614, 0, 0, 4, 62, -1, "", 1);// 18 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 3, 0, 29, "", 1);// 19 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 2, 0, 29, "", 1);// 20 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 3, 0, 29, "", 1);// 21 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 1, 0, 29, "", 1);// 22 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 6, 0, 29, "", 1);// 23 AddComplexComponent( (BaseAddon) this, 3976, 0, -1, 4, 0, -1, "", 2);// 24 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 6, 0, 29, "", 1);// 25 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 5, 0, 29, "", 1);// 28 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 1, 0, 29, "", 1);// 30 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 0, 0, 29, "", 1);// 31 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 4, 0, 29, "", 1);// 32 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 0, 0, 29, "", 1);// 33 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 2, 0, 29, "", 1);// 34 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 5, 0, 29, "", 1);// 35 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 6, 0, 29, "", 1);// 36 AddComplexComponent( (BaseAddon) this, 2513, 1, 0, 3, 0, -1, "", 2);// 42 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 2, 0, 29, "", 1);// 43 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 0, 0, 29, "", 1);// 44 AddComplexComponent( (BaseAddon) this, 2578, 2, -1, 4, 0, 29, "", 1);// 45 AddComplexComponent( (BaseAddon) this, 2578, 0, 1, 3, 0, 29, "", 1);// 46 AddComplexComponent( (BaseAddon) this, 2578, 0, -1, 4, 0, 29, "", 1);// 47 } public winegazeboAddon( 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 winegazeboAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new winegazeboAddon(); } } [Constructable] public winegazeboAddonDeed() { Name = "winegazebo"; } public winegazeboAddonDeed( 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(); } } }