Files
abysmal-isle/Scripts/Scripts-master/Addons2/pottingshedAddon.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

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