156 lines
6.5 KiB
C#
156 lines
6.5 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 StoneOutBldg2Addon : BaseAddon
|
|
{
|
|
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
|
{1955, -3, -4, 0}, {1955, -3, -3, 0}, {1955, -2, -4, 0}// 1 2 3
|
|
, {1955, -2, -3, 0}, {1955, -1, -4, 0}, {1955, -1, -3, 0}// 4 5 6
|
|
, {1955, -3, -2, 0}, {1955, -3, -1, 0}, {1955, -3, 0, 0}// 7 8 9
|
|
, {1955, -3, 1, 0}, {1955, -3, 2, 0}, {1955, -3, 3, 0}// 10 11 12
|
|
, {1955, -3, 4, 0}, {1955, -2, -2, 0}, {1955, -2, -1, 0}// 13 14 15
|
|
, {1955, -2, 0, 0}, {1955, -2, 1, 0}, {1955, -2, 2, 0}// 16 17 18
|
|
, {1955, -2, 3, 0}, {1955, -2, 4, 0}, {1955, -1, -2, 0}// 19 20 21
|
|
, {1955, -1, -1, 0}, {1955, -1, 0, 0}, {1955, -1, 1, 0}// 22 23 24
|
|
, {1955, -1, 2, 0}, {1955, -1, 3, 0}, {1955, -1, 4, 0}// 25 26 27
|
|
, {1956, -2, 5, 0}, {1956, -1, 5, 0}, {1963, -3, 5, 0}// 28 29 30
|
|
, {586, -4, 4, 5}, {581, -3, 4, 5}, {580, -4, -5, 5}// 31 32 33
|
|
, {581, -3, -5, 5}, {582, -4, -4, 5}, {10491, -4, -5, 20}// 34 35 36
|
|
, {10491, -4, -4, 20}, {10491, -4, -3, 20}, {10491, -4, -2, 20}// 37 38 39
|
|
, {10491, -4, -1, 20}, {10491, -4, 0, 20}, {10491, -4, 1, 20}// 40 41 42
|
|
, {10491, -4, 2, 20}, {10491, -4, 3, 20}, {10491, -4, 4, 20}// 43 44 45
|
|
, {10491, -3, -5, 23}, {10491, -3, -4, 23}, {10491, -3, -3, 23}// 46 47 48
|
|
, {10491, -3, -2, 23}, {10491, -3, -1, 23}, {10491, -3, 0, 23}// 49 50 51
|
|
, {10491, -3, 1, 23}, {10491, -3, 2, 23}, {10491, -3, 3, 23}// 52 53 54
|
|
, {10491, -3, 4, 23}, {10491, -2, -5, 26}, {10491, -2, -4, 26}// 55 56 57
|
|
, {10491, -2, -3, 26}, {10491, -2, -2, 26}, {10491, -2, -1, 26}// 58 59 60
|
|
, {10491, -2, 0, 26}, {10491, -2, 1, 26}, {10491, -2, 2, 26}// 61 62 63
|
|
, {10491, -2, 3, 26}, {10491, -2, 4, 26}, {10491, -1, -5, 29}// 64 65 66
|
|
, {10491, -1, -4, 29}, {10491, -1, -3, 29}, {10491, -1, -2, 29}// 67 68 69
|
|
, {10491, -1, -1, 29}, {10491, -1, 0, 29}, {10491, -1, 1, 29}// 70 71 72
|
|
, {10491, -1, 2, 29}, {10491, -1, 3, 29}, {10491, -1, 4, 29}// 73 74 75
|
|
, {1955, 0, -4, 0}, {1955, 0, -3, 0}, {1955, 1, -4, 0}// 76 77 78
|
|
, {1955, 1, -3, 0}, {1955, 2, -4, 0}, {1955, 2, -3, 0}// 79 80 81
|
|
, {1955, 3, -4, 0}, {1955, 3, -3, 0}, {1955, 4, -4, 0}// 82 83 84
|
|
, {1955, 4, -3, 0}, {1955, 5, -4, 0}, {1955, 5, -3, 0}// 85 86 87
|
|
, {1955, 0, -2, 0}, {1955, 0, -1, 0}, {1955, 0, 0, 0}// 88 89 90
|
|
, {1955, 0, 1, 0}, {1955, 0, 2, 0}, {1955, 0, 3, 0}// 91 92 93
|
|
, {1955, 0, 4, 0}, {1955, 1, -2, 0}, {1955, 1, -1, 0}// 94 95 96
|
|
, {1955, 1, 0, 0}, {1955, 1, 1, 0}, {1955, 1, 2, 0}// 97 98 99
|
|
, {1955, 1, 3, 0}, {1955, 1, 4, 0}, {1955, 2, -2, 0}// 100 101 102
|
|
, {1955, 2, -1, 0}, {1955, 2, 0, 0}, {1955, 2, 1, 0}// 103 104 105
|
|
, {1955, 2, 2, 0}, {1955, 2, 3, 0}, {1955, 2, 4, 0}// 106 107 108
|
|
, {1955, 3, -2, 0}, {1955, 3, -1, 0}, {1955, 3, 0, 0}// 109 110 111
|
|
, {1955, 3, 1, 0}, {1955, 3, 2, 0}, {1955, 3, 3, 0}// 112 113 114
|
|
, {1955, 3, 4, 0}, {1955, 4, -2, 0}, {1955, 4, -1, 0}// 115 116 117
|
|
, {1955, 4, 0, 0}, {1955, 4, 1, 0}, {1955, 4, 2, 0}// 118 119 120
|
|
, {1955, 4, 3, 0}, {1955, 4, 4, 0}, {1955, 5, -2, 0}// 121 122 123
|
|
, {1955, 5, -1, 0}, {1955, 5, 0, 0}, {1955, 5, 1, 0}// 124 125 126
|
|
, {1955, 5, 2, 0}, {1955, 5, 3, 0}, {1955, 5, 4, 0}// 127 128 129
|
|
, {1956, 0, 5, 0}, {1956, 1, 5, 0}, {1956, 2, 5, 0}// 130 131 132
|
|
, {1956, 3, 5, 0}, {1956, 4, 5, 0}, {1961, 5, 5, 0}// 133 134 135
|
|
, {585, 5, 4, 5}, {586, 5, 4, 5}, {585, 5, -5, 5}// 136 137 138
|
|
, {582, 5, -4, 5}, {10488, 5, -5, 20}, {10488, 5, -4, 20}// 139 140 141
|
|
, {10488, 5, -3, 20}, {10488, 5, -2, 20}, {10488, 5, -1, 20}// 142 143 144
|
|
, {10488, 5, 0, 20}, {10488, 5, 1, 20}, {10488, 5, 2, 20}// 145 146 147
|
|
, {10488, 5, 3, 20}, {10488, 5, 4, 20}, {10488, 4, -5, 23}// 148 149 150
|
|
, {10488, 4, -4, 23}, {10488, 4, -3, 23}, {10488, 4, -2, 23}// 151 152 153
|
|
, {10488, 4, -1, 23}, {10488, 4, 0, 23}, {10488, 4, 1, 23}// 154 155 156
|
|
, {10488, 4, 2, 23}, {10488, 4, 3, 23}, {10488, 4, 4, 23}// 157 158 159
|
|
, {10488, 3, -5, 26}, {10488, 3, -4, 26}, {10488, 3, -3, 26}// 160 161 162
|
|
, {10488, 3, -2, 26}, {10488, 3, -1, 26}, {10488, 3, 0, 26}// 163 164 165
|
|
, {10488, 3, 1, 26}, {10488, 3, 2, 26}, {10488, 3, 3, 26}// 166 167 168
|
|
, {10488, 3, 4, 26}, {10488, 2, -5, 29}, {10488, 2, -4, 29}// 169 170 171
|
|
, {10488, 2, -3, 29}, {10488, 2, -2, 29}, {10488, 2, -1, 29}// 172 173 174
|
|
, {10488, 2, 0, 29}, {10488, 2, 1, 29}, {10488, 2, 2, 29}// 175 176 177
|
|
, {10488, 2, 3, 29}, {10488, 2, 4, 29}, {10482, 0, 4, 32}// 178 179 180
|
|
, {10482, 1, 4, 32}, {10480, 0, -5, 32}, {10480, 0, -4, 32}// 181 182 183
|
|
, {10480, 0, -3, 32}, {10480, 0, -2, 32}, {10480, 0, -1, 32}// 184 185 186
|
|
, {10480, 0, 0, 32}, {10480, 0, 1, 32}, {10480, 0, 2, 32}// 187 188 189
|
|
, {10480, 0, 3, 32}, {10480, 1, -5, 32}, {10480, 1, -4, 32}// 190 191 192
|
|
, {10480, 1, -3, 32}, {10480, 1, -2, 32}, {10480, 1, -1, 32}// 193 194 195
|
|
, {10480, 1, 0, 32}, {10480, 1, 1, 32}, {10480, 1, 2, 32}// 196 197 198
|
|
, {10480, 1, 3, 32}// 199
|
|
};
|
|
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new StoneOutBldg2AddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public StoneOutBldg2Addon()
|
|
{
|
|
|
|
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 StoneOutBldg2Addon( 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 StoneOutBldg2AddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new StoneOutBldg2Addon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public StoneOutBldg2AddonDeed()
|
|
{
|
|
Name = "StoneOutBldg2";
|
|
}
|
|
|
|
public StoneOutBldg2AddonDeed( 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();
|
|
}
|
|
}
|
|
} |