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