//////////////////////////////////////// // // // Generated by CEO's YAAAG - V1.2 // // (Yet Another Arya Addon Generator) // // // //////////////////////////////////////// using System; using Server; using Server.Items; namespace Server.Items { public class ElfHouseDecoAddon : BaseAddon { private static int[,] m_AddOnSimpleComponents = new int[,] { {6093, 0, 1, 40}, {6088, 0, 1, 7}, {6091, 1, -1, 7}// 1 3 5 , {2493, 1, 0, 14}, {6093, -1, 2, 40}, {6085, 0, -1, 7}// 6 7 8 , {2880, 1, 0, 7}, {2863, 0, 0, 7}, {6093, 0, 2, 40}// 10 11 12 , {6093, -1, 1, 40}, {2653, -2, -2, 7}, {6093, 0, 0, 40}// 13 14 15 , {6090, 0, 0, 7}, {11227, 1, -2, 10}, {11232, 1, -2, 7}// 18 19 20 , {11229, 1, -2, 7}, {2868, -2, -1, 6}, {6093, -1, 0, 40}// 22 27 28 , {6089, 1, 1, 7}, {6093, -1, -1, 40}, {6093, 0, -1, 40}// 29 30 31 , {6077, 1, 0, 7}, {2658, -1, -2, 7}, {6087, -2, 4, 7}// 32 34 37 , {6093, 0, 3, 40}, {6093, -1, 4, 40}, {3215, -2, 4, 0}// 38 39 43 , {9008, -1, 4, 5}, {6090, -3, 3, 7}, {6088, -3, 3, 6}// 45 47 48 , {3215, -3, 4, 0}, {3215, -3, 3, 0}, {6088, -3, 4, 7}// 49 51 52 , {6093, 0, 4, 40}, {6093, -1, 3, 40}, {6093, 4, 2, 40}// 55 56 57 , {3215, 4, 1, 0}, {3215, 4, 2, 0}, {6092, 4, 2, 7}// 58 59 61 , {3215, 4, -1, 0}, {6093, 3, 0, 40}, {6093, 4, 2, 40}// 62 64 66 , {11231, 2, -2, 7}, {6093, 4, 1, 40}, {6093, 4, 1, 40}// 68 69 70 , {6092, 4, -2, 7}, {6093, 2, -1, 40}, {6092, 4, -1, 7}// 71 72 73 , {3215, 4, 0, 0}, {6093, 4, -1, 40}, {6086, 4, -4, 7}// 74 75 76 , {6093, 2, 1, 40}, {6093, 3, 2, 40}, {3215, 3, -4, 0}// 77 79 80 , {6093, 3, 1, 40}, {3215, 4, -3, 0}, {3215, 2, -4, 0}// 81 82 83 , {6092, 4, -3, 7}, {3215, 4, -2, 0}, {6093, 3, -1, 40}// 84 85 86 , {11225, 2, -2, 12}, {3215, 4, -4, 0}, {6091, 3, -4, 7}// 87 88 89 , {6093, 2, 2, 40}, {6091, 2, -4, 7}, {6092, 4, 1, 7}// 90 91 92 , {6093, 4, 0, 40}, {6093, 4, 2, 40}, {6086, 2, -1, 7}// 93 94 95 , {6093, 4, 0, 40}, {6093, 2, 0, 40}, {6092, 2, 0, 7}// 96 97 98 , {11230, 2, -2, 7}, {6092, 4, 0, 7}, {6093, 4, 1, 40}// 99 100 102 , {6093, 4, -1, 40}, {6087, 2, 1, 7}, {6093, 4, -1, 40}// 103 104 105 , {6093, 4, 0, 40}, {6093, 4, 3, 40}, {6093, 4, 4, 40}// 106 111 112 , {6093, 3, 3, 40}, {6093, 2, 3, 40}, {6093, 3, 4, 40}// 113 114 115 , {6093, 4, 3, 40}, {6087, 4, 4, 7}, {6093, 4, 4, 40}// 116 118 119 , {6093, 2, 4, 40}, {3215, 4, 4, 0}, {6093, 4, 3, 40}// 120 121 122 , {3215, 2, 4, 0}, {3215, 4, 3, 0}, {6089, 3, 4, 7}// 123 124 125 , {6092, 4, 3, 7}, {6093, 4, 4, 40}, {3215, 3, 4, 0}// 126 127 128 , {6088, 2, 4, 7}// 129 }; public override BaseAddonDeed Deed { get { return new ElfHouseDecoAddonDeed(); } } [ Constructable ] public ElfHouseDecoAddon() { 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, 9079, -2, 1, 7, 0, -1, "Christmas Tree", 1);// 2 AddComplexComponent( (BaseAddon) this, 2520, 1, 0, 14, 0, -1, "Christmas Dinner", 1);// 4 AddComplexComponent( (BaseAddon) this, 2842, -2, -1, 14, 0, 1, "", 1);// 9 AddComplexComponent( (BaseAddon) this, 9062, 1, -3, 7, 0, 1, "", 1);// 16 AddComplexComponent( (BaseAddon) this, 5899, 0, -2, 7, 2328, -1, "Snowy Boots", 1);// 17 AddComplexComponent( (BaseAddon) this, 7878, -2, 1, 22, 2673, -1, "", 1);// 21 AddComplexComponent( (BaseAddon) this, 9002, -2, 0, 7, 2381, -1, "To: Herbie From: Santa", 1);// 23 AddComplexComponent( (BaseAddon) this, 3249, 1, -2, 21, 0, -1, "Garland", 1);// 24 AddComplexComponent( (BaseAddon) this, 2483, 1, 0, 18, 0, -1, "Eggnog", 1);// 25 AddComplexComponent( (BaseAddon) this, 4029, -2, -2, 9, 0, -1, "The Night Before Christmas", 1);// 26 AddComplexComponent( (BaseAddon) this, 7878, -2, 1, 14, 2673, -1, "", 1);// 33 AddComplexComponent( (BaseAddon) this, 4650, 0, -2, 7, 1900, -1, "Melted Snow", 1);// 35 AddComplexComponent( (BaseAddon) this, 9860, -1, -2, 9, 2475, -1, "Elfs Robe", 1);// 36 AddComplexComponent( (BaseAddon) this, 9004, -2, 4, 4, 33, -1, "", 1);// 40 AddComplexComponent( (BaseAddon) this, 9077, 0, 4, 11, 33, -1, "", 1);// 41 AddComplexComponent( (BaseAddon) this, 3965, 1, 4, 32, 1153, -1, "Icicle", 1);// 42 AddComplexComponent( (BaseAddon) this, 3965, -1, 4, 29, 1153, -1, "Icicle", 1);// 44 AddComplexComponent( (BaseAddon) this, 3965, -3, 4, 23, 1153, -1, "Icicle", 1);// 46 AddComplexComponent( (BaseAddon) this, 3965, -2, 4, 26, 1153, -1, "Icicle", 1);// 50 AddComplexComponent( (BaseAddon) this, 9009, 1, 4, 4, 2293, -1, "", 1);// 53 AddComplexComponent( (BaseAddon) this, 3965, 0, 4, 33, 1153, -1, "Icicle", 1);// 54 AddComplexComponent( (BaseAddon) this, 3965, 4, 1, 24, 1153, -1, "Icicle", 1);// 60 AddComplexComponent( (BaseAddon) this, 9056, 2, -3, 7, 0, 1, "", 1);// 63 AddComplexComponent( (BaseAddon) this, 3965, 4, -1, 24, 1153, -1, "Icicle", 1);// 65 AddComplexComponent( (BaseAddon) this, 3965, 4, -3, 24, 1153, -1, "Icicle", 1);// 67 AddComplexComponent( (BaseAddon) this, 3965, 4, -2, 24, 1153, -1, "Icicle", 1);// 78 AddComplexComponent( (BaseAddon) this, 3965, 4, 2, 24, 1153, -1, "Icicle", 1);// 101 AddComplexComponent( (BaseAddon) this, 3965, 4, 0, 24, 1153, -1, "Icicle", 1);// 107 AddComplexComponent( (BaseAddon) this, 3249, 2, -2, 21, 0, -1, "Garland", 1);// 108 AddComplexComponent( (BaseAddon) this, 3965, 4, 3, 24, 1153, -1, "Icicle", 1);// 109 AddComplexComponent( (BaseAddon) this, 3965, 2, 4, 29, 1153, -1, "Icicle", 1);// 110 AddComplexComponent( (BaseAddon) this, 3965, 3, 4, 26, 1153, -1, "Icicle", 1);// 117 AddComplexComponent( (BaseAddon) this, 3965, 4, 4, 24, 1153, -1, "Icicle", 1);// 130 } public ElfHouseDecoAddon( 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 ElfHouseDecoAddonDeed : BaseAddonDeed { public override BaseAddon Addon { get { return new ElfHouseDecoAddon(); } } [Constructable] public ElfHouseDecoAddonDeed() { Name = "ElfHouseDeco"; } public ElfHouseDecoAddonDeed( 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(); } } }