Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
@@ -0,0 +1,133 @@
////////////////////////////////////////
// //
// 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 TheStoneOfErechAddon : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{16556, 2, 1, 0}, {16550, 1, 2, 0}, {41253, 3, -2, 0}// 1 2 7
, {41253, -2, 3, 0}, {6040, 1, 1, 0}, {6040, 0, 1, 0}// 8 13 14
, {6040, 1, 0, 0}, {6040, 0, 0, 0}, {1959, -2, 2, 0}// 15 16 17
, {1959, -2, 1, 0}, {1958, 2, -2, 0}, {1958, 1, -2, 0}// 18 19 20
, {1957, 3, 0, 0}, {1957, 3, -1, 0}, {1956, -1, 3, 0}// 21 22 23
, {1956, 0, 3, 0}, {1313, 0, -1, 0}, {1313, -1, 0, 0}// 24 25 26
, {1313, -1, -1, 0}, {1313, 2, 2, 0}, {1955, -1, 2, 0}// 27 28 30
, {1955, 2, -1, 0}, {1955, -1, 1, 0}, {1955, 1, -1, 0}// 31 32 33
, {1955, 2, 0, 0}, {1955, 0, 2, 0}, {4543, 1, -1, 4}// 34 35 36
, {4542, -1, 1, 4}, {4541, 0, 2, 4}, {4540, 2, 0, 4}// 37 38 39
};
public override BaseAddonDeed Deed
{
get
{
return new TheStoneOfErechAddonDeed();
}
}
[ Constructable ]
public TheStoneOfErechAddon()
{
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, 41186, 0, -2, 0, 1153, -1, "", 1);// 3
AddComplexComponent( (BaseAddon) this, 41186, -2, 0, 0, 1153, -1, "", 1);// 4
AddComplexComponent( (BaseAddon) this, 41186, 1, 3, 0, 1153, -1, "", 1);// 5
AddComplexComponent( (BaseAddon) this, 41186, 3, 1, 0, 1153, -1, "", 1);// 6
AddComplexComponent( (BaseAddon) this, 6582, 2, -1, 11, 0, 1, "", 1);// 9
AddComplexComponent( (BaseAddon) this, 6582, -1, 2, 11, 0, 1, "", 1);// 10
AddComplexComponent( (BaseAddon) this, 6587, 2, -1, 7, 0, 1, "", 1);// 11
AddComplexComponent( (BaseAddon) this, 6587, -1, 2, 7, 0, 1, "", 1);// 12
AddComplexComponent( (BaseAddon) this, 4534, 1, 1, 5, 1105, -1, "The Stone Of Erech", 1);// 29
}
public TheStoneOfErechAddon( 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 TheStoneOfErechAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new TheStoneOfErechAddon();
}
}
[Constructable]
public TheStoneOfErechAddonDeed()
{
Name = "TheStoneOfErech";
}
public TheStoneOfErechAddonDeed( 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();
}
}
}