//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class FallPondAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {6045, 1, 0, 0}, {6047, -1, -1, 0}, {6048, 0, -1, 0}// 1 2 3 , {6049, 0, 1, 0}, {6050, -1, 1, 0}, {6051, -2, 0, 0}// 4 5 6 , {6053, 1, -1, 0}, {6054, -2, -1, 0}, {6055, 1, 1, 0}// 7 8 9 , {6056, -2, 1, 0}, {6039, -1, 0, 0}, {6039, 0, 0, 0}// 10 11 12 , {3158, -2, 0, 0}, {3159, 0, -1, 0}, {3484, 3, 3, 0}// 13 14 15 , {3283, -4, -4, 0}, {3280, -4, 3, 0}, {3277, 4, -4, 0}// 16 17 18 , {6943, -2, 1, 0}, {2914, -4, 1, 0}, {2915, -4, -2, 0}// 47 53 54 , {2916, -4, 0, 0}, {2916, -4, -1, 0}, {2914, 4, 1, 0}// 55 56 57 , {2915, 4, -2, 0}, {2916, 4, 0, 0}, {2916, 4, -1, 0}// 58 59 60 , {2920, 1, -4, 0}, {2921, -2, -4, 0}, {2922, -1, -4, 0}// 61 62 63 , {2922, 0, -4, 0}, {2920, 1, 3, 0}, {2921, -2, 3, 0}// 64 65 66 , {2922, -1, 3, 0}, {2922, 0, 3, 0}, {7869, -4, 2, 0}// 67 68 69 , {7869, -3, 3, 0}, {7869, 4, -3, 0}, {3178, -3, 2, 0}// 70 71 72 , {3179, -3, 2, 0}, {3180, -3, 2, 0}, {3178, -3, -3, 0}// 73 74 75 , {3180, -3, -3, 0}, {3179, -3, -3, 0}// 76 77 }; public override BaseAddonDeed Deed { get { return new FallPondAddonDeed(); } } [ Constructable ] public FallPondAddon() { 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, 3207, -4, -4, 26, 1531, -1, "", 1);// 19 AddComplexComponent( (BaseAddon) this, 3207, -3, -3, 20, 1531, -1, "", 1);// 20 AddComplexComponent( (BaseAddon) this, 3207, -3, -4, 23, 1531, -1, "", 1);// 21 AddComplexComponent( (BaseAddon) this, 3207, -4, -3, 20, 1531, -1, "", 1);// 22 AddComplexComponent( (BaseAddon) this, 3207, -5, -4, 2, 1531, -1, "", 1);// 23 AddComplexComponent( (BaseAddon) this, 3207, -2, -3, 24, 1531, -1, "", 1);// 24 AddComplexComponent( (BaseAddon) this, 3391, -4, 3, 27, 2458, -1, "", 1);// 25 AddComplexComponent( (BaseAddon) this, 3391, -3, 3, 24, 2458, -1, "", 1);// 26 AddComplexComponent( (BaseAddon) this, 3391, -4, 4, 24, 2458, -1, "", 1);// 27 AddComplexComponent( (BaseAddon) this, 3392, -3, 4, 24, 2458, -1, "", 1);// 28 AddComplexComponent( (BaseAddon) this, 3214, 3, 3, 26, 2698, -1, "", 1);// 29 AddComplexComponent( (BaseAddon) this, 3214, 4, 3, 26, 2698, -1, "", 1);// 30 AddComplexComponent( (BaseAddon) this, 3214, 3, 4, 26, 2698, -1, "", 1);// 31 AddComplexComponent( (BaseAddon) this, 3214, 4, 4, 26, 2698, -1, "", 1);// 32 AddComplexComponent( (BaseAddon) this, 3214, 3, 4, 15, 2698, -1, "", 1);// 33 AddComplexComponent( (BaseAddon) this, 3214, 4, 3, 18, 2698, -1, "", 1);// 34 AddComplexComponent( (BaseAddon) this, 3263, 4, -4, 30, 1117, -1, "", 1);// 35 AddComplexComponent( (BaseAddon) this, 3263, 6, -3, 35, 1117, -1, "", 1);// 36 AddComplexComponent( (BaseAddon) this, 3263, 4, -2, 25, 1117, -1, "", 1);// 37 AddComplexComponent( (BaseAddon) this, 3263, 5, -3, 33, 1117, -1, "", 1);// 38 AddComplexComponent( (BaseAddon) this, 3263, 5, -3, 23, 1117, -1, "", 1);// 39 AddComplexComponent( (BaseAddon) this, 3262, 5, -3, 21, 1117, -1, "", 1);// 40 AddComplexComponent( (BaseAddon) this, 3262, 5, -3, 27, 1117, -1, "", 1);// 41 AddComplexComponent( (BaseAddon) this, 3515, 5, -4, 0, 1117, -1, "Fallen Leaves", 1);// 42 AddComplexComponent( (BaseAddon) this, 3514, 3, 4, 0, 2698, -1, "Fallen Leaves", 1);// 43 AddComplexComponent( (BaseAddon) this, 3514, -4, 5, 0, 2458, -1, "Fallen Leaves", 1);// 44 AddComplexComponent( (BaseAddon) this, 3514, -3, -4, 0, 1531, -1, "Fallen Leaves", 1);// 45 AddComplexComponent( (BaseAddon) this, 3514, -4, -3, 0, 1531, -1, "Fallen Leaves", 1);// 46 AddComplexComponent( (BaseAddon) this, 6944, -2, 2, 0, 1117, -1, "", 1);// 48 AddComplexComponent( (BaseAddon) this, 6947, -1, 2, 0, 1117, -1, "", 1);// 49 AddComplexComponent( (BaseAddon) this, 6948, -1, 1, 0, 1117, -1, "", 1);// 50 AddComplexComponent( (BaseAddon) this, 6949, -2, 1, 0, 1117, -1, "", 1);// 51 AddComplexComponent( (BaseAddon) this, 6950, -2, 2, 0, 1117, -1, "", 1);// 52 } public FallPondAddon( 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 FallPondAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new FallPondAddon(); } } [Constructable] public FallPondAddonDeed() { Name = "FallPond"; } public FallPondAddonDeed( 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(); } } }