//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class SandstoneCryptAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {1900, -3, -3, 0}, {1900, -3, -2, 0}, {1900, -3, -1, 0}// 1 2 3 , {1900, -3, 0, 0}, {1900, -3, 1, 0}, {1900, -3, 2, 0}// 4 5 6 , {1900, -3, 3, 0}, {1900, -2, -3, 0}, {1900, -2, -2, 0}// 7 8 9 , {1900, -2, -1, 0}, {1900, -2, 0, 0}, {1900, -2, 1, 0}// 10 11 12 , {1900, -2, 2, 0}, {1900, -2, 3, 0}, {1900, -1, -3, 0}// 13 14 15 , {1900, -1, -2, 0}, {1900, -1, -1, 0}, {1900, -1, 0, 0}// 16 17 18 , {1900, -1, 1, 0}, {1900, -1, 2, 0}, {1900, -1, 3, 0}// 19 20 21 , {1900, 0, -3, 0}, {1900, 0, -2, 0}, {1900, 0, -1, 0}// 22 23 24 , {1900, 0, 0, 0}, {1900, 0, 1, 0}, {1900, 0, 2, 0}// 25 26 27 , {1900, 0, 3, 0}, {1900, 1, -3, 0}, {1900, 1, -2, 0}// 28 29 30 , {1900, 1, -1, 0}, {1900, 1, 0, 0}, {1900, 1, 1, 0}// 31 32 33 , {1900, 1, 2, 0}, {1900, 1, 3, 0}, {1900, 2, -3, 0}// 34 35 36 , {1900, 2, -2, 0}, {1900, 2, -1, 0}, {1900, 2, 0, 0}// 37 38 39 , {1900, 2, 1, 0}, {1900, 2, 2, 0}, {1900, 2, 3, 0}// 40 41 42 , {1900, 3, -3, 0}, {1900, 3, -2, 0}, {1900, 3, -1, 0}// 43 44 45 , {1900, 3, 0, 0}, {1900, 3, 1, 0}, {1900, 3, 2, 0}// 46 47 48 , {1900, 3, 3, 0}, {1900, 4, -3, 0}, {1900, 4, -2, 0}// 49 50 51 , {1900, 4, -1, 0}, {1900, 4, 0, 0}, {1900, 4, 1, 0}// 52 53 54 , {1900, 4, 2, 0}, {1900, 4, 3, 0}, {1901, -3, 4, 0}// 55 56 57 , {1901, -2, 4, 0}, {1901, -1, 4, 0}, {1901, 0, 4, 0}// 58 59 60 , {1901, 1, 4, 0}, {1901, 2, 4, 0}, {1901, 3, 4, 0}// 61 62 63 , {362, -3, -4, 0}, {362, -2, -4, 0}, {362, -1, -4, 0}// 64 65 66 , {362, 0, -4, 0}, {362, 1, -4, 0}, {362, 2, -4, 0}// 67 68 69 , {362, 3, -4, 0}, {362, 4, -4, 0}, {352, -3, -4, 5}// 70 71 72 , {352, -2, -4, 5}, {352, -1, -4, 5}, {352, 0, -4, 5}// 73 74 75 , {352, 1, -4, 5}, {352, 2, -4, 5}, {352, 3, -4, 5}// 76 77 78 , {352, 4, -4, 5}, {361, -4, -4, 0}, {361, -4, -3, 0}// 79 80 81 , {361, -4, -2, 0}, {361, -4, -1, 0}, {361, -4, 0, 0}// 82 83 84 , {361, -4, 1, 0}, {361, -4, 2, 0}, {361, -4, 3, 0}// 85 86 87 , {351, -4, -3, 5}, {351, -4, -2, 5}, {351, -4, -1, 5}// 88 89 90 , {351, -4, 1, 5}, {351, -4, 3, 5}, {353, -4, -4, 5}// 91 92 93 , {352, -3, 3, 5}, {352, -1, 3, 5}, {352, 2, 3, 5}// 94 99 100 , {365, 1, 3, 5}, {368, 0, 3, 5}, {1900, -2, -3, 5}// 101 102 103 , {1900, -1, -3, 5}, {1900, 0, -3, 5}, {1900, -2, -3, 10}// 104 105 106 , {1900, -1, -3, 10}, {1900, -2, -3, 15}, {1902, 1, -3, 5}// 107 108 109 , {1902, 0, -3, 10}, {1902, -1, -3, 15}, {1902, -2, -3, 20}// 110 111 112 , {373, -3, -2, 5}, {352, -2, -2, 5}, {352, -1, -2, 5}// 113 114 115 , {352, 0, -2, 5}, {350, 4, 3, 5}, {351, 4, 1, 5}// 116 117 119 , {351, 4, -1, 5}, {351, 4, -3, 5}, {1181, -3, -2, 25}// 121 123 124 , {1181, -3, -1, 25}, {1181, -3, 0, 25}, {1181, -3, 1, 25}// 125 126 127 , {1181, -3, 2, 25}, {1181, -3, 3, 25}, {1181, -2, -2, 25}// 128 129 130 , {1181, -2, -1, 25}, {1181, -2, 0, 25}, {1181, -2, 1, 25}// 131 132 133 , {1181, -2, 2, 25}, {1181, -2, 3, 25}, {1181, -1, -2, 25}// 134 135 136 , {1181, -1, -1, 25}, {1181, -1, 0, 25}, {1181, -1, 1, 25}// 137 138 139 , {1181, -1, 2, 25}, {1181, -1, 3, 25}, {1181, 0, -2, 25}// 140 141 142 , {1181, 0, -1, 25}, {1181, 0, 0, 25}, {1181, 0, 1, 25}// 143 144 145 , {1181, 0, 2, 25}, {1181, 0, 3, 25}, {1181, 1, -2, 25}// 146 147 148 , {1181, 1, -1, 25}, {1181, 1, 0, 25}, {1181, 1, 1, 25}// 149 150 151 , {1181, 1, 2, 25}, {1181, 1, 3, 25}, {1181, 2, -3, 25}// 152 153 154 , {1181, 2, -2, 25}, {1181, 2, -1, 25}, {1181, 2, 0, 25}// 155 156 157 , {1181, 2, 1, 25}, {1181, 2, 2, 25}, {1181, 2, 3, 25}// 158 159 160 , {1181, 3, -3, 25}, {1181, 3, -2, 25}, {1181, 3, -1, 25}// 161 162 163 , {1181, 3, 0, 25}, {1181, 3, 1, 25}, {1181, 3, 2, 25}// 164 165 166 , {1181, 3, 3, 25}, {1181, 4, -3, 25}, {1181, 4, -2, 25}// 167 168 169 , {1181, 4, -1, 25}, {1181, 4, 0, 25}, {1181, 4, 1, 25}// 170 171 172 , {1181, 4, 2, 25}, {1181, 4, 3, 25}, {373, -3, -3, 5}// 173 174 175 , {352, 1, -2, 5}, {1181, -3, -3, 25}, {353, -4, -4, 25}// 176 177 199 , {1901, 4, 4, 0}, {9187, 5, 4, 51}, {9186, 4, 3, 54}// 200 209 210 , {9186, 3, 2, 57}, {9189, -3, 4, 51}, {9188, -2, 3, 54}// 211 212 213 , {9188, -1, 2, 57}, {9188, 0, 1, 60}, {9186, 2, 1, 60}// 214 215 216 , {9191, 5, -3, 51}, {9190, 4, -2, 54}, {9190, 3, -1, 57}// 217 218 219 , {9190, 2, 0, 60}, {9193, -3, -3, 51}, {9192, -2, -2, 54}// 220 221 222 , {9192, -1, -1, 57}, {9192, 0, 0, 60}, {9185, -2, -3, 51}// 223 224 225 , {9185, -1, -3, 51}, {9185, 0, -3, 51}, {9185, 1, -3, 51}// 226 227 228 , {9185, 2, -3, 51}, {9185, 3, -3, 51}, {9185, 4, -3, 51}// 229 230 231 , {9184, -1, -2, 54}, {9184, 0, -2, 54}, {9184, 1, -2, 54}// 232 233 234 , {9184, 2, -2, 54}, {9184, 3, -2, 54}, {9184, 0, -1, 57}// 235 236 237 , {9184, 1, -1, 57}, {9184, 2, -1, 57}, {9184, 1, 0, 60}// 238 239 240 , {9183, -3, -2, 51}, {9183, -3, -1, 51}, {9183, -3, 0, 51}// 241 242 243 , {9183, -3, 1, 51}, {9183, -3, 2, 51}, {9183, -3, 3, 51}// 244 245 246 , {9182, -2, -1, 54}, {9182, -2, 0, 54}, {9182, -2, 1, 54}// 247 248 249 , {9182, -2, 2, 54}, {9182, -1, 0, 57}, {9182, -1, 1, 57}// 250 251 252 , {9181, 5, -2, 51}, {9181, 5, -1, 51}, {9181, 5, 0, 51}// 253 254 255 , {9181, 5, 1, 51}, {9181, 5, 2, 51}, {9181, 5, 3, 51}// 256 257 258 , {9180, 4, -1, 54}, {9180, 4, 0, 54}, {9180, 4, 1, 54}// 259 260 261 , {9180, 4, 2, 54}, {9180, 3, 0, 57}, {9180, 3, 1, 57}// 262 263 264 , {9179, -2, 4, 51}, {9179, -1, 4, 51}, {9179, 0, 4, 51}// 265 266 267 , {9179, 1, 4, 51}, {9179, 2, 4, 51}, {9179, 3, 4, 51}// 268 269 270 , {9179, 4, 4, 51}, {9178, -1, 3, 54}, {9178, 0, 3, 54}// 271 272 273 , {9178, 1, 3, 54}, {9178, 2, 3, 54}, {9178, 3, 3, 54}// 274 275 276 , {9178, 0, 2, 57}, {9178, 1, 2, 57}, {9178, 2, 2, 57}// 277 278 279 , {9178, 1, 1, 60}// 280 }; public override BaseAddonDeed Deed { get { return new SandstoneCryptAddonDeed(); } } [ Constructable ] public SandstoneCryptAddon() { 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, 354, -4, 2, 5, 0, 10, "", 1);// 95 AddComplexComponent( (BaseAddon) this, 354, -4, 0, 5, 0, 10, "", 1);// 96 AddComplexComponent( (BaseAddon) this, 355, -2, 3, 5, 0, 10, "", 1);// 97 AddComplexComponent( (BaseAddon) this, 355, 3, 3, 5, 0, 10, "", 1);// 98 AddComplexComponent( (BaseAddon) this, 354, 4, 2, 5, 0, 10, "", 1);// 118 AddComplexComponent( (BaseAddon) this, 354, 4, 0, 5, 0, 10, "", 1);// 120 AddComplexComponent( (BaseAddon) this, 354, 4, -2, 5, 0, 10, "", 1);// 122 AddComplexComponent( (BaseAddon) this, 596, -4, -3, 25, 0, 0, "", 1);// 178 AddComplexComponent( (BaseAddon) this, 596, -4, -2, 25, 0, 0, "", 1);// 179 AddComplexComponent( (BaseAddon) this, 596, -4, -1, 25, 0, 0, "", 1);// 180 AddComplexComponent( (BaseAddon) this, 596, -4, 0, 25, 0, 0, "", 1);// 181 AddComplexComponent( (BaseAddon) this, 596, -4, 1, 25, 0, 0, "", 1);// 182 AddComplexComponent( (BaseAddon) this, 596, -4, 2, 25, 0, 0, "", 1);// 183 AddComplexComponent( (BaseAddon) this, 596, -4, 3, 25, 0, 0, "", 1);// 184 AddComplexComponent( (BaseAddon) this, 596, 4, -3, 25, 0, 0, "", 1);// 185 AddComplexComponent( (BaseAddon) this, 596, 4, -2, 25, 0, 0, "", 1);// 186 AddComplexComponent( (BaseAddon) this, 596, 4, -1, 25, 0, 0, "", 1);// 187 AddComplexComponent( (BaseAddon) this, 596, 4, 0, 25, 0, 0, "", 1);// 188 AddComplexComponent( (BaseAddon) this, 596, 4, 1, 25, 0, 0, "", 1);// 189 AddComplexComponent( (BaseAddon) this, 596, 4, 2, 25, 0, 0, "", 1);// 190 AddComplexComponent( (BaseAddon) this, 595, -3, -4, 25, 0, 0, "", 1);// 191 AddComplexComponent( (BaseAddon) this, 595, -2, -4, 25, 0, 0, "", 1);// 192 AddComplexComponent( (BaseAddon) this, 595, -1, -4, 25, 0, 0, "", 1);// 193 AddComplexComponent( (BaseAddon) this, 595, 0, -4, 25, 0, 0, "", 1);// 194 AddComplexComponent( (BaseAddon) this, 595, 1, -4, 25, 0, 0, "", 1);// 195 AddComplexComponent( (BaseAddon) this, 595, 2, -4, 25, 0, 0, "", 1);// 196 AddComplexComponent( (BaseAddon) this, 595, 3, -4, 25, 0, 0, "", 1);// 197 AddComplexComponent( (BaseAddon) this, 595, 4, -4, 25, 0, 0, "", 1);// 198 AddComplexComponent( (BaseAddon) this, 594, 4, 3, 25, 0, 10, "", 1);// 201 AddComplexComponent( (BaseAddon) this, 595, -3, 3, 25, 0, 0, "", 1);// 202 AddComplexComponent( (BaseAddon) this, 595, -2, 3, 25, 0, 0, "", 1);// 203 AddComplexComponent( (BaseAddon) this, 595, -1, 3, 25, 0, 0, "", 1);// 204 AddComplexComponent( (BaseAddon) this, 595, 0, 3, 25, 0, 0, "", 1);// 205 AddComplexComponent( (BaseAddon) this, 595, 1, 3, 25, 0, 0, "", 1);// 206 AddComplexComponent( (BaseAddon) this, 595, 2, 3, 25, 0, 0, "", 1);// 207 AddComplexComponent( (BaseAddon) this, 595, 3, 3, 25, 0, 0, "", 1);// 208 } public SandstoneCryptAddon( 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 SandstoneCryptAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new SandstoneCryptAddon(); } } [Constructable] public SandstoneCryptAddonDeed() { Name = "SandstoneCrypt"; } public SandstoneCryptAddonDeed( 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(); } } }