252 lines
13 KiB
C#
252 lines
13 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 decogateromrugAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{2760, -7, -5, 0}, {2760, -6, -5, 0}, {2760, -5, -5, 0}// 1 2 3
|
|
, {2760, -6, -4, 0}, {2760, -5, -4, 0}, {2760, -5, -3, 0}// 4 5 6
|
|
, {2760, -8, -4, 0}, {2760, -8, -3, 0}, {2760, -8, -2, 0}// 7 8 9
|
|
, {2760, -8, -1, 0}, {2760, -7, -3, 0}, {2760, -7, -2, 0}// 10 11 12
|
|
, {2760, -7, -1, 0}, {2760, -6, -3, 0}, {2760, -7, -4, 0}// 13 14 15
|
|
, {2760, -8, -5, 0}, {2760, -5, -2, 0}, {2760, -6, -1, 0}// 16 17 18
|
|
, {2760, -6, -2, 0}, {2760, -7, 5, 0}, {2760, -6, 5, 0}// 19 32 33
|
|
, {2760, -5, 5, 0}, {2760, -6, 4, 0}, {2760, -5, 4, 0}// 34 35 36
|
|
, {2760, -5, 3, 0}, {2760, -8, 0, 0}, {2760, -8, 1, 0}// 37 38 39
|
|
, {2760, -8, 2, 0}, {2760, -8, 3, 0}, {2760, -8, 4, 0}// 40 41 42
|
|
, {2760, -7, 1, 0}, {2760, -7, 2, 0}, {2760, -7, 3, 0}// 43 44 45
|
|
, {2760, -6, 1, 0}, {2760, -6, 3, 0}, {2760, -7, 0, 0}// 46 47 48
|
|
, {2760, -5, 0, 0}, {2760, -5, 2, 0}, {2760, -6, 2, 0}// 49 50 51
|
|
, {2760, -7, 4, 0}, {2760, -8, 5, 0}, {2760, 7, -4, 0}// 52 53 75
|
|
, {2760, 7, -3, 0}, {2760, 7, -2, 0}, {2760, 7, -1, 0}// 76 77 78
|
|
, {2760, 3, -5, 0}, {2760, 4, -5, 0}, {2760, 5, -5, 0}// 79 80 81
|
|
, {2760, 6, -5, 0}, {2760, 7, -5, 0}, {2760, 8, -5, 0}// 82 83 84
|
|
, {2760, 8, -4, 0}, {2760, 8, -3, 0}, {2760, 8, -2, 0}// 85 86 87
|
|
, {2760, 8, -1, 0}, {2760, 6, -4, 0}, {2760, 6, -3, 0}// 88 89 90
|
|
, {2760, 6, -2, 0}, {2760, 5, -4, 0}, {2760, 5, -3, 0}// 91 92 93
|
|
, {2760, 4, -4, 0}, {2760, 2, -4, 0}, {2760, 2, -3, 0}// 94 95 96
|
|
, {2760, 2, -2, 0}, {2760, 2, -1, 0}, {2760, 3, -3, 0}// 97 98 99
|
|
, {2760, 3, -2, 0}, {2760, 3, -1, 0}, {2760, 1, -3, 0}// 100 101 102
|
|
, {2760, 0, -2, 0}, {2760, 4, -2, 0}, {2760, 4, -1, 0}// 103 104 105
|
|
, {2760, 5, -1, 0}, {2760, -4, -5, 0}, {2760, -3, -5, 0}// 106 107 108
|
|
, {2760, -2, -5, 0}, {2760, -1, -5, 0}, {2760, 0, -5, 0}// 109 110 111
|
|
, {2760, 1, -5, 0}, {2760, -4, -4, 0}, {2760, -3, -4, 0}// 112 113 114
|
|
, {2760, -2, -4, 0}, {2760, -1, -4, 0}, {2760, 0, -4, 0}// 115 116 117
|
|
, {2760, -4, -3, 0}, {2760, -3, -3, 0}, {2760, -2, -3, 0}// 118 119 120
|
|
, {2760, -1, -3, 0}, {2760, -4, -2, 0}, {2760, -3, -2, 0}// 121 122 123
|
|
, {2760, 1, -2, 0}, {2760, 1, -1, 0}, {2760, -2, -1, 0}// 124 125 126
|
|
, {2760, -1, -1, 0}, {2760, -4, -1, 0}, {2760, -2, -2, 0}// 127 128 129
|
|
, {2760, -3, -1, 0}, {2760, 8, 0, 0}, {2760, 8, 1, 0}// 130 160 161
|
|
, {2760, 8, 2, 0}, {2760, 7, 1, 0}, {2760, 7, 2, 0}// 162 163 164
|
|
, {2760, 7, 3, 0}, {2760, 7, 4, 0}, {2760, 4, 4, 0}// 165 166 167
|
|
, {2760, 5, 4, 0}, {2760, 6, 4, 0}, {2760, 5, 3, 0}// 168 169 170
|
|
, {2760, 6, 3, 0}, {2760, 6, 2, 0}, {2760, 8, 3, 0}// 171 172 173
|
|
, {2760, 8, 4, 0}, {2760, 8, 5, 0}, {2760, 3, 5, 0}// 174 175 176
|
|
, {2760, 4, 5, 0}, {2760, 5, 5, 0}, {2760, 6, 5, 0}// 177 178 179
|
|
, {2760, 7, 5, 0}, {2760, -3, 3, 0}, {2760, -3, 4, 0}// 180 181 182
|
|
, {2760, -3, 5, 0}, {2760, -4, 2, 0}, {2760, -2, 5, 0}// 183 184 185
|
|
, {2760, -1, 5, 0}, {2760, 0, 5, 0}, {2760, 1, 5, 0}// 186 187 188
|
|
, {2760, -2, 3, 0}, {2760, -2, 4, 0}, {2760, -1, 3, 0}// 189 190 191
|
|
, {2760, -1, 4, 0}, {2760, 0, 4, 0}, {2760, -4, 5, 0}// 192 193 194
|
|
, {2760, -4, 4, 0}, {2760, -4, 3, 0}, {2760, 2, 0, 0}// 195 196 197
|
|
, {2760, 2, 1, 0}, {2760, 2, 2, 0}, {2760, 2, 3, 0}// 198 199 200
|
|
, {2760, 2, 4, 0}, {2760, 3, 0, 0}, {2760, 3, 1, 0}// 201 202 203
|
|
, {2760, 3, 2, 0}, {2760, 3, 3, 0}, {2760, 0, 2, 0}// 204 205 206
|
|
, {2760, 1, 3, 0}, {2760, -2, 1, 0}, {2760, 4, 0, 0}// 207 208 209
|
|
, {2760, 4, 1, 0}, {2760, 4, 2, 0}, {2760, 5, 0, 0}// 210 211 212
|
|
, {2760, 5, 1, 0}, {2760, 6, 0, 0}, {2760, -1, 0, 0}// 213 214 215
|
|
, {2760, -2, 0, 0}, {2760, 1, 1, 0}, {2760, 1, 2, 0}// 216 217 218
|
|
, {2760, -1, 1, 0}, {2760, -3, 0, 0}, {2760, -3, 2, 0}// 221 222 223
|
|
, {2760, -4, 1, 0}, {2760, -2, 2, 0}, {2760, -3, 1, 0}// 224 225 226
|
|
, {2760, 0, 0, 0}// 248
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new decogateromrugAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public decogateromrugAddon()
|
|
{
|
|
|
|
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, 2797, -5, -1, 0, 2852, -1, "", 1);// 20
|
|
AddComplexComponent( (BaseAddon) this, 2799, -9, -6, 0, 2852, -1, "", 1);// 21
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, -5, 0, 2852, -1, "", 1);// 22
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, -4, 0, 2852, -1, "", 1);// 23
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, -3, 0, 2852, -1, "", 1);// 24
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, -2, 0, 2852, -1, "", 1);// 25
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, -1, 0, 2852, -1, "", 1);// 26
|
|
AddComplexComponent( (BaseAddon) this, 2803, -8, -6, 0, 2852, -1, "", 1);// 27
|
|
AddComplexComponent( (BaseAddon) this, 2803, -7, -6, 0, 2852, -1, "", 1);// 28
|
|
AddComplexComponent( (BaseAddon) this, 2803, -6, -6, 0, 2852, -1, "", 1);// 29
|
|
AddComplexComponent( (BaseAddon) this, 2803, -5, -6, 0, 2852, -1, "", 1);// 30
|
|
AddComplexComponent( (BaseAddon) this, 2797, -6, 0, 0, 2852, -1, "", 1);// 31
|
|
AddComplexComponent( (BaseAddon) this, 2797, -5, 1, 0, 2852, -1, "", 1);// 54
|
|
AddComplexComponent( (BaseAddon) this, 2800, -9, 6, 0, 2852, -1, "", 1);// 55
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, 0, 0, 2852, -1, "", 1);// 56
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, 1, 0, 2852, -1, "", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, 2, 0, 2852, -1, "", 1);// 58
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, 3, 0, 2852, -1, "", 1);// 59
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, 4, 0, 2852, -1, "", 1);// 60
|
|
AddComplexComponent( (BaseAddon) this, 2802, -9, 5, 0, 2852, -1, "", 1);// 61
|
|
AddComplexComponent( (BaseAddon) this, 2805, -8, 6, 0, 2852, -1, "", 1);// 62
|
|
AddComplexComponent( (BaseAddon) this, 2805, -7, 6, 0, 2852, -1, "", 1);// 63
|
|
AddComplexComponent( (BaseAddon) this, 2805, -6, 6, 0, 2852, -1, "", 1);// 64
|
|
AddComplexComponent( (BaseAddon) this, 2805, -5, 6, 0, 2852, -1, "", 1);// 65
|
|
AddComplexComponent( (BaseAddon) this, 2797, -5, 0, 0, 2852, -1, "", 1);// 66
|
|
AddComplexComponent( (BaseAddon) this, 2797, 3, -4, 0, 2852, -1, "", 1);// 67
|
|
AddComplexComponent( (BaseAddon) this, 2797, 0, -1, 0, 2852, -1, "", 1);// 68
|
|
AddComplexComponent( (BaseAddon) this, 2797, -1, -2, 0, 2852, -1, "", 1);// 69
|
|
AddComplexComponent( (BaseAddon) this, 2797, 0, -3, 0, 2852, -1, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 2797, 1, -4, 0, 2852, -1, "", 1);// 71
|
|
AddComplexComponent( (BaseAddon) this, 2797, 4, -3, 0, 2852, -1, "", 1);// 72
|
|
AddComplexComponent( (BaseAddon) this, 2797, 5, -2, 0, 2852, -1, "", 1);// 73
|
|
AddComplexComponent( (BaseAddon) this, 2797, 6, -1, 0, 2852, -1, "", 1);// 74
|
|
AddComplexComponent( (BaseAddon) this, 2797, 2, -5, 0, 2852, -1, "", 1);// 131
|
|
AddComplexComponent( (BaseAddon) this, 2801, 9, -6, 0, 2852, -1, "", 1);// 132
|
|
AddComplexComponent( (BaseAddon) this, 2803, -4, -6, 0, 2852, -1, "", 1);// 133
|
|
AddComplexComponent( (BaseAddon) this, 2803, -3, -6, 0, 2852, -1, "", 1);// 134
|
|
AddComplexComponent( (BaseAddon) this, 2803, -2, -6, 0, 2852, -1, "", 1);// 135
|
|
AddComplexComponent( (BaseAddon) this, 2803, -1, -6, 0, 2852, -1, "", 1);// 136
|
|
AddComplexComponent( (BaseAddon) this, 2803, 0, -6, 0, 2852, -1, "", 1);// 137
|
|
AddComplexComponent( (BaseAddon) this, 2803, 1, -6, 0, 2852, -1, "", 1);// 138
|
|
AddComplexComponent( (BaseAddon) this, 2803, 2, -6, 0, 2852, -1, "", 1);// 139
|
|
AddComplexComponent( (BaseAddon) this, 2803, 3, -6, 0, 2852, -1, "", 1);// 140
|
|
AddComplexComponent( (BaseAddon) this, 2803, 4, -6, 0, 2852, -1, "", 1);// 141
|
|
AddComplexComponent( (BaseAddon) this, 2803, 5, -6, 0, 2852, -1, "", 1);// 142
|
|
AddComplexComponent( (BaseAddon) this, 2803, 6, -6, 0, 2852, -1, "", 1);// 143
|
|
AddComplexComponent( (BaseAddon) this, 2803, 7, -6, 0, 2852, -1, "", 1);// 144
|
|
AddComplexComponent( (BaseAddon) this, 2803, 8, -6, 0, 2852, -1, "", 1);// 145
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, -5, 0, 2852, -1, "", 1);// 146
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, -4, 0, 2852, -1, "", 1);// 147
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, -3, 0, 2852, -1, "", 1);// 148
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, -2, 0, 2852, -1, "", 1);// 149
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, -1, 0, 2852, -1, "", 1);// 150
|
|
AddComplexComponent( (BaseAddon) this, 2797, 7, 0, 0, 2852, -1, "", 1);// 151
|
|
AddComplexComponent( (BaseAddon) this, 2797, 2, 5, 0, 2852, -1, "", 1);// 152
|
|
AddComplexComponent( (BaseAddon) this, 2797, 3, 4, 0, 2852, -1, "", 1);// 153
|
|
AddComplexComponent( (BaseAddon) this, 2797, 6, 1, 0, 2852, -1, "", 1);// 154
|
|
AddComplexComponent( (BaseAddon) this, 2797, 4, 3, 0, 2852, -1, "", 1);// 155
|
|
AddComplexComponent( (BaseAddon) this, 2797, 5, 2, 0, 2852, -1, "", 1);// 156
|
|
AddComplexComponent( (BaseAddon) this, 2797, 1, 4, 0, 2852, -1, "", 1);// 157
|
|
AddComplexComponent( (BaseAddon) this, 2797, -1, 2, 0, 2852, -1, "", 1);// 158
|
|
AddComplexComponent( (BaseAddon) this, 2797, 0, 3, 0, 2852, -1, "", 1);// 159
|
|
AddComplexComponent( (BaseAddon) this, 2797, 0, 1, 0, 2852, -1, "", 1);// 219
|
|
AddComplexComponent( (BaseAddon) this, 2797, 1, 0, 0, 2852, -1, "", 1);// 220
|
|
AddComplexComponent( (BaseAddon) this, 2797, -4, 0, 0, 2852, -1, "", 1);// 227
|
|
AddComplexComponent( (BaseAddon) this, 2798, 9, 6, 0, 2852, -1, "", 1);// 228
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, 0, 0, 2852, -1, "", 1);// 229
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, 1, 0, 2852, -1, "", 1);// 230
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, 2, 0, 2852, -1, "", 1);// 231
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, 3, 0, 2852, -1, "", 1);// 232
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, 4, 0, 2852, -1, "", 1);// 233
|
|
AddComplexComponent( (BaseAddon) this, 2804, 9, 5, 0, 2852, -1, "", 1);// 234
|
|
AddComplexComponent( (BaseAddon) this, 2805, -4, 6, 0, 2852, -1, "", 1);// 235
|
|
AddComplexComponent( (BaseAddon) this, 2805, -3, 6, 0, 2852, -1, "", 1);// 236
|
|
AddComplexComponent( (BaseAddon) this, 2805, -2, 6, 0, 2852, -1, "", 1);// 237
|
|
AddComplexComponent( (BaseAddon) this, 2805, -1, 6, 0, 2852, -1, "", 1);// 238
|
|
AddComplexComponent( (BaseAddon) this, 2805, 0, 6, 0, 2852, -1, "", 1);// 239
|
|
AddComplexComponent( (BaseAddon) this, 2805, 1, 6, 0, 2852, -1, "", 1);// 240
|
|
AddComplexComponent( (BaseAddon) this, 2805, 2, 6, 0, 2852, -1, "", 1);// 241
|
|
AddComplexComponent( (BaseAddon) this, 2805, 3, 6, 0, 2852, -1, "", 1);// 242
|
|
AddComplexComponent( (BaseAddon) this, 2805, 4, 6, 0, 2852, -1, "", 1);// 243
|
|
AddComplexComponent( (BaseAddon) this, 2805, 5, 6, 0, 2852, -1, "", 1);// 244
|
|
AddComplexComponent( (BaseAddon) this, 2805, 6, 6, 0, 2852, -1, "", 1);// 245
|
|
AddComplexComponent( (BaseAddon) this, 2805, 7, 6, 0, 2852, -1, "", 1);// 246
|
|
AddComplexComponent( (BaseAddon) this, 2805, 8, 6, 0, 2852, -1, "", 1);// 247
|
|
|
|
}
|
|
|
|
public decogateromrugAddon( 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 decogateromrugAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new decogateromrugAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public decogateromrugAddonDeed()
|
|
{
|
|
Name = "decogateromrug";
|
|
}
|
|
|
|
public decogateromrugAddonDeed( 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();
|
|
}
|
|
}
|
|
} |