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

179 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 waterfallpatiowoodAddon : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{4944, -4, -2, 0}, {4945, -4, -3, 0}, {4946, -4, -2, 0}// 1 2 3
, {4947, -3, -2, 0}, {4943, -5, -2, 0}, {4952, -4, -2, 12}// 4 5 6
, {4951, -5, -2, 12}, {4953, -4, -3, 12}, {4943, -3, -1, 20}// 7 8 9
, {4944, -2, -1, 20}, {4946, -2, 0, 40}, {4947, -1, 0, 40}// 10 11 12
, {13591, -2, -3, 10}, {13591, -1, -3, 0}, {13591, 0, -2, 22}// 13 14 15
, {13591, -2, -3, 0}, {13585, -1, -2, 28}, {13585, 1, -1, 38}// 16 17 18
, {13597, -2, -2, 0}, {13597, -1, -2, 0}, {13603, -2, -1, 0}// 19 20 21
, {13603, -1, -1, 0}, {13422, -3, -2, 0}, {13422, -3, -1, 0}// 22 23 24
, {4943, 0, -2, 0}, {4944, 1, -2, 0}, {4945, 1, -3, 0}// 25 26 27
, {4946, 1, -1, 20}, {4947, 2, -1, 20}, {4951, 1, -2, 35}// 28 29 30
, {4952, 1, -2, 35}, {4953, 2, -3, 35}, {4948, 1, -2, 20}// 31 32 33
, {4952, 2, -2, 35}, {4948, 2, -2, 20}, {13422, 0, -2, 0}// 34 35 36
, {13422, 0, -1, 0}, {13422, -3, 0, 0}, {13422, -3, 1, 0}// 37 38 39
, {13422, -3, 2, 0}, {13422, -2, 0, 0}, {13422, -2, 1, 0}// 40 41 42
, {13422, -2, 2, 0}, {13422, -1, 0, 0}, {13422, -1, 1, 0}// 43 44 45
, {13422, -1, 2, 0}, {13422, 0, 0, 0}, {13422, 0, 1, 0}// 46 47 48
, {13422, 0, 2, 0}, {13484, -2, 1, 1}, {13485, 0, 0, 1}// 49 50 51
, {8114, -3, 0, 1}, {8114, -1, 0, 1}, {6046, 1, -2, 0}// 52 53 54
, {6046, 1, -1, 0}, {6046, 1, 0, 0}, {6046, 1, 1, 0}// 55 56 57
, {6046, 1, 2, 0}, {6055, 1, 3, 0}, {6052, -4, -1, 0}// 58 59 60
, {6052, -4, 0, 0}, {6052, -4, 1, 0}, {6052, -4, 2, 0}// 61 62 63
, {6056, -4, 3, 0}, {6050, -3, 3, 0}, {6050, -2, 3, 0}// 64 65 66
, {6050, -1, 3, 0}, {6050, 0, 3, 0}, {1997, -3, -8, 50}// 67 68 77
, {1997, -3, -7, 50}, {1997, -3, -6, 50}, {1997, -3, -5, 50}// 78 79 80
, {1997, -3, -4, 50}, {1997, -3, -3, 50}, {1997, -3, -2, 50}// 81 82 83
, {1997, -2, -8, 50}, {1997, -2, -7, 50}, {1997, -2, -6, 50}// 84 85 86
, {1997, -2, -5, 50}, {1997, -2, -4, 50}, {1997, -2, -3, 50}// 87 88 89
, {1997, -2, -2, 50}, {1997, -1, -8, 50}, {1997, -1, -7, 50}// 90 91 92
, {1997, -1, -6, 50}, {1997, -1, -5, 50}, {1997, -1, -4, 50}// 93 94 95
, {1997, -1, -3, 50}, {1997, -1, -2, 50}, {1997, 0, -8, 50}// 96 97 98
, {1997, 0, -7, 50}, {1997, 0, -6, 50}, {1997, 0, -5, 50}// 99 100 101
, {1997, 0, -4, 50}, {1997, 0, -3, 50}, {1997, 0, -2, 50}// 102 103 104
, {1997, 1, -8, 50}, {1997, 1, -7, 50}, {1997, 1, -6, 50}// 105 106 107
, {1997, 1, -5, 50}, {1997, 1, -4, 50}, {1997, 1, -3, 50}// 108 109 110
, {1997, 1, -2, 50}, {1997, 2, -8, 50}, {1997, 2, -7, 50}// 111 112 113
, {1997, 2, -6, 50}, {1997, 2, -5, 50}, {1997, 2, -4, 50}// 114 115 116
, {1997, 2, -3, 50}, {1997, 2, -2, 50}, {8627, -4, -8, 50}// 117 118 119
, {8627, -4, -7, 50}, {8627, -4, -6, 50}, {8627, -4, -5, 50}// 120 121 122
, {8627, -4, -4, 50}, {8627, -4, -3, 50}, {8627, -4, -2, 50}// 123 124 125
, {8629, -3, -9, 50}, {8629, -2, -9, 50}, {8629, -1, -9, 50}// 126 127 128
, {8629, 0, -9, 50}, {8629, 1, -9, 50}, {8629, 2, -9, 50}// 129 130 131
, {8626, -2, -2, 50}, {8626, -1, -2, 50}, {8626, 0, -2, 50}// 132 133 134
, {8626, 1, -2, 50}, {8626, 2, -2, 50}, {328, -4, -1, 51}// 135 136 137
, {157, -4, -9, 51}, {1997, 3, -8, 50}, {1997, 3, -7, 50}// 138 142 143
, {1997, 3, -6, 50}, {1997, 3, -5, 50}, {1997, 3, -4, 50}// 144 145 146
, {1997, 3, -3, 50}, {1997, 3, -2, 50}, {1997, 4, -8, 50}// 147 148 149
, {1997, 4, -7, 50}, {1997, 4, -6, 50}, {1997, 4, -5, 50}// 150 151 152
, {1997, 4, -4, 50}, {1997, 4, -3, 50}, {1997, 4, -2, 50}// 153 154 155
, {1997, 5, -8, 50}, {1997, 5, -7, 50}, {1997, 5, -6, 50}// 156 157 158
, {1997, 5, -5, 50}, {1997, 5, -4, 50}, {1997, 5, -3, 50}// 159 160 161
, {1997, 5, -2, 50}, {8629, 3, -9, 50}, {8629, 5, -9, 50}// 162 163 164
, {8627, 5, -8, 50}, {8627, 5, -7, 50}, {8627, 5, -6, 50}// 165 166 167
, {8627, 5, -5, 50}, {8627, 5, -4, 50}, {8627, 5, -2, 50}// 168 169 170
, {8626, 3, -2, 50}, {8626, 4, -2, 50}, {8626, 5, -2, 50}// 171 172 173
, {157, 5, -9, 51}, {8626, 4, -9, 50}, {157, 5, -2, 51}// 174 175 176
, {165, 5, -3, 50}// 177
};
public override BaseAddonDeed Deed
{
get
{
return new waterfallpatiowoodAddonDeed();
}
}
[ Constructable ]
public waterfallpatiowoodAddon()
{
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, 1007, -3, -1, 45, 643, -1, "", 1);// 69
AddComplexComponent( (BaseAddon) this, 1007, -3, 0, 41, 643, -1, "", 1);// 70
AddComplexComponent( (BaseAddon) this, 1007, -3, 1, 37, 643, -1, "", 1);// 71
AddComplexComponent( (BaseAddon) this, 1007, -3, 2, 33, 643, -1, "", 1);// 72
AddComplexComponent( (BaseAddon) this, 1007, -3, 3, 29, 643, -1, "", 1);// 73
AddComplexComponent( (BaseAddon) this, 1007, -3, 4, 25, 643, -1, "", 1);// 74
AddComplexComponent( (BaseAddon) this, 1007, -3, 5, 21, 643, -1, "", 1);// 75
AddComplexComponent( (BaseAddon) this, 1007, -3, 6, 16, 643, -1, "", 1);// 76
AddComplexComponent( (BaseAddon) this, 1007, -3, 7, 11, 643, -1, "", 1);// 139
AddComplexComponent( (BaseAddon) this, 1007, -3, 8, 7, 643, -1, "", 1);// 140
AddComplexComponent( (BaseAddon) this, 1007, -3, 9, 2, 643, -1, "", 1);// 141
}
public waterfallpatiowoodAddon( 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 waterfallpatiowoodAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new waterfallpatiowoodAddon();
}
}
[Constructable]
public waterfallpatiowoodAddonDeed()
{
Name = "waterfallpatiowood";
}
public waterfallpatiowoodAddonDeed( 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();
}
}
}