304 lines
18 KiB
C#
304 lines
18 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 RusticPatioWEAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{7138, -4, 3, 0}, {1822, -4, -3, 2}, {5628, -5, 1, 9}// 1 3 4
|
|
, {1822, -5, 2, 0}, {10338, -5, -4, 0}, {1822, -4, -3, 0}// 5 9 10
|
|
, {1822, -5, -1, 6}, {1822, -4, -2, 0}, {1822, -5, 0, 6}// 11 12 14
|
|
, {2912, 0, -2, 0}, {1822, -5, -1, 2}, {3530, -4, -2, 6}// 20 22 24
|
|
, {10347, -4, 4, 0}, {2416, -4, -2, 14}, {1822, -4, -1, 2}// 27 30 31
|
|
, {5634, -5, 0, 11}, {2421, -4, -2, 6}, {2911, 3, 1, 0}// 33 39 54
|
|
, {1822, -5, -1, 2}, {2913, 0, 0, 0}, {2934, 1, -2, 0}// 58 60 67
|
|
, {2938, 1, 0, 0}, {4554, -3, 4, 0}, {10342, -6, 3, 0}// 69 73 74
|
|
, {10338, -2, -5, 0}, {2933, 1, 1, 0}, {2934, 2, -2, 0}// 75 76 81
|
|
, {4554, -2, -4, 0}, {2459, -5, -1, 11}, {2938, 2, -1, 0}// 82 88 90
|
|
, {1822, -5, 2, 0}, {6467, -4, -1, 4}, {5111, -4, 2, 9}// 92 93 94
|
|
, {10335, -3, -4, 0}, {10342, -6, -3, 0}, {10338, 1, -5, 0}// 95 99 101
|
|
, {10338, 0, -5, 0}, {10338, -1, -5, 0}, {1822, -5, -2, 4}// 106 107 108
|
|
, {10342, -6, 0, 0}, {10342, -6, -1, 0}, {1822, -5, -1, 6}// 110 114 115
|
|
, {2913, 0, -1, 0}, {5637, -5, -3, 7}, {2912, 3, -2, 0}// 116 117 119
|
|
, {1822, -5, 0, 6}, {10347, -3, 4, 0}, {1822, -5, 0, 2}// 121 122 124
|
|
, {10342, -6, 1, 0}, {10347, -5, 4, 0}, {5625, -5, -2, 9}// 128 129 130
|
|
, {10338, -4, -4, 0}, {7703, -4, 1, 7}, {2449, -4, 2, 7}// 132 133 134
|
|
, {1822, -5, -2, 4}, {1822, -5, 1, 4}, {5625, -5, -2, 9}// 135 139 140
|
|
, {1822, -5, 2, 3}, {5634, -5, 0, 11}, {1822, -5, -3, 3}// 142 143 146
|
|
, {1822, -4, 2, 2}, {2911, 0, 1, 0}, {1822, -5, -3, 3}// 147 150 151
|
|
, {1822, -5, 1, 4}, {2938, 1, -1, 0}, {2938, 2, 0, 0}// 153 154 157
|
|
, {10338, 4, -5, 0}, {10338, 3, -5, 0}, {10338, 2, -5, 0}// 159 160 161
|
|
, {2913, 3, 0, 0}, {2913, 3, -1, 0}, {3530, -4, 1, 6}// 163 164 166
|
|
, {5637, -5, -3, 7}, {10342, -6, -2, 0}, {4329, -4, -3, 7}// 169 171 173
|
|
, {7703, -4, 0, 7}, {10342, -6, 2, 0}, {2518, -5, 2, 8}// 174 175 178
|
|
, {1822, -4, 2, 0}, {3530, -4, 0, 6}, {5628, -5, 1, 9}// 179 182 183
|
|
, {10342, -6, 4, 0}, {2933, 2, 1, 0}, {1822, -4, 0, 0}// 184 185 186
|
|
, {1822, -5, 2, 3}, {1822, -4, -1, 0}, {1822, -5, 0, 2}// 188 189 190
|
|
, {1822, -4, 1, 0}, {10338, 4, 5, 0}, {10342, -3, 5, 0}// 193 198 201
|
|
, {10338, 1, 5, 0}, {10338, 2, 5, 0}, {10338, -1, 5, 0}// 202 203 204
|
|
, {10338, 3, 5, 0}, {10338, -2, 5, 0}, {10338, 0, 5, 0}// 205 207 209
|
|
, {10342, 7, -2, 0}, {3146, 5, 3, 0}, {10342, 7, -3, 0}// 215 223 229
|
|
, {10342, 7, 1, 0}, {10342, 7, 2, 0}, {10342, 7, -4, 0}// 232 233 234
|
|
, {3142, 5, 3, 0}, {10338, 7, -5, 0}, {10338, 6, -5, 0}// 242 246 247
|
|
, {10338, 5, -5, 0}, {10342, 7, 4, 0}, {10342, 7, -1, 0}// 248 255 256
|
|
, {10342, 7, 3, 0}, {10338, 7, 5, 0}, {10338, 6, 5, 0}// 257 260 261
|
|
, {10338, 5, 5, 0}, {10342, 7, 5, 0}// 263 264
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new RusticPatioWEAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public RusticPatioWEAddon()
|
|
{
|
|
|
|
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, 4846, -4, -2, 5, 0, 1, "", 1);// 2
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, -3, 0, 1882, -1, "", 1);// 6
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, 0, 0, 1882, -1, "", 1);// 7
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, -2, 0, 1882, -1, "", 1);// 8
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, -3, 0, 1882, -1, "", 1);// 13
|
|
AddComplexComponent( (BaseAddon) this, 1321, -3, 2, 0, 1882, -1, "", 1);// 15
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, 1, 0, 1882, -1, "", 1);// 16
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, -4, 0, 1882, -1, "", 1);// 17
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, 0, 0, 1882, -1, "", 1);// 18
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, -4, 0, 1882, -1, "", 1);// 19
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, -1, 0, 1882, -1, "", 1);// 21
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, 1, 0, 1882, -1, "", 1);// 23
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, -2, 0, 1882, -1, "", 1);// 25
|
|
AddComplexComponent( (BaseAddon) this, 1321, -3, 1, 0, 1882, -1, "", 1);// 26
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, -4, 0, 1882, -1, "", 1);// 28
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, 4, 0, 1882, -1, "", 1);// 29
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, 3, 0, 1882, -1, "", 1);// 32
|
|
AddComplexComponent( (BaseAddon) this, 1321, -3, 0, 0, 1882, -1, "", 1);// 34
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, -4, 0, 1882, -1, "", 1);// 35
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, 2, 0, 1882, -1, "", 1);// 36
|
|
AddComplexComponent( (BaseAddon) this, 1323, -2, 3, 0, 1882, -1, "", 1);// 37
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, 1, 0, 1882, -1, "", 1);// 38
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, 0, 0, 1882, -1, "", 1);// 40
|
|
AddComplexComponent( (BaseAddon) this, 1321, -3, -1, 0, 1882, -1, "", 1);// 41
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, -1, 0, 1882, -1, "", 1);// 42
|
|
AddComplexComponent( (BaseAddon) this, 1321, -3, -2, 0, 1882, -1, "", 1);// 43
|
|
AddComplexComponent( (BaseAddon) this, 2518, -5, 2, 8, 0, -1, "Marinade", 1);// 44
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, 4, 0, 1882, -1, "", 1);// 45
|
|
AddComplexComponent( (BaseAddon) this, 1321, -3, -3, 0, 1882, -1, "", 1);// 46
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, -2, 0, 1882, -1, "", 1);// 47
|
|
AddComplexComponent( (BaseAddon) this, 6467, -4, -1, 4, 0, -1, "Imported Spices", 1);// 48
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, -3, 0, 1882, -1, "", 1);// 49
|
|
AddComplexComponent( (BaseAddon) this, 1322, -4, 4, 0, 1882, -1, "", 1);// 50
|
|
AddComplexComponent( (BaseAddon) this, 1321, -4, 2, 0, 1882, -1, "", 1);// 51
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, 3, 0, 1882, -1, "", 1);// 52
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, -3, 0, 1882, -1, "", 1);// 53
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, 2, 0, 1882, -1, "", 1);// 55
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, 1, 0, 1882, -1, "", 1);// 56
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, 0, 0, 1882, -1, "", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 1321, -4, -2, 0, 1882, -1, "", 1);// 59
|
|
AddComplexComponent( (BaseAddon) this, 1321, -4, 1, 0, 1882, -1, "", 1);// 61
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, 4, 0, 1882, -1, "", 1);// 62
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, 3, 0, 1882, -1, "", 1);// 63
|
|
AddComplexComponent( (BaseAddon) this, 1321, -4, -3, 0, 1882, -1, "", 1);// 64
|
|
AddComplexComponent( (BaseAddon) this, 1323, -5, 3, 0, 1882, -1, "", 1);// 65
|
|
AddComplexComponent( (BaseAddon) this, 1321, -5, -1, 0, 1882, -1, "", 1);// 66
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 1, 0, 1882, -1, "", 1);// 68
|
|
AddComplexComponent( (BaseAddon) this, 1321, 1, -4, 0, 1882, -1, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, -3, 0, 1882, -1, "", 1);// 71
|
|
AddComplexComponent( (BaseAddon) this, 7703, -4, 1, 7, 0, -1, "Grilled Salmon", 1);// 72
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, 2, 0, 1882, -1, "", 1);// 77
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, 2, 0, 1882, -1, "", 1);// 78
|
|
AddComplexComponent( (BaseAddon) this, 1321, -5, 2, 0, 1882, -1, "", 1);// 79
|
|
AddComplexComponent( (BaseAddon) this, 1321, -5, 1, 0, 1882, -1, "", 1);// 80
|
|
AddComplexComponent( (BaseAddon) this, 4846, -4, 1, 5, 0, 1, "", 1);// 83
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, 4, 0, 1882, -1, "", 1);// 84
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 0, 0, 1882, -1, "", 1);// 85
|
|
AddComplexComponent( (BaseAddon) this, 1321, -5, -2, 0, 1882, -1, "", 1);// 86
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, -2, 0, 1882, -1, "", 1);// 87
|
|
AddComplexComponent( (BaseAddon) this, 4846, -4, 0, 5, 0, 0, "", 1);// 89
|
|
AddComplexComponent( (BaseAddon) this, 4846, -4, 0, 5, 0, 1, "", 1);// 91
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, -1, 0, 1882, -1, "", 1);// 96
|
|
AddComplexComponent( (BaseAddon) this, 1322, -5, 4, 0, 1882, -1, "", 1);// 97
|
|
AddComplexComponent( (BaseAddon) this, 1321, -4, -1, 0, 1882, -1, "", 1);// 98
|
|
AddComplexComponent( (BaseAddon) this, 4846, -4, 1, 5, 0, 0, "", 1);// 100
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, -3, 0, 1882, -1, "", 1);// 102
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, -4, 0, 1882, -1, "", 1);// 103
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, 4, 0, 1882, -1, "", 1);// 104
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, -4, 0, 1882, -1, "", 1);// 105
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, 1, 0, 1882, -1, "", 1);// 109
|
|
AddComplexComponent( (BaseAddon) this, 2459, -5, -1, 11, 0, -1, "Cooking Wine", 1);// 111
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, 2, 0, 1882, -1, "", 1);// 112
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, 3, 0, 1882, -1, "", 1);// 113
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, -1, 0, 1882, -1, "", 1);// 118
|
|
AddComplexComponent( (BaseAddon) this, 4846, -4, -2, 5, 0, 0, "", 1);// 120
|
|
AddComplexComponent( (BaseAddon) this, 3530, -4, -2, 6, 1, -1, "Grill", 1);// 123
|
|
AddComplexComponent( (BaseAddon) this, 1323, -3, 3, 0, 1882, -1, "", 1);// 125
|
|
AddComplexComponent( (BaseAddon) this, 3530, -4, 1, 6, 1, -1, "Grill", 1);// 126
|
|
AddComplexComponent( (BaseAddon) this, 3295, 2, 0, 13, 2817, -1, "Umbrella ", 1);// 127
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, -2, 0, 1882, -1, "", 1);// 131
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 4, 0, 1882, -1, "", 1);// 136
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, 0, 0, 1882, -1, "", 1);// 137
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, -1, 0, 1882, -1, "", 1);// 138
|
|
AddComplexComponent( (BaseAddon) this, 7703, -4, 0, 7, 0, -1, "Grilled Salmon", 1);// 141
|
|
AddComplexComponent( (BaseAddon) this, 1323, -4, 3, 0, 1882, -1, "", 1);// 144
|
|
AddComplexComponent( (BaseAddon) this, 9354, 1, -1, 1, 0, -1, "Umbrella Pole", 1);// 145
|
|
AddComplexComponent( (BaseAddon) this, 1321, -4, 0, 0, 1882, -1, "", 1);// 148
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 2, 0, 1882, -1, "", 1);// 149
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, 1, 0, 1882, -1, "", 1);// 152
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, -2, 0, 1882, -1, "", 1);// 155
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 1, 0, 1882, -1, "", 1);// 156
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, 4, 0, 1882, -1, "", 1);// 158
|
|
AddComplexComponent( (BaseAddon) this, 1322, -3, 4, 0, 1882, -1, "", 1);// 162
|
|
AddComplexComponent( (BaseAddon) this, 1321, -5, 0, 0, 1882, -1, "", 1);// 165
|
|
AddComplexComponent( (BaseAddon) this, 1321, -5, -3, 0, 1882, -1, "", 1);// 167
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 3, 0, 1882, -1, "", 1);// 168
|
|
AddComplexComponent( (BaseAddon) this, 7138, -4, 3, 0, 0, -1, "Mesquite Logs", 1);// 170
|
|
AddComplexComponent( (BaseAddon) this, 1321, -2, -3, 0, 1882, -1, "", 1);// 172
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, 3, 0, 1882, -1, "", 1);// 176
|
|
AddComplexComponent( (BaseAddon) this, 1321, 3, 0, 0, 1882, -1, "", 1);// 177
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, -2, 0, 1882, -1, "", 1);// 180
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, 3, 0, 1882, -1, "", 1);// 181
|
|
AddComplexComponent( (BaseAddon) this, 1321, 0, -1, 0, 1882, -1, "", 1);// 187
|
|
AddComplexComponent( (BaseAddon) this, 1321, 4, 0, 0, 1882, -1, "", 1);// 191
|
|
AddComplexComponent( (BaseAddon) this, 1321, -1, 2, 0, 1882, -1, "", 1);// 192
|
|
AddComplexComponent( (BaseAddon) this, 3530, -4, 0, 6, 1, -1, "Grill", 1);// 194
|
|
AddComplexComponent( (BaseAddon) this, 1321, 2, -1, 0, 1882, -1, "", 1);// 195
|
|
AddComplexComponent( (BaseAddon) this, 1322, 3, 5, 0, 1882, -1, "", 1);// 196
|
|
AddComplexComponent( (BaseAddon) this, 1322, -2, 5, 0, 1882, -1, "", 1);// 197
|
|
AddComplexComponent( (BaseAddon) this, 1322, 1, 5, 0, 1882, -1, "", 1);// 199
|
|
AddComplexComponent( (BaseAddon) this, 1322, 0, 5, 0, 1882, -1, "", 1);// 200
|
|
AddComplexComponent( (BaseAddon) this, 1322, -1, 5, 0, 1882, -1, "", 1);// 206
|
|
AddComplexComponent( (BaseAddon) this, 1322, 2, 5, 0, 1882, -1, "", 1);// 208
|
|
AddComplexComponent( (BaseAddon) this, 1322, 4, 5, 0, 1882, -1, "", 1);// 210
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 4, 0, 1882, -1, "", 1);// 211
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -4, 0, 1882, -1, "", 1);// 212
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 3, 0, 1882, -1, "", 1);// 213
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 2, 0, 1882, -1, "", 1);// 214
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, -4, 0, 1882, -1, "", 1);// 216
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, 1, 0, 1882, -1, "", 1);// 217
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, 3, 0, 1882, -1, "", 1);// 218
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, -1, 0, 1882, -1, "", 1);// 219
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, 0, 0, 1882, -1, "", 1);// 220
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, 1, 0, 1882, -1, "", 1);// 221
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, -3, 0, 1882, -1, "", 1);// 222
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, 2, 0, 1882, -1, "", 1);// 224
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 4, 0, 1882, -1, "", 1);// 225
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -3, 0, 1882, -1, "", 1);// 226
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, -4, 0, 1882, -1, "", 1);// 227
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 0, 0, 1882, -1, "", 1);// 228
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -2, 0, 1882, -1, "", 1);// 230
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, 4, 0, 1882, -1, "", 1);// 231
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -4, 0, 1882, -1, "", 1);// 235
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 1, 0, 1882, -1, "", 1);// 236
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, -2, 0, 1882, -1, "", 1);// 237
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, -3, 0, 1882, -1, "", 1);// 238
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, 4, 0, 1882, -1, "", 1);// 239
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -2, 0, 1882, -1, "", 1);// 240
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, 3, 0, 1882, -1, "", 1);// 241
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 1, 0, 1882, -1, "", 1);// 243
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -1, 0, 1882, -1, "", 1);// 244
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 2, 0, 1882, -1, "", 1);// 245
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, -1, 0, 1882, -1, "", 1);// 249
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -3, 0, 1882, -1, "", 1);// 250
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, -1, 0, 1882, -1, "", 1);// 251
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, 0, 0, 1882, -1, "", 1);// 252
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 0, 0, 1882, -1, "", 1);// 253
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, -2, 0, 1882, -1, "", 1);// 254
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 3, 0, 1882, -1, "", 1);// 258
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, 2, 0, 1882, -1, "", 1);// 259
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 5, 0, 1882, -1, "", 1);// 262
|
|
AddComplexComponent( (BaseAddon) this, 1321, 7, 5, 0, 1882, -1, "", 1);// 265
|
|
AddComplexComponent( (BaseAddon) this, 1321, 6, 5, 0, 1882, -1, "", 1);// 266
|
|
AddComplexComponent( (BaseAddon) this, 1321, 5, 5, 0, 1882, -1, "", 1);// 267
|
|
|
|
}
|
|
|
|
public RusticPatioWEAddon( 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 RusticPatioWEAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new RusticPatioWEAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public RusticPatioWEAddonDeed()
|
|
{
|
|
Name = "RusticPatioWE";
|
|
}
|
|
|
|
public RusticPatioWEAddonDeed( 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();
|
|
}
|
|
}
|
|
} |