Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
173
Scripts/Scripts-master/Addons2/tranquilty2SAddon.cs
Normal file
173
Scripts/Scripts-master/Addons2/tranquilty2SAddon.cs
Normal file
@@ -0,0 +1,173 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class tranquilty2SAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{4551, -4, -2, 6}, {4550, -5, -2, 12}, {4551, 2, -2, 6}// 3 7 11
|
||||
, {4551, 0, -2, 6}, {4550, -3, -2, 12}, {9315, 0, -1, 0}// 12 16 18
|
||||
, {9315, 1, -1, 0}, {13597, 0, 0, 0}, {13597, -1, 0, 0}// 19 21 22
|
||||
, {9315, -1, -1, 0}, {9315, 0, 0, 0}, {4550, -1, -2, 12}// 24 25 27
|
||||
, {13603, 1, 1, 0}, {9315, 0, 1, 0}, {13603, -1, 1, 0}// 29 30 33
|
||||
, {4550, 3, -2, 12}, {9315, -1, 0, 0}, {13580, 0, -1, 0}// 35 38 40
|
||||
, {4551, 4, -2, 6}, {13580, -1, -1, 0}, {9315, 1, 1, 0}// 41 43 44
|
||||
, {9315, -1, 1, 0}, {4550, 5, -2, 12}, {13597, 1, 0, 0}// 46 52 54
|
||||
, {4550, 1, -2, 12}, {13580, 1, -1, 0}, {1872, -1, -2, 0}// 56 60 61
|
||||
, {9315, 1, 0, 0}, {1872, 1, -2, 0}, {13603, 0, 1, 0}// 62 64 66
|
||||
, {4551, -2, -2, 5}// 74
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new tranquilty2SAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public tranquilty2SAddon()
|
||||
{
|
||||
|
||||
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, 2921, -5, -1, 0, 2533, -1, "", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -5, -2, 5, 1153, -1, "", 1);// 2
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -5, -2, 0, 1153, -1, "", 1);// 4
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -4, -2, 0, 1153, -1, "", 1);// 5
|
||||
AddComplexComponent( (BaseAddon) this, 2922, -4, -1, 0, 2533, -1, "", 1);// 6
|
||||
AddComplexComponent( (BaseAddon) this, 6811, -4, -2, 9, 2241, -1, "flowers", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 9036, -5, -2, 13, 2441, -1, "", 1);// 9
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -1, -2, 5, 1153, -1, "", 1);// 10
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 4, -2, 0, 1153, -1, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 50, 1, 0, 0, 1153, -1, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 5, -2, 5, 1153, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -3, -2, 0, 1153, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 49, 1, 1, 0, 1153, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 2920, 5, -1, 0, 2533, -1, "", 1);// 23
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 3, -2, 5, 1153, -1, "", 1);// 26
|
||||
AddComplexComponent( (BaseAddon) this, 50, 1, 1, 0, 1153, -1, "", 1);// 28
|
||||
AddComplexComponent( (BaseAddon) this, 2922, 4, -1, 0, 2533, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 3, -2, 0, 1153, -1, "", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 50, -2, -1, 0, 1153, -1, "", 1);// 34
|
||||
AddComplexComponent( (BaseAddon) this, 2920, -3, -1, 0, 2533, -1, "", 1);// 36
|
||||
AddComplexComponent( (BaseAddon) this, 49, 0, 1, 0, 1153, -1, "", 1);// 37
|
||||
AddComplexComponent( (BaseAddon) this, 49, -1, 1, 0, 1153, -1, "", 1);// 39
|
||||
AddComplexComponent( (BaseAddon) this, 50, -2, 1, 0, 1153, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 3244, 2, 1, 0, 2283, -1, "", 1);// 45
|
||||
AddComplexComponent( (BaseAddon) this, 3244, 2, -1, 0, 2283, -1, "", 1);// 47
|
||||
AddComplexComponent( (BaseAddon) this, 3244, -2, 0, 0, 2283, -1, "", 1);// 48
|
||||
AddComplexComponent( (BaseAddon) this, 2921, 3, -1, 0, 2533, -1, "", 1);// 49
|
||||
AddComplexComponent( (BaseAddon) this, 3244, 2, 0, 0, 2283, -1, "", 1);// 50
|
||||
AddComplexComponent( (BaseAddon) this, 3244, -2, 1, 0, 2283, -1, "", 1);// 51
|
||||
AddComplexComponent( (BaseAddon) this, 50, 1, -1, 0, 1153, -1, "", 1);// 53
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 5, -2, 0, 1153, -1, "", 1);// 55
|
||||
AddComplexComponent( (BaseAddon) this, 50, -2, 0, 0, 1153, -1, "", 1);// 57
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -2, -2, 0, 1153, -1, "", 1);// 58
|
||||
AddComplexComponent( (BaseAddon) this, 3244, -2, -1, 0, 2283, -1, "", 1);// 59
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 1, -2, 5, 1153, -1, "", 1);// 63
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 0, -2, 0, 1153, -1, "", 1);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 1872, 2, -2, 0, 1153, -1, "", 1);// 67
|
||||
AddComplexComponent( (BaseAddon) this, 3245, 1, 2, 0, 2283, -1, "", 1);// 68
|
||||
AddComplexComponent( (BaseAddon) this, 3245, 0, 2, 0, 2283, -1, "", 1);// 69
|
||||
AddComplexComponent( (BaseAddon) this, 3245, -1, 2, 0, 2283, -1, "", 1);// 70
|
||||
AddComplexComponent( (BaseAddon) this, 1872, -3, -2, 5, 1153, -1, "", 1);// 71
|
||||
AddComplexComponent( (BaseAddon) this, 6811, 0, -2, 9, 2896, -1, "flowers", 1);// 72
|
||||
AddComplexComponent( (BaseAddon) this, 6811, 4, -2, 9, 2241, -1, "flowers", 1);// 73
|
||||
AddComplexComponent( (BaseAddon) this, 6811, -2, -2, 8, 2324, -1, "flowers", 1);// 75
|
||||
AddComplexComponent( (BaseAddon) this, 6811, 2, -2, 9, 2324, -1, "flowers", 1);// 76
|
||||
AddComplexComponent( (BaseAddon) this, 9036, -3, -2, 13, 2441, -1, "", 1);// 77
|
||||
AddComplexComponent( (BaseAddon) this, 9036, 1, -2, 13, 2442, -1, "", 1);// 78
|
||||
AddComplexComponent( (BaseAddon) this, 9036, 3, -2, 13, 2441, -1, "", 1);// 79
|
||||
AddComplexComponent( (BaseAddon) this, 9036, 5, -2, 13, 2441, -1, "", 1);// 80
|
||||
AddComplexComponent( (BaseAddon) this, 9036, -1, -2, 13, 2442, -1, "", 1);// 81
|
||||
|
||||
}
|
||||
|
||||
public tranquilty2SAddon( 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 tranquilty2SAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new tranquilty2SAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public tranquilty2SAddonDeed()
|
||||
{
|
||||
Name = "tranquilty2S";
|
||||
}
|
||||
|
||||
public tranquilty2SAddonDeed( 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