Files
abysmal-isle/Scripts/Scripts-master/Addons2/smallxmasparkwithfirepitAddon.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

173 lines
7.6 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 smallxmasparkwithfirepitAddon : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{7038, -2, -3, 0}, {6077, 0, -2, 0}, {6077, 0, -1, 0}// 15 22 23
, {6077, 0, 0, 0}, {6077, 0, 1, 0}, {6077, 1, -2, 0}// 24 25 26
, {6077, 1, -1, 0}, {6077, 1, 0, 0}, {6077, 1, 1, 0}// 27 28 29
, {6077, 2, -2, 0}, {6077, 2, -1, 0}, {6077, 2, 0, 0}// 30 31 32
, {6077, 2, 1, 0}, {6091, 0, -4, 0}, {6091, 1, -4, 0}// 33 34 35
, {6091, 2, -4, 0}, {6077, 0, -3, 0}, {6077, 1, -3, 0}// 36 37 38
, {6077, 2, -3, 0}, {6085, -3, -4, 0}, {6086, 3, -4, 0}// 39 40 41
, {6090, -3, -3, 0}, {6090, -3, -2, 0}, {6090, -3, -1, 0}// 42 43 44
, {6090, -3, 0, 0}, {6090, -3, 1, 0}, {6092, 3, -3, 0}// 45 46 47
, {6092, 3, -2, 0}, {6092, 3, -1, 0}, {6092, 3, 0, 0}// 48 49 50
, {6092, 3, 1, 0}, {6077, -1, -3, 0}, {6077, -1, -2, 0}// 51 52 53
, {6077, -1, -1, 0}, {6077, -1, 0, 0}, {6077, -1, 1, 0}// 54 55 56
, {6091, -1, -4, 0}, {6091, -2, -4, 0}, {6077, -2, -3, 0}// 57 58 59
, {6077, -2, -2, 0}, {6077, -2, -1, 0}, {6077, -2, 0, 0}// 60 61 62
, {6077, -2, 1, 0}, {11229, -1, -1, 0}, {11231, -1, -2, 0}// 63 64 65
, {11229, -3, -2, 0}, {11231, -3, 0, 0}, {11231, -1, 0, 0}// 66 67 68
, {11232, 2, -2, 0}, {11230, 1, -3, 0}, {11230, 0, 1, 0}// 69 70 71
, {7038, -2, 3, 0}, {6077, 0, 2, 0}, {6077, 1, 2, 0}// 81 88 89
, {6077, 2, 2, 0}, {6089, 1, 4, 0}, {6089, 2, 4, 0}// 90 91 92
, {6077, 0, 3, 0}, {6077, 1, 3, 0}, {6077, 2, 3, 0}// 93 94 95
, {6087, 3, 4, 0}, {6090, -3, 2, 0}, {6090, -3, 3, 0}// 96 97 98
, {6092, 3, 2, 0}, {6092, 3, 3, 0}, {6089, 0, 4, 0}// 99 100 101
, {6088, -3, 4, 0}, {6077, -1, 2, 0}, {6077, -1, 3, 0}// 102 103 104
, {6089, -1, 4, 0}, {6089, -2, 4, 0}, {6077, -2, 2, 0}// 105 106 107
, {6077, -2, 3, 0}, {11229, 0, 3, 0}, {11232, 2, 3, 0}// 108 109 110
, {11230, 2, 2, 0}// 111
};
public override BaseAddonDeed Deed
{
get
{
return new smallxmasparkwithfirepitAddonDeed();
}
}
[ Constructable ]
public smallxmasparkwithfirepitAddon()
{
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, 9000, 0, -3, 0, 569, -1, "", 1);// 1
AddComplexComponent( (BaseAddon) this, 6255, -1, 0, 0, 1153, -1, "Snow Ball", 1);// 2
AddComplexComponent( (BaseAddon) this, 6255, -2, -1, 0, 1153, -1, "Snow Ball", 1);// 3
AddComplexComponent( (BaseAddon) this, 6255, -2, 0, 0, 1153, -1, "Snow Ball", 1);// 4
AddComplexComponent( (BaseAddon) this, 6255, -3, 1, 0, 1153, -1, "Snow Ball", 1);// 5
AddComplexComponent( (BaseAddon) this, 6255, 1, -3, 0, 1153, -1, "Snow Ball", 1);// 6
AddComplexComponent( (BaseAddon) this, 6255, 1, -2, 0, 1153, -1, "Snow Ball", 1);// 7
AddComplexComponent( (BaseAddon) this, 6255, 2, -1, 0, 1153, -1, "Snow Ball", 1);// 8
AddComplexComponent( (BaseAddon) this, 6255, 2, 0, 0, 1153, -1, "Snow Ball", 1);// 9
AddComplexComponent( (BaseAddon) this, 6255, 2, -3, 0, 1153, -1, "Snow Ball", 1);// 10
AddComplexComponent( (BaseAddon) this, 6255, 1, -1, 0, 1153, -1, "Snow Ball", 1);// 11
AddComplexComponent( (BaseAddon) this, 6255, 1, 1, 0, 1153, -1, "Snow Ball", 1);// 12
AddComplexComponent( (BaseAddon) this, 15872, 2, 0, 0, 2006, -1, "", 1);// 13
AddComplexComponent( (BaseAddon) this, 15872, 2, -1, 0, 2006, -1, "", 1);// 14
AddComplexComponent( (BaseAddon) this, 7878, -1, -2, 30, 2673, -1, "flashing lights", 1);// 16
AddComplexComponent( (BaseAddon) this, 7878, -1, -2, 25, 2581, -1, "flashing lights", 1);// 17
AddComplexComponent( (BaseAddon) this, 7878, -1, -2, 20, 2673, -1, "flashing lights", 1);// 18
AddComplexComponent( (BaseAddon) this, 7878, -1, -2, 15, 2581, -1, "flashing lights", 1);// 19
AddComplexComponent( (BaseAddon) this, 10299, -2, -3, 32, 2293, -1, "Tree Topper", 1);// 20
AddComplexComponent( (BaseAddon) this, 7878, -1, -2, 35, 2581, -1, "flashing lights", 1);// 21
AddComplexComponent( (BaseAddon) this, 10749, 0, 0, 0, 0, 1, "", 1);// 72
AddComplexComponent( (BaseAddon) this, 9001, -1, 2, 0, 978, -1, "", 1);// 73
AddComplexComponent( (BaseAddon) this, 6255, 0, 3, 0, 1153, -1, "Snow Ball", 1);// 74
AddComplexComponent( (BaseAddon) this, 6255, 0, 3, 0, 1153, -1, "Snow Ball", 1);// 75
AddComplexComponent( (BaseAddon) this, 6255, 0, 2, 0, 1153, -1, "Snow Ball", 1);// 76
AddComplexComponent( (BaseAddon) this, 6255, 1, 2, 0, 1153, -1, "Snow Ball", 1);// 77
AddComplexComponent( (BaseAddon) this, 6255, 1, 3, 0, 1153, -1, "Snow Ball", 1);// 78
AddComplexComponent( (BaseAddon) this, 6255, 2, 3, 0, 1153, -1, "Snow Ball", 1);// 79
AddComplexComponent( (BaseAddon) this, 6255, 2, 2, 0, 1153, -1, "Snow Ball", 1);// 80
AddComplexComponent( (BaseAddon) this, 7878, -1, 4, 30, 2673, -1, "flashing lights", 1);// 82
AddComplexComponent( (BaseAddon) this, 7878, -1, 4, 25, 2581, -1, "flashing lights", 1);// 83
AddComplexComponent( (BaseAddon) this, 7878, -1, 4, 20, 2673, -1, "flashing lights", 1);// 84
AddComplexComponent( (BaseAddon) this, 7878, -1, 4, 15, 2581, -1, "flashing lights", 1);// 85
AddComplexComponent( (BaseAddon) this, 10299, -2, 3, 32, 2293, -1, "Tree Topper", 1);// 86
AddComplexComponent( (BaseAddon) this, 7878, -1, 4, 35, 2581, -1, "flashing lights", 1);// 87
}
public smallxmasparkwithfirepitAddon( 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 smallxmasparkwithfirepitAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new smallxmasparkwithfirepitAddon();
}
}
[Constructable]
public smallxmasparkwithfirepitAddonDeed()
{
Name = "smallxmasparkwithfirepit";
}
public smallxmasparkwithfirepitAddonDeed( 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();
}
}
}