Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,129 @@
////////////////////////////////////////
// //
// 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 SSsmallofficeaddon
{
public class SSsmallofficeaddonAddonBak : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{1305, 2, 1, 0}, {1305, 0, 2, 0}, {2956, 0, -1, 0}// 2 4 5
, {1305, -1, 0, 0}, {1305, 2, 0, 0}, {1305, 1, 2, 0}// 6 7 8
, {1305, 1, -1, 0}, {1305, 1, 1, 0}, {1305, 0, 1, 0}// 9 10 11
, {1305, 0, -1, 0}, {2711, 2, -1, 0}, {7807, -1, 2, 0}// 13 14 15
, {1305, -1, 1, 0}, {1305, 0, 0, 0}, {7712, 0, -1, 6}// 16 17 18
, {1305, 2, -1, 0}, {7716, 2, -1, 0}, {2711, -1, -1, 0}// 19 20 21
, {1305, -1, -1, 0}, {1305, -1, 2, 0}, {2955, 1, -1, 0}// 22 23 24
, {2910, 0, 2, 0}, {7807, -1, 1, 0}, {4758, -2, 0, 0}// 26 28 29
, {4758, -2, 2, 0}, {1305, 1, 0, 0}, {2905, 1, 0, 0}// 30 31 32
, {4758, -2, 1, 0}, {7713, 0, -1, 6}, {1305, 2, 2, 0}// 33 34 35
};
public override BaseAddonDeed Deed
{
get
{
return new SSsmallofficeaddonAddonBakDeed();
}
}
[ Constructable ]
public SSsmallofficeaddonAddonBak()
{
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, 6570, 2, 2, 0, 0, 1, "", 1);// 1
AddComplexComponent( (BaseAddon) this, 2594, -2, 1, 15, 0, 1, "", 1);// 3
AddComplexComponent( (BaseAddon) this, 2594, -2, 0, 14, 0, 1, "", 1);// 12
AddComplexComponent( (BaseAddon) this, 2594, -2, 2, 14, 0, 1, "", 1);// 25
AddComplexComponent( (BaseAddon) this, 2594, 1, -1, 11, 0, 1, "", 1);// 27
}
public SSsmallofficeaddonAddonBak( 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 SSsmallofficeaddonAddonBakDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new SSsmallofficeaddonAddonBak();
}
}
[Constructable]
public SSsmallofficeaddonAddonBakDeed()
{
Name = "SSsmallofficeaddon";
}
public SSsmallofficeaddonAddonBakDeed( 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();
}
}
}