97 lines
2.3 KiB
C#
97 lines
2.3 KiB
C#
|
|
|
||
|
|
////////////////////////////////////////
|
||
|
|
// //
|
||
|
|
// 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 WallCarvingSouthAddon : BaseAddon
|
||
|
|
{
|
||
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||
|
|
{41247, 3, 1, 2}, {4971, 3, 0, 0}, {4973, 2, 1, 0}// 1 2 3
|
||
|
|
, {489, 2, 0, 3}, {489, 2, 0, 0}, {4676, 2, 0, 5}// 4 5 6
|
||
|
|
, {4969, 1, 1, 0}, {41256, -3, 1, 1}, {4972, -1, 1, 1}// 7 8 9
|
||
|
|
, {4967, -2, 1, 0}, {489, -2, 0, 3}, {489, -2, 0, 0}// 10 11 12
|
||
|
|
, {4676, -2, 0, 5}, {4665, 1, 0, 0}, {4664, 0, 0, 0}// 13 14 15
|
||
|
|
, {4663, -1, 0, 0}// 16
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
public override BaseAddonDeed Deed
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
return new WallCarvingSouthAddonDeed();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[ Constructable ]
|
||
|
|
public WallCarvingSouthAddon()
|
||
|
|
{
|
||
|
|
|
||
|
|
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] );
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public WallCarvingSouthAddon( 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();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public class WallCarvingSouthAddonDeed : BaseAddonDeed
|
||
|
|
{
|
||
|
|
public override BaseAddon Addon
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
return new WallCarvingSouthAddon();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[Constructable]
|
||
|
|
public WallCarvingSouthAddonDeed()
|
||
|
|
{
|
||
|
|
Name = "WallCarvingSouth";
|
||
|
|
}
|
||
|
|
|
||
|
|
public WallCarvingSouthAddonDeed( 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();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|