Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
186
Scripts/Scripts-master/Addons2/tikiloungeAddon.cs
Normal file
186
Scripts/Scripts-master/Addons2/tikiloungeAddon.cs
Normal file
@@ -0,0 +1,186 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class tikiloungeAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{4091, 1, 1, 8}, {1302, -4, -2, 0}, {1425, -1, 4, 23}// 2 3 4
|
||||
, {1425, -2, 0, 20}, {1425, 0, 2, 26}, {1425, -2, 4, 20}// 5 6 7
|
||||
, {2602, 2, 1, 0}, {1302, 1, 3, 0}, {1302, 5, -3, 0}// 8 9 10
|
||||
, {1302, 4, 0, 0}, {1423, 4, 2, 23}, {1302, 0, -4, 0}// 11 12 13
|
||||
, {1302, 2, -6, 0}, {1302, 4, -2, 0}, {1425, -1, -3, 23}// 14 15 16
|
||||
, {1423, 3, -1, 26}, {1302, 4, 2, 0}, {1425, 1, 1, 29}// 17 18 19
|
||||
, {1302, -2, -4, 0}, {2503, 1, -2, 8}, {1302, 4, 3, 0}// 20 21 22
|
||||
, {1302, 3, -3, 0}, {1423, 3, 0, 26}, {1423, 2, 1, 29}// 23 24 25
|
||||
, {1423, 5, 0, 20}, {1425, -1, 0, 23}, {1302, -3, 2, 0}// 26 27 28
|
||||
, {1423, 2, 2, 29}, {1423, 2, 0, 29}, {1423, 5, 3, 20}// 29 30 31
|
||||
, {1425, 0, -1, 26}, {1423, 3, -2, 26}, {1302, 3, 0, 0}// 32 33 34
|
||||
, {1302, -2, 2, 0}, {1423, 4, 0, 23}, {1425, 0, 4, 26}// 35 36 37
|
||||
, {2602, 2, -1, 0}, {1302, 2, 1, 0}, {1425, 1, -1, 29}// 38 39 40
|
||||
, {1302, 2, 4, 0}, {1302, 5, 2, 0}, {1423, 3, -3, 26}// 41 42 43
|
||||
, {10809, -3, 4, 0}, {1302, -2, -2, 0}, {1423, 3, 4, 26}// 44 45 46
|
||||
, {1302, -3, 3, 0}, {1425, 1, -2, 29}, {1302, 0, -1, 0}// 47 48 49
|
||||
, {1425, -1, 1, 23}, {1302, -4, -1, 0}, {1423, 3, 3, 26}// 50 51 52
|
||||
, {1425, 1, -3, 29}, {1302, 1, -4, 0}, {1302, 1, -5, 0}// 53 54 55
|
||||
, {1423, 4, -2, 23}, {1302, 1, 1, 0}, {6424, 1, 1, 0}// 56 57 58
|
||||
, {1302, 1, 2, 0}, {1425, 1, 2, 29}, {1425, 1, 3, 29}// 60 61 62
|
||||
, {1425, 0, 3, 26}, {1425, -2, 1, 20}, {1425, -1, 2, 23}// 63 64 65
|
||||
, {1425, 0, 0, 26}, {1423, 5, 2, 20}, {1425, -2, 2, 20}// 66 67 68
|
||||
, {1425, -1, -1, 23}, {1425, 1, 4, 29}, {2446, -1, 3, 8}// 69 70 71
|
||||
, {1302, 3, 3, 0}, {1302, -2, 3, 0}, {1302, 0, -3, 0}// 72 73 74
|
||||
, {1302, -3, -3, 0}, {3221, 3, -6, 0}, {4091, 1, -1, 8}// 75 76 77
|
||||
, {2602, 2, 0, 0}, {1302, -1, -4, 0}, {1302, 3, 1, 0}// 78 79 80
|
||||
, {1302, -1, -5, 0}, {1302, -1, 0, 0}, {1302, 2, -5, 0}// 81 82 83
|
||||
, {1425, -2, -2, 20}, {1423, 4, -3, 23}, {1302, 2, 2, 0}// 84 85 86
|
||||
, {1423, 5, -2, 20}, {1302, -4, 3, 0}, {1302, -3, 1, 0}// 87 88 89
|
||||
, {1302, -2, 4, 0}, {1425, -2, -3, 20}, {1302, 0, -5, 0}// 90 91 92
|
||||
, {1302, -3, -2, 0}, {1302, 4, -3, 0}, {1302, 1, -6, 0}// 93 94 95
|
||||
, {1302, 3, -2, 0}, {1302, 4, 1, 0}, {1302, -4, 2, 0}// 96 97 98
|
||||
, {1302, 3, -1, 0}, {1302, 2, -2, 0}, {1423, 2, -3, 29}// 99 100 101
|
||||
, {1302, 2, -4, 0}, {1302, -2, 1, 0}, {1302, 5, -2, 0}// 102 103 104
|
||||
, {1302, 2, 0, 0}, {10809, 4, -4, 0}, {1302, 5, 1, 0}// 105 106 107
|
||||
, {2602, 2, -2, 0}, {1302, 2, -3, 0}, {1302, 5, -1, 0}// 108 109 110
|
||||
, {1425, 0, -3, 26}, {1302, 5, 0, 0}, {10809, 4, 4, 0}// 111 112 113
|
||||
, {1302, -3, 0, 0}, {1302, -4, 1, 0}, {1302, -3, -1, 0}// 114 116 117
|
||||
, {1302, -4, -3, 0}, {1302, -1, -3, 0}, {4091, 1, 0, 8}// 118 119 120
|
||||
, {1302, 2, 3, 0}, {1302, 3, -5, 0}, {8086, 0, -3, 8}// 121 122 123
|
||||
, {2466, -1, -3, 8}, {10809, -3, -4, 0}, {2459, 1, 2, 8}// 124 125 126
|
||||
, {1302, 0, -6, 0}, {1302, 3, -4, 0}, {1423, 2, 4, 29}// 127 128 129
|
||||
, {1425, -2, -1, 20}, {1423, 5, -3, 20}, {1423, 2, -2, 29}// 130 131 132
|
||||
, {1423, 4, 3, 23}, {1425, 0, 1, 26}, {1423, 2, -1, 29}// 133 134 135
|
||||
, {1425, 1, 0, 29}, {1423, 4, -1, 23}, {1423, 3, 1, 26}// 136 137 138
|
||||
, {1423, 5, -1, 20}, {1423, 2, 3, 29}, {1423, 4, 4, 23}// 139 140 141
|
||||
, {2602, 2, 2, 0}, {3221, -1, -6, 0}, {1423, 5, 4, 20}// 142 143 144
|
||||
, {6424, 1, 2, 0}, {6424, 1, -1, 0}, {6424, 1, -2, 0}// 145 146 147
|
||||
, {6417, 1, -3, 0}, {6426, 0, 3, 0}, {6426, 0, -3, 0}// 148 149 150
|
||||
, {6426, -1, 3, 0}, {6426, -1, -3, 0}, {6419, 1, 3, 0}// 151 152 153
|
||||
, {1302, 1, 4, 0}, {1302, 0, 4, 0}, {1302, -1, 4, 0}// 154 155 156
|
||||
, {1302, 5, 3, 0}, {1302, -2, 0, 0}, {1302, 0, 3, 0}// 157 158 159
|
||||
, {1302, -1, 3, 0}, {1302, 3, 2, 0}, {1302, 1, -2, 0}// 160 161 162
|
||||
, {1302, 1, -1, 0}, {1302, 0, 1, 0}, {1302, 0, 0, 0}// 163 164 165
|
||||
, {1302, 1, 0, 0}, {1302, 0, -2, 0}, {1302, -1, 1, 0}// 166 167 168
|
||||
, {1302, -2, -3, 0}, {1302, -1, -2, 0}, {1302, -1, 2, 0}// 169 170 171
|
||||
, {1302, 1, -2, 0}, {1302, -4, 0, 0}, {1302, 4, -1, 0}// 172 173 174
|
||||
, {1302, 3, 4, 0}, {6424, 1, 0, 0}, {1302, -1, -1, 0}// 175 176 177
|
||||
, {1302, 1, -3, 0}, {1302, -2, -1, 0}, {1302, 0, 2, 0}// 178 179 180
|
||||
, {1302, 2, -1, 0}, {1425, -1, -2, 23}, {1423, 4, 1, 23}// 181 182 183
|
||||
, {1425, -2, 3, 20}, {1423, 3, 2, 26}, {1423, 5, 1, 20}// 184 185 186
|
||||
, {1425, 0, -2, 26}, {1425, -1, 3, 23}, {1423, 5, 5, 20}// 187 188 189
|
||||
, {1302, -2, 5, 0}, {1423, 3, 5, 26}, {1302, 2, 5, 0}// 190 191 192
|
||||
, {1302, 1, 7, 0}, {1302, 1, 6, 0}, {1423, 2, 5, 29}// 193 194 195
|
||||
, {1425, -1, 5, 23}, {1425, 0, 5, 26}, {3221, 3, 7, 0}// 196 197 198
|
||||
, {1425, 1, 5, 29}, {1425, -2, 5, 20}, {1302, 3, 5, 0}// 199 200 201
|
||||
, {1423, 4, 5, 23}, {1302, -2, 6, 0}, {1302, 2, 6, 0}// 202 203 204
|
||||
, {1302, 2, 7, 0}, {1302, 1, 5, 0}, {1302, 0, 7, 0}// 205 206 207
|
||||
, {1302, 0, 6, 0}, {1302, 0, 5, 0}, {1302, -1, 5, 0}// 208 209 210
|
||||
, {1302, -1, 7, 0}, {1302, -1, 6, 0}, {3221, -2, 7, 0}// 211 212 213
|
||||
, {1302, 3, 6, 0}// 214
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new tikiloungeAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public tikiloungeAddon()
|
||||
{
|
||||
|
||||
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, 2868, -1, -2, 0, 1037, -1, "", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 3577, -1, -2, 8, 1153, -1, "", 1);// 59
|
||||
AddComplexComponent( (BaseAddon) this, 3707, -1, -2, 6, 0, -1, "a wash tub", 1);// 115
|
||||
|
||||
}
|
||||
|
||||
public tikiloungeAddon( 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 tikiloungeAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new tikiloungeAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public tikiloungeAddonDeed()
|
||||
{
|
||||
Name = "tikilounge";
|
||||
}
|
||||
|
||||
public tikiloungeAddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user