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