266 lines
15 KiB
C#
Executable File
266 lines
15 KiB
C#
Executable File
|
|
////////////////////////////////////////
|
|
// //
|
|
// Generated by CEO's YAAAG - Ver 2 //
|
|
// (Yet Another Arya Addon Generator) //
|
|
// Modified by Hammerhand for //
|
|
// SA & High Seas content //
|
|
// //
|
|
////////////////////////////////////////
|
|
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class LrgRaisedTomatoGardSAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{41196, 3, 2, 3}, {6023, 3, 0, 2}, {3312, 3, 2, 12}// 2 3 4
|
|
, {3312, 3, -2, 12}, {2880, 3, -3, 2}, {5453, 3, -3, 12}// 5 6 7
|
|
, {41983, 3, -2, 44}, {3311, 3, 0, 12}, {3312, 3, -3, 14}// 8 9 10
|
|
, {3312, 3, 1, 12}, {41984, 3, -1, 35}, {2882, 3, -1, 2}// 11 12 13
|
|
, {4086, 4, -2, 17}, {3312, 3, -1, 12}, {2881, 3, -2, 2}// 14 15 16
|
|
, {4554, 3, 3, 3}, {3312, 3, 3, 12}, {3311, -3, -3, 5}// 17 18 20
|
|
, {3311, -3, 3, 5}, {3312, -3, 2, 12}, {3311, -3, 1, 12}// 21 22 23
|
|
, {3311, -3, 0, 12}, {3312, -3, -1, 12}, {3312, -3, -2, 12}// 24 26 27
|
|
, {6023, -1, -1, 6}, {3564, 1, -1, 13}, {9, -4, -4, 2}// 28 29 32
|
|
, {22, -1, -2, 2}, {41986, -3, -2, 38}, {22, -3, 3, 2}// 33 34 36
|
|
, {41985, 1, -3, 37}, {22, -2, 3, 2}, {9, 2, 3, 7}// 37 40 51
|
|
, {3168, 2, 0, 12}, {2148, -4, -3, 24}, {2148, -4, -2, 24}// 53 55 56
|
|
, {2148, -4, -1, 24}, {41984, -3, -1, 38}, {2148, -4, 0, 24}// 58 59 61
|
|
, {2148, -4, 1, 24}, {2148, -4, 2, 24}, {2148, -4, 3, 24}// 62 63 64
|
|
, {2147, -3, -4, 24}, {2148, 2, -3, 24}, {1848, -1, -1, 0}// 65 66 73
|
|
, {2148, 2, -2, 24}, {2148, 2, -1, 24}, {2148, 2, 0, 24}// 75 76 77
|
|
, {2148, 2, 1, 24}, {41984, -3, 2, 36}, {2148, 2, 2, 24}// 78 79 82
|
|
, {2148, 2, 3, 24}, {3309, -2, 4, 12}, {3166, -2, 2, 12}// 86 87 88
|
|
, {2147, -2, -4, 24}, {2147, -1, -4, 24}, {22, 1, 3, 2}// 90 91 93
|
|
, {41985, -1, 4, 37}, {3166, 2, 3, 12}, {2147, 0, -4, 24}// 94 95 96
|
|
, {3166, -2, -2, 12}, {3168, -3, -2, 12}, {2147, 1, -4, 24}// 98 106 112
|
|
, {2147, 2, -4, 24}, {3307, -3, 4, 12}, {2147, -3, 3, 24}// 115 118 119
|
|
, {2147, -2, 3, 24}, {1848, 0, 2, 0}, {2147, -1, 3, 24}// 122 123 132
|
|
, {3167, -1, -3, 12}, {9, 2, 3, 12}, {1848, 0, -1, 0}// 135 137 140
|
|
, {22, 0, -2, 2}, {2147, 0, 3, 24}, {2147, 1, 3, 24}// 142 143 144
|
|
, {2147, 2, 3, 24}, {3167, -3, 0, 12}, {3307, -2, -3, 12}// 146 147 149
|
|
, {41986, -3, 3, 37}, {3167, -3, 3, 12}, {3167, 2, 2, 12}// 152 154 158
|
|
, {3167, 2, -2, 12}, {3308, 0, -3, 12}, {20, 2, 3, 2}// 159 160 161
|
|
, {3168, -1, -2, 12}, {3307, 1, 4, 12}, {3564, 1, 1, 13}// 164 166 167
|
|
, {1848, -1, 2, 0}, {1848, -1, 3, 0}, {3166, 2, -3, 12}// 168 169 173
|
|
, {21, 2, -1, 2}, {21, 2, 0, 2}, {3307, 1, -3, 12}// 175 177 178
|
|
, {1848, 0, 0, 0}, {3168, -2, 3, 12}, {3166, 0, -2, 12}// 180 183 184
|
|
, {1313, 0, -1, 5}, {1848, 0, 1, 0}, {21, -2, 0, 2}// 185 187 188
|
|
, {3166, 2, 1, 12}, {3167, -2, -1, 12}, {3168, 1, 3, 12}// 189 194 195
|
|
, {21, 2, 2, 2}, {41190, 2, 4, 3}, {21, -2, 3, 2}// 196 198 199
|
|
, {21, -2, 2, 2}, {3166, -2, 0, 12}, {21, 2, 1, 2}// 201 202 204
|
|
, {21, -2, 1, 2}, {21, 2, -2, 2}, {21, -2, -1, 2}// 205 206 208
|
|
, {1313, 0, 1, 5}, {1401, 0, 2, 5}, {4554, -3, 4, 3}// 213 214 215
|
|
, {1848, 0, 3, 0}, {1848, -1, 1, 0}, {1848, -1, 0, 0}// 216 219 220
|
|
, {3351, -1, -2, 13}, {3308, -3, -3, 12}, {21, 2, -3, 2}// 222 225 227
|
|
, {41195, -2, 4, 3}, {3166, -3, 2, 12}// 228 229
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new LrgRaisedTomatoGardSAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public LrgRaisedTomatoGardSAddon()
|
|
{
|
|
|
|
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, 41375, 3, -2, 42, 2418, -1, "", 1);// 1
|
|
AddComplexComponent( (BaseAddon) this, 41374, -2, -3, 40, 2418, -1, "", 1);// 19
|
|
AddComplexComponent( (BaseAddon) this, 2326, 0, 4, 2, 2101, -1, "", 1);// 25
|
|
AddComplexComponent( (BaseAddon) this, 3564, -2, 1, 13, 0, -1, "A Tomato Seedling", 1);// 30
|
|
AddComplexComponent( (BaseAddon) this, 3564, -2, -1, 15, 0, -1, "A Tomato Seedling", 1);// 31
|
|
AddComplexComponent( (BaseAddon) this, 19236, -3, -1, 7, 2418, -1, "", 1);// 35
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, -3, 32, 2418, -1, "", 1);// 38
|
|
AddComplexComponent( (BaseAddon) this, 19238, 1, 3, 7, 2418, -1, "", 1);// 39
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, -2, 32, 2418, -1, "", 1);// 41
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, -1, 32, 2418, -1, "", 1);// 42
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, 0, 32, 2418, -1, "", 1);// 43
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, 1, 32, 2418, -1, "", 1);// 44
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, 2, 32, 2418, -1, "", 1);// 45
|
|
AddComplexComponent( (BaseAddon) this, 323, -4, 3, 32, 2418, -1, "", 1);// 46
|
|
AddComplexComponent( (BaseAddon) this, 9, -4, 3, 2, 2418, -1, "", 1);// 47
|
|
AddComplexComponent( (BaseAddon) this, 3566, 2, 2, 14, 2128, -1, "", 1);// 48
|
|
AddComplexComponent( (BaseAddon) this, 3307, 2, 4, 12, 0, -1, "Tomato Plant", 1);// 49
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, -3, 32, 2418, -1, "", 1);// 50
|
|
AddComplexComponent( (BaseAddon) this, 3565, 1, 2, 13, 2128, -1, "", 1);// 52
|
|
AddComplexComponent( (BaseAddon) this, 1401, -1, -1, 5, 2101, -1, "", 1);// 54
|
|
AddComplexComponent( (BaseAddon) this, 19237, -2, -1, 7, 2418, -1, "", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 9, 2, -4, 2, 2418, -1, "", 1);// 60
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, -2, 32, 2418, -1, "", 1);// 67
|
|
AddComplexComponent( (BaseAddon) this, 1313, -1, 0, 5, 2101, -1, "", 1);// 68
|
|
AddComplexComponent( (BaseAddon) this, 3564, 1, 3, 13, 0, -1, "A Tomato Seedling", 1);// 69
|
|
AddComplexComponent( (BaseAddon) this, 19237, 2, -1, 7, 2418, -1, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, -1, 32, 2418, -1, "", 1);// 71
|
|
AddComplexComponent( (BaseAddon) this, 19241, 1, -2, 7, 2418, -1, "", 1);// 72
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, 0, 32, 2418, -1, "", 1);// 74
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, 1, 32, 2418, -1, "", 1);// 80
|
|
AddComplexComponent( (BaseAddon) this, 3565, 1, 0, 15, 2128, -1, "Tomato Plant", 1);// 81
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, 2, 32, 2418, -1, "", 1);// 83
|
|
AddComplexComponent( (BaseAddon) this, 3566, 1, -3, 15, 2128, -1, "Tomato Plant", 1);// 84
|
|
AddComplexComponent( (BaseAddon) this, 323, 2, 3, 32, 2418, -1, "", 1);// 85
|
|
AddComplexComponent( (BaseAddon) this, 322, -3, 3, 32, 2418, -1, "", 1);// 89
|
|
AddComplexComponent( (BaseAddon) this, 3566, -3, 0, 13, 2128, -1, "Tomato Plant", 1);// 92
|
|
AddComplexComponent( (BaseAddon) this, 322, -2, 3, 32, 2418, -1, "", 1);// 97
|
|
AddComplexComponent( (BaseAddon) this, 19235, 2, -3, 7, 2418, -1, "", 1);// 99
|
|
AddComplexComponent( (BaseAddon) this, 322, -1, 3, 32, 2418, -1, "", 1);// 100
|
|
AddComplexComponent( (BaseAddon) this, 2326, -1, 4, 2, 2101, -1, "", 1);// 101
|
|
AddComplexComponent( (BaseAddon) this, 19234, -3, -3, 7, 2418, -1, "", 1);// 102
|
|
AddComplexComponent( (BaseAddon) this, 1401, -1, 1, 5, 2101, -1, "", 1);// 103
|
|
AddComplexComponent( (BaseAddon) this, 322, 0, 3, 32, 2418, -1, "", 1);// 104
|
|
AddComplexComponent( (BaseAddon) this, 322, 1, 3, 32, 2418, -1, "", 1);// 105
|
|
AddComplexComponent( (BaseAddon) this, 322, 2, 3, 32, 2418, -1, "", 1);// 107
|
|
AddComplexComponent( (BaseAddon) this, 3566, 2, -3, 14, 2128, -1, "", 1);// 108
|
|
AddComplexComponent( (BaseAddon) this, 19237, -2, 0, 7, 2418, -1, "", 1);// 109
|
|
AddComplexComponent( (BaseAddon) this, 19236, -3, 2, 7, 2418, -1, "", 1);// 110
|
|
AddComplexComponent( (BaseAddon) this, 3566, -3, -2, 13, 2128, -1, "Tomato Plant", 1);// 111
|
|
AddComplexComponent( (BaseAddon) this, 322, -3, -4, 32, 2418, -1, "", 1);// 113
|
|
AddComplexComponent( (BaseAddon) this, 19237, 2, 2, 7, 2418, -1, "", 1);// 114
|
|
AddComplexComponent( (BaseAddon) this, 19237, -2, 1, 7, 2418, -1, "", 1);// 116
|
|
AddComplexComponent( (BaseAddon) this, 3566, 2, 1, 13, 0, -1, "A Tomato Seedling", 1);// 117
|
|
AddComplexComponent( (BaseAddon) this, 3565, 1, -2, 15, 2128, -1, "Tomato Plant", 1);// 120
|
|
AddComplexComponent( (BaseAddon) this, 19236, 1, -1, 8, 2418, -1, "", 1);// 121
|
|
AddComplexComponent( (BaseAddon) this, 9, -4, 3, 12, 2418, -1, "", 1);// 124
|
|
AddComplexComponent( (BaseAddon) this, 322, -2, -4, 32, 2418, -1, "", 1);// 125
|
|
AddComplexComponent( (BaseAddon) this, 19242, 0, -2, 7, 2128, -1, "", 1);// 126
|
|
AddComplexComponent( (BaseAddon) this, 3566, 2, -2, 16, 2128, -1, "", 1);// 127
|
|
AddComplexComponent( (BaseAddon) this, 19236, -3, -2, 7, 2418, -1, "Tomato Plant", 1);// 128
|
|
AddComplexComponent( (BaseAddon) this, 3565, -2, 2, 14, 2128, -1, "Tomato Plant", 1);// 129
|
|
AddComplexComponent( (BaseAddon) this, 9, -4, -4, 12, 2418, -1, "", 1);// 130
|
|
AddComplexComponent( (BaseAddon) this, 19237, -2, 2, 7, 2418, -1, "", 1);// 131
|
|
AddComplexComponent( (BaseAddon) this, 3566, 2, -1, 13, 2128, -1, "", 1);// 133
|
|
AddComplexComponent( (BaseAddon) this, 9, 2, -4, 12, 2418, -1, "", 1);// 134
|
|
AddComplexComponent( (BaseAddon) this, 19237, 2, 1, 7, 2418, -1, "", 1);// 136
|
|
AddComplexComponent( (BaseAddon) this, 3564, 0, -2, 15, 0, -1, "A Tomato Seedling", 1);// 138
|
|
AddComplexComponent( (BaseAddon) this, 322, -1, -4, 32, 2418, -1, "", 1);// 139
|
|
AddComplexComponent( (BaseAddon) this, 3565, -2, 0, 14, 2128, -1, "Tomato Plant", 1);// 141
|
|
AddComplexComponent( (BaseAddon) this, 19237, 2, -2, 7, 2418, -1, "", 1);// 145
|
|
AddComplexComponent( (BaseAddon) this, 322, 0, -4, 32, 2418, -1, "", 1);// 148
|
|
AddComplexComponent( (BaseAddon) this, 3566, -3, -3, 15, 2128, -1, "Tomato Plant", 1);// 150
|
|
AddComplexComponent( (BaseAddon) this, 322, 1, -4, 32, 2418, -1, "", 1);// 151
|
|
AddComplexComponent( (BaseAddon) this, 3307, -1, -3, 12, 0, -1, "Tomato Plant", 1);// 153
|
|
AddComplexComponent( (BaseAddon) this, 3566, -3, 2, 13, 0, -1, "A Tomato Seedling", 1);// 155
|
|
AddComplexComponent( (BaseAddon) this, 3564, -2, 3, 14, 0, -1, "A Tomato Seedling", 1);// 156
|
|
AddComplexComponent( (BaseAddon) this, 1313, -1, 2, 5, 2101, -1, "", 1);// 157
|
|
AddComplexComponent( (BaseAddon) this, 19240, -2, -3, 7, 2418, -1, "", 1);// 162
|
|
AddComplexComponent( (BaseAddon) this, 19240, -1, -3, 7, 2418, -1, "", 1);// 163
|
|
AddComplexComponent( (BaseAddon) this, 19236, -3, 0, 7, 2418, -1, "Tomato Plant", 1);// 165
|
|
AddComplexComponent( (BaseAddon) this, 19241, -2, -2, 7, 2418, -1, "", 1);// 170
|
|
AddComplexComponent( (BaseAddon) this, 1401, -1, 3, 5, 2101, -1, "", 1);// 171
|
|
AddComplexComponent( (BaseAddon) this, 19236, -3, 1, 7, 2418, -1, "", 1);// 172
|
|
AddComplexComponent( (BaseAddon) this, 19236, 1, 0, 7, 2418, -1, "", 1);// 174
|
|
AddComplexComponent( (BaseAddon) this, 2594, -4, 3, 32, 0, 29, "", 1);// 176
|
|
AddComplexComponent( (BaseAddon) this, 19236, 1, 1, 7, 2418, -1, "", 1);// 179
|
|
AddComplexComponent( (BaseAddon) this, 41374, -2, 4, 43, 2418, -1, "", 1);// 181
|
|
AddComplexComponent( (BaseAddon) this, 2594, -4, -4, 32, 0, 29, "", 1);// 182
|
|
AddComplexComponent( (BaseAddon) this, 322, 2, -4, 32, 2418, -1, "", 1);// 186
|
|
AddComplexComponent( (BaseAddon) this, 1401, 0, 0, 5, 2101, -1, "", 1);// 190
|
|
AddComplexComponent( (BaseAddon) this, 3566, -2, -2, 13, 2128, -1, "", 1);// 191
|
|
AddComplexComponent( (BaseAddon) this, 3564, -3, -1, 13, 0, -1, "A Tomato Seedling", 1);// 192
|
|
AddComplexComponent( (BaseAddon) this, 19236, 1, 2, 7, 2418, -1, "", 1);// 193
|
|
AddComplexComponent( (BaseAddon) this, 19242, -1, -2, 7, 2418, -1, "", 1);// 197
|
|
AddComplexComponent( (BaseAddon) this, 2594, 2, -4, 32, 0, 29, "", 1);// 200
|
|
AddComplexComponent( (BaseAddon) this, 3566, -3, 3, 15, 2128, -1, "Tomato Plant", 1);// 203
|
|
AddComplexComponent( (BaseAddon) this, 3565, 2, 0, 15, 2128, -1, "", 1);// 207
|
|
AddComplexComponent( (BaseAddon) this, 19240, 0, -3, 7, 2418, -1, "", 1);// 209
|
|
AddComplexComponent( (BaseAddon) this, 3565, -2, -3, 13, 2128, -1, "Tomato Plant", 1);// 210
|
|
AddComplexComponent( (BaseAddon) this, 324, -4, -4, 32, 2418, -1, "", 1);// 211
|
|
AddComplexComponent( (BaseAddon) this, 3565, -3, 1, 15, 2128, -1, "Tomato Plant", 1);// 212
|
|
AddComplexComponent( (BaseAddon) this, 19239, 2, 3, 7, 2418, -1, "", 1);// 217
|
|
AddComplexComponent( (BaseAddon) this, 1313, 0, 3, 5, 2101, -1, "", 1);// 218
|
|
AddComplexComponent( (BaseAddon) this, 2594, 2, 3, 32, 0, 29, "", 1);// 221
|
|
AddComplexComponent( (BaseAddon) this, 19239, -2, 3, 7, 2418, -1, "", 1);// 223
|
|
AddComplexComponent( (BaseAddon) this, 3564, -1, -3, 13, 2128, -1, "Tomato Plant", 1);// 224
|
|
AddComplexComponent( (BaseAddon) this, 3565, -1, -2, 16, 2128, -1, "Tomato Plant", 1);// 226
|
|
AddComplexComponent( (BaseAddon) this, 19238, -3, 3, 7, 2418, -1, "", 1);// 230
|
|
AddComplexComponent( (BaseAddon) this, 3565, 0, -3, 13, 2128, -1, "Tomato Plant", 1);// 231
|
|
AddComplexComponent( (BaseAddon) this, 19240, 1, -3, 7, 2418, -1, "", 1);// 232
|
|
AddComplexComponent( (BaseAddon) this, 19237, 2, 0, 7, 2418, -1, "", 1);// 233
|
|
|
|
}
|
|
|
|
public LrgRaisedTomatoGardSAddon( 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 LrgRaisedTomatoGardSAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new LrgRaisedTomatoGardSAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public LrgRaisedTomatoGardSAddonDeed()
|
|
{
|
|
Name = "LrgRaisedTomatoGardS";
|
|
}
|
|
|
|
public LrgRaisedTomatoGardSAddonDeed( 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();
|
|
}
|
|
}
|
|
} |