Files
abysmal-isle/Scripts/Scripts-master/Addons2/trambritspringAddon.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

209 lines
9.4 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 trambritspringAddon : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{6013, -7, -7, 0}, {6013, -7, -6, 0}, {6013, -6, -7, 0}// 1 2 3
, {6013, -6, -6, 0}, {6013, -5, -7, 0}, {6013, -5, -6, 0}// 4 5 6
, {6013, -4, -7, 0}, {6013, -4, -6, 0}, {6013, -3, -7, 0}// 7 8 9
, {6013, -3, -6, 0}, {6013, -2, -7, 0}, {6013, -2, -6, 0}// 10 11 12
, {6013, -1, -7, 0}, {6013, -1, -6, 0}, {6013, 0, -7, 0}// 13 14 15
, {6013, 0, -6, 0}, {3379, -4, -7, 0}, {6013, -7, -5, 0}// 16 17 18
, {6013, -7, -4, 0}, {6013, -7, -3, 0}, {6013, -7, -2, 0}// 19 20 21
, {6013, -7, -1, 0}, {6013, -7, 0, 0}, {6013, -6, -5, 0}// 22 23 24
, {6013, -6, -4, 0}, {6013, -6, -3, 0}, {6013, -6, -2, 0}// 25 26 27
, {6013, -6, -1, 0}, {6013, -6, 0, 0}, {6013, -5, -5, 0}// 28 29 30
, {6013, -5, -4, 0}, {6013, -5, -3, 0}, {6013, -5, -2, 0}// 31 32 33
, {6013, -5, -1, 0}, {6013, -5, 0, 0}, {6013, -4, -5, 0}// 34 35 36
, {6013, -4, -4, 0}, {6013, -4, -3, 0}, {6013, -4, -2, 0}// 37 38 39
, {6013, -4, -1, 0}, {6013, -4, 0, 0}, {6013, -3, -5, 0}// 40 41 42
, {6013, -3, -4, 0}, {6013, -3, -3, 0}, {6013, -3, -2, 0}// 43 44 45
, {6013, -3, -1, 0}, {6013, -3, 0, 0}, {6013, -2, -5, 0}// 46 47 48
, {6013, -2, -4, 0}, {6013, -2, -3, 0}, {6013, -2, -2, 0}// 49 50 51
, {6013, -2, -1, 0}, {6013, -2, 0, 0}, {6013, -1, -5, 0}// 52 53 54
, {6013, -1, -4, 0}, {6013, -1, -3, 0}, {6013, -1, -2, 0}// 55 56 57
, {6013, -1, -1, 0}, {6013, -1, 0, 0}, {6013, 0, -5, 0}// 58 59 60
, {6013, 0, -4, 0}, {6013, 0, -3, 0}, {6013, 0, -2, 0}// 61 62 63
, {6013, 0, 0, 0}, {6013, -7, 1, 0}, {6013, -7, 2, 0}// 64 65 66
, {6013, -7, 3, 0}, {6013, -7, 4, 0}, {6013, -6, 1, 0}// 67 68 69
, {6013, -6, 2, 0}, {6013, -6, 3, 0}, {6013, -6, 4, 0}// 70 71 72
, {6013, -5, 1, 0}, {6013, -5, 2, 0}, {6013, -5, 3, 0}// 73 74 75
, {6013, -5, 4, 0}, {6013, -4, 1, 0}, {6013, -4, 2, 0}// 76 77 78
, {6013, -4, 3, 0}, {6013, -4, 4, 0}, {6013, -3, 1, 0}// 79 80 81
, {6013, -3, 2, 0}, {6013, -3, 3, 0}, {6013, -3, 4, 0}// 82 83 84
, {6013, -2, 1, 0}, {6013, -2, 2, 0}, {6013, -2, 3, 0}// 85 86 87
, {6013, -2, 4, 0}, {6013, -1, 1, 0}, {6013, -1, 2, 0}// 88 89 90
, {6013, -1, 3, 0}, {6013, -1, 4, 0}, {6013, 0, 1, 0}// 91 92 93
, {6013, 0, 2, 0}, {6013, 0, 3, 0}, {6013, 0, 4, 0}// 94 95 96
, {6013, 1, 1, 0}, {6013, 1, 2, 0}, {6013, 1, 3, 0}// 97 98 99
, {6013, 1, 4, 0}, {6013, 2, 1, 0}, {6013, 2, 2, 0}// 100 101 102
, {6013, 2, 3, 0}, {6013, 2, 4, 0}, {6013, -7, 5, 0}// 103 104 105
, {6013, -7, 6, 0}, {6013, -7, 7, 0}, {6013, -7, 8, 0}// 106 107 108
, {6013, -6, 5, 0}, {6013, -6, 6, 0}, {6013, -6, 7, 0}// 109 110 111
, {6013, -6, 8, 0}, {6013, -5, 5, 0}, {6013, -5, 6, 0}// 112 113 114
, {6013, -5, 7, 0}, {6013, -5, 8, 0}, {6013, -4, 5, 0}// 115 116 117
, {6013, -4, 6, 0}, {6013, -4, 7, 0}, {6013, -4, 8, 0}// 118 119 120
, {6013, -3, 5, 0}, {6013, -3, 6, 0}, {6013, -3, 7, 0}// 121 122 123
, {6013, -3, 8, 0}, {6013, -2, 5, 0}, {6013, -2, 6, 0}// 124 125 126
, {6013, -2, 7, 0}, {6013, -2, 8, 0}, {6013, -1, 5, 0}// 127 128 129
, {6013, -1, 6, 0}, {6013, -1, 7, 0}, {6013, -1, 8, 0}// 130 131 132
, {6013, 0, 5, 0}, {6013, 0, 6, 0}, {6013, 0, 7, 0}// 133 134 135
, {6013, 0, 8, 0}, {6013, 1, 5, 0}, {6013, 1, 6, 0}// 136 137 138
, {6013, 1, 7, 0}, {6013, 1, 8, 0}, {6013, 2, 5, 0}// 139 140 141
, {6013, 2, 6, 0}, {6013, 2, 7, 0}, {6013, 2, 8, 0}// 142 143 144
, {3484, -6, 6, 0}, {3486, -5, 7, 10}, {3379, -6, 6, 0}// 145 146 147
, {3208, -5, 7, 0}, {6059, -6, 0, 0}, {6059, -5, 1, 0}// 148 150 151
, {6059, -4, 2, 0}, {6051, -4, 3, 0}, {6057, -3, 3, 0}// 152 153 154
, {6057, -4, 1, 0}, {6057, -5, 0, 0}, {6057, -6, -1, 0}// 155 156 157
, {6057, -7, -2, 0}, {6056, -5, 2, 0}, {6056, -6, 1, 0}// 158 159 160
, {6053, -7, -3, 0}, {6053, -6, -2, 0}, {6053, -5, -1, 0}// 161 162 163
, {6053, -4, 0, 0}, {6059, -7, -1, 0}, {6064, -7, 0, 0}// 164 165 166
, {6046, -3, 2, 0}, {6053, -3, 1, 0}, {6047, -2, 3, 0}// 167 168 169
, {6048, -1, 3, 0}, {6047, 0, 3, 0}, {6057, 1, 4, 0}// 170 171 172
, {6057, 2, 5, 0}, {6053, 2, 4, 0}, {6053, 1, 3, 0}// 173 174 175
, {6059, -3, 6, 0}, {6059, -2, 7, 0}, {6060, -2, 8, 0}// 176 177 178
, {6052, -4, 4, 0}, {6051, -4, 5, 0}, {6056, -4, 6, 0}// 179 180 181
, {6056, -3, 7, 0}, {6054, -3, 8, 0}, {6039, -3, 4, 0}// 182 183 184
, {6039, -3, 5, 0}, {6039, -2, 6, 0}, {6039, -2, 5, 0}// 185 186 187
, {6039, -2, 4, 0}, {6039, -1, 4, 0}, {6039, 0, 4, 0}// 188 189 190
, {6039, 1, 5, 0}, {6039, -1, 8, 0}, {6039, -1, 5, 0}// 191 192 193
, {6039, 0, 5, 0}, {6039, -1, 6, 0}, {6039, 0, 6, 0}// 194 195 196
, {6039, 1, 6, 0}, {6039, 2, 6, 0}, {6039, -1, 7, 0}// 197 198 199
, {6039, 0, 8, 0}, {6039, 1, 8, 0}, {6039, 2, 8, 0}// 200 201 202
, {6039, 2, 7, 0}, {6039, 1, 7, 0}, {6039, 0, 7, 0}// 203 204 205
, {6013, 0, -1, 0}, {3219, -5, -1, 0}, {3219, -3, 8, 0}// 206 207 208
, {3209, -2, 0, 0}, {3208, -3, 0, 9}, {3262, -1, -1, 0}// 209 210 211
, {6809, -3, 0, 0}, {6810, 0, -2, 6}, {6811, -1, -1, 8}// 212 213 214
, {3204, -1, -5, 0}, {3223, -2, 0, 4}, {3223, 0, -3, 4}// 215 216 217
, {3127, -3, 0, 11}, {3144, -2, 2, 0}, {3144, -1, 3, 0}// 218 219 220
, {3144, 1, 3, 0}, {3149, -5, 7, 0}, {3149, 0, -5, 0}// 221 222 223
, {3149, -6, 2, 0}, {3208, -2, 8, 6}, {4967, -4, 4, 0}// 224 225 226
, {4970, -1, 3, 0}, {4973, 2, 4, 0}, {6013, 3, 1, 0}// 227 228 229
, {6013, 3, 2, 0}, {6013, 3, 3, 0}, {6013, 3, 4, 0}// 230 231 232
, {6013, 4, 1, 0}, {6013, 4, 2, 0}, {6013, 4, 3, 0}// 233 234 235
, {6013, 4, 4, 0}, {6013, 5, 1, 0}, {6013, 5, 2, 0}// 236 237 238
, {6013, 5, 3, 0}, {6013, 5, 4, 0}, {6013, 6, 1, 0}// 239 240 241
, {6013, 6, 2, 0}, {6013, 6, 3, 0}, {6013, 6, 4, 0}// 242 243 244
, {6013, 7, 1, 0}, {6013, 7, 2, 0}, {6013, 7, 3, 0}// 245 246 247
, {6013, 7, 4, 0}, {6013, 3, 5, 0}, {6013, 3, 6, 0}// 248 249 250
, {6013, 3, 7, 0}, {6013, 3, 8, 0}, {6013, 4, 5, 0}// 251 252 253
, {6013, 4, 6, 0}, {6013, 4, 7, 0}, {6013, 4, 8, 0}// 254 255 256
, {6013, 5, 5, 0}, {6013, 5, 6, 0}, {6013, 5, 7, 0}// 257 258 259
, {6013, 5, 8, 0}, {6013, 6, 5, 0}, {6013, 6, 6, 0}// 260 261 262
, {6013, 6, 7, 0}, {6013, 6, 8, 0}, {6013, 7, 5, 0}// 263 264 265
, {6013, 7, 6, 0}, {6013, 7, 7, 0}, {6013, 7, 8, 0}// 266 267 268
, {6013, 8, 5, 0}, {6013, 8, 6, 0}, {6013, 8, 7, 0}// 269 270 271
, {6013, 8, 8, 0}, {3476, 8, 6, 0}, {3478, 8, 6, 0}// 272 273 274
, {3379, 8, 6, 0}, {6057, 3, 6, 0}, {6057, 4, 7, 0}// 275 276 277
, {6053, 3, 5, 0}, {6053, 4, 6, 0}, {6046, 5, 8, 0}// 278 279 280
, {6053, 5, 7, 0}, {6039, 3, 7, 0}, {6039, 4, 8, 0}// 281 282 283
, {6039, 3, 8, 0}, {3219, 5, 8, 0}, {3149, 8, 7, 0}// 284 285 286
, {4965, 4, 7, 0}, {4967, 4, 6, 0}// 287 288
};
public override BaseAddonDeed Deed
{
get
{
return new trambritspringAddonDeed();
}
}
[ Constructable ]
public trambritspringAddon()
{
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, 10296, -5, 7, 26, 1328, -1, "", 1);// 149
}
public trambritspringAddon( 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 trambritspringAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new trambritspringAddon();
}
}
[Constructable]
public trambritspringAddonDeed()
{
Name = "trambritspring";
}
public trambritspringAddonDeed( 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();
}
}
}