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