Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
191
Scripts/Scripts-master/Addons/HeartPond1AddonAddon.cs
Normal file
191
Scripts/Scripts-master/Addons/HeartPond1AddonAddon.cs
Normal file
@@ -0,0 +1,191 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HeartPond1AddonAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{13422, -2, 0, 1}, {13422, -1, 0, 1}, {13422, 0, -1, 1}// 15 16 17
|
||||
, {13422, 0, 0, 1}, {13422, 1, -1, 1}, {13422, 1, 0, 1}// 18 19 20
|
||||
, {13422, 2, -1, 1}, {13422, 2, 0, 1}, {13422, 3, -1, 1}// 21 22 23
|
||||
, {13422, 3, 0, 1}, {13422, -3, 0, 1}, {13422, 0, -2, 1}// 24 25 26
|
||||
, {13422, 1, -2, 1}, {13422, 2, -2, 1}, {13422, 3, -2, 1}// 27 28 29
|
||||
, {13422, 1, -3, 1}, {13422, 2, -3, 1}, {3518, 2, -2, 2}// 30 31 45
|
||||
, {13422, -3, 1, 1}, {13422, -3, 2, 1}, {13422, -2, 1, 1}// 59 60 61
|
||||
, {13422, -2, 2, 1}, {13422, -1, 1, 1}, {13422, -1, 2, 1}// 62 63 64
|
||||
, {13422, 0, 1, 1}, {13422, 0, 2, 1}, {13422, 1, 1, 1}// 65 66 67
|
||||
, {13422, 1, 2, 1}, {13422, 2, 1, 1}, {13422, 2, 2, 1}// 68 69 70
|
||||
, {13422, 3, 1, 1}, {13422, 3, 2, 1}, {13422, -2, 3, 1}// 71 72 73
|
||||
, {13422, -1, 3, 1}, {13422, 0, 3, 1}, {13422, 1, 3, 1}// 74 75 76
|
||||
, {13422, 2, 3, 1}, {13422, 3, 3, 1}, {3518, -2, 2, 4}// 77 78 96
|
||||
, {3518, 3, 3, 2}, {3333, 3, 1, 2}, {3333, -1, 1, 2}// 97 98 99
|
||||
, {3333, 1, 1, 2}// 100
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new HeartPond1AddonAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public HeartPond1AddonAddon()
|
||||
{
|
||||
|
||||
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, 6009, -1, 0, 8, 1166, -1, "", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 0, 0, 7, 1166, -1, "", 1);// 2
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 0, -1, 5, 1166, -1, "", 1);// 3
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 0, -2, 4, 1166, -1, "", 1);// 4
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, 0, 1, 1166, -1, "", 1);// 5
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, -1, 3, 1166, -1, "", 1);// 6
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, -2, 4, 1166, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 0, -3, 0, 1166, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 1, -3, 5, 1166, -1, "", 1);// 9
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 2, -3, 7, 1166, -1, "", 1);// 10
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 3, -3, 7, 1166, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -2, 0, 5, 1166, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -3, 0, 1, 1166, -1, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 5, -1, 21, 1166, -1, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 3223, -3, -1, 1, 1941, -1, "", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 3223, -1, -3, 1, 1941, -1, "", 1);// 33
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 2, -4, 6, 1941, -1, "", 1);// 34
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 4, -3, 3, 1941, -1, "", 1);// 35
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 5, -1, 3, 1941, -1, "", 1);// 36
|
||||
AddComplexComponent( (BaseAddon) this, 3220, -1, -2, 1, 1165, -1, "", 1);// 37
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 0, -4, 1, 1165, -1, "", 1);// 38
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 3, -4, 4, 1165, -1, "", 1);// 39
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 5, -2, 5, 1165, -1, "", 1);// 40
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 5, 0, 1, 1165, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 3220, -4, 0, 1, 1165, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 3220, -2, -1, 1, 1165, -1, "", 1);// 43
|
||||
AddComplexComponent( (BaseAddon) this, 3223, -1, -1, 3, 1941, -1, "", 1);// 44
|
||||
AddComplexComponent( (BaseAddon) this, 9035, 2, -2, 4, 1165, -1, "WaterLily", 1);// 46
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, 4, 1, 1166, -1, "", 1);// 47
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, 3, 1, 1166, -1, "", 1);// 48
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, 2, 1, 1166, -1, "", 1);// 49
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 4, 1, 1, 1166, -1, "", 1);// 50
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 3, 4, 1, 1166, -1, "", 1);// 51
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 2, 4, 1, 1166, -1, "", 1);// 52
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 1, 4, 1, 1166, -1, "", 1);// 53
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -3, 2, 8, 1166, -1, "", 1);// 54
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -3, 3, 9, 1166, -1, "", 1);// 55
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 0, 5, 14, 1166, -1, "", 1);// 56
|
||||
AddComplexComponent( (BaseAddon) this, 6009, 0, 4, 1, 1166, -1, "", 1);// 57
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -3, 1, 6, 1166, -1, "", 1);// 58
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -2, 4, 4, 1166, -1, "", 1);// 79
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 3, 5, 1, 1941, -1, "", 1);// 80
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 1, 5, 1, 1941, -1, "", 1);// 81
|
||||
AddComplexComponent( (BaseAddon) this, 3223, -1, 5, 1, 1941, -1, "", 1);// 82
|
||||
AddComplexComponent( (BaseAddon) this, 3223, -3, 4, 5, 1941, -1, "", 1);// 83
|
||||
AddComplexComponent( (BaseAddon) this, 6009, -2, 4, 13, 1166, -1, "", 1);// 84
|
||||
AddComplexComponent( (BaseAddon) this, 3223, -4, 2, 7, 1941, -1, "", 1);// 85
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 5, 3, 1, 1941, -1, "", 1);// 86
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 5, 1, 0, 1941, -1, "", 1);// 87
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 5, 2, 1, 1165, -1, "", 1);// 88
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 5, 4, 1, 1165, -1, "", 1);// 89
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 4, 5, 1, 1165, -1, "", 1);// 90
|
||||
AddComplexComponent( (BaseAddon) this, 3220, -4, 3, 4, 1165, -1, "", 1);// 91
|
||||
AddComplexComponent( (BaseAddon) this, 3220, -2, 5, 7, 1165, -1, "", 1);// 92
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 0, 5, 1, 1165, -1, "", 1);// 93
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 2, 5, 1, 1165, -1, "", 1);// 94
|
||||
AddComplexComponent( (BaseAddon) this, 3223, 5, 5, 1, 1941, -1, "", 1);// 95
|
||||
AddComplexComponent( (BaseAddon) this, 9035, -1, 1, 9, 1165, -1, "WaterLily", 1);// 101
|
||||
AddComplexComponent( (BaseAddon) this, 9035, 1, 1, 9, 1165, -1, "WaterLily", 1);// 102
|
||||
AddComplexComponent( (BaseAddon) this, 9035, 3, 1, 9, 1165, -1, "WaterLily", 1);// 103
|
||||
AddComplexComponent( (BaseAddon) this, 9035, -2, 2, 6, 1165, -1, "WaterLily", 1);// 104
|
||||
AddComplexComponent( (BaseAddon) this, 9035, 3, 3, 4, 1165, -1, "WaterLily", 1);// 105
|
||||
|
||||
}
|
||||
|
||||
public HeartPond1AddonAddon( 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 HeartPond1AddonAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new HeartPond1AddonAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public HeartPond1AddonAddonDeed()
|
||||
{
|
||||
Name = "HeartPond1Addon";
|
||||
}
|
||||
|
||||
public HeartPond1AddonAddonDeed( 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