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