Files
abysmal-isle/Scripts/Scripts-master/Addons/Houses/rattanstableAddon.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

226 lines
11 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 rattanstableAddon : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{12788, 5, -5, 7}, {11773, 5, -5, 0}, {11584, 5, -5, 7}// 1 2 3
, {11726, 5, -5, 27}, {11580, 5, -5, 27}, {12788, 5, -2, 7}// 4 5 6
, {11773, 5, -2, 0}, {11584, 5, -2, 7}, {11578, 5, -2, 27}// 7 8 9
, {11580, 5, -2, 27}, {12788, 5, 1, 7}, {11773, 5, 1, 0}// 10 11 12
, {11584, 5, 1, 7}, {11578, 5, 1, 27}, {11580, 5, 1, 27}// 13 14 15
, {12788, 5, 4, 7}, {11773, 5, 4, 0}, {11584, 5, 4, 7}// 16 17 18
, {11578, 5, 4, 27}, {11580, 5, 4, 27}, {12788, -3, 1, 7}// 19 20 21
, {11578, -3, 1, 27}, {11773, -4, 1, 0}, {11584, -4, 1, 7}// 22 23 24
, {11580, -4, 1, 27}, {12788, 1, -1, 7}, {11502, 1, -1, 27}// 25 26 27
, {12788, -3, 4, 7}, {11578, -3, 4, 27}, {12788, -3, 5, 7}// 28 29 30
, {11774, -3, 5, 0}, {11585, -3, 5, 7}, {11724, -3, 5, 27}// 31 32 33
, {11581, -3, 5, 27}, {11773, -4, 5, 0}, {11584, -4, 5, 7}// 34 35 36
, {11580, -4, 5, 27}, {11774, -2, -6, 0}, {11585, -2, -6, 7}// 37 38 39
, {11581, -2, -6, 27}, {12788, 0, -5, 7}, {11582, 0, -5, 7}// 40 41 42
, {11576, 0, -5, 27}, {12788, 1, 5, 7}, {11774, 1, 5, 0}// 43 44 45
, {11585, 1, 5, 7}, {11576, 1, 5, 27}, {11581, 1, 5, 27}// 46 47 48
, {12788, 0, 5, 7}, {11774, 0, 5, 0}, {11545, 0, 5, 7}// 49 50 51
, {11576, 0, 5, 27}, {11581, 0, 5, 27}, {12788, -1, 5, 7}// 52 53 54
, {11774, -1, 5, 0}, {11585, -1, 5, 7}, {11576, -1, 5, 27}// 55 56 57
, {11581, -1, 5, 27}, {11773, -4, -5, 0}, {11584, -4, -5, 7}// 58 59 60
, {11580, -4, -5, 27}, {12788, 1, 1, 7}, {11502, 1, 1, 27}// 61 62 63
, {12788, -2, 3, 7}, {11583, -2, 3, 7}, {11578, -2, 3, 27}// 64 65 66
, {12788, 1, 3, 7}, {11576, 1, 3, 27}, {12788, -3, 0, 7}// 67 68 69
, {11583, -3, 0, 7}, {11578, -3, 0, 27}, {12788, -1, 1, 7}// 70 71 72
, {11578, -1, 1, 27}, {12788, -2, 1, 7}, {11578, -2, 1, 27}// 73 74 75
, {12788, -3, -3, 7}, {11583, -3, -3, 7}, {11578, -3, -3, 27}// 76 77 78
, {12788, -2, -4, 7}, {11725, -2, -4, 27}, {12788, -2, -3, 7}// 79 80 81
, {11583, -2, -3, 7}, {11578, -2, -3, 27}, {12788, -2, 0, 7}// 82 83 84
, {11583, -2, 0, 7}, {11578, -2, 0, 27}, {11774, 2, -6, 0}// 85 86 87
, {11585, 2, -6, 7}, {11581, 2, -6, 27}, {12788, 1, 0, 7}// 88 89 90
, {11502, 1, 0, 27}, {11774, 1, -6, 0}, {11585, 1, -6, 7}// 91 92 93
, {11581, 1, -6, 27}, {12788, 0, 0, 7}, {11545, 0, 0, 7}// 94 95 96
, {11578, 0, 0, 27}, {12788, 2, 1, 7}, {11578, 2, 1, 27}// 97 98 99
, {12788, 2, 4, 7}, {11576, 2, 4, 27}, {11774, 3, -6, 0}// 100 101 102
, {11585, 3, -6, 7}, {11581, 3, -6, 27}, {12788, 3, -3, 7}// 103 104 105
, {11726, 3, -3, 27}, {12788, 3, 0, 7}, {11578, 3, 0, 27}// 106 107 108
, {12788, 3, 3, 7}, {11723, 3, 3, 27}, {1849, 3, 6, 0}// 109 110 111
, {12788, 4, -4, 7}, {11726, 4, -4, 27}, {12788, 4, -1, 7}// 112 113 114
, {11578, 4, -1, 27}, {12788, 4, 2, 7}, {11578, 4, 2, 27}// 115 116 117
, {12788, 4, 5, 7}, {11774, 4, 5, 0}, {11585, 4, 5, 7}// 118 119 120
, {11576, 4, 5, 27}, {11581, 4, 5, 27}, {12788, 5, -4, 7}// 121 122 123
, {11773, 5, -4, 0}, {11584, 5, -4, 7}, {11578, 5, -4, 27}// 124 125 126
, {11580, 5, -4, 27}, {12788, 5, -1, 7}, {11773, 5, -1, 0}// 127 128 129
, {11584, 5, -1, 7}, {11578, 5, -1, 27}, {11580, 5, -1, 27}// 130 131 132
, {12788, 5, 2, 7}, {11773, 5, 2, 0}, {11584, 5, 2, 7}// 133 134 135
, {11578, 5, 2, 27}, {11580, 5, 2, 27}, {12788, 5, 5, 7}// 136 137 138
, {11771, 5, 5, 0}, {11546, 5, 5, 7}, {11723, 5, 5, 27}// 139 140 141
, {11544, 5, 5, 27}, {12788, 1, -3, 7}, {11576, 1, -3, 27}// 142 143 144
, {12788, 2, -5, 7}, {11576, 2, -5, 27}, {12788, 0, -3, 7}// 145 146 147
, {11545, 0, -3, 7}, {11576, 0, -3, 27}, {11773, -4, 3, 0}// 148 149 150
, {11584, -4, 3, 7}, {11580, -4, 3, 27}, {12788, 0, -1, 7}// 151 152 153
, {11578, 0, -1, 27}, {12788, -1, -1, 7}, {11578, -1, -1, 27}// 154 155 156
, {12788, 1, -5, 7}, {11576, 1, -5, 27}, {12788, -1, -3, 7}// 157 158 159
, {11583, -1, -3, 7}, {11725, -1, -3, 27}, {12788, -1, -5, 7}// 160 161 162
, {11576, -1, -5, 27}, {11774, -1, -6, 0}, {11585, -1, -6, 7}// 163 164 165
, {11581, -1, -6, 27}, {11773, -4, -4, 0}, {11584, -4, -4, 7}// 166 167 168
, {11580, -4, -4, 27}, {12788, -3, -4, 7}, {11578, -3, -4, 27}// 169 170 171
, {12788, -1, 3, 7}, {11583, -1, 3, 7}, {11724, -1, 3, 27}// 172 173 174
, {11773, -4, -3, 0}, {11584, -4, -3, 7}, {11580, -4, -3, 27}// 175 176 177
, {12788, 0, 1, 7}, {11582, 0, 1, 7}, {11578, 0, 1, 27}// 178 179 180
, {11773, -4, -1, 0}, {11584, -4, -1, 7}, {11580, -4, -1, 27}// 181 182 183
, {12788, -2, 4, 7}, {11724, -2, 4, 27}, {11773, -4, 0, 0}// 184 185 186
, {11584, -4, 0, 7}, {11580, -4, 0, 27}, {12788, -3, 2, 7}// 187 188 189
, {11578, -3, 2, 27}, {12788, -2, -5, 7}, {11576, -2, -5, 27}// 190 191 192
, {11773, -4, 4, 0}, {11584, -4, 4, 7}, {11580, -4, 4, 27}// 193 194 195
, {12788, 2, -2, 7}, {11726, 2, -2, 27}, {12788, 1, 4, 7}// 196 197 198
, {11576, 1, 4, 27}, {12788, 1, -2, 7}, {11576, 1, -2, 27}// 199 200 201
, {12788, 0, 4, 7}, {11576, 0, 4, 27}, {12788, 2, -1, 7}// 202 203 204
, {11578, 2, -1, 27}, {12788, 2, 2, 7}, {11723, 2, 2, 27}// 205 206 207
, {12788, 2, 5, 7}, {11774, 2, 5, 0}, {11576, 2, 5, 27}// 208 209 210
, {11581, 2, 5, 27}, {12788, 3, -5, 7}, {11576, 3, -5, 27}// 211 212 213
, {12788, 3, -2, 7}, {11578, 3, -2, 27}, {12788, 3, 1, 7}// 214 215 216
, {11578, 3, 1, 27}, {12788, 3, 4, 7}, {11576, 3, 4, 27}// 217 218 219
, {11774, 4, -6, 0}, {11585, 4, -6, 7}, {11581, 4, -6, 27}// 220 221 222
, {12788, 4, -3, 7}, {11578, 4, -3, 27}, {12788, 4, 0, 7}// 223 224 225
, {11578, 4, 0, 27}, {12788, 4, 3, 7}, {11578, 4, 3, 27}// 226 227 228
, {11774, 5, -6, 0}, {11585, 5, -6, 7}, {11581, 5, -6, 27}// 229 230 231
, {12788, 5, -3, 7}, {11773, 5, -3, 0}, {11584, 5, -3, 7}// 232 233 234
, {11578, 5, -3, 27}, {11580, 5, -3, 27}, {12788, 5, 0, 7}// 235 236 237
, {11773, 5, 0, 0}, {11584, 5, 0, 7}, {11578, 5, 0, 27}// 238 239 240
, {11580, 5, 0, 27}, {12788, 5, 3, 7}, {11773, 5, 3, 0}// 241 242 243
, {11584, 5, 3, 7}, {11578, 5, 3, 27}, {11580, 5, 3, 27}// 244 245 246
, {12788, 0, -2, 7}, {11582, 0, -2, 7}, {11725, 0, -2, 27}// 247 248 249
, {12788, -1, 0, 7}, {11583, -1, 0, 7}, {11578, -1, 0, 27}// 250 251 252
, {12788, -2, -2, 7}, {11578, -2, -2, 27}, {12788, -1, -2, 7}// 253 254 255
, {11578, -1, -2, 27}, {11774, 0, -6, 0}, {11585, 0, -6, 7}// 256 257 258
, {11581, 0, -6, 27}, {12788, -1, -4, 7}, {11576, -1, -4, 27}// 259 260 261
, {12788, 0, -4, 7}, {11576, 0, -4, 27}, {12788, 2, -3, 7}// 262 263 264
, {11576, 2, -3, 27}, {11772, -4, -6, 0}, {11549, -4, -6, 7}// 265 266 267
, {11547, -4, -6, 27}, {11774, -3, -6, 0}, {11585, -3, -6, 7}// 268 269 270
, {11581, -3, -6, 27}, {12788, -3, -5, 7}, {11725, -3, -5, 27}// 271 272 273
, {12788, -2, 5, 7}, {11774, -2, 5, 0}, {11585, -2, 5, 7}// 274 275 276
, {11576, -2, 5, 27}, {11581, -2, 5, 27}, {11773, -4, -2, 0}// 277 278 279
, {11584, -4, -2, 7}, {11580, -4, -2, 27}, {12788, -1, 4, 7}// 280 281 282
, {11576, -1, 4, 27}, {12788, -2, 2, 7}, {11578, -2, 2, 27}// 283 284 285
, {12788, -1, 2, 7}, {11578, -1, 2, 27}, {12788, 0, 3, 7}// 286 287 288
, {11545, 0, 3, 7}, {11576, 0, 3, 27}, {12788, -3, -1, 7}// 289 290 291
, {11578, -3, -1, 27}, {12788, -3, -2, 7}, {11578, -3, -2, 27}// 292 293 294
, {12788, -3, 3, 7}, {11583, -3, 3, 7}, {11578, -3, 3, 27}// 295 296 297
, {12788, -2, -1, 7}, {11578, -2, -1, 27}, {11773, -4, 2, 0}// 298 299 300
, {11584, -4, 2, 7}, {11580, -4, 2, 27}, {12788, 2, -4, 7}// 301 302 303
, {11576, 2, -4, 27}, {12788, 1, 2, 7}, {11576, 1, 2, 27}// 304 305 306
, {12788, 1, -4, 7}, {11576, 1, -4, 27}, {12788, 0, 2, 7}// 307 308 309
, {11724, 0, 2, 27}, {12788, 2, 0, 7}, {11578, 2, 0, 27}// 310 311 312
, {12788, 2, 3, 7}, {11576, 2, 3, 27}, {1849, 2, 6, 0}// 313 314 315
, {12788, 3, -4, 7}, {11576, 3, -4, 27}, {12788, 3, -1, 7}// 316 317 318
, {11578, 3, -1, 27}, {12788, 3, 2, 7}, {11578, 3, 2, 27}// 319 320 321
, {12788, 3, 5, 7}, {11774, 3, 5, 0}, {11576, 3, 5, 27}// 322 323 324
, {11581, 3, 5, 27}, {12788, 4, -5, 7}, {11576, 4, -5, 27}// 325 326 327
, {12788, 4, -2, 7}, {11578, 4, -2, 27}, {12788, 4, 1, 7}// 328 329 330
, {11578, 4, 1, 27}, {12788, 4, 4, 7}, {11723, 4, 4, 27}// 331 332 333
, {2968, -4, 6, 7}, {4977, 2, -5, 13}, {2880, 3, -5, 7}// 334 335 336
, {2880, 2, -5, 7}, {3026, -4, 6, 7}, {2880, 4, -5, 7}// 337 338 339
};
public override BaseAddonDeed Deed
{
get
{
return new rattanstableAddonDeed();
}
}
[ Constructable ]
public rattanstableAddon()
{
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, 4978, 3, -5, 13, 0, -1, "Curry Comb", 1);// 340
}
public rattanstableAddon( 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 rattanstableAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new rattanstableAddon();
}
}
[Constructable]
public rattanstableAddonDeed()
{
Name = "rattanstable";
}
public rattanstableAddonDeed( 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();
}
}
}