272 lines
15 KiB
C#
272 lines
15 KiB
C#
|
|
////////////////////////////////////////
|
|
// //
|
|
// Generated by CEO's YAAAG - V1.2 //
|
|
// (Yet Another Arya Addon Generator) //
|
|
// //
|
|
////////////////////////////////////////
|
|
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class FallBanktop2Addon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{6013, -8, -8, 0}, {6013, -8, -7, 0}, {6013, -8, -6, 0}// 1 2 3
|
|
, {6013, -8, -5, 0}, {6013, -8, -4, 0}, {6013, -8, -3, 0}// 4 5 6
|
|
, {6013, -8, -2, 0}, {6013, -8, -1, 0}, {6013, -8, 0, 0}// 7 8 9
|
|
, {6013, -8, 1, 0}, {6013, -8, 2, 0}, {6013, -8, 3, 0}// 10 11 12
|
|
, {6013, -8, 4, 0}, {6013, -8, 5, 0}, {6013, -8, 6, 0}// 13 14 15
|
|
, {6013, -8, 7, 0}, {6013, -7, -8, 0}, {6013, -7, -7, 0}// 16 17 18
|
|
, {6013, -7, -6, 0}, {6013, -7, -5, 0}, {6013, -7, -4, 0}// 19 20 21
|
|
, {6013, -7, -3, 0}, {6013, -7, -2, 0}, {6013, -7, -1, 0}// 22 23 24
|
|
, {6013, -7, 0, 0}, {6013, -7, 1, 0}, {6013, -7, 2, 0}// 25 26 27
|
|
, {6013, -7, 3, 0}, {6013, -7, 4, 0}, {6013, -7, 5, 0}// 28 29 30
|
|
, {6013, -7, 6, 0}, {6013, -7, 7, 0}, {4959, -7, -1, 2}// 31 32 50
|
|
, {6013, -8, 8, 0}, {6013, -7, 8, 0}, {6013, -6, -8, 0}// 51 52 55
|
|
, {6013, -6, -7, 0}, {6013, -6, -6, 0}, {6013, -6, -5, 0}// 56 57 58
|
|
, {6013, -6, -4, 0}, {6013, -6, -3, 0}, {6013, -6, -2, 0}// 59 60 61
|
|
, {6013, -6, -1, 0}, {6013, -6, 0, 0}, {6013, -6, 1, 0}// 62 63 64
|
|
, {6013, -6, 2, 0}, {6013, -6, 3, 0}, {6013, -6, 4, 0}// 65 66 67
|
|
, {6013, -6, 5, 0}, {6013, -6, 6, 0}, {6013, -6, 7, 0}// 68 69 70
|
|
, {6013, -5, -8, 0}, {6013, -5, -7, 0}, {6013, -5, -6, 0}// 71 72 73
|
|
, {6013, -5, -5, 0}, {6013, -5, -4, 0}, {6013, -5, -3, 0}// 74 75 76
|
|
, {6013, -5, -2, 0}, {6013, -5, -1, 0}, {6013, -5, 0, 0}// 77 78 79
|
|
, {6013, -5, 1, 0}, {6013, -5, 2, 0}, {6013, -5, 3, 0}// 80 81 82
|
|
, {6013, -5, 4, 0}, {6013, -5, 5, 0}, {6013, -5, 6, 0}// 83 84 85
|
|
, {6013, -5, 7, 0}, {6013, -4, -8, 0}, {6013, -4, -7, 0}// 86 87 88
|
|
, {6013, -4, -6, 0}, {6013, -4, -5, 0}, {6013, -4, -4, 0}// 89 90 91
|
|
, {6013, -4, -3, 0}, {6013, -4, -2, 0}, {6013, -4, -1, 0}// 92 93 94
|
|
, {6013, -4, 0, 0}, {6013, -4, 1, 0}, {6013, -4, 2, 0}// 95 96 97
|
|
, {6013, -4, 3, 0}, {6013, -4, 4, 0}, {6013, -4, 5, 0}// 98 99 100
|
|
, {6013, -4, 6, 0}, {6013, -4, 7, 0}, {6013, -3, -8, 0}// 101 102 103
|
|
, {6013, -3, -7, 0}, {6013, -3, -6, 0}, {6013, -3, -5, 0}// 104 105 106
|
|
, {6013, -3, -4, 0}, {6013, -3, -3, 0}, {6013, -3, -2, 0}// 107 108 109
|
|
, {6013, -3, -1, 0}, {6013, -3, 0, 0}, {6013, -3, 1, 0}// 110 111 112
|
|
, {6013, -3, 2, 0}, {6013, -3, 3, 0}, {6013, -3, 4, 0}// 113 114 115
|
|
, {6013, -3, 5, 0}, {6013, -3, 6, 0}, {6013, -3, 7, 0}// 116 117 118
|
|
, {6013, -2, -8, 0}, {6013, -2, -7, 0}, {6013, -2, -6, 0}// 119 120 121
|
|
, {6013, -2, -5, 0}, {6013, -2, -4, 0}, {6013, -2, -3, 0}// 122 123 124
|
|
, {6013, -2, -2, 0}, {6013, -2, -1, 0}, {6013, -2, 0, 0}// 125 126 127
|
|
, {6013, -2, 1, 0}, {6013, -2, 2, 0}, {6013, -2, 3, 0}// 128 129 130
|
|
, {6013, -2, 4, 0}, {6013, -2, 5, 0}, {6013, -2, 6, 0}// 131 132 133
|
|
, {6013, -2, 7, 0}, {6013, -1, 0, 0}, {6013, -1, 1, 0}// 134 135 136
|
|
, {6013, -1, 2, 0}, {6013, -1, 3, 0}, {6013, -1, 4, 0}// 137 138 139
|
|
, {6013, -1, 5, 0}, {6013, -1, 6, 0}, {6013, -1, 7, 0}// 140 141 142
|
|
, {6013, 0, 0, 0}, {6013, 0, 1, 0}, {6013, 0, 2, 0}// 143 144 145
|
|
, {6013, 0, 3, 0}, {6013, 0, 4, 0}, {6013, 0, 5, 0}// 146 147 148
|
|
, {6013, 0, 6, 0}, {6013, 0, 7, 0}, {6013, 1, 0, 0}// 149 150 151
|
|
, {6013, 1, 1, 0}, {6013, 1, 2, 0}, {6013, 1, 3, 0}// 152 153 154
|
|
, {6013, 1, 4, 0}, {6013, 1, 5, 0}, {6013, 1, 6, 0}// 155 156 157
|
|
, {6013, 1, 7, 0}, {6013, 2, 0, 0}, {6013, 2, 1, 0}// 158 159 160
|
|
, {6013, 2, 2, 0}, {6013, 2, 3, 0}, {6013, 2, 4, 0}// 161 162 163
|
|
, {6013, 2, 5, 0}, {6013, 2, 6, 0}, {6013, 2, 7, 0}// 164 165 166
|
|
, {6013, 3, 0, 0}, {6013, 3, 1, 0}, {6013, 3, 2, 0}// 167 168 169
|
|
, {6013, 3, 3, 0}, {6013, 3, 4, 0}, {6013, 3, 5, 0}// 170 171 172
|
|
, {6013, 3, 6, 0}, {6013, 3, 7, 0}, {6013, 4, 0, 0}// 173 174 175
|
|
, {6013, 4, 1, 0}, {6013, 4, 2, 0}, {6013, 4, 3, 0}// 176 177 178
|
|
, {6013, 4, 4, 0}, {6013, 4, 5, 0}, {6013, 4, 6, 0}// 179 180 181
|
|
, {6013, 4, 7, 0}, {6013, 5, 0, 0}, {6013, 5, 1, 0}// 182 183 184
|
|
, {6013, 5, 2, 0}, {6013, 5, 3, 0}, {6013, 5, 4, 0}// 185 186 187
|
|
, {6013, 5, 5, 0}, {6013, 5, 6, 0}, {6013, 5, 7, 0}// 188 189 190
|
|
, {6013, 6, 0, 0}, {6013, 6, 1, 0}, {6013, 6, 2, 0}// 191 192 193
|
|
, {6013, 6, 3, 0}, {6013, 6, 4, 0}, {6013, 6, 5, 0}// 194 195 196
|
|
, {6013, 6, 6, 0}, {6013, 6, 7, 0}, {6013, 7, 0, 0}// 197 198 199
|
|
, {6013, 7, 1, 0}, {6013, 7, 2, 0}, {6013, 7, 3, 0}// 200 201 202
|
|
, {6013, 7, 4, 0}, {6013, 7, 5, 0}, {6013, 7, 6, 0}// 203 204 205
|
|
, {6013, 7, 7, 0}, {6013, 8, 0, 0}, {6013, 8, 1, 0}// 206 207 208
|
|
, {6013, 8, 2, 0}, {6013, 8, 3, 0}, {6013, 8, 4, 0}// 209 210 211
|
|
, {6013, 8, 5, 0}, {6013, 8, 6, 0}, {6013, 8, 7, 0}// 212 213 214
|
|
, {6039, -6, -5, 0}, {6039, -6, -4, 0}, {6039, -6, -3, 0}// 245 246 247
|
|
, {6039, -6, -2, 0}, {6039, -5, -5, 0}, {6039, -5, -4, 0}// 248 249 250
|
|
, {6039, -5, -3, 0}, {6039, -5, -2, 0}, {6039, -4, -5, 0}// 251 252 253
|
|
, {6039, -4, -4, 0}, {6039, -4, -3, 0}, {6039, -4, -2, 0}// 254 255 256
|
|
, {4945, -5, -6, 0}, {4944, -5, -5, 0}, {4943, -6, -5, 0}// 257 258 259
|
|
, {4946, -4, -5, 0}, {4947, -3, -5, 0}, {4948, -3, -6, 0}// 260 261 262
|
|
, {4950, -6, -4, 2}, {4949, -6, -3, 2}, {4950, -3, -4, 2}// 263 264 265
|
|
, {4949, -3, -3, 2}, {4960, -6, -1, 2}, {4961, -5, -1, 2}// 266 267 268
|
|
, {4962, -4, -1, 2}, {6002, -5, -1, 1}, {6010, -6, -2, 1}// 269 270 271
|
|
, {6006, -3, -2, 2}, {6005, -3, -1, 4}, {2602, -6, 1, 0}// 272 273 274
|
|
, {3519, -6, 1, 0}, {3543, -4, 0, 0}, {4090, -5, 1, 0}// 275 276 277
|
|
, {3535, -5, 0, 0}, {7732, 0, 4, 6}, {3895, -1, 6, 0}// 278 279 280
|
|
, {7871, -1, 6, 0}, {7871, 1, 4, 0}, {7870, -1, 5, 0}// 283 284 285
|
|
, {7870, 1, 5, 0}, {3178, 0, 5, 0}, {3179, 0, 5, 0}// 286 287 288
|
|
, {3180, 0, 5, 0}, {3293, -5, 5, 0}, {3480, 6, 2, 0}// 289 290 292
|
|
, {3483, 6, 2, 0}, {9342, 6, 6, 0}, {9340, 6, 6, 2}// 293 294 295
|
|
, {6013, -6, 8, 0}, {6013, -5, 8, 0}, {6013, -4, 8, 0}// 303 304 305
|
|
, {6013, -3, 8, 0}, {6013, -2, 8, 0}, {6013, -1, 8, 0}// 306 307 308
|
|
, {6013, 0, 8, 0}, {6013, 1, 8, 0}, {6013, 2, 8, 0}// 309 310 311
|
|
, {6013, 3, 8, 0}, {6013, 4, 8, 0}, {6013, 5, 8, 0}// 312 313 314
|
|
, {6013, 6, 8, 0}, {6013, 7, 8, 0}, {6013, 8, 8, 0}// 315 316 317
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new FallBanktop2AddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public FallBanktop2Addon()
|
|
{
|
|
|
|
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, 6811, -8, -8, 0, 1257, -1, "", 1);// 33
|
|
AddComplexComponent( (BaseAddon) this, 6811, -7, -8, 0, 54, -1, "", 1);// 34
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -7, 0, 2125, -1, "", 1);// 35
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -6, 0, 1257, -1, "", 1);// 36
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -5, 0, 54, -1, "", 1);// 37
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -4, 0, 1257, -1, "", 1);// 38
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -3, 0, 2125, -1, "", 1);// 39
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -2, 0, 54, -1, "", 1);// 40
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, -1, 0, 1257, -1, "", 1);// 41
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 0, 0, 2125, -1, "", 1);// 42
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 1, 0, 54, -1, "", 1);// 43
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 2, 0, 1257, -1, "", 1);// 44
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 3, 0, 2125, -1, "", 1);// 45
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 4, 0, 54, -1, "", 1);// 46
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 5, 0, 1257, -1, "", 1);// 47
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 6, 0, 2125, -1, "", 1);// 48
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 7, 0, 54, -1, "", 1);// 49
|
|
AddComplexComponent( (BaseAddon) this, 6811, -8, 8, 0, 1257, -1, "", 1);// 53
|
|
AddComplexComponent( (BaseAddon) this, 6811, -7, 8, 0, 2125, -1, "", 1);// 54
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 1, 0, 54, -1, "", 1);// 215
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 2, 0, 2125, -1, "", 1);// 216
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 3, 0, 1257, -1, "", 1);// 217
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 4, 0, 54, -1, "", 1);// 218
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 5, 0, 2125, -1, "", 1);// 219
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 6, 0, 1257, -1, "", 1);// 220
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 7, 0, 54, -1, "", 1);// 221
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, 0, 0, 2125, -1, "", 1);// 222
|
|
AddComplexComponent( (BaseAddon) this, 6811, -1, 0, 0, 1257, -1, "", 1);// 223
|
|
AddComplexComponent( (BaseAddon) this, 6811, 0, 0, 0, 54, -1, "", 1);// 224
|
|
AddComplexComponent( (BaseAddon) this, 6811, 1, 0, 0, 2125, -1, "", 1);// 225
|
|
AddComplexComponent( (BaseAddon) this, 6811, 2, 0, 0, 1257, -1, "", 1);// 226
|
|
AddComplexComponent( (BaseAddon) this, 6811, 3, 0, 0, 54, -1, "", 1);// 227
|
|
AddComplexComponent( (BaseAddon) this, 6811, 4, 0, 0, 2125, -1, "", 1);// 228
|
|
AddComplexComponent( (BaseAddon) this, 6811, 5, 0, 0, 1257, -1, "", 1);// 229
|
|
AddComplexComponent( (BaseAddon) this, 6811, 6, 0, 0, 54, -1, "", 1);// 230
|
|
AddComplexComponent( (BaseAddon) this, 6811, 7, 0, 0, 2125, -1, "", 1);// 231
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 0, 0, 1257, -1, "", 1);// 232
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -7, 0, 54, -1, "", 1);// 233
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -6, 0, 2125, -1, "", 1);// 234
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -5, 0, 1257, -1, "", 1);// 235
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -4, 0, 54, -1, "", 1);// 236
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -3, 0, 2125, -1, "", 1);// 237
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -2, 0, 1257, -1, "", 1);// 238
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -1, 0, 54, -1, "", 1);// 239
|
|
AddComplexComponent( (BaseAddon) this, 6811, -6, -8, 0, 2125, -1, "", 1);// 240
|
|
AddComplexComponent( (BaseAddon) this, 6811, -5, -8, 0, 1257, -1, "", 1);// 241
|
|
AddComplexComponent( (BaseAddon) this, 6811, -4, -8, 0, 54, -1, "", 1);// 242
|
|
AddComplexComponent( (BaseAddon) this, 6811, -3, -8, 0, 2125, -1, "", 1);// 243
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, -8, 0, 1257, -1, "", 1);// 244
|
|
AddComplexComponent( (BaseAddon) this, 7869, 1, 4, 0, 0, -1, "", 2);// 281
|
|
AddComplexComponent( (BaseAddon) this, 7869, -1, 4, 0, 0, -1, "", 2);// 282
|
|
AddComplexComponent( (BaseAddon) this, 3295, -5, 5, 0, 2117, -1, "", 1);// 291
|
|
AddComplexComponent( (BaseAddon) this, 3515, -5, 6, 0, 2117, -1, "Fallen Leaves", 1);// 296
|
|
AddComplexComponent( (BaseAddon) this, 3515, -4, 5, 0, 2117, -1, "Fallen Leaves", 1);// 297
|
|
AddComplexComponent( (BaseAddon) this, 3514, 6, 3, 0, 2125, -1, "Fallen Leaves", 1);// 298
|
|
AddComplexComponent( (BaseAddon) this, 3515, 7, 7, 0, 2117, -1, "Fallen Leaves", 1);// 299
|
|
AddComplexComponent( (BaseAddon) this, 8430, -2, 5, 0, 2667, -1, "Crow", 1);// 300
|
|
AddComplexComponent( (BaseAddon) this, 8430, 2, 6, 0, 2667, -1, "Crow", 1);// 301
|
|
AddComplexComponent( (BaseAddon) this, 8475, 1, 6, 0, 1257, -1, "Barn Cat", 1);// 302
|
|
AddComplexComponent( (BaseAddon) this, 6811, -6, 8, 0, 54, -1, "", 1);// 318
|
|
AddComplexComponent( (BaseAddon) this, 6811, -5, 8, 0, 1257, -1, "", 1);// 319
|
|
AddComplexComponent( (BaseAddon) this, 6811, -4, 8, 0, 2125, -1, "", 1);// 320
|
|
AddComplexComponent( (BaseAddon) this, 6811, -3, 8, 0, 54, -1, "", 1);// 321
|
|
AddComplexComponent( (BaseAddon) this, 6811, -2, 8, 0, 1257, -1, "", 1);// 322
|
|
AddComplexComponent( (BaseAddon) this, 6811, -1, 8, 0, 2125, -1, "", 1);// 323
|
|
AddComplexComponent( (BaseAddon) this, 6811, 0, 8, 0, 54, -1, "", 1);// 324
|
|
AddComplexComponent( (BaseAddon) this, 6811, 1, 8, 0, 1257, -1, "", 1);// 325
|
|
AddComplexComponent( (BaseAddon) this, 6811, 2, 8, 0, 2125, -1, "", 1);// 326
|
|
AddComplexComponent( (BaseAddon) this, 6811, 3, 8, 0, 54, -1, "", 1);// 327
|
|
AddComplexComponent( (BaseAddon) this, 6811, 4, 8, 0, 1257, -1, "", 1);// 328
|
|
AddComplexComponent( (BaseAddon) this, 6811, 5, 8, 0, 2125, -1, "", 1);// 329
|
|
AddComplexComponent( (BaseAddon) this, 6811, 6, 8, 0, 54, -1, "", 1);// 330
|
|
AddComplexComponent( (BaseAddon) this, 6811, 7, 8, 0, 1257, -1, "", 1);// 331
|
|
AddComplexComponent( (BaseAddon) this, 6811, 8, 8, 0, 2125, -1, "", 1);// 332
|
|
|
|
}
|
|
|
|
public FallBanktop2Addon( 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 FallBanktop2AddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new FallBanktop2Addon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public FallBanktop2AddonDeed()
|
|
{
|
|
Name = "FallBanktop2";
|
|
}
|
|
|
|
public FallBanktop2AddonDeed( 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();
|
|
}
|
|
}
|
|
} |