168 lines
6.9 KiB
C#
168 lines
6.9 KiB
C#
|
|
////////////////////////////////////////
|
|
// //
|
|
// Generated by CEO's YAAAG - V1.2 //
|
|
// (Yet Another Arya Addon Generator) //
|
|
// //
|
|
////////////////////////////////////////
|
|
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class stonemoatbridgeblueAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{1277, 3, 1, 5}, {1277, 3, 2, 5}, {1277, 0, -4, 5}// 1 2 4
|
|
, {1277, -1, -3, 5}, {1277, -1, -4, 5}, {1277, 0, 0, 5}// 5 6 9
|
|
, {1277, 0, -3, 5}, {13042, -2, 0, 0}, {13042, -2, -4, 0}// 10 11 13
|
|
, {1277, 3, 0, 5}, {1277, -1, 0, 5}, {1277, 0, 1, 5}// 15 17 21
|
|
, {1277, 0, 1, 5}, {1277, -1, 2, 5}, {1277, 2, 1, 5}// 22 23 24
|
|
, {1277, -2, -3, 5}, {1277, 0, 2, 5}, {1277, 3, -4, 5}// 25 30 31
|
|
, {1277, -2, -2, 5}, {1277, -1, -2, 5}, {1277, -2, 1, 5}// 32 33 34
|
|
, {1277, -2, 2, 5}, {1277, 2, 0, 5}, {1277, 0, -3, 5}// 35 36 37
|
|
, {1277, 0, -4, 5}, {1277, 0, -2, 5}, {1277, -2, 0, 5}// 38 39 40
|
|
, {1277, -2, -1, 5}, {1277, 1, 1, 5}, {1277, 1, 2, 5}// 41 42 43
|
|
, {1277, 1, 0, 5}, {1277, 1, -1, 5}, {1277, 2, -3, 5}// 44 45 46
|
|
, {1277, 2, -1, 5}, {1277, 2, -2, 5}, {1277, 2, -4, 5}// 47 48 49
|
|
, {1277, 2, 2, 5}, {1277, 1, -3, 5}, {1277, 3, -1, 5}// 50 51 58
|
|
, {1277, 0, 0, 5}, {1277, -1, 1, 5}, {1277, 1, -4, 5}// 59 60 61
|
|
, {1277, 0, -1, 5}, {1277, -1, -1, 5}, {1277, 3, -3, 5}// 62 64 65
|
|
, {1277, 1, -2, 5}, {1277, 0, -4, 5}, {1277, 3, -2, 5}// 66 67 68
|
|
, {1277, 0, 2, 5}, {1277, 0, -4, 5}, {1277, -2, -4, 5}// 69 72 73
|
|
, {1277, -1, 4, 5}, {1277, -2, 4, 5}, {1277, 3, 4, 5}// 77 78 80
|
|
, {1277, 1, 4, 5}, {1277, 2, 4, 5}, {1277, 0, 4, 5}// 81 82 83
|
|
, {1277, 0, 4, 5}, {1277, -2, 3, 5}, {1277, -1, 3, 5}// 84 91 92
|
|
, {1277, 0, 3, 5}, {1277, 1, 3, 5}, {1277, 2, 3, 5}// 93 94 95
|
|
, {1277, 3, 3, 5}, {1277, 0, 3, 5}// 98 99
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new stonemoatbridgeblueAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public stonemoatbridgeblueAddon()
|
|
{
|
|
|
|
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, 1872, -2, 1, 10, 1337, -1, "", 1);// 3
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, 0, 5, 1337, -1, "", 1);// 7
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 1, 10, 1337, -1, "", 1);// 8
|
|
AddComplexComponent( (BaseAddon) this, 13042, 3, -4, 0, 1337, -1, "", 1);// 12
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, -3, 10, 1337, -1, "", 1);// 14
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, -1, 5, 1337, -1, "", 1);// 16
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, -1, 10, 1337, -1, "", 1);// 18
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, -4, 5, 1337, -1, "", 1);// 19
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, -3, 5, 1337, -1, "", 1);// 20
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, -1, 5, 1337, -1, "", 1);// 26
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, 2, 5, 1337, -1, "", 1);// 27
|
|
AddComplexComponent( (BaseAddon) this, 13042, 3, 0, 0, 1337, -1, "", 1);// 28
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 1, 5, 1337, -1, "", 1);// 29
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, -2, 5, 1337, -1, "", 1);// 52
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, -3, 5, 1337, -1, "", 1);// 53
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, 1, 5, 1337, -1, "", 1);// 54
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 0, 5, 1337, -1, "", 1);// 55
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, -4, 5, 1337, -1, "", 1);// 56
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, -2, 5, 1337, -1, "", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, -1, 10, 1337, -1, "", 1);// 63
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, -3, 10, 1337, -1, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 2, 5, 1337, -1, "", 1);// 71
|
|
AddComplexComponent( (BaseAddon) this, 1823, 2, 5, 0, 1337, -1, "", 1);// 74
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, 4, 5, 1337, -1, "", 1);// 75
|
|
AddComplexComponent( (BaseAddon) this, 13042, 3, 4, 0, 1337, -1, "", 1);// 76
|
|
AddComplexComponent( (BaseAddon) this, 1823, 0, 5, 0, 1337, -1, "", 1);// 79
|
|
AddComplexComponent( (BaseAddon) this, 1823, -1, 5, 0, 1337, -1, "", 1);// 85
|
|
AddComplexComponent( (BaseAddon) this, 13042, -2, 4, 0, 1337, -1, "", 1);// 86
|
|
AddComplexComponent( (BaseAddon) this, 1823, 1, 5, 0, 1337, -1, "", 1);// 87
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 4, 5, 1337, -1, "", 1);// 88
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, 3, 10, 1337, -1, "", 1);// 89
|
|
AddComplexComponent( (BaseAddon) this, 1872, -2, 3, 5, 1337, -1, "", 1);// 90
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 3, 10, 1337, -1, "", 1);// 96
|
|
AddComplexComponent( (BaseAddon) this, 1872, 3, 3, 5, 1337, -1, "", 1);// 97
|
|
|
|
}
|
|
|
|
public stonemoatbridgeblueAddon( 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 stonemoatbridgeblueAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new stonemoatbridgeblueAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public stonemoatbridgeblueAddonDeed()
|
|
{
|
|
Name = "stonemoatbridgeblue";
|
|
}
|
|
|
|
public stonemoatbridgeblueAddonDeed( 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();
|
|
}
|
|
}
|
|
} |