256 lines
14 KiB
C#
256 lines
14 KiB
C#
|
|
////////////////////////////////////////
|
|
// //
|
|
// 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 GazeboChristmasLargeAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{2922, 0, -4, 6}, {11152, 3, -4, 31}, {1837, 3, -4, 1}// 3 8 14
|
|
, {11150, -3, -4, 31}, {1824, -3, -4, 1}, {1824, -2, -4, 1}// 15 16 17
|
|
, {1824, -1, -4, 1}, {1824, 0, -4, 1}, {1824, 1, -4, 1}// 18 19 20
|
|
, {1824, 2, -4, 1}, {11155, -1, -4, 31}, {11155, 0, -4, 31}// 21 25 26
|
|
, {11155, 1, -4, 31}, {11155, 2, -4, 31}, {11155, -2, -4, 31}// 27 28 29
|
|
, {2922, -2, -4, 6}, {2922, -1, -4, 6}, {6094, 3, -4, 3}// 31 32 36
|
|
, {6094, 1, -4, 34}, {6094, 3, -4, 34}, {11155, 0, -3, 34}// 37 38 39
|
|
, {11155, 1, -3, 34}, {11154, -1, 3, 34}, {11150, -1, -2, 37}// 40 41 42
|
|
, {9368, 2, 3, 6}, {9359, -1, 4, 8}, {9359, 0, 4, 8}// 43 44 45
|
|
, {1824, 2, -3, 1}, {1824, 1, -3, 1}, {2922, 0, 2, 6}// 46 47 48
|
|
, {15292, -3, 1, 3}, {15292, -3, 3, 3}, {1824, 3, 3, 1}// 49 50 51
|
|
, {11151, -3, 4, 31}, {6094, 3, 0, 3}, {11139, -1, 0, 37}// 53 54 55
|
|
, {1824, 0, -3, 1}, {1824, -1, -3, 1}, {1824, -2, -3, 1}// 56 57 58
|
|
, {2922, -2, 2, 6}, {11152, 2, -3, 34}, {11151, -2, 3, 34}// 61 62 63
|
|
, {11139, -1, -1, 37}, {11139, -1, 1, 37}, {9079, 3, -3, 6}// 64 65 66
|
|
, {2922, -1, 2, 6}, {11139, -2, 0, 34}, {11139, -2, 1, 34}// 71 74 75
|
|
, {11155, -1, -3, 34}, {1824, -3, -3, 1}, {1824, -3, -2, 1}// 76 77 78
|
|
, {11139, -2, 2, 34}, {11139, -2, -1, 34}, {11139, -2, -2, 34}// 79 80 81
|
|
, {9357, 1, 4, 8}, {11154, 1, 3, 34}, {11154, 0, 3, 34}// 82 83 84
|
|
, {11138, 2, 2, 34}, {11138, 2, -2, 34}, {11138, 2, -1, 34}// 85 86 87
|
|
, {11138, 2, 0, 34}, {11138, 2, 1, 34}, {1824, -3, 0, 1}// 88 89 90
|
|
, {1824, -3, -1, 1}, {11149, 1, 2, 37}, {11151, -1, 2, 37}// 91 92 93
|
|
, {1824, -2, -2, 1}, {6093, -2, 0, 37}, {1824, -1, -2, 1}// 96 97 99
|
|
, {1824, -2, 1, 1}, {1824, -2, 0, 1}, {1824, -2, -1, 1}// 100 101 102
|
|
, {11138, 1, -1, 37}, {11138, 3, -1, 31}, {11138, 3, 0, 31}// 104 105 106
|
|
, {11138, 3, 1, 31}, {11138, 3, 2, 31}, {11138, 3, -2, 31}// 107 108 109
|
|
, {11139, -3, 3, 31}, {11148, 0, 1, 40}, {11137, 0, -1, 40}// 110 111 112
|
|
, {11148, 0, 0, 40}, {11138, 3, 3, 31}, {11138, 1, 0, 37}// 113 115 116
|
|
, {11152, 1, -2, 37}, {11138, 1, 1, 37}, {1824, -3, 1, 1}// 123 125 126
|
|
, {1824, -1, -1, 1}, {1824, -1, 0, 1}, {1824, -1, 1, 1}// 127 128 129
|
|
, {1824, 0, -2, 1}, {1824, 0, -1, 1}, {1824, 0, 0, 1}// 130 131 132
|
|
, {1824, 0, 1, 1}, {1824, 1, -2, 1}, {1824, 1, -1, 1}// 133 134 135
|
|
, {1824, 1, 0, 1}, {1824, 1, 1, 1}, {1824, 2, -2, 1}// 136 137 138
|
|
, {1824, 2, -1, 1}, {1824, 2, 0, 1}, {1824, 2, 1, 1}// 139 140 141
|
|
, {1824, -2, 2, 1}, {1824, -1, 2, 1}, {1824, 0, 2, 1}// 142 143 144
|
|
, {1824, 1, 2, 1}, {1824, 2, 2, 2}, {1827, 3, 0, 1}// 145 146 147
|
|
, {1827, 3, -1, 1}, {1824, 3, 2, 1}, {1824, 3, -3, 1}// 148 149 150
|
|
, {1824, -3, 3, 1}, {1824, -2, 3, 1}, {1824, -1, 3, 1}// 152 153 154
|
|
, {1824, 0, 3, 1}, {1824, 1, 3, 1}, {1824, 2, 3, 1}// 155 156 157
|
|
, {11155, 0, -2, 37}, {11154, 0, 2, 37}, {11149, 3, 4, 31}// 158 159 162
|
|
, {1824, 3, 1, 1}, {1824, 3, -2, 1}, {11138, 3, -3, 31}// 163 164 165
|
|
, {11154, 0, 4, 31}, {11154, 1, 4, 31}, {11149, 2, 3, 34}// 171 172 173
|
|
, {9359, -2, 4, 8}, {9358, -3, 4, 8}, {11154, -2, 4, 31}// 174 175 176
|
|
, {11150, -2, -3, 34}, {11154, -1, 4, 31}, {11154, 2, 4, 31}// 177 178 179
|
|
, {11139, -3, -3, 31}, {11139, -3, -2, 31}, {11139, -3, -1, 31}// 185 186 187
|
|
, {11139, -3, 0, 31}, {11139, -3, 1, 31}, {11139, -3, 2, 31}// 188 189 190
|
|
, {1824, -3, 2, 1}, {11229, 1, 0, 6}, {11229, -1, -2, 6}// 193 200 201
|
|
, {6093, -1, 3, 37}, {6093, 3, -2, 34}, {6094, 2, 1, 37}// 203 204 205
|
|
, {6093, 0, -3, 37}, {15292, -3, -1, 3}, {15292, -3, -3, 3}// 206 209 210
|
|
, {15292, 3, -3, 3}, {2916, -3, 1, 6}, {2916, -3, 0, 6}// 214 218 219
|
|
, {2916, -3, -1, 6}, {2916, -3, -2, 6}, {2916, -3, -3, 6}// 220 221 222
|
|
, {6094, 2, 3, 6}, {6093, 2, 3, 6}, {6093, 2, 3, 37}// 223 224 225
|
|
, {6093, 0, 0, 43}, {6093, 3, -1, 3}, {6094, 1, 2, 40}// 226 227 242
|
|
, {6094, -2, 3, 37}, {6094, -1, 4, 34}, {6093, -2, -2, 37}// 243 244 245
|
|
, {6094, -2, -3, 37}// 246
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new GazeboChristmasLargeAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public GazeboChristmasLargeAddon()
|
|
{
|
|
|
|
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, 15291, 0, -4, 3, 0, -1, "Garland", 1);// 1
|
|
AddComplexComponent( (BaseAddon) this, 9368, -4, -5, 6, 38, -1, "", 1);// 2
|
|
AddComplexComponent( (BaseAddon) this, 15291, 2, -4, 5, 0, -1, "Garland", 1);// 4
|
|
AddComplexComponent( (BaseAddon) this, 2145, 2, -4, 6, 38, -1, "", 1);// 5
|
|
AddComplexComponent( (BaseAddon) this, 9368, 2, -5, 6, 38, -1, "", 1);// 6
|
|
AddComplexComponent( (BaseAddon) this, 2141, 2, -5, 6, 38, -1, "", 1);// 7
|
|
AddComplexComponent( (BaseAddon) this, 2144, 1, -5, 6, 38, -1, "", 1);// 9
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, -4, 6, 38, -1, "", 1);// 10
|
|
AddComplexComponent( (BaseAddon) this, 2144, -2, -5, 6, 38, -1, "", 1);// 11
|
|
AddComplexComponent( (BaseAddon) this, 2144, -1, -5, 6, 38, -1, "", 1);// 12
|
|
AddComplexComponent( (BaseAddon) this, 2144, 0, -5, 6, 38, -1, "", 1);// 13
|
|
AddComplexComponent( (BaseAddon) this, 2144, -3, -5, 6, 38, -1, "", 1);// 22
|
|
AddComplexComponent( (BaseAddon) this, 2143, -4, -5, 6, 38, -1, "", 1);// 23
|
|
AddComplexComponent( (BaseAddon) this, 1824, -3, -4, 6, 1368, -1, "", 1);// 24
|
|
AddComplexComponent( (BaseAddon) this, 15291, -2, -4, 3, 0, -1, "Garland", 1);// 30
|
|
AddComplexComponent( (BaseAddon) this, 2594, 1, -4, 11, 0, 1, "", 1);// 33
|
|
AddComplexComponent( (BaseAddon) this, 2594, -3, -4, 11, 0, 1, "", 1);// 34
|
|
AddComplexComponent( (BaseAddon) this, 1824, 1, -4, 6, 1368, -1, "", 1);// 35
|
|
AddComplexComponent( (BaseAddon) this, 3892, 3, 2, 5, 1153, -1, "", 1);// 52
|
|
AddComplexComponent( (BaseAddon) this, 2767, 2, -1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 59
|
|
AddComplexComponent( (BaseAddon) this, 3892, 3, -2, 4, 1153, -1, "", 1);// 60
|
|
AddComplexComponent( (BaseAddon) this, 2140, 2, 3, 6, 38, -1, "", 1);// 67
|
|
AddComplexComponent( (BaseAddon) this, 2143, 2, 1, 6, 38, -1, "", 1);// 68
|
|
AddComplexComponent( (BaseAddon) this, 2767, 2, -2, 6, 1371, -1, "Tree Skirt Candycane", 1);// 69
|
|
AddComplexComponent( (BaseAddon) this, 2145, 2, 2, 6, 38, -1, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 1824, -3, 2, 6, 1368, -1, "", 1);// 72
|
|
AddComplexComponent( (BaseAddon) this, 18087, 1, -3, 6, 1172, -1, "", 1);// 73
|
|
AddComplexComponent( (BaseAddon) this, 18083, 1, 4, 10, 38, -1, "", 1);// 94
|
|
AddComplexComponent( (BaseAddon) this, 18085, -2, 4, 11, 2955, -1, "", 1);// 95
|
|
AddComplexComponent( (BaseAddon) this, 9368, -4, 3, 6, 38, -1, "", 1);// 98
|
|
AddComplexComponent( (BaseAddon) this, 2142, 2, -3, 6, 38, -1, "", 1);// 103
|
|
AddComplexComponent( (BaseAddon) this, 2766, 1, -3, 6, 1371, -1, "Tree Skirt Candycane", 1);// 114
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, -3, 6, 38, -1, "", 1);// 117
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, -2, 6, 43, -1, "", 1);// 118
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, -1, 6, 38, -1, "", 1);// 119
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, 0, 6, 38, -1, "", 1);// 120
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, 1, 6, 43, -1, "", 1);// 121
|
|
AddComplexComponent( (BaseAddon) this, 2145, -4, 2, 6, 38, -1, "", 1);// 122
|
|
AddComplexComponent( (BaseAddon) this, 2766, 0, -3, 6, 1371, -1, "Tree Skirt Candycane", 1);// 124
|
|
AddComplexComponent( (BaseAddon) this, 3892, 3, 3, 5, 1153, -1, "", 1);// 151
|
|
AddComplexComponent( (BaseAddon) this, 2766, -1, -3, 6, 1371, -1, "Tree Skirt Candycane", 1);// 160
|
|
AddComplexComponent( (BaseAddon) this, 2765, -2, -2, 6, 1371, -1, "Tree Skirt Candycane", 1);// 161
|
|
AddComplexComponent( (BaseAddon) this, 2142, -4, 3, 6, 38, -1, "", 1);// 166
|
|
AddComplexComponent( (BaseAddon) this, 2144, -3, 3, 6, 38, -1, "", 1);// 167
|
|
AddComplexComponent( (BaseAddon) this, 2144, -2, 3, 6, 38, -1, "", 1);// 168
|
|
AddComplexComponent( (BaseAddon) this, 2144, -1, 3, 6, 38, -1, "", 1);// 169
|
|
AddComplexComponent( (BaseAddon) this, 2144, 0, 3, 6, 38, -1, "", 1);// 170
|
|
AddComplexComponent( (BaseAddon) this, 3892, 0, 4, 10, 1153, -1, "", 1);// 180
|
|
AddComplexComponent( (BaseAddon) this, 3892, -1, 4, 9, 1153, -1, "", 1);// 181
|
|
AddComplexComponent( (BaseAddon) this, 3892, -2, 4, 10, 1153, -1, "", 1);// 182
|
|
AddComplexComponent( (BaseAddon) this, 3892, 1, 4, 10, 1153, -1, "", 1);// 183
|
|
AddComplexComponent( (BaseAddon) this, 2765, -2, -1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 184
|
|
AddComplexComponent( (BaseAddon) this, 3892, 3, -3, 5, 1153, -1, "", 1);// 191
|
|
AddComplexComponent( (BaseAddon) this, 18082, 0, 4, 9, 1194, -1, "", 1);// 192
|
|
AddComplexComponent( (BaseAddon) this, 2765, -2, 0, 6, 1371, -1, "Tree Skirt Candycane", 1);// 194
|
|
AddComplexComponent( (BaseAddon) this, 2760, 0, -2, 6, 1153, -1, "Tree Skirt Candycane", 1);// 195
|
|
AddComplexComponent( (BaseAddon) this, 2760, 0, 0, 6, 1153, -1, "Tree Skirt Candycane", 1);// 196
|
|
AddComplexComponent( (BaseAddon) this, 9014, -1, 5, 1, 0, 1, "Lights", 1);// 197
|
|
AddComplexComponent( (BaseAddon) this, 2760, 1, -1, 6, 1153, -1, "Tree Skirt Candycane", 1);// 198
|
|
AddComplexComponent( (BaseAddon) this, 2760, -1, -1, 6, 1153, -1, "Tree Skirt Candycane", 1);// 199
|
|
AddComplexComponent( (BaseAddon) this, 9001, 3, 2, 6, 1368, -1, "", 1);// 202
|
|
AddComplexComponent( (BaseAddon) this, 15291, -2, 4, 3, 0, -1, "Garland", 1);// 207
|
|
AddComplexComponent( (BaseAddon) this, 2144, 1, 3, 6, 38, -1, "", 1);// 208
|
|
AddComplexComponent( (BaseAddon) this, 15291, 2, 4, 3, 0, -1, "Garland", 1);// 211
|
|
AddComplexComponent( (BaseAddon) this, 15291, 0, 4, 3, 0, -1, "Garland", 1);// 212
|
|
AddComplexComponent( (BaseAddon) this, 15292, 3, 3, 3, 0, -1, "Garland", 1);// 213
|
|
AddComplexComponent( (BaseAddon) this, 2594, -3, 2, 11, 0, 1, "", 1);// 215
|
|
AddComplexComponent( (BaseAddon) this, 2594, 1, 2, 11, 0, 1, "", 1);// 216
|
|
AddComplexComponent( (BaseAddon) this, 1824, 1, 2, 6, 1368, -1, "", 1);// 217
|
|
AddComplexComponent( (BaseAddon) this, 9003, -1, 4, 13, 1075, -1, "", 1);// 228
|
|
AddComplexComponent( (BaseAddon) this, 2767, 2, 0, 6, 1371, -1, "Tree Skirt Candycane", 1);// 229
|
|
AddComplexComponent( (BaseAddon) this, 2768, -1, 1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 230
|
|
AddComplexComponent( (BaseAddon) this, 2768, 0, 1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 231
|
|
AddComplexComponent( (BaseAddon) this, 2768, 1, 1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 232
|
|
AddComplexComponent( (BaseAddon) this, 2764, 2, -3, 6, 1371, -1, "Tree Skirt Candycane", 1);// 233
|
|
AddComplexComponent( (BaseAddon) this, 2763, -2, 1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 234
|
|
AddComplexComponent( (BaseAddon) this, 2762, -2, -3, 6, 1371, -1, "Tree Skirt Candycane", 1);// 235
|
|
AddComplexComponent( (BaseAddon) this, 2761, 2, 1, 6, 1371, -1, "Tree Skirt Candycane", 1);// 236
|
|
AddComplexComponent( (BaseAddon) this, 2760, -1, 0, 6, 1153, -1, "Tree Skirt Candycane", 1);// 237
|
|
AddComplexComponent( (BaseAddon) this, 2760, -1, -2, 6, 1153, -1, "Tree Skirt Candycane", 1);// 238
|
|
AddComplexComponent( (BaseAddon) this, 2760, 1, -2, 6, 1153, -1, "Tree Skirt Candycane", 1);// 239
|
|
AddComplexComponent( (BaseAddon) this, 2760, 1, 0, 6, 1153, -1, "Tree Skirt Candycane", 1);// 240
|
|
AddComplexComponent( (BaseAddon) this, 2760, 0, -1, 6, 1153, -1, "Tree Skirt Candycane", 1);// 241
|
|
AddComplexComponent( (BaseAddon) this, 9010, 4, -3, 6, 0, 1, "Lights", 1);// 247
|
|
AddComplexComponent( (BaseAddon) this, 9014, 1, 5, 0, 0, 1, "lights", 1);// 248
|
|
AddComplexComponent( (BaseAddon) this, 9014, -2, 5, 1, 0, 1, "Lights", 1);// 249
|
|
AddComplexComponent( (BaseAddon) this, 9010, 4, 3, 8, 0, 1, "Lights", 1);// 250
|
|
|
|
}
|
|
|
|
public GazeboChristmasLargeAddon( 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 GazeboChristmasLargeAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new GazeboChristmasLargeAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public GazeboChristmasLargeAddonDeed()
|
|
{
|
|
Name = "GazeboChristmasLarge";
|
|
}
|
|
|
|
public GazeboChristmasLargeAddonDeed( 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();
|
|
}
|
|
}
|
|
} |