Files
abysmal-isle/Scripts/Scripts-master/Addons/FallBanktopAddon.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

307 lines
17 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 FallBanktopAddon : 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 57
, {6013, -6, -7, 0}, {6013, -6, -6, 0}, {6013, -6, -5, 0}// 58 59 60
, {6013, -6, -4, 0}, {6013, -6, -3, 0}, {6013, -6, -2, 0}// 61 62 63
, {6013, -6, -1, 0}, {6013, -6, 0, 0}, {6013, -6, 1, 0}// 64 65 66
, {6013, -6, 2, 0}, {6013, -6, 3, 0}, {6013, -6, 4, 0}// 67 68 69
, {6013, -6, 5, 0}, {6013, -6, 6, 0}, {6013, -6, 7, 0}// 70 71 72
, {6013, -5, -8, 0}, {6013, -5, -7, 0}, {6013, -5, -6, 0}// 73 74 75
, {6013, -5, -5, 0}, {6013, -5, -4, 0}, {6013, -5, -3, 0}// 76 77 78
, {6013, -5, -2, 0}, {6013, -5, -1, 0}, {6013, -5, 0, 0}// 79 80 81
, {6013, -5, 1, 0}, {6013, -5, 2, 0}, {6013, -5, 3, 0}// 82 83 84
, {6013, -5, 4, 0}, {6013, -5, 5, 0}, {6013, -5, 6, 0}// 85 86 87
, {6013, -5, 7, 0}, {6013, -4, -8, 0}, {6013, -4, -7, 0}// 88 89 90
, {6013, -4, -6, 0}, {6013, -4, -5, 0}, {6013, -4, -4, 0}// 91 92 93
, {6013, -4, -3, 0}, {6013, -4, -2, 0}, {6013, -4, -1, 0}// 94 95 96
, {6013, -4, 0, 0}, {6013, -4, 1, 0}, {6013, -4, 2, 0}// 97 98 99
, {6013, -4, 3, 0}, {6013, -4, 4, 0}, {6013, -4, 5, 0}// 100 101 102
, {6013, -4, 6, 0}, {6013, -4, 7, 0}, {6013, -3, -8, 0}// 103 104 105
, {6013, -3, -7, 0}, {6013, -3, -6, 0}, {6013, -3, -5, 0}// 106 107 108
, {6013, -3, -4, 0}, {6013, -3, -3, 0}, {6013, -3, -2, 0}// 109 110 111
, {6013, -3, -1, 0}, {6013, -3, 0, 0}, {6013, -3, 1, 0}// 112 113 114
, {6013, -3, 2, 0}, {6013, -3, 3, 0}, {6013, -3, 4, 0}// 115 116 117
, {6013, -3, 5, 0}, {6013, -3, 6, 0}, {6013, -3, 7, 0}// 118 119 120
, {6013, -2, -8, 0}, {6013, -2, -7, 0}, {6013, -2, -6, 0}// 121 122 123
, {6013, -2, -5, 0}, {6013, -2, -4, 0}, {6013, -2, -3, 0}// 124 125 126
, {6013, -2, -2, 0}, {6013, -2, -1, 0}, {6013, -2, 0, 0}// 127 128 129
, {6013, -2, 1, 0}, {6013, -2, 2, 0}, {6013, -2, 3, 0}// 130 131 132
, {6013, -2, 4, 0}, {6013, -2, 5, 0}, {6013, -2, 6, 0}// 133 134 135
, {6013, -2, 7, 0}, {6013, -1, 0, 0}, {6013, -1, 1, 0}// 136 137 138
, {6013, -1, 2, 0}, {6013, -1, 3, 0}, {6013, -1, 4, 0}// 139 140 141
, {6013, -1, 5, 0}, {6013, -1, 6, 0}, {6013, -1, 7, 0}// 142 143 144
, {6013, 0, 0, 0}, {6013, 0, 1, 0}, {6013, 0, 2, 0}// 145 146 147
, {6013, 0, 3, 0}, {6013, 0, 4, 0}, {6013, 0, 5, 0}// 148 149 150
, {6013, 0, 6, 0}, {6013, 0, 7, 0}, {6013, 1, 0, 0}// 151 152 153
, {6013, 1, 1, 0}, {6013, 1, 2, 0}, {6013, 1, 3, 0}// 154 155 156
, {6013, 1, 4, 0}, {6013, 1, 5, 0}, {6013, 1, 6, 0}// 157 158 159
, {6013, 1, 7, 0}, {6013, 2, 0, 0}, {6013, 2, 1, 0}// 160 161 162
, {6013, 2, 2, 0}, {6013, 2, 3, 0}, {6013, 2, 4, 0}// 163 164 165
, {6013, 2, 5, 0}, {6013, 2, 6, 0}, {6013, 2, 7, 0}// 166 167 168
, {6013, 3, 0, 0}, {6013, 3, 1, 0}, {6013, 3, 2, 0}// 169 170 171
, {6013, 3, 3, 0}, {6013, 3, 4, 0}, {6013, 3, 5, 0}// 172 173 174
, {6013, 3, 6, 0}, {6013, 3, 7, 0}, {6013, 4, 0, 0}// 175 176 177
, {6013, 4, 1, 0}, {6013, 4, 2, 0}, {6013, 4, 3, 0}// 178 179 180
, {6013, 4, 4, 0}, {6013, 4, 5, 0}, {6013, 4, 6, 0}// 181 182 183
, {6013, 4, 7, 0}, {6013, 5, 0, 0}, {6013, 5, 1, 0}// 184 185 186
, {6013, 5, 2, 0}, {6013, 5, 3, 0}, {6013, 5, 4, 0}// 187 188 189
, {6013, 5, 5, 0}, {6013, 5, 6, 0}, {6013, 5, 7, 0}// 190 191 192
, {6013, 6, 0, 0}, {6013, 6, 1, 0}, {6013, 6, 2, 0}// 193 194 195
, {6013, 6, 3, 0}, {6013, 6, 4, 0}, {6013, 6, 5, 0}// 196 197 198
, {6013, 6, 6, 0}, {6013, 6, 7, 0}, {6013, 7, 0, 0}// 199 200 201
, {6013, 7, 1, 0}, {6013, 7, 2, 0}, {6013, 7, 3, 0}// 202 203 204
, {6013, 7, 4, 0}, {6013, 7, 5, 0}, {6013, 7, 6, 0}// 205 206 207
, {6013, 7, 7, 0}, {6013, 8, 0, 0}, {6013, 8, 1, 0}// 208 209 210
, {6013, 8, 2, 0}, {6013, 8, 3, 0}, {6013, 8, 4, 0}// 211 212 213
, {6013, 8, 5, 0}, {6013, 8, 6, 0}, {6013, 8, 7, 0}// 214 215 216
, {6039, -6, -5, 0}, {6039, -6, -4, 0}, {6039, -6, -3, 0}// 263 264 265
, {6039, -6, -2, 0}, {6039, -5, -5, 0}, {6039, -5, -4, 0}// 266 267 268
, {6039, -5, -3, 0}, {6039, -5, -2, 0}, {6039, -4, -5, 0}// 269 270 271
, {6039, -4, -4, 0}, {6039, -4, -3, 0}, {6039, -4, -2, 0}// 272 273 274
, {4945, -5, -6, 0}, {4944, -5, -5, 0}, {4943, -6, -5, 0}// 275 276 277
, {4946, -4, -5, 0}, {4947, -3, -5, 0}, {4948, -3, -6, 0}// 278 279 280
, {4950, -6, -4, 2}, {4949, -6, -3, 2}, {4950, -3, -4, 2}// 281 282 283
, {4949, -3, -3, 2}, {4960, -6, -1, 2}, {4961, -5, -1, 2}// 284 285 286
, {4962, -4, -1, 2}, {6002, -5, -1, 1}, {6010, -6, -2, 1}// 287 288 289
, {6006, -3, -2, 2}, {6005, -3, -1, 4}, {2602, -6, 1, 0}// 290 291 292
, {3519, -6, 1, 0}, {3543, -4, 0, 0}, {4090, -5, 1, 0}// 293 294 295
, {3535, -5, 0, 0}, {7732, 0, 4, 6}, {3895, -1, 6, 0}// 296 297 298
, {7871, -1, 6, 0}, {7871, 1, 4, 0}, {7870, -1, 5, 0}// 301 302 303
, {7870, 1, 5, 0}, {3178, 0, 5, 0}, {3179, 0, 5, 0}// 304 305 306
, {3180, 0, 5, 0}, {3293, -5, 5, 0}, {3480, 6, 2, 0}// 307 308 310
, {3483, 6, 2, 0}, {9342, 6, 6, 0}, {9340, 6, 6, 2}// 311 312 313
, {6013, -6, 8, 0}, {6013, -5, 8, 0}, {6013, -4, 8, 0}// 321 322 323
, {6013, -3, 8, 0}, {6013, -2, 8, 0}, {6013, -1, 8, 0}// 324 325 326
, {6013, 0, 8, 0}, {6013, 1, 8, 0}, {6013, 2, 8, 0}// 327 328 329
, {6013, 3, 8, 0}, {6013, 4, 8, 0}, {6013, 5, 8, 0}// 330 331 332
, {6013, 6, 8, 0}, {6013, 7, 8, 0}, {6013, 8, 8, 0}// 333 334 335
};
public override BaseAddonDeed Deed
{
get
{
return new FallBanktopAddonDeed();
}
}
[ Constructable ]
public FallBanktopAddon()
{
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, 6089, -8, 9, 0, 2650, -1, "", 1);// 53
AddComplexComponent( (BaseAddon) this, 6089, -7, 9, 0, 2650, -1, "", 1);// 54
AddComplexComponent( (BaseAddon) this, 6811, -8, 8, 0, 1257, -1, "", 1);// 55
AddComplexComponent( (BaseAddon) this, 6811, -7, 8, 0, 2125, -1, "", 1);// 56
AddComplexComponent( (BaseAddon) this, 6092, 9, 0, 0, 2650, -1, "", 1);// 217
AddComplexComponent( (BaseAddon) this, 6092, 9, 1, 0, 2650, -1, "", 1);// 218
AddComplexComponent( (BaseAddon) this, 6092, 9, 2, 0, 2650, -1, "", 1);// 219
AddComplexComponent( (BaseAddon) this, 6092, 9, 3, 0, 2650, -1, "", 1);// 220
AddComplexComponent( (BaseAddon) this, 6092, 9, 4, 0, 2650, -1, "", 1);// 221
AddComplexComponent( (BaseAddon) this, 6092, 9, 5, 0, 2650, -1, "", 1);// 222
AddComplexComponent( (BaseAddon) this, 6092, 9, 6, 0, 2650, -1, "", 1);// 223
AddComplexComponent( (BaseAddon) this, 6092, 9, 7, 0, 2650, -1, "", 1);// 224
AddComplexComponent( (BaseAddon) this, 6092, -1, -8, 0, 2650, -1, "", 1);// 225
AddComplexComponent( (BaseAddon) this, 6092, -1, -7, 0, 2650, -1, "", 1);// 226
AddComplexComponent( (BaseAddon) this, 6092, -1, -6, 0, 2650, -1, "", 1);// 227
AddComplexComponent( (BaseAddon) this, 6092, -1, -5, 0, 2650, -1, "", 1);// 228
AddComplexComponent( (BaseAddon) this, 6092, -1, -4, 0, 2650, -1, "", 1);// 229
AddComplexComponent( (BaseAddon) this, 6092, -1, -3, 0, 2650, -1, "", 1);// 230
AddComplexComponent( (BaseAddon) this, 6092, -1, -2, 0, 2650, -1, "", 1);// 231
AddComplexComponent( (BaseAddon) this, 6092, -1, -1, 0, 2650, -1, "", 1);// 232
AddComplexComponent( (BaseAddon) this, 6811, 8, 1, 0, 54, -1, "", 1);// 233
AddComplexComponent( (BaseAddon) this, 6811, 8, 2, 0, 2125, -1, "", 1);// 234
AddComplexComponent( (BaseAddon) this, 6811, 8, 3, 0, 1257, -1, "", 1);// 235
AddComplexComponent( (BaseAddon) this, 6811, 8, 4, 0, 54, -1, "", 1);// 236
AddComplexComponent( (BaseAddon) this, 6811, 8, 5, 0, 2125, -1, "", 1);// 237
AddComplexComponent( (BaseAddon) this, 6811, 8, 6, 0, 1257, -1, "", 1);// 238
AddComplexComponent( (BaseAddon) this, 6811, 8, 7, 0, 54, -1, "", 1);// 239
AddComplexComponent( (BaseAddon) this, 6811, -2, 0, 0, 2125, -1, "", 1);// 240
AddComplexComponent( (BaseAddon) this, 6811, -1, 0, 0, 1257, -1, "", 1);// 241
AddComplexComponent( (BaseAddon) this, 6811, 0, 0, 0, 54, -1, "", 1);// 242
AddComplexComponent( (BaseAddon) this, 6811, 1, 0, 0, 2125, -1, "", 1);// 243
AddComplexComponent( (BaseAddon) this, 6811, 2, 0, 0, 1257, -1, "", 1);// 244
AddComplexComponent( (BaseAddon) this, 6811, 3, 0, 0, 54, -1, "", 1);// 245
AddComplexComponent( (BaseAddon) this, 6811, 4, 0, 0, 2125, -1, "", 1);// 246
AddComplexComponent( (BaseAddon) this, 6811, 5, 0, 0, 1257, -1, "", 1);// 247
AddComplexComponent( (BaseAddon) this, 6811, 6, 0, 0, 54, -1, "", 1);// 248
AddComplexComponent( (BaseAddon) this, 6811, 7, 0, 0, 2125, -1, "", 1);// 249
AddComplexComponent( (BaseAddon) this, 6811, 8, 0, 0, 1257, -1, "", 1);// 250
AddComplexComponent( (BaseAddon) this, 6811, -2, -7, 0, 54, -1, "", 1);// 251
AddComplexComponent( (BaseAddon) this, 6811, -2, -6, 0, 2125, -1, "", 1);// 252
AddComplexComponent( (BaseAddon) this, 6811, -2, -5, 0, 1257, -1, "", 1);// 253
AddComplexComponent( (BaseAddon) this, 6811, -2, -4, 0, 54, -1, "", 1);// 254
AddComplexComponent( (BaseAddon) this, 6811, -2, -3, 0, 2125, -1, "", 1);// 255
AddComplexComponent( (BaseAddon) this, 6811, -2, -2, 0, 1257, -1, "", 1);// 256
AddComplexComponent( (BaseAddon) this, 6811, -2, -1, 0, 54, -1, "", 1);// 257
AddComplexComponent( (BaseAddon) this, 6811, -6, -8, 0, 2125, -1, "", 1);// 258
AddComplexComponent( (BaseAddon) this, 6811, -5, -8, 0, 1257, -1, "", 1);// 259
AddComplexComponent( (BaseAddon) this, 6811, -4, -8, 0, 54, -1, "", 1);// 260
AddComplexComponent( (BaseAddon) this, 6811, -3, -8, 0, 2125, -1, "", 1);// 261
AddComplexComponent( (BaseAddon) this, 6811, -2, -8, 0, 1257, -1, "", 1);// 262
AddComplexComponent( (BaseAddon) this, 7869, 1, 4, 0, 0, -1, "", 2);// 299
AddComplexComponent( (BaseAddon) this, 7869, -1, 4, 0, 0, -1, "", 2);// 300
AddComplexComponent( (BaseAddon) this, 3295, -5, 5, 0, 2117, -1, "", 1);// 309
AddComplexComponent( (BaseAddon) this, 3515, -5, 6, 0, 2117, -1, "Fallen Leaves", 1);// 314
AddComplexComponent( (BaseAddon) this, 3515, -4, 5, 0, 2117, -1, "Fallen Leaves", 1);// 315
AddComplexComponent( (BaseAddon) this, 3514, 6, 3, 0, 2125, -1, "Fallen Leaves", 1);// 316
AddComplexComponent( (BaseAddon) this, 3515, 7, 7, 0, 2117, -1, "Fallen Leaves", 1);// 317
AddComplexComponent( (BaseAddon) this, 8430, -2, 5, 0, 2667, -1, "Crow", 1);// 318
AddComplexComponent( (BaseAddon) this, 8430, 2, 6, 0, 2667, -1, "Crow", 1);// 319
AddComplexComponent( (BaseAddon) this, 8475, 1, 6, 0, 1257, -1, "Barn Cat", 1);// 320
AddComplexComponent( (BaseAddon) this, 6092, 9, 8, 0, 2650, -1, "", 1);// 336
AddComplexComponent( (BaseAddon) this, 6089, -6, 9, 0, 2650, -1, "", 1);// 337
AddComplexComponent( (BaseAddon) this, 6089, -5, 9, 0, 2650, -1, "", 1);// 338
AddComplexComponent( (BaseAddon) this, 6089, -4, 9, 0, 2650, -1, "", 1);// 339
AddComplexComponent( (BaseAddon) this, 6089, -3, 9, 0, 2650, -1, "", 1);// 340
AddComplexComponent( (BaseAddon) this, 6089, -2, 9, 0, 2650, -1, "", 1);// 341
AddComplexComponent( (BaseAddon) this, 6089, -1, 9, 0, 2650, -1, "", 1);// 342
AddComplexComponent( (BaseAddon) this, 6089, 0, 9, 0, 2650, -1, "", 1);// 343
AddComplexComponent( (BaseAddon) this, 6089, 1, 9, 0, 2650, -1, "", 1);// 344
AddComplexComponent( (BaseAddon) this, 6089, 2, 9, 0, 2650, -1, "", 1);// 345
AddComplexComponent( (BaseAddon) this, 6089, 3, 9, 0, 2650, -1, "", 1);// 346
AddComplexComponent( (BaseAddon) this, 6089, 4, 9, 0, 2650, -1, "", 1);// 347
AddComplexComponent( (BaseAddon) this, 6089, 5, 9, 0, 2650, -1, "", 1);// 348
AddComplexComponent( (BaseAddon) this, 6089, 6, 9, 0, 2650, -1, "", 1);// 349
AddComplexComponent( (BaseAddon) this, 6089, 7, 9, 0, 2650, -1, "", 1);// 350
AddComplexComponent( (BaseAddon) this, 6089, 8, 9, 0, 2650, -1, "", 1);// 351
AddComplexComponent( (BaseAddon) this, 6087, 9, 9, 0, 2650, -1, "", 1);// 352
AddComplexComponent( (BaseAddon) this, 6811, -6, 8, 0, 54, -1, "", 1);// 353
AddComplexComponent( (BaseAddon) this, 6811, -5, 8, 0, 1257, -1, "", 1);// 354
AddComplexComponent( (BaseAddon) this, 6811, -4, 8, 0, 2125, -1, "", 1);// 355
AddComplexComponent( (BaseAddon) this, 6811, -3, 8, 0, 54, -1, "", 1);// 356
AddComplexComponent( (BaseAddon) this, 6811, -2, 8, 0, 1257, -1, "", 1);// 357
AddComplexComponent( (BaseAddon) this, 6811, -1, 8, 0, 2125, -1, "", 1);// 358
AddComplexComponent( (BaseAddon) this, 6811, 0, 8, 0, 54, -1, "", 1);// 359
AddComplexComponent( (BaseAddon) this, 6811, 1, 8, 0, 1257, -1, "", 1);// 360
AddComplexComponent( (BaseAddon) this, 6811, 2, 8, 0, 2125, -1, "", 1);// 361
AddComplexComponent( (BaseAddon) this, 6811, 3, 8, 0, 54, -1, "", 1);// 362
AddComplexComponent( (BaseAddon) this, 6811, 4, 8, 0, 1257, -1, "", 1);// 363
AddComplexComponent( (BaseAddon) this, 6811, 5, 8, 0, 2125, -1, "", 1);// 364
AddComplexComponent( (BaseAddon) this, 6811, 6, 8, 0, 54, -1, "", 1);// 365
AddComplexComponent( (BaseAddon) this, 6811, 7, 8, 0, 1257, -1, "", 1);// 366
AddComplexComponent( (BaseAddon) this, 6811, 8, 8, 0, 2125, -1, "", 1);// 367
}
public FallBanktopAddon( 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 FallBanktopAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new FallBanktopAddon();
}
}
[Constructable]
public FallBanktopAddonDeed()
{
Name = "FallBanktop";
}
public FallBanktopAddonDeed( 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();
}
}
}