//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class darkstableAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {12788, -3, 4, 7}, {22, -3, 4, 0}, {7, -3, 4, 7}// 1 2 3 , {1210, -3, 4, 27}, {22, -3, 4, 27}, {12788, 0, 4, 7}// 4 5 6 , {22, 0, 4, 0}, {1210, 0, 4, 27}, {22, 0, 4, 27}// 7 8 9 , {1849, 0, 5, 0}, {12788, 0, 2, 7}, {1208, 0, 2, 27}// 10 11 12 , {12788, -1, 2, 7}, {1205, -1, 2, 27}, {12788, 1, -1, 7}// 13 14 15 , {1208, 1, -1, 27}, {12788, 1, -2, 7}, {1205, 1, -2, 27}// 16 17 18 , {12788, 0, -2, 7}, {1208, 0, -2, 27}, {12788, 0, -1, 7}// 19 20 21 , {1205, 0, -1, 27}, {12788, 0, -4, 7}, {1212, 0, -4, 27}// 22 23 24 , {12788, -1, -4, 7}, {1212, -1, -4, 27}, {22, -1, -5, 0}// 25 26 27 , {14, -1, -5, 7}, {22, -1, -5, 27}, {12788, 1, -4, 7}// 28 29 30 , {1212, 1, -4, 27}, {12788, 2, -2, 7}, {1208, 2, -2, 27}// 31 32 33 , {12788, 2, -1, 7}, {1205, 2, -1, 27}, {12788, 2, 0, 7}// 34 35 36 , {1208, 2, 0, 27}, {12788, 2, 1, 7}, {1205, 2, 1, 27}// 37 38 39 , {12788, 4, -4, 7}, {1212, 4, -4, 27}, {12788, 3, 0, 7}// 40 41 42 , {1205, 3, 0, 27}, {12788, 3, -1, 7}, {1208, 3, -1, 27}// 43 44 45 , {22, 4, -5, 0}, {7, 4, -5, 7}, {22, 4, -5, 27}// 46 47 48 , {22, 5, -5, 0}, {14, 5, -5, 7}, {22, 5, -5, 27}// 49 50 51 , {12788, 4, 1, 7}, {1205, 4, 1, 27}, {12788, 4, 2, 7}// 52 53 54 , {1208, 4, 2, 27}, {12788, 5, -4, 7}, {1212, 5, -4, 27}// 55 56 57 , {12788, 6, -2, 7}, {21, 6, -2, 0}, {8, 6, -2, 7}// 58 59 60 , {1211, 6, -2, 27}, {21, 6, -2, 27}, {22, 6, -5, 0}// 61 62 63 , {12, 6, -5, 7}, {22, 6, -5, 27}, {12788, 6, -4, 7}// 64 65 66 , {21, 6, -4, 0}, {8, 6, -4, 7}, {1215, 6, -4, 27}// 67 68 69 , {21, 6, -4, 27}, {12788, 6, -3, 7}, {21, 6, -3, 0}// 70 71 72 , {15, 6, -3, 7}, {1211, 6, -3, 27}, {21, 6, -3, 27}// 73 74 75 , {12788, -2, 4, 7}, {22, -2, 4, 0}, {14, -2, 4, 7}// 76 77 78 , {1210, -2, 4, 27}, {22, -2, 4, 27}, {12788, -2, 0, 7}// 79 80 81 , {1208, -2, 0, 27}, {12788, -3, 2, 7}, {1205, -3, 2, 27}// 82 83 84 , {12788, -2, -1, 7}, {1205, -2, -1, 27}, {12788, -4, -3, 7}// 85 86 87 , {1205, -4, -3, 27}, {12788, -3, 0, 7}, {1205, -3, 0, 27}// 88 89 90 , {22, -4, -5, 0}, {14, -4, -5, 7}, {22, -4, -5, 27}// 91 92 93 , {12788, -3, -1, 7}, {1208, -3, -1, 27}, {12788, -3, -2, 7}// 94 95 96 , {1205, -3, -2, 27}, {12788, -3, 1, 7}, {1208, -3, 1, 27}// 97 98 99 , {12788, -4, -1, 7}, {1205, -4, -1, 27}, {12788, -3, 3, 7}// 100 101 102 , {1208, -3, 3, 27}, {21, -6, -1, 0}, {8, -6, -1, 7}// 103 104 105 , {21, -6, -1, 27}, {12788, -4, 2, 7}, {1208, -4, 2, 27}// 106 107 108 , {21, -6, 1, 0}, {8, -6, 1, 7}, {21, -6, 1, 27}// 109 110 111 , {12788, 1, 3, 7}, {1208, 1, 3, 27}, {12788, -1, 4, 7}// 112 113 114 , {22, -1, 4, 0}, {12, -1, 4, 7}, {1210, -1, 4, 27}// 115 116 117 , {22, -1, 4, 27}, {12788, -1, 3, 7}, {1208, -1, 3, 27}// 118 119 120 , {12788, 0, 3, 7}, {1205, 0, 3, 27}, {12788, -1, 1, 7}// 121 122 123 , {1208, -1, 1, 27}, {12788, 0, 1, 7}, {1205, 0, 1, 27}// 124 125 126 , {12788, -1, -1, 7}, {1208, -1, -1, 27}, {12788, 1, 0, 7}// 127 128 129 , {1205, 1, 0, 27}, {12788, -1, -3, 7}, {1208, -1, -3, 27}// 130 131 132 , {12788, 0, -3, 7}, {1205, 0, -3, 27}, {12788, 1, -3, 7}// 133 134 135 , {1208, 1, -3, 27}, {22, 0, -5, 0}, {7, 0, -5, 7}// 136 137 138 , {22, 0, -5, 27}, {12788, 3, -3, 7}, {1208, 3, -3, 27}// 139 140 141 , {12788, 2, 3, 7}, {1205, 2, 3, 27}, {12788, 2, 4, 7}// 142 143 144 , {22, 2, 4, 0}, {10, 2, 4, 7}, {1210, 2, 4, 27}// 145 146 147 , {22, 2, 4, 27}, {12788, 3, -2, 7}, {1205, 3, -2, 27}// 148 149 150 , {12788, 4, 0, 7}, {1208, 4, 0, 27}, {12788, 3, 4, 7}// 151 152 153 , {22, 3, 4, 0}, {14, 3, 4, 7}, {1210, 3, 4, 27}// 154 155 156 , {22, 3, 4, 27}, {12788, 3, 3, 7}, {1208, 3, 3, 27}// 157 158 159 , {12788, 4, -1, 7}, {1205, 4, -1, 27}, {12788, 5, -1, 7}// 160 161 162 , {1208, 5, -1, 27}, {12788, 5, -2, 7}, {1205, 5, -2, 27}// 163 164 165 , {12788, 5, -3, 7}, {1208, 5, -3, 27}, {12788, 5, 0, 7}// 166 167 168 , {1205, 5, 0, 27}, {12788, 6, 2, 7}, {21, 6, 2, 0}// 169 170 171 , {15, 6, 2, 7}, {1211, 6, 2, 27}, {21, 6, 2, 27}// 172 173 174 , {12788, 6, -1, 7}, {21, 6, -1, 0}, {8, 6, -1, 7}// 175 176 177 , {1211, 6, -1, 27}, {21, 6, -1, 27}, {12788, 6, 0, 7}// 178 179 180 , {21, 6, 0, 0}, {8, 6, 0, 7}, {1211, 6, 0, 27}// 181 182 183 , {21, 6, 0, 27}, {12788, 6, 1, 7}, {21, 6, 1, 0}// 184 185 186 , {8, 6, 1, 7}, {1211, 6, 1, 27}, {21, 6, 1, 27}// 187 188 189 , {12788, -2, -2, 7}, {1208, -2, -2, 27}, {21, -6, 3, 0}// 190 191 192 , {8, -6, 3, 7}, {21, -6, 3, 27}, {12788, -5, -4, 7}// 193 194 195 , {1216, -5, -4, 27}, {23, -6, -5, 0}, {9, -6, -5, 7}// 196 197 198 , {23, -6, -5, 27}, {21, -6, -4, 0}, {8, -6, -4, 7}// 199 200 201 , {21, -6, -4, 27}, {12788, -5, 1, 7}, {1209, -5, 1, 27}// 202 203 204 , {12788, -4, -4, 7}, {1212, -4, -4, 27}, {22, -2, -5, 0}// 205 206 207 , {7, -2, -5, 7}, {22, -2, -5, 27}, {12788, -3, -3, 7}// 208 209 210 , {1208, -3, -3, 27}, {12788, -2, -3, 7}, {1205, -2, -3, 27}// 211 212 213 , {12788, -4, 0, 7}, {1208, -4, 0, 27}, {12788, -5, 0, 7}// 214 215 216 , {1209, -5, 0, 27}, {21, -6, 4, 0}, {8, -6, 4, 7}// 217 218 219 , {21, -6, 4, 27}, {12788, -2, 1, 7}, {1205, -2, 1, 27}// 220 221 222 , {21, -6, -2, 0}, {8, -6, -2, 7}, {21, -6, -2, 27}// 223 224 225 , {12788, -5, 4, 7}, {22, -5, 4, 0}, {10, -5, 4, 7}// 226 227 228 , {1214, -5, 4, 27}, {22, -5, 4, 27}, {21, -6, 0, 0}// 229 230 231 , {8, -6, 0, 7}, {21, -6, 0, 27}, {12788, -4, 3, 7}// 232 233 234 , {1205, -4, 3, 27}, {12788, 2, 2, 7}, {1208, 2, 2, 27}// 235 236 237 , {12788, 1, 2, 7}, {1205, 1, 2, 27}, {1849, 1, 5, 0}// 238 239 240 , {12788, 1, 4, 7}, {22, 1, 4, 0}, {1210, 1, 4, 27}// 241 242 243 , {22, 1, 4, 27}, {12788, 0, 0, 7}, {1208, 0, 0, 27}// 244 245 246 , {12788, -1, 0, 7}, {1205, -1, 0, 27}, {12788, 1, 1, 7}// 247 248 249 , {1208, 1, 1, 27}, {12788, -1, -2, 7}, {1205, -1, -2, 27}// 250 251 252 , {22, 1, -5, 0}, {7, 1, -5, 7}, {22, 1, -5, 27}// 253 254 255 , {22, 2, -5, 0}, {14, 2, -5, 7}, {22, 2, -5, 27}// 256 257 258 , {12788, 2, -4, 7}, {1212, 2, -4, 27}, {12788, 2, -3, 7}// 259 260 261 , {1205, 2, -3, 27}, {12788, 3, 1, 7}, {1208, 3, 1, 27}// 262 263 264 , {12788, 3, -4, 7}, {1212, 3, -4, 27}, {22, 3, -5, 0}// 265 266 267 , {7, 3, -5, 7}, {22, 3, -5, 27}, {12788, 3, 2, 7}// 268 269 270 , {1205, 3, 2, 27}, {12788, 4, 4, 7}, {22, 4, 4, 0}// 271 272 273 , {7, 4, 4, 7}, {1210, 4, 4, 27}, {22, 4, 4, 27}// 274 275 276 , {12788, 4, -3, 7}, {1205, 4, -3, 27}, {12788, 4, -2, 7}// 277 278 279 , {1208, 4, -2, 27}, {12788, 4, 3, 7}, {1205, 4, 3, 27}// 280 281 282 , {12788, 5, 3, 7}, {1208, 5, 3, 27}, {12788, 5, 2, 7}// 283 284 285 , {1205, 5, 2, 27}, {12788, 5, 1, 7}, {1208, 5, 1, 27}// 286 287 288 , {12788, 5, 4, 7}, {22, 5, 4, 0}, {14, 5, 4, 7}// 289 290 291 , {1210, 5, 4, 27}, {22, 5, 4, 27}, {12788, 6, 3, 7}// 292 293 294 , {21, 6, 3, 0}, {8, 6, 3, 7}, {1211, 6, 3, 27}// 295 296 297 , {21, 6, 3, 27}, {12788, 6, 4, 7}, {20, 6, 4, 0}// 298 299 300 , {6, 6, 4, 7}, {1213, 6, 4, 27}, {20, 6, 4, 27}// 301 302 303 , {22, -3, -5, 0}, {7, -3, -5, 7}, {22, -3, -5, 27}// 304 305 306 , {12788, -5, 2, 7}, {1209, -5, 2, 27}, {12788, -2, -4, 7}// 307 308 309 , {1212, -2, -4, 27}, {12788, -2, 2, 7}, {1208, -2, 2, 27}// 310 311 312 , {21, -6, -3, 0}, {15, -6, -3, 7}, {21, -6, -3, 27}// 313 314 315 , {12788, -5, -3, 7}, {1209, -5, -3, 27}, {12788, -4, -2, 7}// 316 317 318 , {1208, -4, -2, 27}, {22, -5, -5, 0}, {7, -5, -5, 7}// 319 320 321 , {22, -5, -5, 27}, {12788, -3, -4, 7}, {1212, -3, -4, 27}// 322 323 324 , {21, -6, 2, 0}, {15, -6, 2, 7}, {21, -6, 2, 27}// 325 326 327 , {12788, -4, 1, 7}, {1205, -4, 1, 27}, {12788, -5, -1, 7}// 328 329 330 , {1209, -5, -1, 27}, {12788, -5, -2, 7}, {1209, -5, -2, 27}// 331 332 333 , {12788, -4, 4, 7}, {22, -4, 4, 0}, {14, -4, 4, 7}// 334 335 336 , {1210, -4, 4, 27}, {22, -4, 4, 27}, {12788, -2, 3, 7}// 337 338 339 , {1205, -2, 3, 27}, {12788, -5, 3, 7}, {1209, -5, 3, 27}// 340 341 342 , {2145, -3, -3, 7}, {2145, -3, -4, 7}, {2167, -5, -1, 7}// 343 344 345 , {2167, -3, -1, 7}, {2145, -3, -2, 7}, {4976, -5, 2, 13}// 346 347 349 , {2167, -2, -1, 7}, {2968, -6, 5, 7}, {2879, -5, 3, 7}// 350 351 352 , {2879, -5, 2, 7}, {2879, -5, 1, 7}, {3026, -6, 5, 7}// 353 354 355 , {2142, -3, -1, 7}, {2145, 3, -3, 7}, {2145, 0, -3, 7}// 356 357 358 , {2145, 0, -4, 7}, {2145, 3, -4, 7}, {2143, 3, -5, 7}// 359 360 361 , {2167, 6, -1, 7}, {2145, 3, -2, 7}, {2145, 0, -2, 7}// 362 363 364 , {2167, 3, -1, 7}, {2142, 0, -1, 7}, {2167, 1, -1, 7}// 365 366 367 , {2142, 3, -1, 7}, {2167, 4, -1, 7}, {2167, 0, -1, 7}// 368 369 370 }; public override BaseAddonDeed Deed { get { return new darkstableAddonDeed(); } } [ Constructable ] public darkstableAddon() { 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, 4978, -5, 1, 13, 0, -1, "Curry Comb", 1);// 348 } public darkstableAddon( 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 darkstableAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new darkstableAddon(); } } [Constructable] public darkstableAddonDeed() { Name = "darkstable"; } public darkstableAddonDeed( 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(); } } }