214 lines
10 KiB
C#
214 lines
10 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 twelvebytwelvearearugWEAddon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{2760, 4, -4, 0}, {2760, 4, -3, 0}, {2760, 4, -2, 0}// 9 10 11
|
|
, {2760, 4, -1, 0}, {2760, 0, -5, 0}, {2760, 1, -5, 0}// 12 13 14
|
|
, {2760, 2, -5, 0}, {2760, 3, -5, 0}, {2760, 4, -5, 0}// 15 16 17
|
|
, {2760, 5, -5, 0}, {2760, 5, -4, 0}, {2760, 5, -3, 0}// 18 19 20
|
|
, {2760, 5, -2, 0}, {2760, 5, -1, 0}, {2760, 3, -4, 0}// 21 22 23
|
|
, {2760, 3, -3, 0}, {2760, 3, -2, 0}, {2760, 2, -4, 0}// 24 25 26
|
|
, {2760, 2, -3, 0}, {2760, 1, -4, 0}, {2760, -1, -4, 0}// 27 28 29
|
|
, {2760, -1, -3, 0}, {2760, -1, -2, 0}, {2760, -1, -1, 0}// 30 31 32
|
|
, {2760, 0, -3, 0}, {2760, 0, -2, 0}, {2760, 0, -1, 0}// 33 34 35
|
|
, {2760, -2, -3, 0}, {2760, -3, -2, 0}, {2760, 1, -2, 0}// 36 37 38
|
|
, {2760, 1, -1, 0}, {2760, 2, -1, 0}, {2760, -5, -5, 0}// 39 40 41
|
|
, {2760, -4, -5, 0}, {2760, -3, -5, 0}, {2760, -2, -5, 0}// 42 43 44
|
|
, {2760, -5, -4, 0}, {2760, -4, -4, 0}, {2760, -3, -4, 0}// 45 46 47
|
|
, {2760, -5, -3, 0}, {2760, -4, -3, 0}, {2760, -5, -2, 0}// 48 49 50
|
|
, {2760, -2, -2, 0}, {2760, -2, -1, 0}, {2760, -4, -1, 0}// 51 52 53
|
|
, {2760, -5, -1, 0}, {2760, 5, 0, 0}, {2760, 5, 1, 0}// 54 88 89
|
|
, {2760, 5, 2, 0}, {2760, 4, 1, 0}, {2760, 4, 2, 0}// 90 91 92
|
|
, {2760, 4, 3, 0}, {2760, 4, 4, 0}, {2760, 1, 4, 0}// 93 94 95
|
|
, {2760, 2, 4, 0}, {2760, 3, 4, 0}, {2760, 2, 3, 0}// 96 97 98
|
|
, {2760, 3, 3, 0}, {2760, 3, 2, 0}, {2760, 5, 3, 0}// 99 100 101
|
|
, {2760, 5, 4, 0}, {2760, 5, 5, 0}, {2760, 0, 5, 0}// 102 103 104
|
|
, {2760, 1, 5, 0}, {2760, 2, 5, 0}, {2760, 3, 5, 0}// 105 106 107
|
|
, {2760, 4, 5, 0}, {2760, -5, 3, 0}, {2760, -5, 4, 0}// 108 109 110
|
|
, {2760, -5, 5, 0}, {2760, -4, 5, 0}, {2760, -3, 5, 0}// 111 112 113
|
|
, {2760, -2, 5, 0}, {2760, -4, 3, 0}, {2760, -4, 4, 0}// 114 115 116
|
|
, {2760, -3, 4, 0}, {2760, -1, 0, 0}, {2760, -1, 1, 0}// 117 118 119
|
|
, {2760, -1, 2, 0}, {2760, -1, 3, 0}, {2760, -1, 4, 0}// 120 121 122
|
|
, {2760, 0, 0, 0}, {2760, 0, 1, 0}, {2760, 0, 2, 0}// 123 124 125
|
|
, {2760, 0, 3, 0}, {2760, -3, 2, 0}, {2760, -2, 3, 0}// 126 127 128
|
|
, {2760, 1, 0, 0}, {2760, 1, 1, 0}, {2760, 1, 2, 0}// 129 130 131
|
|
, {2760, 2, 0, 0}, {2760, 2, 1, 0}, {2760, 3, 0, 0}// 132 133 134
|
|
, {2760, -4, 0, 0}, {2760, -2, 1, 0}, {2760, -2, 2, 0}// 135 136 137
|
|
, {2760, -4, 1, 0}, {2760, -5, 0, 0}, {2760, -5, 2, 0}// 140 141 142
|
|
, {2760, -5, 1, 0}, {2760, -3, 0, 0}// 143 162
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new twelvebytwelvearearugWEAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public twelvebytwelvearearugWEAddon()
|
|
{
|
|
|
|
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, 2797, 0, -4, 0, 2852, -1, "", 1);// 1
|
|
AddComplexComponent( (BaseAddon) this, 2797, -3, -1, 0, 2852, -1, "", 1);// 2
|
|
AddComplexComponent( (BaseAddon) this, 2797, -4, -2, 0, 2852, -1, "", 1);// 3
|
|
AddComplexComponent( (BaseAddon) this, 2797, -3, -3, 0, 2852, -1, "", 1);// 4
|
|
AddComplexComponent( (BaseAddon) this, 2797, -2, -4, 0, 2852, -1, "", 1);// 5
|
|
AddComplexComponent( (BaseAddon) this, 2797, 1, -3, 0, 2852, -1, "", 1);// 6
|
|
AddComplexComponent( (BaseAddon) this, 2797, 2, -2, 0, 2852, -1, "", 1);// 7
|
|
AddComplexComponent( (BaseAddon) this, 2797, 3, -1, 0, 2852, -1, "", 1);// 8
|
|
AddComplexComponent( (BaseAddon) this, 2797, -1, -5, 0, 2852, -1, "", 1);// 55
|
|
AddComplexComponent( (BaseAddon) this, 2801, 6, -6, 0, 2852, -1, "", 1);// 56
|
|
AddComplexComponent( (BaseAddon) this, 2803, -5, -6, 0, 2852, -1, "", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 2803, -4, -6, 0, 2852, -1, "", 1);// 58
|
|
AddComplexComponent( (BaseAddon) this, 2803, -3, -6, 0, 2852, -1, "", 1);// 59
|
|
AddComplexComponent( (BaseAddon) this, 2803, -2, -6, 0, 2852, -1, "", 1);// 60
|
|
AddComplexComponent( (BaseAddon) this, 2803, -1, -6, 0, 2852, -1, "", 1);// 61
|
|
AddComplexComponent( (BaseAddon) this, 2803, 0, -6, 0, 2852, -1, "", 1);// 62
|
|
AddComplexComponent( (BaseAddon) this, 2803, 1, -6, 0, 2852, -1, "", 1);// 63
|
|
AddComplexComponent( (BaseAddon) this, 2803, 2, -6, 0, 2852, -1, "", 1);// 64
|
|
AddComplexComponent( (BaseAddon) this, 2803, 3, -6, 0, 2852, -1, "", 1);// 65
|
|
AddComplexComponent( (BaseAddon) this, 2803, 4, -6, 0, 2852, -1, "", 1);// 66
|
|
AddComplexComponent( (BaseAddon) this, 2803, 5, -6, 0, 2852, -1, "", 1);// 67
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, -5, 0, 2852, -1, "", 1);// 68
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, -4, 0, 2852, -1, "", 1);// 69
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, -3, 0, 2852, -1, "", 1);// 70
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, -2, 0, 2852, -1, "", 1);// 71
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, -1, 0, 2852, -1, "", 1);// 72
|
|
AddComplexComponent( (BaseAddon) this, 2799, -6, -6, 0, 2852, -1, "", 1);// 73
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, -5, 0, 2852, -1, "", 1);// 74
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, -4, 0, 2852, -1, "", 1);// 75
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, -3, 0, 2852, -1, "", 1);// 76
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, -2, 0, 2852, -1, "", 1);// 77
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, -1, 0, 2852, -1, "", 1);// 78
|
|
AddComplexComponent( (BaseAddon) this, 2797, 4, 0, 0, 2852, -1, "", 1);// 79
|
|
AddComplexComponent( (BaseAddon) this, 2797, -1, 5, 0, 2852, -1, "", 1);// 80
|
|
AddComplexComponent( (BaseAddon) this, 2797, 0, 4, 0, 2852, -1, "", 1);// 81
|
|
AddComplexComponent( (BaseAddon) this, 2797, 3, 1, 0, 2852, -1, "", 1);// 82
|
|
AddComplexComponent( (BaseAddon) this, 2797, 1, 3, 0, 2852, -1, "", 1);// 83
|
|
AddComplexComponent( (BaseAddon) this, 2797, 2, 2, 0, 2852, -1, "", 1);// 84
|
|
AddComplexComponent( (BaseAddon) this, 2797, -2, 4, 0, 2852, -1, "", 1);// 85
|
|
AddComplexComponent( (BaseAddon) this, 2797, -4, 2, 0, 2852, -1, "", 1);// 86
|
|
AddComplexComponent( (BaseAddon) this, 2797, -3, 3, 0, 2852, -1, "", 1);// 87
|
|
AddComplexComponent( (BaseAddon) this, 2797, -3, 1, 0, 2852, -1, "", 1);// 138
|
|
AddComplexComponent( (BaseAddon) this, 2797, -2, 0, 0, 2852, -1, "", 1);// 139
|
|
AddComplexComponent( (BaseAddon) this, 2798, 6, 6, 0, 2852, -1, "", 1);// 144
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, 0, 0, 2852, -1, "", 1);// 145
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, 1, 0, 2852, -1, "", 1);// 146
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, 2, 0, 2852, -1, "", 1);// 147
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, 3, 0, 2852, -1, "", 1);// 148
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, 4, 0, 2852, -1, "", 1);// 149
|
|
AddComplexComponent( (BaseAddon) this, 2804, 6, 5, 0, 2852, -1, "", 1);// 150
|
|
AddComplexComponent( (BaseAddon) this, 2805, -5, 6, 0, 2852, -1, "", 1);// 151
|
|
AddComplexComponent( (BaseAddon) this, 2805, -4, 6, 0, 2852, -1, "", 1);// 152
|
|
AddComplexComponent( (BaseAddon) this, 2805, -3, 6, 0, 2852, -1, "", 1);// 153
|
|
AddComplexComponent( (BaseAddon) this, 2805, -2, 6, 0, 2852, -1, "", 1);// 154
|
|
AddComplexComponent( (BaseAddon) this, 2805, -1, 6, 0, 2852, -1, "", 1);// 155
|
|
AddComplexComponent( (BaseAddon) this, 2805, 0, 6, 0, 2852, -1, "", 1);// 156
|
|
AddComplexComponent( (BaseAddon) this, 2805, 1, 6, 0, 2852, -1, "", 1);// 157
|
|
AddComplexComponent( (BaseAddon) this, 2805, 2, 6, 0, 2852, -1, "", 1);// 158
|
|
AddComplexComponent( (BaseAddon) this, 2805, 3, 6, 0, 2852, -1, "", 1);// 159
|
|
AddComplexComponent( (BaseAddon) this, 2805, 4, 6, 0, 2852, -1, "", 1);// 160
|
|
AddComplexComponent( (BaseAddon) this, 2805, 5, 6, 0, 2852, -1, "", 1);// 161
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, 0, 0, 2852, -1, "", 1);// 163
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, 1, 0, 2852, -1, "", 1);// 164
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, 2, 0, 2852, -1, "", 1);// 165
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, 3, 0, 2852, -1, "", 1);// 166
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, 4, 0, 2852, -1, "", 1);// 167
|
|
AddComplexComponent( (BaseAddon) this, 2800, -6, 6, 0, 2852, -1, "", 1);// 168
|
|
AddComplexComponent( (BaseAddon) this, 2802, -6, 5, 0, 2852, -1, "", 1);// 169
|
|
|
|
}
|
|
|
|
public twelvebytwelvearearugWEAddon( 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 twelvebytwelvearearugWEAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new twelvebytwelvearearugWEAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public twelvebytwelvearearugWEAddonDeed()
|
|
{
|
|
Name = "twelvebytwelvearearugWEAddon";
|
|
}
|
|
|
|
public twelvebytwelvearearugWEAddonDeed( 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();
|
|
}
|
|
}
|
|
} |