//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class HeartPoolAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {1802, 2, 5, 0}, {1801, 1, -4, 0}, {1173, 2, -1, 0}// 1 2 3 , {1819, -3, 0, 0}, {1819, 0, -3, 0}, {1803, -3, 2, 0}// 4 5 6 , {1802, -2, 0, 0}, {4555, -2, -2, 6}, {1805, -5, 2, 0}// 7 8 9 , {1810, -2, -5, 0}, {1173, 1, 0, 0}, {1802, 1, -3, 0}// 12 13 14 , {1801, -4, 2, 0}, {1802, 2, -3, 0}, {1173, 1, -2, 0}// 17 18 22 , {1801, -1, -1, 0}, {1801, 0, -4, 0}, {1804, 0, -5, 0}// 23 25 26 , {1804, 0, 3, 0}, {1804, -4, -2, 0}, {1804, 1, 3, 0}// 27 28 29 , {2483, -1, -2, 5}, {1804, 2, -5, 0}, {1173, -1, 3, 0}// 31 32 33 , {1173, 2, 2, 0}, {1804, -1, 3, 0}, {1812, -5, 5, 0}// 37 38 40 , {2483, -2, -1, 5}, {1803, -3, 1, 0}, {1804, 2, 3, 0}// 41 42 43 , {4554, -4, -1, 7}, {1173, 1, 3, 0}, {1173, 2, 3, 0}// 44 46 47 , {4554, -1, -4, 7}, {1802, -1, 0, 0}, {1173, 2, 0, 0}// 48 49 50 , {2503, -1, -1, 5}, {1805, -5, 4, 0}, {1801, -1, -3, 0}// 51 52 53 , {1801, -3, -1, 0}, {1802, -2, 5, 0}, {1802, -1, 5, 0}// 54 55 56 , {1810, -5, -2, 0}, {1805, -5, 3, 0}, {1805, -2, -4, 0}// 57 61 62 , {1173, 1, 2, 0}, {1801, 2, -4, 0}, {1173, 2, -2, 0}// 63 64 65 , {1173, 1, -1, 0}, {1805, -5, 1, 0}, {1803, 0, -1, 0}// 66 67 68 , {1805, -5, -1, 0}, {1173, -1, 1, 0}, {1801, -4, 4, 0}// 69 72 76 , {1173, -1, 2, 0}, {1801, -2, -1, 0}, {4553, -3, -3, 0}// 77 81 82 , {1801, -1, 4, 0}, {2450, -1, -3, 5}, {1801, -1, -2, 0}// 84 85 87 , {1801, -1, -4, 0}, {1804, -2, 3, 0}, {1820, -3, 3, 0}// 88 89 91 , {1173, 2, 1, 0}, {1802, 1, 5, 0}, {1802, -4, 5, 0}// 92 93 94 , {1801, -4, -1, 0}, {1804, -3, -2, 0}, {1802, 0, 5, 0}// 95 96 97 , {2449, -3, -1, 5}, {1801, -4, 0, 0}, {1801, 1, 4, 0}// 98 102 104 , {2430, -3, -1, 6}, {1173, 0, 2, 0}, {1803, 0, -2, 0}// 105 106 107 , {1173, -2, 1, 0}, {1804, -1, -5, 0}, {1807, 0, 0, 0}// 108 109 110 , {1173, -2, 2, 0}, {1802, -3, 5, 0}, {1804, 1, -5, 0}// 111 112 113 , {1801, -4, 1, 0}, {1805, -5, 0, 0}, {1173, -2, 3, 0}// 114 116 117 , {1173, 0, 3, 0}, {1801, 0, 4, 0}, {2444, -1, -3, 6}// 120 121 122 , {1814, -2, -2, 0}, {1801, -3, 4, 0}, {1173, 1, 1, 0}// 123 125 126 , {1173, 0, 1, 0}, {1805, -2, -3, 0}, {1801, -2, 4, 0}// 127 128 129 , {1801, -4, 3, 0}, {1801, 2, 4, 0}, {1807, 5, 5, 0}// 130 131 132 , {1805, 3, -2, 0}, {1801, 4, -4, 0}, {1803, 5, 2, 0}// 133 135 136 , {1805, 3, 2, 0}, {1814, 3, 3, 0}, {1801, 4, 3, 0}// 137 138 139 , {1801, 4, 2, 0}, {1801, 3, 4, 0}, {1801, 4, -1, 0}// 140 141 142 , {1801, 4, -3, 0}, {1803, 5, 0, 0}, {1801, 3, -4, 0}// 143 144 145 , {1803, 5, 3, 0}, {1803, 5, -3, 0}, {1801, 4, 1, 0}// 147 148 150 , {1804, 3, -5, 0}, {1803, 5, -4, 0}, {1803, 5, 1, 0}// 151 153 155 , {1805, 3, -1, 0}, {1801, 4, -2, 0}, {1803, 5, 4, 0}// 156 157 158 , {1805, 3, 0, 0}, {1802, 3, 5, 0}, {1802, 4, 5, 0}// 160 161 162 , {1803, 5, -1, 0}, {1804, 4, -5, 0}, {1805, 3, 1, 0}// 163 164 165 , {1813, 5, -5, 0}, {1803, 5, -2, 0}, {1821, 3, -3, 0}// 166 167 169 , {1801, 4, 4, 0}, {1801, 4, 0, 0}// 170 172 }; public override BaseAddonDeed Deed { get { return new HeartPoolAddonDeed(); } } [ Constructable ] public HeartPoolAddon() { 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, 7385, -1, 1, 5, 1263, -1, "water", 1);// 10 AddComplexComponent( (BaseAddon) this, 7385, -1, 0, 5, 1263, -1, "water", 1);// 11 AddComplexComponent( (BaseAddon) this, 2845, -4, 4, 5, 0, 1, "", 1);// 15 AddComplexComponent( (BaseAddon) this, 7385, -1, 2, 5, 1263, -1, "water", 1);// 16 AddComplexComponent( (BaseAddon) this, 7385, 0, -3, 5, 1263, -1, "water", 1);// 19 AddComplexComponent( (BaseAddon) this, 6420, 1, -4, 5, 31, -1, "", 1);// 20 AddComplexComponent( (BaseAddon) this, 7385, -3, 0, 5, 1263, -1, "water", 1);// 21 AddComplexComponent( (BaseAddon) this, 7385, -3, 2, 5, 1263, -1, "water", 1);// 24 AddComplexComponent( (BaseAddon) this, 7385, 1, -3, 5, 1263, -1, "water", 1);// 30 AddComplexComponent( (BaseAddon) this, 7385, 2, -3, 5, 1263, -1, "water", 1);// 34 AddComplexComponent( (BaseAddon) this, 7385, -2, 1, 5, 1263, -1, "water", 1);// 35 AddComplexComponent( (BaseAddon) this, 7385, -2, 0, 5, 1263, -1, "water", 1);// 36 AddComplexComponent( (BaseAddon) this, 7385, 2, 2, 5, 1263, -1, "water", 1);// 39 AddComplexComponent( (BaseAddon) this, 7385, 0, -1, 5, 1263, -1, "water", 1);// 45 AddComplexComponent( (BaseAddon) this, 7385, 1, 3, 5, 1263, -1, "water", 1);// 58 AddComplexComponent( (BaseAddon) this, 7385, -1, 3, 5, 1263, -1, "water", 1);// 59 AddComplexComponent( (BaseAddon) this, 7385, 0, 2, 5, 1263, -1, "water", 1);// 60 AddComplexComponent( (BaseAddon) this, 7385, 2, -1, 5, 1263, -1, "water", 1);// 70 AddComplexComponent( (BaseAddon) this, 7385, -3, 3, 5, 1263, -1, "water", 1);// 71 AddComplexComponent( (BaseAddon) this, 7385, 1, 1, 5, 1263, -1, "water", 1);// 73 AddComplexComponent( (BaseAddon) this, 7385, 2, 3, 5, 1263, -1, "water", 1);// 74 AddComplexComponent( (BaseAddon) this, 6420, 1, -4, 7, 31, -1, "", 1);// 75 AddComplexComponent( (BaseAddon) this, 7385, -3, 1, 5, 1263, -1, "water", 1);// 78 AddComplexComponent( (BaseAddon) this, 7385, -2, 2, 5, 1263, -1, "water", 1);// 79 AddComplexComponent( (BaseAddon) this, 7385, 1, -2, 5, 1263, -1, "water", 1);// 80 AddComplexComponent( (BaseAddon) this, 7385, 0, 1, 5, 1263, -1, "water", 1);// 83 AddComplexComponent( (BaseAddon) this, 7385, 2, 1, 5, 1263, -1, "water", 1);// 86 AddComplexComponent( (BaseAddon) this, 7385, 0, 3, 5, 1263, -1, "water", 1);// 90 AddComplexComponent( (BaseAddon) this, 7385, 1, -1, 5, 1263, -1, "water", 1);// 99 AddComplexComponent( (BaseAddon) this, 7385, 1, 0, 5, 1263, -1, "water", 1);// 100 AddComplexComponent( (BaseAddon) this, 7385, 2, 0, 5, 1263, -1, "water", 1);// 101 AddComplexComponent( (BaseAddon) this, 7385, 0, -2, 5, 1263, -1, "water", 1);// 103 AddComplexComponent( (BaseAddon) this, 7385, 0, 0, 5, 1263, -1, "water", 1);// 115 AddComplexComponent( (BaseAddon) this, 7385, 1, 2, 5, 1263, -1, "water", 1);// 118 AddComplexComponent( (BaseAddon) this, 7385, -2, 3, 5, 1263, -1, "water", 1);// 119 AddComplexComponent( (BaseAddon) this, 7385, 2, -2, 5, 1263, -1, "water", 1);// 124 AddComplexComponent( (BaseAddon) this, 2845, 4, -4, 5, 0, 1, "", 1);// 134 AddComplexComponent( (BaseAddon) this, 7385, 3, -3, 5, 1263, -1, "water", 1);// 146 AddComplexComponent( (BaseAddon) this, 7385, 3, 1, 5, 1263, -1, "water", 1);// 149 AddComplexComponent( (BaseAddon) this, 7385, 3, -2, 5, 1263, -1, "water", 1);// 152 AddComplexComponent( (BaseAddon) this, 7385, 3, 0, 5, 1263, -1, "water", 1);// 154 AddComplexComponent( (BaseAddon) this, 7385, 3, -1, 5, 1263, -1, "water", 1);// 159 AddComplexComponent( (BaseAddon) this, 7385, 3, 2, 5, 1263, -1, "water", 1);// 168 AddComplexComponent( (BaseAddon) this, 7385, 3, 3, 5, 1263, -1, "water", 1);// 171 } public HeartPoolAddon( 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 HeartPoolAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new HeartPoolAddon(); } } [Constructable] public HeartPoolAddonDeed() { Name = "HeartPool"; } public HeartPoolAddonDeed( 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(); } } }