334 lines
20 KiB
C#
334 lines
20 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 KeepMoatLavaAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{489, -12, 13, 0}, {489, -11, 13, 0}, {489, -10, 13, 0}// 12 13 14
|
|
, {489, -9, 13, 0}, {490, -13, 11, 0}, {490, -13, 12, 0}// 15 16 17
|
|
, {490, -13, 13, 0}, {489, -12, 10, 0}, {491, -13, 10, 0}// 18 19 20
|
|
, {3326, -12, 11, 0}, {3308, -11, 11, 0}, {3308, -9, 11, 0}// 21 22 23
|
|
, {488, -3, 13, 0}, {490, -3, 10, 0}, {490, -3, 11, 0}// 73 74 75
|
|
, {490, -3, 12, 0}, {489, -8, 13, 0}, {489, -7, 13, 0}// 76 77 78
|
|
, {489, -6, 13, 0}, {489, -5, 13, 0}, {489, -4, 13, 0}// 79 80 81
|
|
, {490, 1, 10, 0}, {490, 1, 11, 0}, {490, 1, 12, 0}// 82 83 84
|
|
, {490, 1, 13, 0}, {489, 2, 13, 0}, {489, 3, 13, 0}// 85 86 87
|
|
, {489, 4, 13, 0}, {489, 5, 13, 0}, {489, 6, 13, 0}// 88 89 90
|
|
, {489, 7, 13, 0}, {1929, -2, 14, 0}, {1929, -1, 14, 0}// 91 92 93
|
|
, {1929, 0, 14, 0}, {1929, 1, 14, 0}, {1934, 2, 14, 0}// 94 95 96
|
|
, {1936, -3, 14, 0}, {1226, 0, 13, 5}, {1227, -1, 10, 5}// 97 98 99
|
|
, {1230, 1, 12, 5}, {1230, 1, 11, 5}, {1231, -2, 12, 5}// 100 101 102
|
|
, {1231, -2, 11, 5}, {1232, -2, 13, 5}, {1233, -2, 10, 5}// 103 104 105
|
|
, {1234, 1, 13, 5}, {1222, 0, 12, 5}, {1222, -1, 11, 5}// 106 107 108
|
|
, {1225, -1, 12, 5}, {1225, 0, 11, 5}, {1235, 1, 10, 5}// 109 110 113
|
|
, {1227, 0, 10, 5}, {1229, -1, 13, 5}, {7834, 0, 9, 18}// 114 115 120
|
|
, {7834, -3, 9, 18}, {3308, -7, 11, 0}, {3311, -5, 9, 0}// 121 122 123
|
|
, {3311, -5, 10, 0}, {3307, -6, 11, 0}, {3307, 6, 11, 0}// 124 125 126
|
|
, {3307, 3, 9, 0}, {3307, 7, 11, 0}, {3213, 5, 11, 1}// 127 128 131
|
|
, {490, 14, -12, 0}, {490, 14, -12, 0}, {489, 12, -13, 0}// 142 143 144
|
|
, {489, 13, -13, 0}, {489, 14, -13, 0}, {3320, 13, -12, 1}// 145 146 147
|
|
, {3311, 12, -12, 0}, {490, 14, -11, 0}, {490, 14, -10, 0}// 148 215 216
|
|
, {490, 14, -9, 0}, {490, 14, -8, 0}, {490, 14, -7, 0}// 217 218 219
|
|
, {490, 14, -6, 0}, {490, 14, -5, 0}, {490, 14, -4, 0}// 220 221 222
|
|
, {490, 14, -3, 0}, {490, 14, -2, 0}, {490, 14, -1, 0}// 223 224 225
|
|
, {490, 14, 0, 0}, {490, 14, 1, 0}, {490, 14, 2, 0}// 226 227 228
|
|
, {490, 14, 3, 0}, {490, 14, 4, 0}, {3308, 10, -5, 0}// 229 230 231
|
|
, {3308, 11, -5, 0}, {3311, 12, -6, 0}, {3311, 12, -8, 0}// 232 233 234
|
|
, {3311, 12, -10, 0}, {3311, 10, -5, 0}, {3311, 10, -3, 0}// 235 236 237
|
|
, {3311, 10, 0, 0}, {3311, 12, 4, 0}, {3213, 10, -4, 1}// 238 239 240
|
|
, {3213, 12, 3, 1}, {489, 8, 13, 0}, {489, 9, 13, 0}// 241 281 282
|
|
, {489, 10, 13, 0}, {489, 11, 13, 0}, {489, 12, 13, 0}// 283 284 285
|
|
, {489, 13, 13, 0}, {488, 14, 13, 0}, {490, 14, 5, 0}// 286 287 288
|
|
, {490, 14, 6, 0}, {490, 14, 7, 0}, {490, 14, 8, 0}// 289 290 291
|
|
, {490, 14, 9, 0}, {490, 14, 10, 0}, {490, 14, 11, 0}// 292 293 294
|
|
, {490, 14, 12, 0}, {3329, 13, 12, 1}, {3307, 9, 11, 0}// 295 296 297
|
|
, {3311, 12, 6, 0}, {3311, 12, 8, 0}, {3311, 12, 10, 0}// 298 299 300
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new KeepMoatLavaAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public KeepMoatLavaAddon()
|
|
{
|
|
|
|
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, 4847, -12, 11, 0, 0, 0, "", 1);// 1
|
|
AddComplexComponent( (BaseAddon) this, 4847, -11, 11, 0, 0, 0, "", 1);// 2
|
|
AddComplexComponent( (BaseAddon) this, 4847, -10, 11, 0, 0, 0, "", 1);// 3
|
|
AddComplexComponent( (BaseAddon) this, 4847, -9, 11, 0, 0, 0, "", 1);// 4
|
|
AddComplexComponent( (BaseAddon) this, 4847, -12, 12, 0, 0, 0, "", 1);// 5
|
|
AddComplexComponent( (BaseAddon) this, 4847, -11, 12, 0, 0, 0, "", 1);// 6
|
|
AddComplexComponent( (BaseAddon) this, 4847, -10, 12, 0, 0, 0, "", 1);// 7
|
|
AddComplexComponent( (BaseAddon) this, 4847, -9, 12, 0, 0, 0, "", 1);// 8
|
|
AddComplexComponent( (BaseAddon) this, 4847, -12, 13, 0, 0, 0, "", 1);// 9
|
|
AddComplexComponent( (BaseAddon) this, 4847, -11, 13, 0, 0, 0, "", 1);// 10
|
|
AddComplexComponent( (BaseAddon) this, 4847, -9, 13, 0, 0, 0, "", 1);// 11
|
|
AddComplexComponent( (BaseAddon) this, 4847, -10, 13, 0, 0, 0, "", 1);// 24
|
|
AddComplexComponent( (BaseAddon) this, 4847, -5, 9, 0, 0, 0, "", 1);// 25
|
|
AddComplexComponent( (BaseAddon) this, 4847, -5, 10, 0, 0, 0, "", 1);// 26
|
|
AddComplexComponent( (BaseAddon) this, 4847, -4, 9, 0, 0, 0, "", 1);// 27
|
|
AddComplexComponent( (BaseAddon) this, 4847, -4, 10, 0, 0, 0, "", 1);// 28
|
|
AddComplexComponent( (BaseAddon) this, 4847, -3, 9, 0, 0, 0, "", 1);// 29
|
|
AddComplexComponent( (BaseAddon) this, 4847, -3, 10, 0, 0, 0, "", 1);// 30
|
|
AddComplexComponent( (BaseAddon) this, 4847, 2, 9, 0, 0, 0, "", 1);// 31
|
|
AddComplexComponent( (BaseAddon) this, 4847, 2, 10, 0, 0, 0, "", 1);// 32
|
|
AddComplexComponent( (BaseAddon) this, 4847, 2, 11, 0, 0, 0, "", 1);// 33
|
|
AddComplexComponent( (BaseAddon) this, 4847, 3, 9, 0, 0, 0, "", 1);// 34
|
|
AddComplexComponent( (BaseAddon) this, 4847, 3, 10, 0, 0, 0, "", 1);// 35
|
|
AddComplexComponent( (BaseAddon) this, 4847, 3, 11, 0, 0, 0, "", 1);// 36
|
|
AddComplexComponent( (BaseAddon) this, 4847, 5, 9, 0, 0, 0, "", 1);// 37
|
|
AddComplexComponent( (BaseAddon) this, 4847, 5, 10, 0, 0, 0, "", 1);// 38
|
|
AddComplexComponent( (BaseAddon) this, 4847, 4, 11, 0, 0, 0, "", 1);// 39
|
|
AddComplexComponent( (BaseAddon) this, 4847, -5, 11, 0, 0, 0, "", 1);// 40
|
|
AddComplexComponent( (BaseAddon) this, 4847, -4, 11, 0, 0, 0, "", 1);// 41
|
|
AddComplexComponent( (BaseAddon) this, 4847, -3, 11, 0, 0, 0, "", 1);// 42
|
|
AddComplexComponent( (BaseAddon) this, 4847, 5, 11, 0, 0, 0, "", 1);// 43
|
|
AddComplexComponent( (BaseAddon) this, 4847, 6, 11, 0, 0, 0, "", 1);// 44
|
|
AddComplexComponent( (BaseAddon) this, 4847, 7, 11, 0, 0, 0, "", 1);// 45
|
|
AddComplexComponent( (BaseAddon) this, 4847, -8, 11, 0, 0, 0, "", 1);// 46
|
|
AddComplexComponent( (BaseAddon) this, 4847, -7, 11, 0, 0, 0, "", 1);// 47
|
|
AddComplexComponent( (BaseAddon) this, 4847, -6, 11, 0, 0, 0, "", 1);// 48
|
|
AddComplexComponent( (BaseAddon) this, 4847, -8, 12, 0, 0, 0, "", 1);// 49
|
|
AddComplexComponent( (BaseAddon) this, 4847, -7, 12, 0, 0, 0, "", 1);// 50
|
|
AddComplexComponent( (BaseAddon) this, 4847, -6, 12, 0, 0, 0, "", 1);// 51
|
|
AddComplexComponent( (BaseAddon) this, 4847, -5, 12, 0, 0, 0, "", 1);// 52
|
|
AddComplexComponent( (BaseAddon) this, 4847, -4, 12, 0, 0, 0, "", 1);// 53
|
|
AddComplexComponent( (BaseAddon) this, 4847, -3, 12, 0, 0, 0, "", 1);// 54
|
|
AddComplexComponent( (BaseAddon) this, 4847, 2, 12, 0, 0, 0, "", 1);// 55
|
|
AddComplexComponent( (BaseAddon) this, 4847, 3, 12, 0, 0, 0, "", 1);// 56
|
|
AddComplexComponent( (BaseAddon) this, 4847, 4, 12, 0, 0, 0, "", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 4847, 5, 12, 0, 0, 0, "", 1);// 58
|
|
AddComplexComponent( (BaseAddon) this, 4847, 6, 12, 0, 0, 0, "", 1);// 59
|
|
AddComplexComponent( (BaseAddon) this, 4847, 7, 12, 0, 0, 0, "", 1);// 60
|
|
AddComplexComponent( (BaseAddon) this, 4847, -8, 13, 0, 0, 0, "", 1);// 61
|
|
AddComplexComponent( (BaseAddon) this, 4847, -7, 13, 0, 0, 0, "", 1);// 62
|
|
AddComplexComponent( (BaseAddon) this, 4847, -6, 13, 0, 0, 0, "", 1);// 63
|
|
AddComplexComponent( (BaseAddon) this, 4847, -5, 13, 0, 0, 0, "", 1);// 64
|
|
AddComplexComponent( (BaseAddon) this, 4847, -4, 13, 0, 0, 0, "", 1);// 65
|
|
AddComplexComponent( (BaseAddon) this, 4847, -3, 13, 0, 0, 0, "", 1);// 66
|
|
AddComplexComponent( (BaseAddon) this, 4847, 2, 13, 0, 0, 0, "", 1);// 67
|
|
AddComplexComponent( (BaseAddon) this, 4847, 3, 13, 0, 0, 0, "", 1);// 68
|
|
AddComplexComponent( (BaseAddon) this, 4847, 4, 13, 0, 0, 0, "", 1);// 69
|
|
AddComplexComponent( (BaseAddon) this, 4847, 5, 13, 0, 0, 0, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 4847, 6, 13, 0, 0, 0, "", 1);// 71
|
|
AddComplexComponent( (BaseAddon) this, 4847, 7, 13, 0, 0, 0, "", 1);// 72
|
|
AddComplexComponent( (BaseAddon) this, 4850, 4, 9, 0, 0, 10, "", 1);// 111
|
|
AddComplexComponent( (BaseAddon) this, 4850, 4, 10, 0, 0, 10, "", 1);// 112
|
|
AddComplexComponent( (BaseAddon) this, 8760, -2, 11, 5, 1525, -1, "", 1);// 116
|
|
AddComplexComponent( (BaseAddon) this, 8760, -2, 10, 16, 1525, -1, "", 1);// 117
|
|
AddComplexComponent( (BaseAddon) this, 8760, 1, 11, 5, 1525, -1, "", 1);// 118
|
|
AddComplexComponent( (BaseAddon) this, 8760, 1, 10, 15, 1525, -1, "", 1);// 119
|
|
AddComplexComponent( (BaseAddon) this, 3392, -5, 11, 1, 2692, -1, "", 1);// 129
|
|
AddComplexComponent( (BaseAddon) this, 3392, 2, 12, 1, 2747, -1, "", 1);// 130
|
|
AddComplexComponent( (BaseAddon) this, 7978, 3, 14, 0, 2997, -1, "", 1);// 132
|
|
AddComplexComponent( (BaseAddon) this, 7978, -4, 14, 0, 2997, -1, "", 1);// 133
|
|
AddComplexComponent( (BaseAddon) this, 6228, 3, 14, 7, 0, 10, "", 1);// 134
|
|
AddComplexComponent( (BaseAddon) this, 6228, -4, 14, 7, 0, 10, "", 1);// 135
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -12, 0, 0, 0, "", 1);// 136
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -12, 0, 0, 0, "", 1);// 137
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -12, 0, 0, 0, "", 1);// 138
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -12, 0, 0, 0, "", 1);// 139
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -12, 0, 0, 0, "", 1);// 140
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -12, 0, 0, 0, "", 1);// 141
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, -5, 0, 0, 0, "", 1);// 149
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, -4, 0, 0, 0, "", 1);// 150
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, -3, 0, 0, 0, "", 1);// 151
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, -2, 0, 0, 0, "", 1);// 152
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, -1, 0, 0, 0, "", 1);// 153
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 0, 0, 0, 0, "", 1);// 154
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 2, 0, 0, 0, "", 1);// 155
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 3, 0, 0, 0, "", 1);// 156
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, -5, 0, 0, 0, "", 1);// 157
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, -4, 0, 0, 0, "", 1);// 158
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, -3, 0, 0, 0, "", 1);// 159
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, -2, 0, 0, 0, "", 1);// 160
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, -1, 0, 0, 0, "", 1);// 161
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 0, 0, 0, 0, "", 1);// 162
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 2, 0, 0, 0, "", 1);// 163
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 3, 0, 0, 0, "", 1);// 164
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -5, 0, 0, 0, "", 1);// 165
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -4, 0, 0, 0, "", 1);// 166
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -3, 0, 0, 0, "", 1);// 167
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -2, 0, 0, 0, "", 1);// 168
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -1, 0, 0, 0, "", 1);// 169
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 0, 0, 0, 0, "", 1);// 170
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 2, 0, 0, 0, "", 1);// 171
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 3, 0, 0, 0, "", 1);// 172
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 1, 0, 0, 0, "", 1);// 173
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 1, 0, 0, 0, "", 1);// 174
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 1, 0, 0, 0, "", 1);// 175
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -11, 0, 0, 0, "", 1);// 176
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -10, 0, 0, 0, "", 1);// 177
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -9, 0, 0, 0, "", 1);// 178
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -8, 0, 0, 0, "", 1);// 179
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -7, 0, 0, 0, "", 1);// 180
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, -6, 0, 0, 0, "", 1);// 181
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 4, 0, 0, 0, "", 1);// 182
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -11, 0, 0, 0, "", 1);// 183
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -10, 0, 0, 0, "", 1);// 184
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -9, 0, 0, 0, "", 1);// 185
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -8, 0, 0, 0, "", 1);// 186
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -7, 0, 0, 0, "", 1);// 187
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -6, 0, 0, 0, "", 1);// 188
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -5, 0, 0, 0, "", 1);// 189
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -4, 0, 0, 0, "", 1);// 190
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 1, 0, 0, 0, "", 1);// 191
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 1, 0, 0, 0, "", 1);// 192
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 2, 0, 0, 0, "", 1);// 193
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 3, 0, 0, 0, "", 1);// 194
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 4, 0, 0, 0, "", 1);// 195
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -11, 0, 0, 0, "", 1);// 196
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -10, 0, 0, 0, "", 1);// 197
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -9, 0, 0, 0, "", 1);// 198
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -8, 0, 0, 0, "", 1);// 199
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -7, 0, 0, 0, "", 1);// 200
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -6, 0, 0, 0, "", 1);// 201
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -5, 0, 0, 0, "", 1);// 202
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -4, 0, 0, 0, "", 1);// 203
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 2, 0, 0, 0, "", 1);// 204
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 3, 0, 0, 0, "", 1);// 205
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 4, 0, 0, 0, "", 1);// 206
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -3, 0, 0, 0, "", 1);// 207
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -2, 0, 0, 0, "", 1);// 208
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, -1, 0, 0, 0, "", 1);// 209
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 0, 0, 0, 0, "", 1);// 210
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -3, 0, 0, 0, "", 1);// 211
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -2, 0, 0, 0, "", 1);// 212
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, -1, 0, 0, 0, "", 1);// 213
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 0, 0, 0, 0, "", 1);// 214
|
|
AddComplexComponent( (BaseAddon) this, 4847, 8, 11, 0, 0, 0, "", 1);// 242
|
|
AddComplexComponent( (BaseAddon) this, 4847, 9, 11, 0, 0, 0, "", 1);// 243
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 11, 0, 0, 0, "", 1);// 244
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 11, 0, 0, 0, "", 1);// 245
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 5, 0, 0, 0, "", 1);// 246
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 6, 0, 0, 0, "", 1);// 247
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 7, 0, 0, 0, "", 1);// 248
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 8, 0, 0, 0, "", 1);// 249
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 9, 0, 0, 0, "", 1);// 250
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 10, 0, 0, 0, "", 1);// 251
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 11, 0, 0, 0, "", 1);// 252
|
|
AddComplexComponent( (BaseAddon) this, 4847, 8, 12, 0, 0, 0, "", 1);// 253
|
|
AddComplexComponent( (BaseAddon) this, 4847, 9, 12, 0, 0, 0, "", 1);// 254
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 12, 0, 0, 0, "", 1);// 255
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 12, 0, 0, 0, "", 1);// 256
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 12, 0, 0, 0, "", 1);// 257
|
|
AddComplexComponent( (BaseAddon) this, 4847, 8, 13, 0, 0, 0, "", 1);// 258
|
|
AddComplexComponent( (BaseAddon) this, 4847, 9, 13, 0, 0, 0, "", 1);// 259
|
|
AddComplexComponent( (BaseAddon) this, 4847, 10, 13, 0, 0, 0, "", 1);// 260
|
|
AddComplexComponent( (BaseAddon) this, 4847, 11, 13, 0, 0, 0, "", 1);// 261
|
|
AddComplexComponent( (BaseAddon) this, 4847, 12, 13, 0, 0, 0, "", 1);// 262
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 5, 0, 0, 0, "", 1);// 263
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 6, 0, 0, 0, "", 1);// 264
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 7, 0, 0, 0, "", 1);// 265
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 8, 0, 0, 0, "", 1);// 266
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 9, 0, 0, 0, "", 1);// 267
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 10, 0, 0, 0, "", 1);// 268
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 11, 0, 0, 0, "", 1);// 269
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 12, 0, 0, 0, "", 1);// 270
|
|
AddComplexComponent( (BaseAddon) this, 4847, 13, 13, 0, 0, 0, "", 1);// 271
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 5, 0, 0, 0, "", 1);// 272
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 6, 0, 0, 0, "", 1);// 273
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 7, 0, 0, 0, "", 1);// 274
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 8, 0, 0, 0, "", 1);// 275
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 9, 0, 0, 0, "", 1);// 276
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 10, 0, 0, 0, "", 1);// 277
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 11, 0, 0, 0, "", 1);// 278
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 12, 0, 0, 0, "", 1);// 279
|
|
AddComplexComponent( (BaseAddon) this, 4847, 14, 13, 0, 0, 0, "", 1);// 280
|
|
|
|
}
|
|
|
|
public KeepMoatLavaAddon( 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 KeepMoatLavaAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new KeepMoatLavaAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public KeepMoatLavaAddonDeed()
|
|
{
|
|
Name = "KeepMoatLava";
|
|
}
|
|
|
|
public KeepMoatLavaAddonDeed( 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();
|
|
}
|
|
}
|
|
} |