Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
210
Scripts/Scripts-master/Addons/guesthouseAddon.cs
Normal file
210
Scripts/Scripts-master/Addons/guesthouseAddon.cs
Normal file
@@ -0,0 +1,210 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class guesthouseAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{27, -5, -3, 0}, {1309, -3, -3, 0}, {8565, -2, -4, 26}// 1 2 3
|
||||
, {1309, -4, -3, 0}, {28, -3, -5, 0}, {1309, -4, -4, 0}// 4 5 6
|
||||
, {8564, -4, -4, 20}, {29, -5, -5, 0}, {8565, -3, -3, 23}// 7 8 9
|
||||
, {8565, -2, -3, 26}, {1309, -2, -3, 0}, {1309, -2, -4, 0}// 10 12 13
|
||||
, {8565, -3, -4, 23}, {1309, -3, -4, 0}, {27, -5, -4, 0}// 14 15 16
|
||||
, {28, -4, -5, 0}, {8564, -4, -3, 20}, {1309, -2, 2, 0}// 17 18 20
|
||||
, {1309, -4, 0, 0}, {8565, -2, 1, 26}, {28, -4, 5, 0}// 21 22 23
|
||||
, {8564, -4, 3, 20}, {1309, -3, -2, 0}, {1309, -3, 1, 0}// 24 25 26
|
||||
, {8565, -3, 6, 23}, {1309, -4, 2, 0}, {28, -3, 5, 0}// 27 28 29
|
||||
, {8564, -4, -1, 20}, {8565, -3, -1, 23}, {8564, -4, 2, 20}// 30 31 32
|
||||
, {8565, -3, -2, 23}, {27, -5, 2, 0}, {8564, -4, 6, 20}// 33 34 36
|
||||
, {27, -5, 5, 0}, {8565, -3, 1, 23}, {8565, -2, -2, 26}// 37 38 39
|
||||
, {8565, -2, -1, 26}, {8565, -2, 2, 26}, {27, -5, -1, 0}// 41 42 43
|
||||
, {8565, -2, 6, 26}, {8564, -4, 4, 20}, {1309, -4, -1, 0}// 44 45 46
|
||||
, {1309, -4, 3, 0}, {8564, -4, 0, 20}, {1309, -4, 4, 0}// 47 48 49
|
||||
, {8564, -4, 5, 20}, {1309, -2, 4, 0}, {1309, -3, -1, 0}// 50 51 52
|
||||
, {8564, -4, 1, 20}, {1309, -4, 5, 0}, {1309, -2, 3, 0}// 53 54 55
|
||||
, {1309, -2, 1, 0}, {1309, -2, 5, 0}, {1309, -2, 0, 0}// 56 57 58
|
||||
, {1309, -4, 1, 0}, {1309, -2, -1, 0}, {8565, -3, 5, 23}// 59 60 61
|
||||
, {8565, -2, 5, 26}, {1309, -4, -2, 0}, {1309, -2, -2, 0}// 62 63 64
|
||||
, {8565, -3, 2, 23}, {1309, -3, 5, 0}, {1309, -3, 4, 0}// 65 66 67
|
||||
, {8565, -2, 3, 26}, {1309, -3, 3, 0}, {1309, -3, 2, 0}// 69 70 71
|
||||
, {8565, -3, 0, 23}, {8565, -3, 3, 23}, {8565, -2, 4, 26}// 72 73 74
|
||||
, {27, -5, 4, 0}, {8565, -2, 0, 26}, {8565, -3, 4, 23}// 76 77 78
|
||||
, {8564, -4, -2, 20}, {1309, -3, 0, 0}, {1309, 5, -3, 0}// 79 80 81
|
||||
, {8565, 0, -4, 32}, {28, 4, -5, 0}, {8565, -1, -3, 29}// 82 83 84
|
||||
, {1309, 3, -4, 0}, {8561, 4, -4, 26}, {1309, -1, -3, 0}// 85 86 87
|
||||
, {27, 5, -4, 0}, {8561, 3, -4, 29}, {28, 5, -5, 0}// 88 90 91
|
||||
, {1474, 1, -3, 35}, {8561, 5, -4, 23}, {1309, 3, -3, 0}// 92 93 94
|
||||
, {27, 5, -3, 0}, {1309, 4, -3, 0}, {8561, 2, -3, 32}// 96 97 98
|
||||
, {8561, 5, -3, 23}, {1309, 0, -4, 0}, {1474, 1, -4, 35}// 99 100 101
|
||||
, {1309, 0, -3, 0}, {8561, 2, -4, 32}, {8561, 3, -3, 29}// 102 103 104
|
||||
, {1475, 6, -4, 20}, {1309, 5, -4, 0}, {1309, 2, -4, 0}// 105 106 107
|
||||
, {1309, 1, -4, 0}, {28, -1, -5, 0}, {28, 2, -5, 0}// 109 110 111
|
||||
, {1309, 4, -4, 0}, {1309, 2, -3, 0}, {1309, -1, -4, 0}// 112 113 114
|
||||
, {8561, 4, -3, 26}, {8565, -1, -4, 29}, {8565, 0, -3, 32}// 115 116 117
|
||||
, {27, 5, -4, 0}, {1475, 6, -3, 20}, {1309, 1, -3, 0}// 118 119 120
|
||||
, {26, 5, 5, 0}, {1475, 6, -2, 20}, {8561, 4, 0, 26}// 121 122 123
|
||||
, {8561, 3, 1, 29}, {8561, 5, 5, 23}, {8561, 5, 0, 23}// 124 125 126
|
||||
, {28, 3, 5, 0}, {1309, 5, 1, 0}, {8561, 3, 6, 29}// 127 128 129
|
||||
, {1309, 3, 0, 0}, {1309, 1, 4, 0}, {1309, 0, 2, 0}// 130 131 132
|
||||
, {1309, 2, 5, 0}, {8561, 3, 4, 29}, {1309, 3, 3, 0}// 133 134 135
|
||||
, {8561, 3, 5, 29}, {1309, 4, 0, 0}, {8561, 2, 2, 32}// 136 137 138
|
||||
, {1309, 1, 0, 0}, {8561, 2, 3, 32}, {8561, 4, 4, 26}// 139 140 142
|
||||
, {8561, 5, -2, 23}, {1309, 1, -2, 0}, {1309, 4, 4, 0}// 143 144 145
|
||||
, {8561, 2, -1, 32}, {8565, 0, 5, 32}, {1309, -1, 3, 0}// 146 147 148
|
||||
, {8561, 2, 6, 32}, {1309, 5, 0, 0}, {1475, 6, 5, 20}// 149 150 151
|
||||
, {1309, 5, 5, 0}, {1474, 1, -1, 35}, {8561, 5, 1, 23}// 153 154 155
|
||||
, {1309, 1, 1, 0}, {8561, 2, -2, 32}, {1309, 5, 3, 0}// 156 157 158
|
||||
, {8561, 3, 3, 29}, {8565, -1, 1, 29}, {1309, -1, 5, 0}// 159 160 161
|
||||
, {8561, 4, 6, 26}, {8565, -1, 5, 29}, {1309, 1, 5, 0}// 162 163 164
|
||||
, {27, 5, 4, 0}, {1309, -1, -2, 0}, {8561, 3, -1, 29}// 166 167 168
|
||||
, {1309, 5, 2, 0}, {1309, -1, -1, 0}, {1474, 1, 3, 35}// 169 170 171
|
||||
, {1309, 4, -1, 0}, {8565, -1, 4, 29}, {1475, 6, 4, 20}// 172 173 174
|
||||
, {1475, 6, -1, 20}, {37, 1, 5, 20}, {8561, 5, 3, 23}// 175 176 177
|
||||
, {8565, -1, 2, 29}, {8565, 0, 6, 32}, {1309, 0, 1, 0}// 178 179 180
|
||||
, {1309, 0, 4, 0}, {1309, 0, 3, 0}, {1309, 4, 5, 0}// 181 182 183
|
||||
, {1309, 0, -1, 0}, {1475, 6, 0, 20}, {8565, -1, -2, 29}// 184 185 186
|
||||
, {1309, 5, -1, 0}, {8565, 0, 0, 32}, {8561, 5, 4, 23}// 187 188 189
|
||||
, {1309, 1, 2, 0}, {1309, 0, 0, 0}, {1309, 3, 2, 0}// 190 191 192
|
||||
, {1475, 6, 2, 20}, {8561, 4, -2, 26}, {8561, 4, 2, 26}// 193 194 195
|
||||
, {8565, 0, 4, 32}, {1309, 0, -2, 0}, {1309, 3, -1, 0}// 196 197 198
|
||||
, {1309, 5, -2, 0}, {1474, 1, 0, 35}, {1474, 1, 4, 35}// 199 200 201
|
||||
, {8561, 4, 1, 26}, {1475, 6, 3, 20}, {1309, 0, 5, 0}// 202 203 204
|
||||
, {37, 2, 5, 20}, {8561, 4, 5, 26}, {8561, 2, 1, 32}// 205 206 207
|
||||
, {1475, 6, 6, 20}, {1309, -1, 1, 0}, {1309, -1, 0, 0}// 208 209 210
|
||||
, {8561, 4, -1, 26}, {28, 1, 5, 0}, {1474, 1, 6, 35}// 211 212 214
|
||||
, {8561, 2, 5, 32}, {8561, 4, 3, 26}, {8565, -1, -1, 29}// 215 216 217
|
||||
, {1309, -1, 2, 0}, {1309, 5, 4, 0}, {1309, 4, 1, 0}// 218 219 220
|
||||
, {27, 5, -1, 0}, {28, -1, 5, 0}, {1474, 1, -2, 35}// 221 222 223
|
||||
, {1309, 2, 4, 0}, {1309, 2, 3, 0}, {1309, 2, 2, 0}// 225 226 227
|
||||
, {8561, 5, 6, 23}, {1309, 2, 1, 0}, {28, 4, 5, 0}// 228 229 230
|
||||
, {1309, 2, 0, 0}, {1309, 3, 5, 0}, {1309, 2, -1, 0}// 231 232 233
|
||||
, {1309, 2, -2, 0}, {8565, 0, -2, 32}, {8561, 5, -1, 23}// 234 235 236
|
||||
, {8565, -1, 3, 29}, {1474, 1, 2, 35}, {8565, 0, 3, 32}// 237 238 239
|
||||
, {1309, 3, -2, 0}, {8565, -1, 0, 29}, {1309, 1, 3, 0}// 240 241 242
|
||||
, {8565, 0, 2, 32}, {8565, 0, 1, 32}, {8561, 3, 0, 29}// 243 244 245
|
||||
, {1474, 1, 1, 35}, {8565, -1, 6, 29}, {8561, 2, 0, 32}// 246 247 248
|
||||
, {8561, 2, 4, 32}, {8561, 3, -2, 29}, {1474, 1, 5, 35}// 249 250 251
|
||||
, {1309, 4, -2, 0}, {1309, 3, 1, 0}, {8561, 3, 2, 29}// 252 253 254
|
||||
, {1309, 3, 4, 0}, {37, 0, 5, 20}, {1475, 6, 1, 20}// 255 256 257
|
||||
, {8561, 5, 2, 23}, {1309, 4, 2, 0}, {8565, 0, -1, 32}// 258 259 260
|
||||
, {1309, 1, -1, 0}, {1309, 4, 3, 0}, {27, 5, 2, 0}// 261 262 263
|
||||
, {1309, -1, 4, 0}, {37, -1, 5, 20}// 264 265
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new guesthouseAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public guesthouseAddon()
|
||||
{
|
||||
|
||||
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, 10670, -2, -5, 0, 0, 1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 10675, -5, 1, 0, 0, 1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 10675, -5, 0, 0, 0, 1, "", 1);// 35
|
||||
AddComplexComponent( (BaseAddon) this, 10670, -2, 5, 0, 0, 1, "", 1);// 40
|
||||
AddComplexComponent( (BaseAddon) this, 10675, -5, 3, 0, 0, 1, "", 1);// 68
|
||||
AddComplexComponent( (BaseAddon) this, 10675, -5, -2, 0, 0, 1, "", 1);// 75
|
||||
AddComplexComponent( (BaseAddon) this, 10670, 3, -5, 0, 0, 1, "", 1);// 89
|
||||
AddComplexComponent( (BaseAddon) this, 10670, 1, -5, 0, 0, 1, "", 1);// 95
|
||||
AddComplexComponent( (BaseAddon) this, 10670, 0, -5, 0, 0, 1, "", 1);// 108
|
||||
AddComplexComponent( (BaseAddon) this, 10675, 5, 0, 0, 0, 1, "", 1);// 141
|
||||
AddComplexComponent( (BaseAddon) this, 10670, 2, 5, 0, 0, 1, "", 1);// 152
|
||||
AddComplexComponent( (BaseAddon) this, 10675, 5, -2, 0, 0, 1, "", 1);// 165
|
||||
AddComplexComponent( (BaseAddon) this, 10675, 5, 1, 0, 0, 1, "", 1);// 213
|
||||
AddComplexComponent( (BaseAddon) this, 10675, 5, 3, 0, 0, 1, "", 1);// 224
|
||||
|
||||
}
|
||||
|
||||
public guesthouseAddon( 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 guesthouseAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new guesthouseAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public guesthouseAddonDeed()
|
||||
{
|
||||
Name = "guesthouse";
|
||||
}
|
||||
|
||||
public guesthouseAddonDeed( 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