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