//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class WoodenMoatDrawbridgeSouthAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {1197, -2, -3, 5}, {1197, -2, -2, 5}, {1197, -2, -1, 5}// 1 2 3 , {1197, -2, 0, 5}, {1197, -2, 1, 5}, {1197, -2, 2, 5}// 4 5 6 , {1198, -1, 4, 5}, {1198, 0, 4, 5}, {1198, 1, 4, 5}// 7 8 9 , {1199, 3, -3, 5}, {1199, 3, -2, 5}, {1199, 3, -1, 5}// 10 11 12 , {1199, 3, 0, 5}, {1199, 3, 1, 5}, {1199, 3, 2, 5}// 13 14 15 , {1198, 2, 4, 5}, {1201, 3, 4, 5}, {1202, -2, 4, 5}// 16 17 18 , {1203, 3, -4, 5}, {1204, -2, -4, 5}, {1200, -1, -4, 5}// 19 20 21 , {1200, 0, -4, 5}, {1200, 1, -4, 5}, {1200, 2, -4, 5}// 22 23 24 , {1194, -1, -3, 5}, {1194, 0, -2, 5}, {1194, 1, -1, 5}// 25 26 27 , {1194, 2, 0, 5}, {1194, -1, 1, 5}, {1194, 0, 2, 5}// 28 29 30 , {1195, -1, 2, 5}, {1195, -1, -2, 5}, {1195, 0, -1, 5}// 31 32 33 , {1195, 1, 0, 5}, {1195, 2, 1, 5}, {1196, 1, 2, 5}// 34 35 36 , {1196, 0, 1, 5}, {1196, -1, 0, 5}, {1196, 0, -3, 5}// 37 38 39 , {1196, 1, -2, 5}, {1196, 2, -1, 5}, {1196, 2, -3, 5}// 40 41 42 , {1194, -1, -1, 5}, {1194, 0, 0, 5}, {1194, 1, 1, 5}// 43 44 45 , {1194, 2, 2, 5}, {1194, 1, -3, 5}, {1194, 2, -2, 5}// 46 47 48 , {1199, 3, 3, 5}, {1197, -2, 3, 5}, {1195, -1, 3, 5}// 49 50 51 , {1195, 2, 3, 5}, {1193, 0, 3, 5}, {1195, 1, 3, 0}// 52 53 54 , {1195, 1, 3, 0}, {1196, 1, 3, 5}, {933, 3, 4, 7}// 55 56 57 , {933, -2, 4, 7}, {933, -2, -4, 7}, {933, 3, -4, 7}// 58 59 60 , {933, 3, 0, 7}, {933, -2, 0, 7}, {8761, 3, -2, 5}// 61 62 63 , {8761, 3, -4, 13}, {8761, -2, -4, 13}, {8761, -2, -2, 5}// 64 65 66 , {933, 3, 4, 0}, {933, -2, 4, 0}, {933, 3, -4, 0}// 79 80 81 , {933, 3, 0, 0}, {1849, -1, 5, 0}, {1849, 0, 5, 0}// 82 83 84 , {1849, 1, 5, 0}, {1849, 2, 5, 0}// 85 86 }; public override BaseAddonDeed Deed { get { return new WoodenMoatDrawbridgeSouthAddonDeed(); } } [ Constructable ] public WoodenMoatDrawbridgeSouthAddon() { 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, 6587, -2, -4, 13, 0, 10, "", 1);// 67 AddComplexComponent( (BaseAddon) this, 6587, 3, -4, 13, 0, 10, "", 1);// 68 AddComplexComponent( (BaseAddon) this, 6587, -2, 0, 13, 0, 10, "", 1);// 69 AddComplexComponent( (BaseAddon) this, 6587, 3, 0, 13, 0, 10, "", 1);// 70 AddComplexComponent( (BaseAddon) this, 6587, 3, 4, 13, 0, 10, "", 1);// 71 AddComplexComponent( (BaseAddon) this, 6587, -2, 4, 13, 0, 10, "", 1);// 72 AddComplexComponent( (BaseAddon) this, 6571, -2, 4, 15, 0, 10, "", 1);// 73 AddComplexComponent( (BaseAddon) this, 6571, 3, 4, 15, 0, 10, "", 1);// 74 AddComplexComponent( (BaseAddon) this, 6571, -2, 0, 15, 0, 10, "", 1);// 75 AddComplexComponent( (BaseAddon) this, 6571, 3, 0, 15, 0, 10, "", 1);// 76 AddComplexComponent( (BaseAddon) this, 6571, 3, -4, 15, 0, 10, "", 1);// 77 AddComplexComponent( (BaseAddon) this, 6571, -2, -4, 15, 0, 10, "", 1);// 78 } public WoodenMoatDrawbridgeSouthAddon( 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 WoodenMoatDrawbridgeSouthAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new WoodenMoatDrawbridgeSouthAddon(); } } [Constructable] public WoodenMoatDrawbridgeSouthAddonDeed() { Name = "WoodenMoatDrawbridgeSouth"; } public WoodenMoatDrawbridgeSouthAddonDeed( 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(); } } }