Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
286
Scripts/Scripts-master/Addons/FishingShackAddon.cs
Normal file
286
Scripts/Scripts-master/Addons/FishingShackAddon.cs
Normal file
@@ -0,0 +1,286 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FishingShackAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{944, 1, -5, 0}, {933, 1, -5, 5}, {1981, 1, -5, 8}// 1 2 3
|
||||
, {1981, 2, -5, 8}, {1981, 3, -5, 8}, {1981, 4, -5, 8}// 4 5 6
|
||||
, {10, 1, -6, 10}, {7, 2, -6, 10}, {7, 3, -6, 10}// 7 8 9
|
||||
, {7, 4, -6, 10}, {7, 5, -6, 10}, {8, 0, -5, 10}// 10 11 12
|
||||
, {9269, 1, -5, 30}, {9269, 2, -5, 30}, {9269, 3, -5, 30}// 13 14 15
|
||||
, {9269, 4, -5, 30}, {9269, 5, -5, 30}, {10, 1, -6, 30}// 16 17 18
|
||||
, {8, 0, -5, 30}, {7, 3, -6, 30}, {7, 4, -6, 30}// 19 20 21
|
||||
, {7, 5, -6, 30}, {10453, 1, -5, 47}, {10458, 2, -5, 47}// 22 24 25
|
||||
, {10458, 3, -5, 47}, {10458, 4, -5, 47}, {10458, 5, -5, 47}// 26 27 28
|
||||
, {2653, 1, -5, 30}, {2658, 2, -5, 30}, {3648, 3, -5, 30}// 29 30 31
|
||||
, {2890, 5, -5, 30}, {8296, 1, -5, 10}, {2416, 1, -5, 18}// 32 33 35
|
||||
, {1824, 3, -5, 10}, {4104, 3, -5, 15}, {3136, 3, -5, 13}// 36 37 38
|
||||
, {3138, 3, -5, 13}, {3129, 3, -5, 12}, {1981, 5, -5, 8}// 39 40 41
|
||||
, {2712, 5, -5, 10}, {944, 1, 7, 0}, {933, 1, 7, 5}// 42 43 44
|
||||
, {944, -2, 7, 0}, {944, -6, 7, 0}, {944, -9, 7, 0}// 45 46 47
|
||||
, {944, -9, 1, 0}, {944, -6, 1, 0}, {944, -2, 1, 0}// 48 49 50
|
||||
, {1981, -9, 1, 5}, {1981, -9, 2, 5}, {1981, -9, 3, 5}// 51 52 53
|
||||
, {1981, -9, 4, 5}, {1981, -9, 5, 5}, {1981, -9, 6, 5}// 54 55 56
|
||||
, {1981, -9, 7, 5}, {1981, -8, 1, 5}, {1981, -8, 2, 5}// 57 58 59
|
||||
, {1981, -8, 3, 5}, {1981, -8, 4, 5}, {1981, -8, 5, 5}// 60 61 62
|
||||
, {1981, -8, 6, 5}, {1981, -8, 7, 5}, {1981, -7, 1, 5}// 63 64 65
|
||||
, {1981, -7, 2, 5}, {1981, -7, 3, 5}, {1981, -7, 4, 5}// 66 67 68
|
||||
, {1981, -7, 5, 5}, {1981, -7, 6, 5}, {1981, -7, 7, 5}// 69 70 71
|
||||
, {1981, -6, 1, 5}, {1981, -6, 2, 5}, {1981, -6, 3, 5}// 72 73 74
|
||||
, {1981, -6, 4, 5}, {1981, -6, 5, 5}, {1981, -6, 6, 5}// 75 76 77
|
||||
, {1981, -6, 7, 5}, {1981, -5, 1, 5}, {1981, -5, 2, 5}// 78 79 80
|
||||
, {1981, -5, 3, 5}, {1981, -5, 4, 5}, {1981, -5, 5, 5}// 81 82 83
|
||||
, {1981, -5, 6, 5}, {1981, -5, 7, 5}, {1981, -4, 1, 5}// 84 85 86
|
||||
, {1981, -4, 2, 5}, {1981, -4, 3, 5}, {1981, -4, 4, 5}// 87 88 89
|
||||
, {1981, -4, 5, 5}, {1981, -4, 6, 5}, {1981, -4, 7, 5}// 90 91 92
|
||||
, {1981, -3, 1, 5}, {1981, -3, 2, 5}, {1981, -3, 3, 5}// 93 94 95
|
||||
, {1981, -3, 4, 5}, {1981, -3, 5, 5}, {1981, -3, 6, 5}// 96 97 98
|
||||
, {1981, -3, 7, 5}, {1981, -1, 1, 5}, {1981, -1, 2, 5}// 99 100 101
|
||||
, {1981, -1, 3, 5}, {1981, -1, 4, 5}, {1981, -1, 5, 5}// 102 103 104
|
||||
, {1981, -1, 6, 5}, {1981, -1, 7, 5}, {1981, -2, 1, 5}// 105 106 107
|
||||
, {1981, -2, 2, 5}, {1981, -2, 3, 5}, {1981, -2, 4, 5}// 108 109 110
|
||||
, {1981, -2, 5, 5}, {1981, -2, 6, 5}, {1981, -2, 7, 5}// 111 112 113
|
||||
, {1824, 0, 7, 5}, {1824, 0, 1, 5}, {1842, 0, 6, 5}// 114 115 116
|
||||
, {1845, 0, 2, 5}, {1829, 0, 3, 5}, {1829, 0, 4, 5}// 117 118 119
|
||||
, {1829, 0, 5, 5}, {1981, 1, -4, 8}, {1981, 1, -3, 8}// 120 121 122
|
||||
, {1981, 1, -2, 8}, {1981, 1, -1, 8}, {1981, 1, 0, 8}// 123 124 125
|
||||
, {1981, 1, 1, 8}, {1981, 1, 2, 8}, {1981, 1, 3, 8}// 126 127 128
|
||||
, {1981, 1, 4, 8}, {1981, 1, 5, 8}, {1981, 1, 6, 8}// 129 130 131
|
||||
, {1981, 1, 7, 8}, {1981, 2, -4, 8}, {1981, 2, -3, 8}// 132 133 134
|
||||
, {1981, 2, -2, 8}, {1981, 2, -1, 8}, {1981, 2, 0, 8}// 135 136 137
|
||||
, {1981, 2, 1, 8}, {1981, 2, 2, 8}, {1981, 2, 3, 8}// 138 139 140
|
||||
, {1981, 2, 4, 8}, {1981, 2, 5, 8}, {1981, 2, 6, 8}// 141 142 143
|
||||
, {1981, 2, 7, 8}, {1981, 3, -4, 8}, {1981, 3, -3, 8}// 144 145 146
|
||||
, {1981, 3, -2, 8}, {1981, 3, -1, 8}, {1981, 3, 0, 8}// 147 148 149
|
||||
, {1981, 3, 1, 8}, {1981, 3, 2, 8}, {1981, 3, 3, 8}// 150 151 152
|
||||
, {1981, 3, 4, 8}, {1981, 3, 5, 8}, {1981, 3, 6, 8}// 153 154 155
|
||||
, {1981, 3, 7, 8}, {1981, 4, -4, 8}, {1981, 4, -3, 8}// 156 157 158
|
||||
, {1981, 4, -2, 8}, {1981, 4, -1, 8}, {1981, 4, 0, 8}// 159 160 161
|
||||
, {1981, 4, 1, 8}, {1981, 4, 2, 8}, {1981, 4, 3, 8}// 162 163 164
|
||||
, {1981, 4, 4, 8}, {1981, 4, 5, 8}, {1981, 4, 6, 8}// 165 166 167
|
||||
, {1981, 4, 7, 8}, {1981, 5, -4, 8}, {1981, 5, -3, 8}// 168 169 170
|
||||
, {1981, 5, -2, 8}, {1981, 5, -1, 8}, {1981, 5, 0, 8}// 171 172 173
|
||||
, {1981, 5, 1, 8}, {1981, 5, 2, 8}, {1981, 5, 3, 8}// 174 175 176
|
||||
, {1981, 5, 4, 8}, {1981, 5, 5, 8}, {1981, 5, 6, 8}// 177 178 179
|
||||
, {1981, 5, 7, 8}, {939, -9, 7, 8}, {938, -6, 7, 8}// 180 181 182
|
||||
, {939, -2, 7, 8}, {938, -9, 1, 7}, {938, -6, 1, 7}// 183 184 185
|
||||
, {938, -2, 1, 7}, {934, -8, 7, 8}, {934, -7, 7, 8}// 186 187 188
|
||||
, {936, -8, 1, 8}, {936, -7, 1, 8}, {936, -1, 1, 8}// 189 190 191
|
||||
, {934, -1, 7, 8}, {5369, -2, 2, 7}, {5370, -1, 2, 7}// 192 193 194
|
||||
, {2592, 0, 7, 10}, {2176, 1, 7, 10}, {2176, 2, 7, 10}// 196 199 200
|
||||
, {2176, 3, 7, 10}, {2176, 4, 7, 10}, {2921, 3, 6, 10}// 201 202 203
|
||||
, {2922, 4, 6, 10}, {2920, 5, 6, 10}, {2176, 5, 7, 10}// 204 205 206
|
||||
, {8, 0, -4, 10}, {8, 0, -3, 10}, {8, 0, -2, 10}// 207 208 209
|
||||
, {8, 0, -1, 10}, {1824, 2, 0, 10}, {1824, 3, 0, 10}// 210 211 212
|
||||
, {1824, 4, 0, 10}, {1824, 2, 0, 15}, {1824, 3, 0, 15}// 213 214 215
|
||||
, {1824, 2, 0, 20}, {1827, 5, 0, 10}, {1827, 4, 0, 15}// 216 217 218
|
||||
, {1827, 3, 0, 20}, {1827, 2, 0, 25}, {1824, 1, 0, 10}// 219 220 221
|
||||
, {1824, 1, 0, 15}, {1824, 1, 0, 20}, {1824, 1, 0, 25}// 222 223 224
|
||||
, {13, 0, 1, 10}, {7, 2, 1, 10}, {12, 5, 1, 10}// 225 226 227
|
||||
, {9269, 1, -4, 30}, {9269, 1, -3, 30}, {9269, 1, -2, 30}// 228 229 230
|
||||
, {9269, 1, -1, 30}, {9269, 2, -4, 30}, {9269, 2, -3, 30}// 231 232 233
|
||||
, {9269, 2, -2, 30}, {9269, 2, 1, 30}, {9269, 3, -4, 30}// 234 235 236
|
||||
, {9269, 3, -3, 30}, {9269, 3, -2, 30}, {9269, 3, 1, 30}// 237 238 239
|
||||
, {9269, 4, -4, 30}, {9269, 4, -3, 30}, {9269, 4, -2, 30}// 240 241 242
|
||||
, {9269, 4, 1, 30}, {9269, 5, -4, 30}, {9269, 5, -3, 30}// 243 244 245
|
||||
, {9269, 5, -2, 30}, {9269, 5, 1, 30}, {9269, 1, 1, 30}// 246 247 248
|
||||
, {13, 0, 1, 30}, {8, 0, -4, 30}, {8, 0, -3, 30}// 249 250 251
|
||||
, {8, 0, -2, 30}, {8, 0, -1, 30}, {7, 2, 1, 30}// 252 253 254
|
||||
, {7, 4, 1, 30}, {7, 5, 1, 30}, {10454, 1, 1, 47}// 255 256 260
|
||||
, {10454, 2, 0, 50}, {10454, 3, -1, 53}, {10455, 5, -3, 53}// 261 262 263
|
||||
, {10452, 5, -1, 53}, {10453, 2, -4, 50}, {10453, 3, -3, 53}// 264 265 266
|
||||
, {10458, 3, -4, 50}, {10458, 4, -4, 50}, {10458, 5, -4, 50}// 267 268 269
|
||||
, {10458, 4, -3, 53}, {10457, 2, 1, 47}, {10457, 3, 1, 47}// 270 271 272
|
||||
, {10457, 4, 1, 47}, {10457, 5, 1, 47}, {10457, 3, 0, 50}// 273 274 275
|
||||
, {10457, 4, 0, 50}, {10457, 5, 0, 50}, {10457, 4, -1, 53}// 276 277 278
|
||||
, {10442, 1, -4, 47}, {10442, 1, -3, 47}, {10442, 1, -2, 47}// 279 280 281
|
||||
, {10442, 1, -1, 47}, {10442, 2, -3, 50}, {10442, 2, -2, 50}// 282 283 284
|
||||
, {7, 3, 1, 30}, {7845, 4, 2, 35}, {8, 0, 0, 10}// 285 286 287
|
||||
, {8, 0, 0, 30}, {9269, 2, -1, 30}, {9269, 3, -1, 30}// 288 289 290
|
||||
, {9269, 4, -1, 30}, {9269, 5, -1, 30}, {10441, 5, -2, 53}// 291 292 293
|
||||
, {10442, 1, 0, 47}, {10442, 2, -1, 50}, {10442, 3, -2, 53}// 294 295 296
|
||||
, {10459, 4, -2, 56}, {2612, 1, -3, 30}, {2876, 1, -4, 30}// 297 298 299
|
||||
, {2602, 5, -4, 30}, {11635, 1, -1, 32}, {5366, 1, -3, 41}// 301 302 303
|
||||
, {9269, 1, 0, 30}, {2880, 1, -3, 10}, {2905, 1, -2, 10}// 304 305 306
|
||||
, {2520, 1, -3, 16}, {2516, 1, -3, 16}, {4095, 1, -3, 17}// 307 308 309
|
||||
, {2962, 2, 2, 10}, {2961, 3, 2, 10}, {7, 3, 1, 10}// 310 311 312
|
||||
, {1824, 3, -4, 10}, {1824, 3, -3, 10}, {7702, 3, -3, 15}// 313 314 315
|
||||
, {3778, 3, -4, 17}, {4099, 5, -2, 10}, {2867, 5, -3, 10}// 316 317 318
|
||||
, {2876, 5, -4, 10}, {2799, 5, -4, 10}, {2802, 5, -3, 10}// 319 320 321
|
||||
, {2800, 5, -2, 10}, {3520, -7, 3, 7}, {2602, -8, 4, 7}// 322 325 328
|
||||
, {942, 9, -5, 0}, {933, 9, -5, 5}, {1981, 6, -5, 8}// 329 330 331
|
||||
, {1981, 7, -5, 8}, {1981, 8, -5, 8}, {1981, 9, -5, 8}// 332 333 334
|
||||
, {7, 6, -6, 10}, {7, 7, -6, 10}, {7, 8, -6, 10}// 335 336 337
|
||||
, {7, 9, -6, 10}, {8, 9, -5, 10}, {9269, 6, -5, 30}// 338 339 340
|
||||
, {9269, 7, -5, 30}, {9269, 8, -5, 30}, {9269, 9, -5, 30}// 341 342 343
|
||||
, {12, 7, -6, 30}, {8, 7, -5, 30}, {25, 9, -5, 30}// 344 345 346
|
||||
, {24, 8, -6, 30}, {24, 9, -6, 30}, {10455, 7, -5, 47}// 347 348 350
|
||||
, {10458, 6, -5, 47}, {7778, 7, -5, 10}, {2711, 8, -5, 10}// 351 352 353
|
||||
, {943, 9, 7, 0}, {933, 9, 7, 5}, {1981, 6, -4, 8}// 354 355 356
|
||||
, {1981, 6, -3, 8}, {1981, 6, -2, 8}, {1981, 6, -1, 8}// 357 358 359
|
||||
, {1981, 6, 0, 8}, {1981, 6, 1, 8}, {1981, 6, 2, 8}// 360 361 362
|
||||
, {1981, 6, 3, 8}, {1981, 6, 4, 8}, {1981, 6, 5, 8}// 363 364 365
|
||||
, {1981, 6, 6, 8}, {1981, 6, 7, 8}, {1981, 7, -4, 8}// 366 367 368
|
||||
, {1981, 7, -3, 8}, {1981, 7, -2, 8}, {1981, 7, -1, 8}// 369 370 371
|
||||
, {1981, 7, 0, 8}, {1981, 7, 1, 8}, {1981, 7, 2, 8}// 372 373 374
|
||||
, {1981, 7, 3, 8}, {1981, 7, 4, 8}, {1981, 7, 5, 8}// 375 376 377
|
||||
, {1981, 7, 6, 8}, {1981, 7, 7, 8}, {1981, 8, -4, 8}// 378 379 380
|
||||
, {1981, 8, -3, 8}, {1981, 8, -2, 8}, {1981, 8, -1, 8}// 381 382 383
|
||||
, {1981, 8, 0, 8}, {1981, 8, 1, 8}, {1981, 8, 2, 8}// 384 385 386
|
||||
, {1981, 8, 3, 8}, {1981, 8, 4, 8}, {1981, 8, 5, 8}// 387 388 389
|
||||
, {1981, 8, 6, 8}, {1981, 8, 7, 8}, {1981, 9, -4, 8}// 390 391 392
|
||||
, {1981, 9, -3, 8}, {1981, 9, -2, 8}, {1981, 9, -1, 8}// 393 394 395
|
||||
, {1981, 9, 0, 8}, {1981, 9, 1, 8}, {1981, 9, 2, 8}// 396 397 398
|
||||
, {1981, 9, 3, 8}, {1981, 9, 4, 8}, {1981, 9, 5, 8}// 399 400 401
|
||||
, {1981, 9, 6, 8}, {1981, 9, 7, 8}, {2176, 7, 7, 10}// 402 403 404
|
||||
, {2176, 8, 7, 10}, {2182, 9, 2, 10}, {2182, 9, 6, 10}// 405 406 407
|
||||
, {2176, 6, 7, 10}, {2592, 9, 7, 10}, {8, 9, -3, 10}// 408 409 412
|
||||
, {8, 9, -2, 10}, {6, 9, 1, 10}, {10, 8, 1, 10}// 413 414 415
|
||||
, {9269, 6, -4, 30}, {9269, 6, -3, 30}, {9269, 6, -2, 30}// 418 419 420
|
||||
, {9269, 6, -1, 30}, {9269, 6, 1, 30}, {9269, 7, -4, 30}// 421 422 423
|
||||
, {9269, 7, -3, 30}, {9269, 7, -2, 30}, {9269, 7, -1, 30}// 424 425 426
|
||||
, {9269, 7, 1, 30}, {9269, 8, -4, 30}, {9269, 8, -3, 30}// 427 428 429
|
||||
, {9269, 8, -2, 30}, {9269, 8, -1, 30}, {9269, 8, 0, 30}// 430 431 432
|
||||
, {9269, 9, -4, 30}, {9269, 9, -3, 30}, {9269, 9, -2, 30}// 433 434 435
|
||||
, {9269, 9, -1, 30}, {9269, 9, 0, 30}, {6, 7, 1, 30}// 436 437 438
|
||||
, {25, 9, -4, 30}, {25, 9, -3, 30}, {25, 9, -2, 30}// 439 440 441
|
||||
, {25, 9, -1, 30}, {24, 8, 1, 30}, {13, 7, -3, 30}// 442 443 444
|
||||
, {11, 7, -1, 30}, {10455, 6, -4, 50}, {10452, 7, 1, 47}// 445 447 448
|
||||
, {10452, 6, 0, 50}, {10457, 6, 1, 47}, {10441, 7, -4, 47}// 449 450 451
|
||||
, {10441, 7, -3, 47}, {10441, 7, -2, 47}, {10441, 7, -1, 47}// 452 453 454
|
||||
, {10441, 6, -3, 50}, {10441, 6, -2, 50}, {7844, 10, -3, 10}// 455 456 457
|
||||
, {7844, 10, -1, 10}, {25, 9, 0, 30}, {24, 9, 1, 30}// 458 459 460
|
||||
, {9269, 7, 0, 30}, {9269, 6, 0, 30}, {9269, 8, 1, 30}// 461 462 463
|
||||
, {9269, 9, 1, 30}, {25, 9, 1, 30}, {10441, 7, 0, 47}// 464 467 468
|
||||
, {10441, 6, -1, 50}, {944, 9, 1, 0}, {933, 9, 1, 5}// 469 470 471
|
||||
, {8, 9, -1, 10}, {7834, 9, 2, 15}, {7838, 10, 2, 20}// 472 473 474
|
||||
, {2803, 6, -4, 10}, {2801, 7, -4, 10}, {2810, 6, -3, 10}// 475 476 477
|
||||
, {2804, 7, -3, 10}, {2805, 6, -2, 10}, {2798, 7, -2, 10}// 478 479 480
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new FishingShackAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public FishingShackAddon()
|
||||
{
|
||||
|
||||
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, 14, 2, -6, 30, 0, 1, "", 1);// 23
|
||||
AddComplexComponent( (BaseAddon) this, 4012, 1, -5, 10, 0, 0, "", 1);// 34
|
||||
AddComplexComponent( (BaseAddon) this, 3543, -8, 2, 7, 0, -1, "Bait Fish", 1);// 195
|
||||
AddComplexComponent( (BaseAddon) this, 2586, 0, 7, 19, 0, 1, "", 1);// 197
|
||||
AddComplexComponent( (BaseAddon) this, 2586, 0, 6, 19, 0, 1, "", 1);// 198
|
||||
AddComplexComponent( (BaseAddon) this, 14, 4, 1, 10, 0, 1, "", 1);// 257
|
||||
AddComplexComponent( (BaseAddon) this, 14, 1, 1, 10, 0, 1, "", 1);// 258
|
||||
AddComplexComponent( (BaseAddon) this, 14, 1, 1, 30, 0, 1, "", 1);// 259
|
||||
AddComplexComponent( (BaseAddon) this, 5170, 1, -4, 38, 0, 1, "", 1);// 300
|
||||
AddComplexComponent( (BaseAddon) this, 5357, 5, -4, 16, 0, -1, "Treasure Map", 1);// 323
|
||||
AddComplexComponent( (BaseAddon) this, 5358, 5, -4, 17, 0, -1, "Secret Fishing Spots", 1);// 324
|
||||
AddComplexComponent( (BaseAddon) this, 4090, -8, 1, 7, 0, -1, "Bait Bucket", 1);// 326
|
||||
AddComplexComponent( (BaseAddon) this, 9433, -7, 1, 7, 0, -1, "Tackle Box", 1);// 327
|
||||
AddComplexComponent( (BaseAddon) this, 14, 6, -6, 30, 0, 1, "", 1);// 349
|
||||
AddComplexComponent( (BaseAddon) this, 2586, 9, 7, 19, 0, 1, "", 1);// 410
|
||||
AddComplexComponent( (BaseAddon) this, 2586, 9, 6, 19, 0, 1, "", 1);// 411
|
||||
AddComplexComponent( (BaseAddon) this, 15, 9, 0, 10, 0, 1, "", 1);// 416
|
||||
AddComplexComponent( (BaseAddon) this, 15, 9, -4, 10, 0, 1, "", 1);// 417
|
||||
AddComplexComponent( (BaseAddon) this, 14, 6, 1, 30, 0, 1, "", 1);// 446
|
||||
AddComplexComponent( (BaseAddon) this, 15, 7, 0, 30, 0, 1, "", 1);// 465
|
||||
AddComplexComponent( (BaseAddon) this, 15, 7, -4, 30, 0, 1, "", 1);// 466
|
||||
|
||||
}
|
||||
|
||||
public FishingShackAddon( 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 FishingShackAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new FishingShackAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public FishingShackAddonDeed()
|
||||
{
|
||||
Name = "FishingShack";
|
||||
}
|
||||
|
||||
public FishingShackAddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user