//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class WoodenPatioUmbrellaAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {10338, -2, -4, 0}, {10338, -4, -3, 0}, {10338, -3, -3, 0}// 1 2 3 , {10342, -3, -3, 0}, {10338, 2, -4, 0}, {10338, 3, -4, 0}// 4 5 6 , {10338, 4, -4, 0}, {10338, 5, -4, 0}, {10338, 6, -4, 0}// 7 8 9 , {10338, 1, -4, 0}, {10342, 6, -3, 0}, {10338, -1, -4, 0}// 20 21 22 , {10338, 0, -4, 0}, {10338, -3, 4, 0}, {10338, -2, 5, 0}// 23 24 25 , {10338, -1, 5, 0}, {10338, 0, 5, 0}, {10338, -4, 4, 0}// 26 27 28 , {10338, 1, 5, 0}, {10338, 4, 5, 0}, {10338, 2, 5, 0}// 29 30 31 , {10338, 5, 5, 0}, {10338, 3, 5, 0}, {10338, 6, 5, 0}// 32 33 34 , {10349, -5, -2, 0}, {10349, -5, -1, 0}, {10349, -5, 0, 0}// 35 36 37 , {10349, -5, 1, 0}, {10349, -5, 2, 0}, {10349, -5, 3, 0}// 38 39 40 , {10349, -5, 4, 0}, {10342, 6, 5, 0}, {10342, 6, 3, 0}// 41 42 43 , {10342, -3, 5, 0}, {10342, 6, 4, 0}, {10342, 6, -2, 0}// 44 45 46 , {10342, 6, -1, 0}, {10342, 6, 3, 0}, {10342, 6, 2, 0}// 47 48 49 , {10342, 6, -2, 0}, {10342, 6, -2, 0}, {2449, -3, 3, 7}// 136 137 138 , {1822, -3, 3, 0}, {1822, -3, 3, 2}, {5111, -3, 3, 9}// 139 140 141 , {3530, -3, 2, 6}, {7703, -3, 2, 7}, {1822, -3, 2, 0}// 142 143 145 , {5625, -4, -1, 9}, {1822, -4, -1, 4}, {1822, -4, 0, 6}// 146 147 148 , {2459, -4, 0, 11}, {1822, -4, 0, 2}, {5634, -4, 1, 11}// 149 150 151 , {1822, -4, 1, 6}, {1822, -4, 1, 2}, {3530, -3, 1, 6}// 152 153 154 , {7703, -3, 1, 7}, {1822, -3, 1, 0}, {6467, -3, 0, 4}// 155 157 158 , {1822, -3, 0, 0}, {1822, -3, 0, 2}, {5628, -4, 2, 9}// 159 160 161 , {1822, -4, 2, 4}, {2518, -4, 3, 8}, {1822, -4, 3, 0}// 162 163 164 , {1822, -4, 3, 3}, {2421, -3, -1, 6}, {3530, -3, -1, 6}// 165 166 168 , {2416, -3, -1, 14}, {1822, -3, -1, 0}, {7138, -3, 4, 0}// 169 170 171 , {5625, -4, -1, 9}, {5628, -4, 2, 9}, {5634, -4, 1, 11}// 172 174 175 , {1822, -4, 3, 0}, {1822, -4, 0, 6}, {1822, -4, 1, 6}// 186 187 188 , {1822, -4, -1, 4}, {1822, -4, 0, 2}, {1822, -4, 1, 2}// 190 191 192 , {1822, -4, 3, 3}, {1822, -4, 2, 4}, {5637, -4, -2, 7}// 193 194 195 , {1822, -4, -2, 3}, {4329, -3, -2, 7}, {1822, -3, -2, 0}// 196 197 198 , {1822, -3, -2, 2}, {5637, -4, -2, 7}, {1822, -4, -2, 3}// 199 200 201 , {2952, 2, 1, 0}, {2953, 1, 0, 0}, {2953, 1, 1, 0}// 202 203 204 , {2918, 1, -1, 0}, {2918, 1, 2, 0}, {2917, 2, -1, 0}// 205 206 207 , {2917, 2, 2, 0}, {2952, 2, 0, 0}, {9354, 1, 0, 0}// 208 209 210 }; public override BaseAddonDeed Deed { get { return new WoodenPatioUmbrellaAddonDeed(); } } [ Constructable ] public WoodenPatioUmbrellaAddon() { 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, 1321, -4, -3, 0, 946, -1, "", 1);// 10 AddComplexComponent( (BaseAddon) this, 1321, -2, -3, 0, 946, -1, "", 1);// 11 AddComplexComponent( (BaseAddon) this, 1321, -1, -3, 0, 946, -1, "", 1);// 12 AddComplexComponent( (BaseAddon) this, 1321, 0, -3, 0, 946, -1, "", 1);// 13 AddComplexComponent( (BaseAddon) this, 1321, 1, -3, 0, 946, -1, "", 1);// 14 AddComplexComponent( (BaseAddon) this, 1321, 2, -3, 0, 946, -1, "", 1);// 15 AddComplexComponent( (BaseAddon) this, 1321, 3, -3, 0, 946, -1, "", 1);// 16 AddComplexComponent( (BaseAddon) this, 1321, 4, -3, 0, 946, -1, "", 1);// 17 AddComplexComponent( (BaseAddon) this, 1321, 5, -3, 0, 946, -1, "", 1);// 18 AddComplexComponent( (BaseAddon) this, 1321, 6, -3, 0, 946, -1, "", 1);// 19 AddComplexComponent( (BaseAddon) this, 1321, -4, -2, 0, 946, -1, "", 1);// 50 AddComplexComponent( (BaseAddon) this, 1321, -4, -1, 0, 946, -1, "", 1);// 51 AddComplexComponent( (BaseAddon) this, 1321, -3, 0, 0, 946, -1, "", 1);// 52 AddComplexComponent( (BaseAddon) this, 1321, -4, 1, 0, 946, -1, "", 1);// 53 AddComplexComponent( (BaseAddon) this, 1321, -4, 2, 0, 946, -1, "", 1);// 54 AddComplexComponent( (BaseAddon) this, 1321, -4, 3, 0, 946, -1, "", 1);// 55 AddComplexComponent( (BaseAddon) this, 1321, -4, 4, 0, 946, -1, "", 1);// 56 AddComplexComponent( (BaseAddon) this, 1321, -3, -2, 0, 946, -1, "", 1);// 57 AddComplexComponent( (BaseAddon) this, 1321, -3, -1, 0, 946, -1, "", 1);// 58 AddComplexComponent( (BaseAddon) this, 1321, -4, 0, 0, 946, -1, "", 1);// 59 AddComplexComponent( (BaseAddon) this, 1321, -3, 1, 0, 946, -1, "", 1);// 60 AddComplexComponent( (BaseAddon) this, 1321, -3, 2, 0, 946, -1, "", 1);// 61 AddComplexComponent( (BaseAddon) this, 1321, -3, 3, 0, 946, -1, "", 1);// 62 AddComplexComponent( (BaseAddon) this, 1321, -3, 4, 0, 946, -1, "", 1);// 63 AddComplexComponent( (BaseAddon) this, 1321, -2, -2, 0, 946, -1, "", 1);// 64 AddComplexComponent( (BaseAddon) this, 1321, -2, -1, 0, 946, -1, "", 1);// 65 AddComplexComponent( (BaseAddon) this, 1321, -2, 0, 0, 946, -1, "", 1);// 66 AddComplexComponent( (BaseAddon) this, 1321, -2, 1, 0, 946, -1, "", 1);// 67 AddComplexComponent( (BaseAddon) this, 1321, -2, 2, 0, 946, -1, "", 1);// 68 AddComplexComponent( (BaseAddon) this, 1321, -2, 3, 0, 946, -1, "", 1);// 69 AddComplexComponent( (BaseAddon) this, 1321, -2, 4, 0, 946, -1, "", 1);// 70 AddComplexComponent( (BaseAddon) this, 1321, -2, 5, 0, 946, -1, "", 1);// 71 AddComplexComponent( (BaseAddon) this, 1321, -1, -2, 0, 946, -1, "", 1);// 72 AddComplexComponent( (BaseAddon) this, 1321, -1, -1, 0, 946, -1, "", 1);// 73 AddComplexComponent( (BaseAddon) this, 1321, -1, 0, 0, 946, -1, "", 1);// 74 AddComplexComponent( (BaseAddon) this, 1321, -1, 1, 0, 946, -1, "", 1);// 75 AddComplexComponent( (BaseAddon) this, 1321, -1, 2, 0, 946, -1, "", 1);// 76 AddComplexComponent( (BaseAddon) this, 1321, -1, 3, 0, 946, -1, "", 1);// 77 AddComplexComponent( (BaseAddon) this, 1321, -1, 4, 0, 946, -1, "", 1);// 78 AddComplexComponent( (BaseAddon) this, 1321, -1, 5, 0, 946, -1, "", 1);// 79 AddComplexComponent( (BaseAddon) this, 1321, 0, -2, 0, 946, -1, "", 1);// 80 AddComplexComponent( (BaseAddon) this, 1321, 0, -1, 0, 946, -1, "", 1);// 81 AddComplexComponent( (BaseAddon) this, 1321, 0, 0, 0, 946, -1, "", 1);// 82 AddComplexComponent( (BaseAddon) this, 1321, 0, 1, 0, 946, -1, "", 1);// 83 AddComplexComponent( (BaseAddon) this, 1321, 0, 2, 0, 946, -1, "", 1);// 84 AddComplexComponent( (BaseAddon) this, 1321, 0, 3, 0, 946, -1, "", 1);// 85 AddComplexComponent( (BaseAddon) this, 1321, 0, 4, 0, 946, -1, "", 1);// 86 AddComplexComponent( (BaseAddon) this, 1321, 0, 5, 0, 946, -1, "", 1);// 87 AddComplexComponent( (BaseAddon) this, 1321, 1, -2, 0, 946, -1, "", 1);// 88 AddComplexComponent( (BaseAddon) this, 1321, 1, -1, 0, 946, -1, "", 1);// 89 AddComplexComponent( (BaseAddon) this, 1321, 1, 0, 0, 946, -1, "", 1);// 90 AddComplexComponent( (BaseAddon) this, 1321, 1, 1, 0, 946, -1, "", 1);// 91 AddComplexComponent( (BaseAddon) this, 1321, 1, 2, 0, 946, -1, "", 1);// 92 AddComplexComponent( (BaseAddon) this, 1321, 1, 3, 0, 946, -1, "", 1);// 93 AddComplexComponent( (BaseAddon) this, 1321, 1, 4, 0, 946, -1, "", 1);// 94 AddComplexComponent( (BaseAddon) this, 1321, 1, 5, 0, 946, -1, "", 1);// 95 AddComplexComponent( (BaseAddon) this, 1321, 2, -2, 0, 946, -1, "", 1);// 96 AddComplexComponent( (BaseAddon) this, 1321, 2, -1, 0, 946, -1, "", 1);// 97 AddComplexComponent( (BaseAddon) this, 1321, 2, 0, 0, 946, -1, "", 1);// 98 AddComplexComponent( (BaseAddon) this, 1321, 2, 1, 0, 946, -1, "", 1);// 99 AddComplexComponent( (BaseAddon) this, 1321, 2, 2, 0, 946, -1, "", 1);// 100 AddComplexComponent( (BaseAddon) this, 1321, 2, 3, 0, 946, -1, "", 1);// 101 AddComplexComponent( (BaseAddon) this, 1321, 2, 4, 0, 946, -1, "", 1);// 102 AddComplexComponent( (BaseAddon) this, 1321, 2, 5, 0, 946, -1, "", 1);// 103 AddComplexComponent( (BaseAddon) this, 1321, 3, -2, 0, 946, -1, "", 1);// 104 AddComplexComponent( (BaseAddon) this, 1321, 3, -1, 0, 946, -1, "", 1);// 105 AddComplexComponent( (BaseAddon) this, 1321, 3, 0, 0, 946, -1, "", 1);// 106 AddComplexComponent( (BaseAddon) this, 1321, 3, 1, 0, 946, -1, "", 1);// 107 AddComplexComponent( (BaseAddon) this, 1321, 3, 2, 0, 946, -1, "", 1);// 108 AddComplexComponent( (BaseAddon) this, 1321, 3, 3, 0, 946, -1, "", 1);// 109 AddComplexComponent( (BaseAddon) this, 1321, 3, 4, 0, 946, -1, "", 1);// 110 AddComplexComponent( (BaseAddon) this, 1321, 3, 5, 0, 946, -1, "", 1);// 111 AddComplexComponent( (BaseAddon) this, 1321, 4, -2, 0, 946, -1, "", 1);// 112 AddComplexComponent( (BaseAddon) this, 1321, 4, -1, 0, 946, -1, "", 1);// 113 AddComplexComponent( (BaseAddon) this, 1321, 4, 0, 0, 946, -1, "", 1);// 114 AddComplexComponent( (BaseAddon) this, 1321, 4, 1, 0, 946, -1, "", 1);// 115 AddComplexComponent( (BaseAddon) this, 1321, 4, 2, 0, 946, -1, "", 1);// 116 AddComplexComponent( (BaseAddon) this, 1321, 4, 3, 0, 946, -1, "", 1);// 117 AddComplexComponent( (BaseAddon) this, 1321, 4, 4, 0, 946, -1, "", 1);// 118 AddComplexComponent( (BaseAddon) this, 1321, 4, 5, 0, 946, -1, "", 1);// 119 AddComplexComponent( (BaseAddon) this, 1321, 5, -2, 0, 946, -1, "", 1);// 120 AddComplexComponent( (BaseAddon) this, 1321, 5, -1, 0, 946, -1, "", 1);// 121 AddComplexComponent( (BaseAddon) this, 1321, 5, 0, 0, 946, -1, "", 1);// 122 AddComplexComponent( (BaseAddon) this, 1321, 5, 1, 0, 946, -1, "", 1);// 123 AddComplexComponent( (BaseAddon) this, 1321, 5, 2, 0, 946, -1, "", 1);// 124 AddComplexComponent( (BaseAddon) this, 1321, 5, 3, 0, 946, -1, "", 1);// 125 AddComplexComponent( (BaseAddon) this, 1321, 5, 4, 0, 946, -1, "", 1);// 126 AddComplexComponent( (BaseAddon) this, 1321, 5, 5, 0, 946, -1, "", 1);// 127 AddComplexComponent( (BaseAddon) this, 1321, 6, -2, 0, 946, -1, "", 1);// 128 AddComplexComponent( (BaseAddon) this, 1321, 6, -1, 0, 946, -1, "", 1);// 129 AddComplexComponent( (BaseAddon) this, 1321, 6, 0, 0, 946, -1, "", 1);// 130 AddComplexComponent( (BaseAddon) this, 1321, 6, 1, 0, 946, -1, "", 1);// 131 AddComplexComponent( (BaseAddon) this, 1321, 6, 2, 0, 946, -1, "", 1);// 132 AddComplexComponent( (BaseAddon) this, 1321, 6, 3, 0, 946, -1, "", 1);// 133 AddComplexComponent( (BaseAddon) this, 1321, 6, 4, 0, 946, -1, "", 1);// 134 AddComplexComponent( (BaseAddon) this, 1321, 6, 5, 0, 946, -1, "", 1);// 135 AddComplexComponent( (BaseAddon) this, 4846, -3, 2, 5, 0, 0, "", 1);// 144 AddComplexComponent( (BaseAddon) this, 4846, -3, 1, 5, 0, 0, "", 1);// 156 AddComplexComponent( (BaseAddon) this, 4846, -3, -1, 5, 0, 0, "", 1);// 167 AddComplexComponent( (BaseAddon) this, 7138, -3, 4, 0, 0, -1, "Mesquite Logs", 1);// 173 AddComplexComponent( (BaseAddon) this, 4846, -3, 2, 5, 0, 1, "", 1);// 176 AddComplexComponent( (BaseAddon) this, 4846, -3, 1, 5, 0, 1, "", 1);// 177 AddComplexComponent( (BaseAddon) this, 4846, -3, -1, 5, 0, 1, "", 1);// 178 AddComplexComponent( (BaseAddon) this, 2518, -4, 3, 8, 0, -1, "Marinade", 1);// 179 AddComplexComponent( (BaseAddon) this, 6467, -3, 0, 4, 0, -1, "Imported Spices", 1);// 180 AddComplexComponent( (BaseAddon) this, 3530, -3, 2, 6, 1, -1, "Grill", 1);// 181 AddComplexComponent( (BaseAddon) this, 3530, -3, 1, 6, 1, -1, "Grill", 1);// 182 AddComplexComponent( (BaseAddon) this, 3530, -3, -1, 6, 1, -1, "Grill", 1);// 183 AddComplexComponent( (BaseAddon) this, 7703, -3, 2, 7, 0, -1, "Grilled Salmon", 1);// 184 AddComplexComponent( (BaseAddon) this, 7703, -3, 1, 7, 0, -1, "Grilled Salmon", 1);// 185 AddComplexComponent( (BaseAddon) this, 2459, -4, 0, 11, 0, -1, "Cooking Wine", 1);// 189 AddComplexComponent( (BaseAddon) this, 1543, 1, 1, 20, 1153, -1, "", 1);// 211 AddComplexComponent( (BaseAddon) this, 1540, 2, 1, 20, 2747, -1, "", 1);// 212 AddComplexComponent( (BaseAddon) this, 1541, 2, 0, 20, 1153, -1, "", 1);// 213 AddComplexComponent( (BaseAddon) this, 1542, 1, 0, 20, 2747, -1, "", 1);// 214 } public WoodenPatioUmbrellaAddon( 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 WoodenPatioUmbrellaAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new WoodenPatioUmbrellaAddon(); } } [Constructable] public WoodenPatioUmbrellaAddonDeed() { Name = "WoodenPatioUmbrella"; } public WoodenPatioUmbrellaAddonDeed( 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(); } } }