Initial commit
This commit is contained in:
@@ -0,0 +1,189 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AnimalCage_Wagon1Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 2 3 4
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {40280, 3, 3, 27}// 5 6 9
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 10 23 24
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 25 26 27
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 28 29 30
|
||||
, {20788, -1, 3, 23}, {39716, -1, 3, 15}, {39717, -2, 3, 15}// 32 33 34
|
||||
, {39717, -2, 2, 15}, {39717, -2, 1, 15}, {39717, -2, 0, 15}// 35 36 37
|
||||
, {39717, -2, -1, 15}, {20793, -2, 0, 23}, {20793, -2, 2, 23}// 38 39 40
|
||||
, {8173, 0, 3, 25}, {8175, 1, 3, 25}, {24, 1, 3, 47}// 43 44 45
|
||||
, {24, 0, 3, 47}, {24, -1, 3, 47}, {17, -2, 0, 47}// 46 47 48
|
||||
, {17, -2, -1, 47}, {17, -2, 1, 47}, {17, -2, 2, 47}// 49 50 51
|
||||
, {25, -2, 3, 47}, {17, 2, -1, 47}, {17, 2, 0, 47}// 52 53 54
|
||||
, {17, 2, 1, 47}, {17, 2, 2, 47}, {20, 2, 3, 47}// 55 56 57
|
||||
, {20793, 2, 2, 23}, {20793, 2, 1, 23}, {20793, 2, 0, 23}// 58 59 60
|
||||
, {20793, 2, -1, 23}, {20780, 2, 3, 23}, {1996, 0, 0, 14}// 61 62 63
|
||||
, {1191, 2, 3, 47}, {1194, 2, 2, 47}, {1194, 2, 1, 47}// 64 65 66
|
||||
, {1191, 2, 0, 47}, {1194, 2, -1, 47}, {1191, 1, 3, 47}// 67 68 69
|
||||
, {1191, 1, 2, 47}, {1191, 1, 1, 47}, {1194, 1, 0, 47}// 70 71 72
|
||||
, {1191, 1, -1, 47}, {1194, 0, 3, 47}, {1191, 0, 2, 47}// 73 74 75
|
||||
, {1194, 0, 1, 47}, {1191, 0, 0, 47}, {1194, 0, -1, 47}// 76 77 78
|
||||
, {1191, -1, 3, 47}, {1194, -1, 2, 47}, {1191, -1, 1, 47}// 79 80 81
|
||||
, {1194, -1, 0, 47}, {1191, -1, -1, 47}, {20793, -2, -1, 23}// 82 83 84
|
||||
, {20793, -2, 3, 23}, {20793, -2, 1, 23}, {39717, 2, -1, 15}// 85 86 87
|
||||
, {39717, 2, 0, 15}, {39717, 2, 1, 15}, {39717, 2, 2, 15}// 88 89 90
|
||||
, {39715, 2, 3, 15}, {1996, 1, 3, 14}, {1996, 1, 2, 14}// 91 92 93
|
||||
, {1996, 1, 1, 14}, {1996, 1, 0, 14}, {1996, 1, -1, 14}// 94 95 96
|
||||
, {1996, -1, 3, 14}, {1996, 2, 3, 14}, {1996, 0, -1, 14}// 97 98 99
|
||||
, {1996, 0, 2, 14}, {1996, 0, 1, 14}, {1996, -1, -1, 14}// 100 101 102
|
||||
, {1996, -1, 2, 14}, {1996, -1, 1, 14}, {1996, -1, 0, 14}// 103 104 105
|
||||
, {1996, 2, -1, 14}, {1996, 2, 2, 14}, {1996, 2, 1, 14}// 106 107 108
|
||||
, {1996, 2, 0, 14}, {40280, 3, -4, 27}, {42314, 2, -3, 7}// 109 113 114
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 115 116 117
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 118 119 120
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 121 124 125
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 126 127 128
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 129 130 131
|
||||
, {39716, -1, -5, 15}, {39717, -2, -2, 15}, {39717, -2, -3, 15}// 132 133 134
|
||||
, {39717, -2, -4, 15}, {20788, 2, -5, 23}, {24, 2, -5, 47}// 135 136 137
|
||||
, {24, 1, -5, 47}, {24, 0, -5, 47}, {24, -1, -5, 47}// 138 139 140
|
||||
, {25, -2, -4, 47}, {17, -2, -3, 47}, {17, -2, -2, 47}// 141 142 143
|
||||
, {25, 2, -4, 47}, {17, 2, -2, 47}, {17, 2, -3, 47}// 144 145 146
|
||||
, {20793, 2, -2, 23}, {20793, 2, -3, 23}, {20793, 2, -4, 23}// 147 148 149
|
||||
, {1191, 2, -2, 47}, {1194, 2, -3, 47}, {1191, 2, -4, 47}// 150 151 152
|
||||
, {1194, 1, -2, 47}, {1191, 1, -3, 47}, {1194, 1, -4, 47}// 153 154 155
|
||||
, {1191, 0, -2, 47}, {1194, 0, -3, 47}, {1191, 0, -4, 47}// 156 157 158
|
||||
, {1194, -1, -2, 47}, {1191, -1, -3, 47}, {1194, -1, -4, 47}// 159 160 161
|
||||
, {39716, 2, -5, 15}, {39717, 2, -4, 15}, {39717, 2, -3, 15}// 162 163 164
|
||||
, {39717, 2, -2, 15}, {1996, 1, -2, 14}, {1996, 1, -5, 14}// 165 166 167
|
||||
, {1996, 1, -3, 14}, {1996, 0, -2, 14}, {1996, -1, -2, 14}// 168 169 170
|
||||
, {1996, 2, -2, 14}, {1996, 1, -4, 14}, {1996, -1, -4, 14}// 171 172 173
|
||||
, {1996, 2, -3, 14}, {1996, 0, -5, 14}, {1996, -1, -5, 14}// 174 175 176
|
||||
, {1996, 2, -5, 14}// 177
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon1AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public AnimalCage_Wagon1Addon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 1217, -1, 4, 47, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 2, 4, 47, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 1, 4, 47, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 0, 4, 47, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 2, 5, 47, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 1, 5, 47, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 0, 5, 47, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 1218, -1, 5, 47, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 122
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 123
|
||||
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon1Addon( 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 AnimalCage_Wagon1AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon1Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AnimalCage_Wagon1AddonDeed()
|
||||
{
|
||||
Name = "AnimalCage_Wagon1";
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon1AddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AnimalCage_Wagon2Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 2 3 4
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {40284, 3, 3, 27}// 5 6 9
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 10 23 24
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 25 26 27
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 28 29 30
|
||||
, {20788, -1, 3, 23}, {39716, -1, 3, 15}, {39717, -2, 3, 15}// 32 33 34
|
||||
, {39717, -2, 2, 15}, {39717, -2, 1, 15}, {39717, -2, 0, 15}// 35 36 37
|
||||
, {39717, -2, -1, 15}, {20793, -2, 0, 23}, {20793, -2, 2, 23}// 38 39 40
|
||||
, {8173, 0, 3, 25}, {8175, 1, 3, 25}, {24, 1, 3, 47}// 43 44 45
|
||||
, {24, 0, 3, 47}, {24, -1, 3, 47}, {17, -2, 0, 47}// 46 47 48
|
||||
, {17, -2, -1, 47}, {17, -2, 1, 47}, {17, -2, 2, 47}// 49 50 51
|
||||
, {25, -2, 3, 47}, {17, 2, -1, 47}, {17, 2, 0, 47}// 52 53 54
|
||||
, {17, 2, 1, 47}, {17, 2, 2, 47}, {20, 2, 3, 47}// 55 56 57
|
||||
, {20793, 2, 2, 23}, {20793, 2, 1, 23}, {20793, 2, 0, 23}// 58 59 60
|
||||
, {20793, 2, -1, 23}, {20780, 2, 3, 23}, {1996, 0, 0, 14}// 61 62 63
|
||||
, {1191, 2, 3, 47}, {1194, 2, 2, 47}, {1194, 2, 1, 47}// 64 65 66
|
||||
, {1191, 2, 0, 47}, {1194, 2, -1, 47}, {1191, 1, 3, 47}// 67 68 69
|
||||
, {1191, 1, 2, 47}, {1191, 1, 1, 47}, {1194, 1, 0, 47}// 70 71 72
|
||||
, {1191, 1, -1, 47}, {1194, 0, 3, 47}, {1191, 0, 2, 47}// 73 74 75
|
||||
, {1194, 0, 1, 47}, {1191, 0, 0, 47}, {1194, 0, -1, 47}// 76 77 78
|
||||
, {1191, -1, 3, 47}, {1194, -1, 2, 47}, {1191, -1, 1, 47}// 79 80 81
|
||||
, {1194, -1, 0, 47}, {1191, -1, -1, 47}, {20793, -2, -1, 23}// 82 83 84
|
||||
, {20793, -2, 3, 23}, {20793, -2, 1, 23}, {39717, 2, -1, 15}// 85 86 87
|
||||
, {39717, 2, 0, 15}, {39717, 2, 1, 15}, {39717, 2, 2, 15}// 88 89 90
|
||||
, {39715, 2, 3, 15}, {1996, 1, 3, 14}, {1996, 1, 2, 14}// 91 92 93
|
||||
, {1996, 1, 1, 14}, {1996, 1, 0, 14}, {1996, 1, -1, 14}// 94 95 96
|
||||
, {1996, -1, 3, 14}, {1996, 2, 3, 14}, {1996, 0, -1, 14}// 97 98 99
|
||||
, {1996, 0, 2, 14}, {1996, 0, 1, 14}, {1996, -1, -1, 14}// 100 101 102
|
||||
, {1996, -1, 2, 14}, {1996, -1, 1, 14}, {1996, -1, 0, 14}// 103 104 105
|
||||
, {1996, 2, -1, 14}, {1996, 2, 2, 14}, {1996, 2, 1, 14}// 106 107 108
|
||||
, {1996, 2, 0, 14}, {40284, 3, -4, 27}, {42314, 2, -3, 7}// 109 113 114
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 115 116 117
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 118 119 120
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 121 124 125
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 126 127 128
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 129 130 131
|
||||
, {39716, -1, -5, 15}, {39717, -2, -2, 15}, {39717, -2, -3, 15}// 132 133 134
|
||||
, {39717, -2, -4, 15}, {20788, 2, -5, 23}, {24, 2, -5, 47}// 135 136 137
|
||||
, {24, 1, -5, 47}, {24, 0, -5, 47}, {24, -1, -5, 47}// 138 139 140
|
||||
, {25, -2, -4, 47}, {17, -2, -3, 47}, {17, -2, -2, 47}// 141 142 143
|
||||
, {25, 2, -4, 47}, {17, 2, -2, 47}, {17, 2, -3, 47}// 144 145 146
|
||||
, {20793, 2, -2, 23}, {20793, 2, -3, 23}, {20793, 2, -4, 23}// 147 148 149
|
||||
, {1191, 2, -2, 47}, {1194, 2, -3, 47}, {1191, 2, -4, 47}// 150 151 152
|
||||
, {1194, 1, -2, 47}, {1191, 1, -3, 47}, {1194, 1, -4, 47}// 153 154 155
|
||||
, {1191, 0, -2, 47}, {1194, 0, -3, 47}, {1191, 0, -4, 47}// 156 157 158
|
||||
, {1194, -1, -2, 47}, {1191, -1, -3, 47}, {1194, -1, -4, 47}// 159 160 161
|
||||
, {39716, 2, -5, 15}, {39717, 2, -4, 15}, {39717, 2, -3, 15}// 162 163 164
|
||||
, {39717, 2, -2, 15}, {1996, 1, -2, 14}, {1996, 1, -5, 14}// 165 166 167
|
||||
, {1996, 1, -3, 14}, {1996, 0, -2, 14}, {1996, -1, -2, 14}// 168 169 170
|
||||
, {1996, 2, -2, 14}, {1996, 1, -4, 14}, {1996, -1, -4, 14}// 171 172 173
|
||||
, {1996, 2, -3, 14}, {1996, 0, -5, 14}, {1996, -1, -5, 14}// 174 175 176
|
||||
, {1996, 2, -5, 14}// 177
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon2AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public AnimalCage_Wagon2Addon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 1217, -1, 4, 47, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 2, 4, 47, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 1, 4, 47, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 0, 4, 47, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 2, 5, 47, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 1, 5, 47, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 0, 5, 47, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 1218, -1, 5, 47, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 122
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 123
|
||||
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon2Addon( 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 AnimalCage_Wagon2AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon2Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AnimalCage_Wagon2AddonDeed()
|
||||
{
|
||||
Name = "AnimalCage_Wagon2";
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon2AddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AnimalCage_Wagon3Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 2 3 4
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {40286, 3, 3, 27}// 5 6 9
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 10 23 24
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 25 26 27
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 28 29 30
|
||||
, {20788, -1, 3, 23}, {39716, -1, 3, 15}, {39717, -2, 3, 15}// 32 33 34
|
||||
, {39717, -2, 2, 15}, {39717, -2, 1, 15}, {39717, -2, 0, 15}// 35 36 37
|
||||
, {39717, -2, -1, 15}, {20793, -2, 0, 23}, {20793, -2, 2, 23}// 38 39 40
|
||||
, {8173, 0, 3, 25}, {8175, 1, 3, 25}, {24, 1, 3, 47}// 43 44 45
|
||||
, {24, 0, 3, 47}, {24, -1, 3, 47}, {17, -2, 0, 47}// 46 47 48
|
||||
, {17, -2, -1, 47}, {17, -2, 1, 47}, {17, -2, 2, 47}// 49 50 51
|
||||
, {25, -2, 3, 47}, {17, 2, -1, 47}, {17, 2, 0, 47}// 52 53 54
|
||||
, {17, 2, 1, 47}, {17, 2, 2, 47}, {20, 2, 3, 47}// 55 56 57
|
||||
, {20793, 2, 2, 23}, {20793, 2, 1, 23}, {20793, 2, 0, 23}// 58 59 60
|
||||
, {20793, 2, -1, 23}, {20780, 2, 3, 23}, {1996, 0, 0, 14}// 61 62 63
|
||||
, {1191, 2, 3, 47}, {1194, 2, 2, 47}, {1194, 2, 1, 47}// 64 65 66
|
||||
, {1191, 2, 0, 47}, {1194, 2, -1, 47}, {1191, 1, 3, 47}// 67 68 69
|
||||
, {1191, 1, 2, 47}, {1191, 1, 1, 47}, {1194, 1, 0, 47}// 70 71 72
|
||||
, {1191, 1, -1, 47}, {1194, 0, 3, 47}, {1191, 0, 2, 47}// 73 74 75
|
||||
, {1194, 0, 1, 47}, {1191, 0, 0, 47}, {1194, 0, -1, 47}// 76 77 78
|
||||
, {1191, -1, 3, 47}, {1194, -1, 2, 47}, {1191, -1, 1, 47}// 79 80 81
|
||||
, {1194, -1, 0, 47}, {1191, -1, -1, 47}, {20793, -2, -1, 23}// 82 83 84
|
||||
, {20793, -2, 3, 23}, {20793, -2, 1, 23}, {39717, 2, -1, 15}// 85 86 87
|
||||
, {39717, 2, 0, 15}, {39717, 2, 1, 15}, {39717, 2, 2, 15}// 88 89 90
|
||||
, {39715, 2, 3, 15}, {1996, 1, 3, 14}, {1996, 1, 2, 14}// 91 92 93
|
||||
, {1996, 1, 1, 14}, {1996, 1, 0, 14}, {1996, 1, -1, 14}// 94 95 96
|
||||
, {1996, -1, 3, 14}, {1996, 2, 3, 14}, {1996, 0, -1, 14}// 97 98 99
|
||||
, {1996, 0, 2, 14}, {1996, 0, 1, 14}, {1996, -1, -1, 14}// 100 101 102
|
||||
, {1996, -1, 2, 14}, {1996, -1, 1, 14}, {1996, -1, 0, 14}// 103 104 105
|
||||
, {1996, 2, -1, 14}, {1996, 2, 2, 14}, {1996, 2, 1, 14}// 106 107 108
|
||||
, {1996, 2, 0, 14}, {40286, 3, -4, 27}, {42314, 2, -3, 7}// 109 113 114
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 115 116 117
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 118 119 120
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 121 124 125
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 126 127 128
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 129 130 131
|
||||
, {39716, -1, -5, 15}, {39717, -2, -2, 15}, {39717, -2, -3, 15}// 132 133 134
|
||||
, {39717, -2, -4, 15}, {20788, 2, -5, 23}, {24, 2, -5, 47}// 135 136 137
|
||||
, {24, 1, -5, 47}, {24, 0, -5, 47}, {24, -1, -5, 47}// 138 139 140
|
||||
, {25, -2, -4, 47}, {17, -2, -3, 47}, {17, -2, -2, 47}// 141 142 143
|
||||
, {25, 2, -4, 47}, {17, 2, -2, 47}, {17, 2, -3, 47}// 144 145 146
|
||||
, {20793, 2, -2, 23}, {20793, 2, -3, 23}, {20793, 2, -4, 23}// 147 148 149
|
||||
, {1191, 2, -2, 47}, {1194, 2, -3, 47}, {1191, 2, -4, 47}// 150 151 152
|
||||
, {1194, 1, -2, 47}, {1191, 1, -3, 47}, {1194, 1, -4, 47}// 153 154 155
|
||||
, {1191, 0, -2, 47}, {1194, 0, -3, 47}, {1191, 0, -4, 47}// 156 157 158
|
||||
, {1194, -1, -2, 47}, {1191, -1, -3, 47}, {1194, -1, -4, 47}// 159 160 161
|
||||
, {39716, 2, -5, 15}, {39717, 2, -4, 15}, {39717, 2, -3, 15}// 162 163 164
|
||||
, {39717, 2, -2, 15}, {1996, 1, -2, 14}, {1996, 1, -5, 14}// 165 166 167
|
||||
, {1996, 1, -3, 14}, {1996, 0, -2, 14}, {1996, -1, -2, 14}// 168 169 170
|
||||
, {1996, 2, -2, 14}, {1996, 1, -4, 14}, {1996, -1, -4, 14}// 171 172 173
|
||||
, {1996, 2, -3, 14}, {1996, 0, -5, 14}, {1996, -1, -5, 14}// 174 175 176
|
||||
, {1996, 2, -5, 14}// 177
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon3AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public AnimalCage_Wagon3Addon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 1217, -1, 4, 47, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 2, 4, 47, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 1, 4, 47, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 0, 4, 47, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 2, 5, 47, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 1, 5, 47, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 0, 5, 47, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 1218, -1, 5, 47, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 122
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 123
|
||||
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon3Addon( 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 AnimalCage_Wagon3AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon3Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AnimalCage_Wagon3AddonDeed()
|
||||
{
|
||||
Name = "AnimalCage_Wagon3";
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon3AddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AnimalCage_Wagon4Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 2 3 4
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {40278, 3, 3, 27}// 5 6 9
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 10 23 24
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 25 26 27
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 28 29 30
|
||||
, {20788, -1, 3, 23}, {39716, -1, 3, 15}, {39717, -2, 3, 15}// 32 33 34
|
||||
, {39717, -2, 2, 15}, {39717, -2, 1, 15}, {39717, -2, 0, 15}// 35 36 37
|
||||
, {39717, -2, -1, 15}, {20793, -2, 0, 23}, {20793, -2, 2, 23}// 38 39 40
|
||||
, {8173, 0, 3, 25}, {8175, 1, 3, 25}, {24, 1, 3, 47}// 43 44 45
|
||||
, {24, 0, 3, 47}, {24, -1, 3, 47}, {17, -2, 0, 47}// 46 47 48
|
||||
, {17, -2, -1, 47}, {17, -2, 1, 47}, {17, -2, 2, 47}// 49 50 51
|
||||
, {25, -2, 3, 47}, {17, 2, -1, 47}, {17, 2, 0, 47}// 52 53 54
|
||||
, {17, 2, 1, 47}, {17, 2, 2, 47}, {20, 2, 3, 47}// 55 56 57
|
||||
, {20793, 2, 2, 23}, {20793, 2, 1, 23}, {20793, 2, 0, 23}// 58 59 60
|
||||
, {20793, 2, -1, 23}, {20780, 2, 3, 23}, {1996, 0, 0, 14}// 61 62 63
|
||||
, {1191, 2, 3, 47}, {1194, 2, 2, 47}, {1194, 2, 1, 47}// 64 65 66
|
||||
, {1191, 2, 0, 47}, {1194, 2, -1, 47}, {1191, 1, 3, 47}// 67 68 69
|
||||
, {1191, 1, 2, 47}, {1191, 1, 1, 47}, {1194, 1, 0, 47}// 70 71 72
|
||||
, {1191, 1, -1, 47}, {1194, 0, 3, 47}, {1191, 0, 2, 47}// 73 74 75
|
||||
, {1194, 0, 1, 47}, {1191, 0, 0, 47}, {1194, 0, -1, 47}// 76 77 78
|
||||
, {1191, -1, 3, 47}, {1194, -1, 2, 47}, {1191, -1, 1, 47}// 79 80 81
|
||||
, {1194, -1, 0, 47}, {1191, -1, -1, 47}, {20793, -2, -1, 23}// 82 83 84
|
||||
, {20793, -2, 3, 23}, {20793, -2, 1, 23}, {39717, 2, -1, 15}// 85 86 87
|
||||
, {39717, 2, 0, 15}, {39717, 2, 1, 15}, {39717, 2, 2, 15}// 88 89 90
|
||||
, {39715, 2, 3, 15}, {1996, 1, 3, 14}, {1996, 1, 2, 14}// 91 92 93
|
||||
, {1996, 1, 1, 14}, {1996, 1, 0, 14}, {1996, 1, -1, 14}// 94 95 96
|
||||
, {1996, -1, 3, 14}, {1996, 2, 3, 14}, {1996, 0, -1, 14}// 97 98 99
|
||||
, {1996, 0, 2, 14}, {1996, 0, 1, 14}, {1996, -1, -1, 14}// 100 101 102
|
||||
, {1996, -1, 2, 14}, {1996, -1, 1, 14}, {1996, -1, 0, 14}// 103 104 105
|
||||
, {1996, 2, -1, 14}, {1996, 2, 2, 14}, {1996, 2, 1, 14}// 106 107 108
|
||||
, {1996, 2, 0, 14}, {40278, 3, -4, 27}, {42314, 2, -3, 7}// 109 113 114
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 115 116 117
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 118 119 120
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 121 124 125
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 126 127 128
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 129 130 131
|
||||
, {39716, -1, -5, 15}, {39717, -2, -2, 15}, {39717, -2, -3, 15}// 132 133 134
|
||||
, {39717, -2, -4, 15}, {20788, 2, -5, 23}, {24, 2, -5, 47}// 135 136 137
|
||||
, {24, 1, -5, 47}, {24, 0, -5, 47}, {24, -1, -5, 47}// 138 139 140
|
||||
, {25, -2, -4, 47}, {17, -2, -3, 47}, {17, -2, -2, 47}// 141 142 143
|
||||
, {25, 2, -4, 47}, {17, 2, -2, 47}, {17, 2, -3, 47}// 144 145 146
|
||||
, {20793, 2, -2, 23}, {20793, 2, -3, 23}, {20793, 2, -4, 23}// 147 148 149
|
||||
, {1191, 2, -2, 47}, {1194, 2, -3, 47}, {1191, 2, -4, 47}// 150 151 152
|
||||
, {1194, 1, -2, 47}, {1191, 1, -3, 47}, {1194, 1, -4, 47}// 153 154 155
|
||||
, {1191, 0, -2, 47}, {1194, 0, -3, 47}, {1191, 0, -4, 47}// 156 157 158
|
||||
, {1194, -1, -2, 47}, {1191, -1, -3, 47}, {1194, -1, -4, 47}// 159 160 161
|
||||
, {39716, 2, -5, 15}, {39717, 2, -4, 15}, {39717, 2, -3, 15}// 162 163 164
|
||||
, {39717, 2, -2, 15}, {1996, 1, -2, 14}, {1996, 1, -5, 14}// 165 166 167
|
||||
, {1996, 1, -3, 14}, {1996, 0, -2, 14}, {1996, -1, -2, 14}// 168 169 170
|
||||
, {1996, 2, -2, 14}, {1996, 1, -4, 14}, {1996, -1, -4, 14}// 171 172 173
|
||||
, {1996, 2, -3, 14}, {1996, 0, -5, 14}, {1996, -1, -5, 14}// 174 175 176
|
||||
, {1996, 2, -5, 14}// 177
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon4AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public AnimalCage_Wagon4Addon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 1217, -1, 4, 47, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 2, 4, 47, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 1, 4, 47, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 0, 4, 47, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 2, 5, 47, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 1, 5, 47, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 0, 5, 47, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 1218, -1, 5, 47, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 122
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 123
|
||||
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon4Addon( 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 AnimalCage_Wagon4AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon4Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AnimalCage_Wagon4AddonDeed()
|
||||
{
|
||||
Name = "AnimalCage_Wagon4";
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon4AddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AnimalCage_Wagon5Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 2 3 4
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {40278, 3, 3, 27}// 5 6 9
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 10 23 24
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 25 26 27
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 28 29 30
|
||||
, {20788, -1, 3, 23}, {39716, -1, 3, 15}, {39717, -2, 3, 15}// 32 33 34
|
||||
, {39717, -2, 2, 15}, {39717, -2, 1, 15}, {39717, -2, 0, 15}// 35 36 37
|
||||
, {39717, -2, -1, 15}, {20793, -2, 0, 23}, {20793, -2, 2, 23}// 38 39 40
|
||||
, {8173, 0, 3, 25}, {8175, 1, 3, 25}, {24, 1, 3, 47}// 43 44 45
|
||||
, {24, 0, 3, 47}, {24, -1, 3, 47}, {17, -2, 0, 47}// 46 47 48
|
||||
, {17, -2, -1, 47}, {17, -2, 1, 47}, {17, -2, 2, 47}// 49 50 51
|
||||
, {25, -2, 3, 47}, {17, 2, -1, 47}, {17, 2, 0, 47}// 52 53 54
|
||||
, {17, 2, 1, 47}, {17, 2, 2, 47}, {20, 2, 3, 47}// 55 56 57
|
||||
, {20793, 2, 2, 23}, {20793, 2, 1, 23}, {20793, 2, 0, 23}// 58 59 60
|
||||
, {20793, 2, -1, 23}, {20780, 2, 3, 23}, {1996, 0, 0, 14}// 61 62 63
|
||||
, {1191, 2, 3, 47}, {1194, 2, 2, 47}, {1194, 2, 1, 47}// 64 65 66
|
||||
, {1191, 2, 0, 47}, {1194, 2, -1, 47}, {1191, 1, 3, 47}// 67 68 69
|
||||
, {1191, 1, 2, 47}, {1191, 1, 1, 47}, {1194, 1, 0, 47}// 70 71 72
|
||||
, {1191, 1, -1, 47}, {1194, 0, 3, 47}, {1191, 0, 2, 47}// 73 74 75
|
||||
, {1194, 0, 1, 47}, {1191, 0, 0, 47}, {1194, 0, -1, 47}// 76 77 78
|
||||
, {1191, -1, 3, 47}, {1194, -1, 2, 47}, {1191, -1, 1, 47}// 79 80 81
|
||||
, {1194, -1, 0, 47}, {1191, -1, -1, 47}, {20793, -2, -1, 23}// 82 83 84
|
||||
, {20793, -2, 3, 23}, {20793, -2, 1, 23}, {39717, 2, -1, 15}// 85 86 87
|
||||
, {39717, 2, 0, 15}, {39717, 2, 1, 15}, {39717, 2, 2, 15}// 88 89 90
|
||||
, {39715, 2, 3, 15}, {1996, 1, 3, 14}, {1996, 1, 2, 14}// 91 92 93
|
||||
, {1996, 1, 1, 14}, {1996, 1, 0, 14}, {1996, 1, -1, 14}// 94 95 96
|
||||
, {1996, -1, 3, 14}, {1996, 2, 3, 14}, {1996, 0, -1, 14}// 97 98 99
|
||||
, {1996, 0, 2, 14}, {1996, 0, 1, 14}, {1996, -1, -1, 14}// 100 101 102
|
||||
, {1996, -1, 2, 14}, {1996, -1, 1, 14}, {1996, -1, 0, 14}// 103 104 105
|
||||
, {1996, 2, -1, 14}, {1996, 2, 2, 14}, {1996, 2, 1, 14}// 106 107 108
|
||||
, {1996, 2, 0, 14}, {40278, 3, -4, 27}, {42314, 2, -3, 7}// 109 113 114
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 115 116 117
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 118 119 120
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 121 124 125
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 126 127 128
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 129 130 131
|
||||
, {39716, -1, -5, 15}, {39717, -2, -2, 15}, {39717, -2, -3, 15}// 132 133 134
|
||||
, {39717, -2, -4, 15}, {20788, 2, -5, 23}, {24, 2, -5, 47}// 135 136 137
|
||||
, {24, 1, -5, 47}, {24, 0, -5, 47}, {24, -1, -5, 47}// 138 139 140
|
||||
, {25, -2, -4, 47}, {17, -2, -3, 47}, {17, -2, -2, 47}// 141 142 143
|
||||
, {25, 2, -4, 47}, {17, 2, -2, 47}, {17, 2, -3, 47}// 144 145 146
|
||||
, {20793, 2, -2, 23}, {20793, 2, -3, 23}, {20793, 2, -4, 23}// 147 148 149
|
||||
, {1191, 2, -2, 47}, {1194, 2, -3, 47}, {1191, 2, -4, 47}// 150 151 152
|
||||
, {1194, 1, -2, 47}, {1191, 1, -3, 47}, {1194, 1, -4, 47}// 153 154 155
|
||||
, {1191, 0, -2, 47}, {1194, 0, -3, 47}, {1191, 0, -4, 47}// 156 157 158
|
||||
, {1194, -1, -2, 47}, {1191, -1, -3, 47}, {1194, -1, -4, 47}// 159 160 161
|
||||
, {39716, 2, -5, 15}, {39717, 2, -4, 15}, {39717, 2, -3, 15}// 162 163 164
|
||||
, {39717, 2, -2, 15}, {1996, 1, -2, 14}, {1996, 1, -5, 14}// 165 166 167
|
||||
, {1996, 1, -3, 14}, {1996, 0, -2, 14}, {1996, -1, -2, 14}// 168 169 170
|
||||
, {1996, 2, -2, 14}, {1996, 1, -4, 14}, {1996, -1, -4, 14}// 171 172 173
|
||||
, {1996, 2, -3, 14}, {1996, 0, -5, 14}, {1996, -1, -5, 14}// 174 175 176
|
||||
, {1996, 2, -5, 14}// 177
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon5AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public AnimalCage_Wagon5Addon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 1217, -1, 4, 47, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 2, 4, 47, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 1, 4, 47, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 0, 4, 47, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 2, 5, 47, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 1, 5, 47, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 0, 5, 47, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 1218, -1, 5, 47, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 122
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 123
|
||||
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon5Addon( 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 AnimalCage_Wagon5AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon5Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AnimalCage_Wagon5AddonDeed()
|
||||
{
|
||||
Name = "AnimalCage_Wagon5";
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon5AddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AnimalCage_Wagon6Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 2 3 4
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {40282, 3, 3, 27}// 5 6 9
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 10 23 24
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 25 26 27
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 28 29 30
|
||||
, {20788, -1, 3, 23}, {39716, -1, 3, 15}, {39717, -2, 3, 15}// 32 33 34
|
||||
, {39717, -2, 2, 15}, {39717, -2, 1, 15}, {39717, -2, 0, 15}// 35 36 37
|
||||
, {39717, -2, -1, 15}, {20793, -2, 0, 23}, {20793, -2, 2, 23}// 38 39 40
|
||||
, {8173, 0, 3, 25}, {8175, 1, 3, 25}, {24, 1, 3, 47}// 43 44 45
|
||||
, {24, 0, 3, 47}, {24, -1, 3, 47}, {17, -2, 0, 47}// 46 47 48
|
||||
, {17, -2, -1, 47}, {17, -2, 1, 47}, {17, -2, 2, 47}// 49 50 51
|
||||
, {25, -2, 3, 47}, {17, 2, -1, 47}, {17, 2, 0, 47}// 52 53 54
|
||||
, {17, 2, 1, 47}, {17, 2, 2, 47}, {20, 2, 3, 47}// 55 56 57
|
||||
, {20793, 2, 2, 23}, {20793, 2, 1, 23}, {20793, 2, 0, 23}// 58 59 60
|
||||
, {20793, 2, -1, 23}, {20780, 2, 3, 23}, {1996, 0, 0, 14}// 61 62 63
|
||||
, {1191, 2, 3, 47}, {1194, 2, 2, 47}, {1194, 2, 1, 47}// 64 65 66
|
||||
, {1191, 2, 0, 47}, {1194, 2, -1, 47}, {1191, 1, 3, 47}// 67 68 69
|
||||
, {1191, 1, 2, 47}, {1191, 1, 1, 47}, {1194, 1, 0, 47}// 70 71 72
|
||||
, {1191, 1, -1, 47}, {1194, 0, 3, 47}, {1191, 0, 2, 47}// 73 74 75
|
||||
, {1194, 0, 1, 47}, {1191, 0, 0, 47}, {1194, 0, -1, 47}// 76 77 78
|
||||
, {1191, -1, 3, 47}, {1194, -1, 2, 47}, {1191, -1, 1, 47}// 79 80 81
|
||||
, {1194, -1, 0, 47}, {1191, -1, -1, 47}, {20793, -2, -1, 23}// 82 83 84
|
||||
, {20793, -2, 3, 23}, {20793, -2, 1, 23}, {39717, 2, -1, 15}// 85 86 87
|
||||
, {39717, 2, 0, 15}, {39717, 2, 1, 15}, {39717, 2, 2, 15}// 88 89 90
|
||||
, {39715, 2, 3, 15}, {1996, 1, 3, 14}, {1996, 1, 2, 14}// 91 92 93
|
||||
, {1996, 1, 1, 14}, {1996, 1, 0, 14}, {1996, 1, -1, 14}// 94 95 96
|
||||
, {1996, -1, 3, 14}, {1996, 2, 3, 14}, {1996, 0, -1, 14}// 97 98 99
|
||||
, {1996, 0, 2, 14}, {1996, 0, 1, 14}, {1996, -1, -1, 14}// 100 101 102
|
||||
, {1996, -1, 2, 14}, {1996, -1, 1, 14}, {1996, -1, 0, 14}// 103 104 105
|
||||
, {1996, 2, -1, 14}, {1996, 2, 2, 14}, {1996, 2, 1, 14}// 106 107 108
|
||||
, {1996, 2, 0, 14}, {40282, 3, -4, 27}, {42314, 2, -3, 7}// 109 113 114
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 115 116 117
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 118 119 120
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 121 124 125
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 126 127 128
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 129 130 131
|
||||
, {39716, -1, -5, 15}, {39717, -2, -2, 15}, {39717, -2, -3, 15}// 132 133 134
|
||||
, {39717, -2, -4, 15}, {20788, 2, -5, 23}, {24, 2, -5, 47}// 135 136 137
|
||||
, {24, 1, -5, 47}, {24, 0, -5, 47}, {24, -1, -5, 47}// 138 139 140
|
||||
, {25, -2, -4, 47}, {17, -2, -3, 47}, {17, -2, -2, 47}// 141 142 143
|
||||
, {25, 2, -4, 47}, {17, 2, -2, 47}, {17, 2, -3, 47}// 144 145 146
|
||||
, {20793, 2, -2, 23}, {20793, 2, -3, 23}, {20793, 2, -4, 23}// 147 148 149
|
||||
, {1191, 2, -2, 47}, {1194, 2, -3, 47}, {1191, 2, -4, 47}// 150 151 152
|
||||
, {1194, 1, -2, 47}, {1191, 1, -3, 47}, {1194, 1, -4, 47}// 153 154 155
|
||||
, {1191, 0, -2, 47}, {1194, 0, -3, 47}, {1191, 0, -4, 47}// 156 157 158
|
||||
, {1194, -1, -2, 47}, {1191, -1, -3, 47}, {1194, -1, -4, 47}// 159 160 161
|
||||
, {39716, 2, -5, 15}, {39717, 2, -4, 15}, {39717, 2, -3, 15}// 162 163 164
|
||||
, {39717, 2, -2, 15}, {1996, 1, -2, 14}, {1996, 1, -5, 14}// 165 166 167
|
||||
, {1996, 1, -3, 14}, {1996, 0, -2, 14}, {1996, -1, -2, 14}// 168 169 170
|
||||
, {1996, 2, -2, 14}, {1996, 1, -4, 14}, {1996, -1, -4, 14}// 171 172 173
|
||||
, {1996, 2, -3, 14}, {1996, 0, -5, 14}, {1996, -1, -5, 14}// 174 175 176
|
||||
, {1996, 2, -5, 14}// 177
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon6AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public AnimalCage_Wagon6Addon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 1217, -1, 4, 47, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 2, 4, 47, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 1, 4, 47, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1217, 0, 4, 47, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 2, 5, 47, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 1, 5, 47, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 1218, 0, 5, 47, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 1218, -1, 5, 47, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 122
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 123
|
||||
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon6Addon( 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 AnimalCage_Wagon6AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new AnimalCage_Wagon6Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AnimalCage_Wagon6AddonDeed()
|
||||
{
|
||||
Name = "AnimalCage_Wagon6";
|
||||
}
|
||||
|
||||
public AnimalCage_Wagon6AddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,265 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FortTellWagonAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{23667, 2, -5, 21}, {23669, 2, -6, 0}, {4014, 2, 4, 24}// 7 9 10
|
||||
, {7744, 1, 1, 19}, {7745, 1, 0, 19}, {7746, 1, -1, 19}// 14 15 16
|
||||
, {4593, 1, -3, 21}, {10645, 2, -2, 15}, {2778, 2, 2, 19}// 20 24 26
|
||||
, {2778, 2, 3, 19}, {2778, 1, 2, 19}, {2778, 2, 1, 19}// 27 28 29
|
||||
, {2778, 1, 0, 19}, {2778, 1, -1, 19}, {2778, 1, 1, 19}// 30 31 32
|
||||
, {2778, 2, 0, 19}, {2778, 2, -1, 19}, {2861, 1, -5, 21}// 33 34 43
|
||||
, {9977, 3, -1, 41}, {10645, 2, 2, 15}, {9977, 3, -3, 41}// 50 59 60
|
||||
, {2778, 2, -2, 18}, {2778, 2, -3, 18}, {9977, 2, -3, 44}// 61 62 75
|
||||
, {2778, 1, -3, 18}, {2778, 1, -2, 18}, {10651, 2, 3, 38}// 77 78 79
|
||||
, {2778, 1, 3, 19}, {7716, -1, 2, 24}, {7955, -1, 1, 30}// 87 99 100
|
||||
, {7963, -1, 2, 33}, {19515, -1, 1, 19}, {19515, -1, 0, 19}// 101 102 103
|
||||
, {23669, 0, -6, 1}, {7713, -1, 2, 19}, {42374, 0, -1, 19}// 104 105 107
|
||||
, {42133, -1, -3, 25}, {19091, -1, 1, 20}, {7752, -1, -1, 19}// 109 111 117
|
||||
, {7747, 0, -1, 19}, {7748, 0, 0, 19}, {7749, 0, 1, 19}// 118 119 120
|
||||
, {7750, -1, 1, 19}, {7751, -1, 0, 19}, {10551, -1, 0, 31}// 121 122 123
|
||||
, {2778, 0, 0, 19}, {2778, 0, -1, 19}, {2778, -1, -1, 19}// 125 126 127
|
||||
, {2778, -1, 2, 19}, {2778, 0, 3, 19}, {2778, -1, 3, 19}// 128 129 130
|
||||
, {2778, 0, 2, 19}, {2778, -1, 1, 19}, {2778, 0, 1, 19}// 131 132 133
|
||||
, {2778, -1, 0, 19}, {16959, 0, 0, 19}, {4172, -1, -3, 31}// 134 135 137
|
||||
, {4592, -1, -3, 21}, {2861, 0, -5, 21}, {11317, -1, 3, 38}// 143 146 154
|
||||
, {11317, -1, 2, 38}, {11317, -1, 1, 38}, {11317, -1, 0, 38}// 155 156 157
|
||||
, {11317, -1, -1, 38}, {11317, -1, -2, 38}, {11317, -1, -3, 38}// 158 159 160
|
||||
, {2778, 0, -3, 18}, {2778, -1, -3, 18}, {16044, -2, 2, 16}// 167 168 172
|
||||
, {2778, -1, -2, 18}, {2778, 0, -2, 18}, {16044, -2, -3, 16}// 174 175 180
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new FortTellWagonAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public FortTellWagonAddon()
|
||||
{
|
||||
|
||||
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, 42488, 3, -2, 20, 0, 2, "a stained glass window", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 16446, 3, 2, 27, 0, -1, "Fortune's For Tell, Lucky Charms", 1);// 2
|
||||
AddComplexComponent( (BaseAddon) this, 18057, 3, -3, 47, 0, -1, "You notice a black cat looking down at you", 1);// 3
|
||||
AddComplexComponent( (BaseAddon) this, 15789, 2, -1, 18, 2076, -1, "", 1);// 4
|
||||
AddComplexComponent( (BaseAddon) this, 15789, 1, -1, 18, 2076, -1, "", 1);// 5
|
||||
AddComplexComponent( (BaseAddon) this, 2647, 1, -3, 28, 2076, -1, "", 1);// 6
|
||||
AddComplexComponent( (BaseAddon) this, 7923, 3, 3, 31, 0, -1, "Grizelda The Fortune Teller", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 2602, 2, 5, 22, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 2594, 2, 4, 30, 0, 29, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 39722, 1, -4, 18, 2418, -1, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 10645, 2, -1, 15, 2412, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 10645, 2, 0, 15, 2412, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 10645, 2, 1, 15, 2412, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, 1, 48, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 10645, 2, -4, 16, 2412, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 10645, 2, -3, 15, 2412, -1, "", 1);// 23
|
||||
AddComplexComponent( (BaseAddon) this, 9241, 1, 1, 53, 2418, -1, "A Vent", 1);// 25
|
||||
AddComplexComponent( (BaseAddon) this, 7805, 1, -6, 15, 2418, -1, "Wagon Hitch", 1);// 35
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, 3, 48, 2418, -1, "", 1);// 36
|
||||
AddComplexComponent( (BaseAddon) this, 18530, 2, -2, 52, 0, 0, "", 1);// 37
|
||||
AddComplexComponent( (BaseAddon) this, 18518, 2, 3, 50, 0, 0, "", 1);// 38
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -2, 3, 2218, -1, "Fancy Wagon Wheel", 1);// 39
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, 2, 44, 2418, -1, "", 1);// 40
|
||||
AddComplexComponent( (BaseAddon) this, 10645, 2, 3, 16, 2412, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 6415, 3, 1, 27, 2218, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 1, -6, 21, 2418, -1, "", 1);// 44
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 3, 4, 41, 2418, -1, "", 1);// 45
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 3, 3, 41, 2418, -1, "", 1);// 46
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 3, 2, 41, 2418, -1, "", 1);// 47
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 3, 1, 41, 2418, -1, "", 1);// 48
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 3, 0, 41, 2418, -1, "", 1);// 49
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 3, -2, 41, 2418, -1, "", 1);// 51
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, 4, 48, 2418, -1, "", 1);// 52
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 1, 3, 38, 2418, -1, "", 1);// 53
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, 0, 48, 2418, -1, "", 1);// 54
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, -1, 48, 2418, -1, "", 1);// 55
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, -2, 48, 2418, -1, "", 1);// 56
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, -3, 48, 2418, -1, "", 1);// 57
|
||||
AddComplexComponent( (BaseAddon) this, 25562, 1, 4, 18, 2076, -1, "Miss Sassy Pants", 1);// 58
|
||||
AddComplexComponent( (BaseAddon) this, 39703, 2, 2, 18, 2418, -1, "", 1);// 63
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 2, 3, 38, 2418, -1, "", 1);// 64
|
||||
AddComplexComponent( (BaseAddon) this, 16028, 2, -5, 16, 2418, -1, "", 1);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 16030, 2, -4, 18, 2418, -1, "", 1);// 66
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, -5, 17, 2418, -1, "", 1);// 67
|
||||
AddComplexComponent( (BaseAddon) this, 16045, 1, -4, 17, 2418, -1, "", 1);// 68
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, 0, 44, 2418, -1, "", 1);// 69
|
||||
AddComplexComponent( (BaseAddon) this, 16038, 2, 4, 18, 2418, -1, "", 1);// 70
|
||||
AddComplexComponent( (BaseAddon) this, 16040, 2, 5, 18, 2418, -1, "", 1);// 71
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, 3, 44, 2418, -1, "", 1);// 72
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, -1, 44, 2418, -1, "", 1);// 73
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, -2, 44, 2418, -1, "", 1);// 74
|
||||
AddComplexComponent( (BaseAddon) this, 16048, 1, 4, 18, 2418, -1, "", 1);// 76
|
||||
AddComplexComponent( (BaseAddon) this, 16044, 2, 0, 18, 2076, -1, "", 1);// 80
|
||||
AddComplexComponent( (BaseAddon) this, 16048, 1, 5, 18, 2418, -1, "", 1);// 81
|
||||
AddComplexComponent( (BaseAddon) this, 39703, 2, -3, 18, 2418, -1, "", 1);// 82
|
||||
AddComplexComponent( (BaseAddon) this, 39701, 2, 3, 18, 2418, -1, "", 1);// 83
|
||||
AddComplexComponent( (BaseAddon) this, 39717, 2, 1, 18, 2418, -1, "", 1);// 84
|
||||
AddComplexComponent( (BaseAddon) this, 39717, 2, 0, 18, 2418, -1, "", 1);// 85
|
||||
AddComplexComponent( (BaseAddon) this, 39703, 2, -1, 18, 2418, -1, "", 1);// 86
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, 1, 44, 2418, -1, "", 1);// 88
|
||||
AddComplexComponent( (BaseAddon) this, 9976, 1, 2, 48, 2418, -1, "", 1);// 89
|
||||
AddComplexComponent( (BaseAddon) this, 39702, 2, -2, 18, 2418, -1, "", 1);// 90
|
||||
AddComplexComponent( (BaseAddon) this, 39703, 2, -2, 18, 2418, -1, "", 1);// 91
|
||||
AddComplexComponent( (BaseAddon) this, 6415, 3, -1, 27, 2218, -1, "", 1);// 92
|
||||
AddComplexComponent( (BaseAddon) this, 39722, 1, 3, 18, 2418, -1, "", 1);// 93
|
||||
AddComplexComponent( (BaseAddon) this, 39702, 2, -4, 18, 2418, -1, "", 1);// 94
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, 2, 3, 2218, -1, "Fancy Wagon Wheel", 1);// 95
|
||||
AddComplexComponent( (BaseAddon) this, 9977, 2, 4, 44, 2418, -1, "", 1);// 96
|
||||
AddComplexComponent( (BaseAddon) this, 40502, -1, 4, 26, 0, -1, "a potion keg", 1);// 97
|
||||
AddComplexComponent( (BaseAddon) this, 40502, -1, 4, 21, 0, -1, "a potion keg", 1);// 98
|
||||
AddComplexComponent( (BaseAddon) this, 2602, 0, 1, 19, 2418, -1, "", 1);// 106
|
||||
AddComplexComponent( (BaseAddon) this, 5566, -2, 4, 21, 1141, -1, "", 1);// 108
|
||||
AddComplexComponent( (BaseAddon) this, 42872, 0, 0, 25, 0, -1, "a crystal ball", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 19539, -1, -1, 20, 0, 29, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 6884, -1, -1, 21, 2213, -1, "", 1);// 113
|
||||
AddComplexComponent( (BaseAddon) this, 15789, 0, -1, 18, 2076, -1, "", 1);// 114
|
||||
AddComplexComponent( (BaseAddon) this, 6882, -1, 1, 22, 2213, -1, "", 1);// 115
|
||||
AddComplexComponent( (BaseAddon) this, 39721, 0, -4, 18, 2418, -1, "", 1);// 116
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 0, 3, 40, 2418, -1, "", 1);// 124
|
||||
AddComplexComponent( (BaseAddon) this, 7805, -1, -6, 15, 2418, -1, "Wagon Hitch", 1);// 136
|
||||
AddComplexComponent( (BaseAddon) this, 15796, 0, 6, 10, 0, -1, "a ladder", 1);// 138
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 0, 3, 38, 2418, -1, "", 1);// 139
|
||||
AddComplexComponent( (BaseAddon) this, 39717, -2, 0, 18, 2418, -1, "", 1);// 140
|
||||
AddComplexComponent( (BaseAddon) this, 1091, -1, 3, 38, 2418, -1, "", 1);// 141
|
||||
AddComplexComponent( (BaseAddon) this, 18518, 0, -1, 56, 0, 0, "", 1);// 142
|
||||
AddComplexComponent( (BaseAddon) this, 6414, -2, 0, 27, 2218, -1, "", 1);// 144
|
||||
AddComplexComponent( (BaseAddon) this, 6414, -2, 1, 27, 2218, -1, "", 1);// 145
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 0, -6, 21, 2418, -1, "", 1);// 147
|
||||
AddComplexComponent( (BaseAddon) this, 39702, -1, 3, 18, 2418, -1, "", 1);// 148
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, 4, 45, 2418, -1, "", 1);// 149
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, 0, 45, 2418, -1, "", 1);// 150
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, -1, 45, 2418, -1, "", 1);// 151
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, -2, 45, 2418, -1, "", 1);// 152
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, -3, 45, 2418, -1, "", 1);// 153
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, 4, 42, 2418, -1, "", 1);// 161
|
||||
AddComplexComponent( (BaseAddon) this, 15789, -1, -1, 18, 2076, -1, "", 1);// 162
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, 1, 45, 2418, -1, "", 1);// 163
|
||||
AddComplexComponent( (BaseAddon) this, 16027, -1, -5, 17, 2418, -1, "", 1);// 164
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, -5, 17, 2418, -1, "", 1);// 165
|
||||
AddComplexComponent( (BaseAddon) this, 16045, 0, -4, 17, 2418, -1, "", 1);// 166
|
||||
AddComplexComponent( (BaseAddon) this, 16037, -1, 4, 18, 2418, -1, "", 1);// 169
|
||||
AddComplexComponent( (BaseAddon) this, 16039, -1, 5, 18, 2418, -1, "", 1);// 170
|
||||
AddComplexComponent( (BaseAddon) this, 39702, -1, -2, 18, 2418, -1, "", 1);// 171
|
||||
AddComplexComponent( (BaseAddon) this, 16045, -1, -4, 17, 2418, -1, "", 1);// 173
|
||||
AddComplexComponent( (BaseAddon) this, 40286, -1, 2, 21, 0, -1, "Britania Worlds Faire", 1);// 176
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, 3, 45, 2418, -1, "", 1);// 177
|
||||
AddComplexComponent( (BaseAddon) this, 9978, 0, 2, 46, 2418, -1, "", 1);// 178
|
||||
AddComplexComponent( (BaseAddon) this, 16048, 0, 4, 18, 2418, -1, "", 1);// 179
|
||||
AddComplexComponent( (BaseAddon) this, 39703, -2, -3, 18, 2418, -1, "", 1);// 181
|
||||
AddComplexComponent( (BaseAddon) this, 39703, -2, -2, 18, 2418, -1, "", 1);// 182
|
||||
AddComplexComponent( (BaseAddon) this, 39703, -2, 2, 18, 2418, -1, "", 1);// 183
|
||||
AddComplexComponent( (BaseAddon) this, 39703, -2, 3, 18, 2418, -1, "", 1);// 184
|
||||
AddComplexComponent( (BaseAddon) this, 16048, 0, 5, 18, 2418, -1, "", 1);// 185
|
||||
AddComplexComponent( (BaseAddon) this, 39703, -2, -1, 18, 2418, -1, "", 1);// 186
|
||||
AddComplexComponent( (BaseAddon) this, 39717, -2, 1, 18, 2418, -1, "", 1);// 187
|
||||
AddComplexComponent( (BaseAddon) this, 39704, -2, -4, 18, 2418, -1, "", 1);// 188
|
||||
AddComplexComponent( (BaseAddon) this, 39721, 0, 3, 18, 2418, -1, "", 1);// 189
|
||||
AddComplexComponent( (BaseAddon) this, 39702, -1, -4, 18, 2418, -1, "", 1);// 190
|
||||
AddComplexComponent( (BaseAddon) this, 18500, 0, 3, 56, 0, 0, "", 1);// 191
|
||||
AddComplexComponent( (BaseAddon) this, 1091, 0, 3, 41, 2418, -1, "", 1);// 192
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, -3, 42, 2418, -1, "", 1);// 193
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, -2, 42, 2418, -1, "", 1);// 194
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, -1, 42, 2418, -1, "", 1);// 195
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, 0, 42, 2418, -1, "", 1);// 196
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, 1, 42, 2418, -1, "", 1);// 197
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, 2, 42, 2418, -1, "", 1);// 198
|
||||
AddComplexComponent( (BaseAddon) this, 9978, -1, 3, 42, 2418, -1, "", 1);// 199
|
||||
|
||||
}
|
||||
|
||||
public FortTellWagonAddon( 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 FortTellWagonAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new FortTellWagonAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public FortTellWagonAddonDeed()
|
||||
{
|
||||
Name = "FortTellWagon";
|
||||
}
|
||||
|
||||
public FortTellWagonAddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HuntersWagonAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{3647, 1, 1, 20}, {3647, 1, 0, 20}, {3645, 1, 1, 17}// 1 2 3
|
||||
, {3645, 1, 0, 17}, {2861, 1, 3, 17}, {2861, 0, 3, 17}// 4 5 6
|
||||
, {6448, 1, 5, 7}, {6448, -1, 5, 7}, {4273, 0, 6, 12}// 7 8 9
|
||||
, {4272, 1, 6, 12}, {4271, 2, 6, 12}, {5482, 3, 2, 15}// 10 11 12
|
||||
, {5482, 2, 2, 3}, {441, 1, 2, 17}, {441, -2, 2, 17}// 13 16 17
|
||||
, {441, -1, 2, 17}, {6258, 3, 0, 21}, {39690, 1, 4, 45}// 18 21 22
|
||||
, {39690, 1, 3, 45}, {39690, 1, 2, 45}, {39690, 1, 1, 45}// 23 24 25
|
||||
, {39690, 1, 0, 45}, {39689, 2, 4, 42}, {39689, 2, 3, 42}// 26 32 33
|
||||
, {39689, 2, 2, 42}, {39689, 2, 1, 42}, {39689, 2, 0, 42}// 34 35 36
|
||||
, {39691, 0, 4, 42}, {39691, 0, 3, 42}, {39691, 0, 2, 41}// 37 38 39
|
||||
, {39691, -1, 4, 38}, {39691, -1, 3, 38}, {39691, -1, 2, 38}// 40 41 42
|
||||
, {11541, -2, 3, 18}, {11541, 2, 3, 18}, {39689, 3, 0, 38}// 43 44 46
|
||||
, {39689, 3, 4, 38}, {39689, 3, 3, 38}, {445, -2, 0, 17}// 48 49 50
|
||||
, {445, 2, 0, 17}, {439, -2, 2, 17}, {444, -1, 2, 17}// 51 54 55
|
||||
, {1825, 0, 3, 13}, {1825, 0, 2, 13}, {1825, 0, 1, 13}// 72 73 74
|
||||
, {1825, 0, 0, 13}, {1825, -1, 2, 13}, {1825, -1, 1, 13}// 75 78 79
|
||||
, {1825, -1, 0, 13}, {39691, -1, 0, 38}, {39691, -1, 1, 38}// 80 82 86
|
||||
, {39689, 3, 1, 38}, {39691, 0, 0, 41}, {2650, -1, 1, 20}// 87 91 92
|
||||
, {39691, 0, 1, 41}, {39689, 3, 2, 38}, {438, 2, 2, 17}// 93 96 97
|
||||
, {2651, -1, 0, 20}, {21, 1, 0, 3}, {11740, -1, -2, 17}// 98 101 102
|
||||
, {7138, -1, -1, 17}, {3707, 1, -1, 25}, {3619, 1, -2, 24}// 104 105 106
|
||||
, {7816, 1, -3, 25}, {7816, 1, -3, 23}, {2880, 1, -1, 17}// 107 108 109
|
||||
, {2880, 1, -2, 17}, {2880, 1, -3, 17}, {441, 1, -5, 17}// 110 111 114
|
||||
, {441, -1, -5, 17}, {39690, 1, -2, 45}, {39691, -1, -2, 38}// 115 116 117
|
||||
, {39691, 0, -2, 41}, {39689, 2, -2, 42}, {39689, 3, -2, 39}// 118 119 120
|
||||
, {21, 2, -2, 12}, {39690, 1, -1, 45}, {39690, 1, -4, 45}// 121 122 123
|
||||
, {2650, -1, -3, 20}, {39689, 2, -4, 42}, {39689, 2, -1, 42}// 132 133 134
|
||||
, {39689, 2, -3, 42}, {39691, 0, -4, 41}, {39689, 3, -1, 38}// 135 136 138
|
||||
, {1981, 1, -5, 3}, {441, -2, -5, 17}, {440, 2, -5, 17}// 141 144 145
|
||||
, {39691, -1, -3, 38}, {39691, -1, -1, 38}, {445, -2, -3, 17}// 147 148 149
|
||||
, {445, -2, -4, 17}, {445, 2, -2, 17}, {444, -1, -5, 17}// 150 151 152
|
||||
, {445, 2, -4, 17}, {445, 2, -1, 17}, {445, -2, -1, 17}// 153 154 155
|
||||
, {39689, 3, -4, 38}, {1825, 0, -1, 13}, {1825, 0, -2, 13}// 159 168 169
|
||||
, {1825, 0, -3, 13}, {1825, 0, -4, 13}, {1825, -1, -1, 13}// 170 171 174
|
||||
, {1825, -1, -2, 13}, {1825, -1, -3, 13}, {39691, -1, -4, 38}// 175 176 181
|
||||
, {39691, 0, -3, 41}, {2651, -1, -4, 20}, {39691, 0, -1, 41}// 182 183 184
|
||||
, {5470, 3, -4, 17}, {7815, 3, -1, 24}, {39690, 1, -3, 45}// 185 187 189
|
||||
, {7819, 3, -2, 25}, {39689, 3, -3, 38}, {1825, -1, -4, 13}// 190 194 195
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new HuntersWagonAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public HuntersWagonAddon()
|
||||
{
|
||||
|
||||
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, 5029, -1, 0, 23, 2213, -1, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 2649, -1, 1, 22, 2213, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, 4, 13, 2218, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, 4, 16, 2218, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, 0, 16, 2218, -1, "", 1);// 27
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, 1, 16, 2218, -1, "", 1);// 28
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, 2, 16, 2218, -1, "", 1);// 29
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, 3, 13, 2218, -1, "", 1);// 30
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 5, 2218, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 15773, -1, 3, 18, 2213, -1, "", 1);// 45
|
||||
AddComplexComponent( (BaseAddon) this, 15773, 2, 3, 18, 2213, -1, "", 1);// 47
|
||||
AddComplexComponent( (BaseAddon) this, 455, -2, 1, 17, 0, 27, "", 1);// 52
|
||||
AddComplexComponent( (BaseAddon) this, 453, 2, 1, 17, 0, 27, "", 1);// 53
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, 0, 16, 2218, -1, "", 1);// 56
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, 1, 16, 2218, -1, "", 1);// 57
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, 1, 16, 2218, -1, "", 1);// 58
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, 1, 16, 2218, -1, "", 1);// 59
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, 2, 16, 2218, -1, "", 1);// 60
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, 2, 16, 2218, -1, "", 1);// 61
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, 2, 16, 2218, -1, "", 1);// 62
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, 0, 16, 2218, -1, "", 1);// 63
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 5, 2218, -1, "", 1);// 64
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, 4, 16, 2218, -1, "", 1);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, 3, 16, 2218, -1, "", 1);// 66
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, 3, 13, 2218, -1, "", 1);// 67
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, 2, 13, 2218, -1, "", 1);// 68
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, 1, 13, 2218, -1, "", 1);// 69
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, 0, 13, 2218, -1, "", 1);// 70
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 0, 4, 13, 2218, -1, "", 1);// 71
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, 0, 16, 2218, -1, "", 1);// 76
|
||||
AddComplexComponent( (BaseAddon) this, 1825, -1, 3, 13, 2218, -1, "", 1);// 77
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, 2, 13, 2218, -1, "", 1);// 81
|
||||
AddComplexComponent( (BaseAddon) this, 16035, -1, 3, 19, 2218, -1, "", 1);// 83
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, 1, 13, 2218, -1, "", 1);// 84
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, 3, 16, 2218, -1, "", 1);// 85
|
||||
AddComplexComponent( (BaseAddon) this, 15772, 0, 3, 18, 2213, -1, "", 1);// 88
|
||||
AddComplexComponent( (BaseAddon) this, 15772, 1, 3, 18, 2213, -1, "", 1);// 89
|
||||
AddComplexComponent( (BaseAddon) this, 3693, 2, 1, 5, 1175, -1, "", 1);// 90
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, 0, 13, 2218, -1, "", 1);// 94
|
||||
AddComplexComponent( (BaseAddon) this, 16036, 2, 3, 19, 2218, -1, "", 1);// 95
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, 1, 0, 2218, -1, "", 1);// 99
|
||||
AddComplexComponent( (BaseAddon) this, 19513, 2, 0, 3, 2724, -1, "", 1);// 100
|
||||
AddComplexComponent( (BaseAddon) this, 41473, -1, -2, 17, 0, 232, "", 1);// 103
|
||||
AddComplexComponent( (BaseAddon) this, 5029, -1, -4, 23, 2213, -1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 2649, -1, -3, 22, 2213, -1, "", 1);// 113
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, -4, 16, 2218, -1, "", 1);// 124
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, -3, 16, 2218, -1, "", 1);// 125
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, -2, 16, 2218, -1, "", 1);// 126
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 1, -1, 16, 2218, -1, "", 1);// 127
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, -4, 14, 2218, -1, "", 1);// 128
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, -3, 13, 2218, -1, "", 1);// 129
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, -2, 13, 2218, -1, "", 1);// 130
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 2, -1, 13, 2218, -1, "", 1);// 131
|
||||
AddComplexComponent( (BaseAddon) this, 1981, 1, -5, 16, 2218, -1, "", 1);// 137
|
||||
AddComplexComponent( (BaseAddon) this, 1984, 2, -5, 16, 2218, -1, "", 1);// 139
|
||||
AddComplexComponent( (BaseAddon) this, 1983, -1, -5, 16, 2218, -1, "", 1);// 140
|
||||
AddComplexComponent( (BaseAddon) this, 15772, 0, -4, 17, 2213, -1, "", 1);// 142
|
||||
AddComplexComponent( (BaseAddon) this, 15772, 1, -4, 17, 2213, -1, "", 1);// 143
|
||||
AddComplexComponent( (BaseAddon) this, 453, 2, -3, 17, 0, 27, "", 1);// 146
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, -4, 16, 2218, -1, "", 1);// 156
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, -4, 16, 2218, -1, "", 1);// 157
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, -4, 16, 2218, -1, "", 1);// 158
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, -4, 13, 2218, -1, "", 1);// 160
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, -2, 16, 2218, -1, "", 1);// 161
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, -1, 16, 2218, -1, "", 1);// 162
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, -1, 13, 2218, -1, "", 1);// 163
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, -2, 13, 2218, -1, "", 1);// 164
|
||||
AddComplexComponent( (BaseAddon) this, 1825, 1, -3, 13, 2218, -1, "", 1);// 165
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, -3, 16, 2218, -1, "", 1);// 166
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, -1, 16, 2218, -1, "", 1);// 167
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, -3, 16, 2218, -1, "", 1);// 172
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, -2, 16, 2218, -1, "", 1);// 173
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 2, -3, 16, 2218, -1, "", 1);// 177
|
||||
AddComplexComponent( (BaseAddon) this, 3693, 2, -3, 4, 1175, -1, "", 1);// 178
|
||||
AddComplexComponent( (BaseAddon) this, 15773, -1, -4, 17, 2213, -1, "", 1);// 179
|
||||
AddComplexComponent( (BaseAddon) this, 15773, 2, -4, 17, 2213, -1, "", 1);// 180
|
||||
AddComplexComponent( (BaseAddon) this, 455, -2, -2, 17, 0, 27, "", 1);// 186
|
||||
AddComplexComponent( (BaseAddon) this, 1981, 0, -5, 16, 2218, -1, "", 1);// 188
|
||||
AddComplexComponent( (BaseAddon) this, 16024, -1, -1, 16, 2218, -1, "", 1);// 191
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2218, -1, "", 1);// 192
|
||||
AddComplexComponent( (BaseAddon) this, 16024, 0, -2, 16, 2218, -1, "", 1);// 193
|
||||
|
||||
}
|
||||
|
||||
public HuntersWagonAddon( 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 HuntersWagonAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new HuntersWagonAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public HuntersWagonAddonDeed()
|
||||
{
|
||||
Name = "HuntersWagon";
|
||||
}
|
||||
|
||||
public HuntersWagonAddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,188 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class OrcishSlaver_WagonAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{20788, -1, 3, 25}, {8644, 2, 3, 15}, {3904, 1, 1, 48}// 1 2 3
|
||||
, {3905, 1, 1, 52}, {3644, 0, 1, 50}, {2648, 1, 2, 48}// 4 5 6
|
||||
, {2648, -1, 0, 48}, {1635, 2, 4, 42}, {1649, 1, 4, 42}// 7 8 9
|
||||
, {1649, 0, 4, 42}, {1638, -1, 4, 42}, {41734, 0, 2, 48}// 10 11 12
|
||||
, {41739, -1, 2, 48}, {16918, 0, -1, 51}, {16922, 1, -1, 49}// 13 14 15
|
||||
, {1056, 3, 3, 20}, {1066, 3, 1, 27}, {1067, 3, 2, 27}// 16 17 18
|
||||
, {2861, 1, 4, 14}, {2861, 0, 4, 14}, {1848, 1, 4, 9}// 20 21 22
|
||||
, {1848, 0, 4, 9}, {1996, 0, 3, 14}, {1055, 3, 3, 38}// 23 24 27
|
||||
, {42314, 2, 1, 6}, {1201, 1, 4, 14}, {1202, 0, 4, 14}// 28 33 34
|
||||
, {25, 2, -1, 12}, {25, 2, 0, 12}, {25, 2, 1, 12}// 35 36 37
|
||||
, {25, 2, 2, 13}, {22, -1, 3, 12}, {20, 2, 3, 12}// 38 39 40
|
||||
, {8644, -1, 3, 15}, {8642, -2, 3, 15}, {8642, -2, 2, 15}// 42 43 44
|
||||
, {8642, -2, 1, 15}, {8642, -2, 0, 15}, {8642, -2, -1, 15}// 45 46 47
|
||||
, {20793, -2, 0, 23}, {20793, -2, 2, 23}, {8173, 0, 3, 25}// 48 49 52
|
||||
, {8175, 1, 3, 25}, {1059, 1, 3, 47}, {1059, 0, 3, 47}// 53 54 55
|
||||
, {1059, -1, 3, 47}, {1060, -2, 0, 47}, {1060, -2, -1, 47}// 56 57 58
|
||||
, {1060, -2, 1, 47}, {1060, -2, 2, 47}, {1060, -2, 3, 47}// 59 60 61
|
||||
, {1060, 2, -1, 47}, {1060, 2, 0, 47}, {1060, 2, 1, 47}// 62 63 64
|
||||
, {1060, 2, 2, 47}, {1061, 2, 3, 47}, {20793, 2, 2, 23}// 65 66 67
|
||||
, {20793, 2, 1, 23}, {20793, 2, 0, 23}, {20793, 2, -1, 23}// 68 69 70
|
||||
, {20780, 2, 3, 23}, {1996, 0, 0, 14}, {1191, 2, 3, 47}// 71 72 73
|
||||
, {1194, 2, 2, 47}, {1194, 2, 1, 47}, {1191, 2, 0, 47}// 74 75 76
|
||||
, {1194, 2, -1, 47}, {1191, 1, 3, 47}, {1191, 1, 2, 47}// 77 78 79
|
||||
, {1191, 1, 1, 47}, {1194, 1, 0, 47}, {1191, 1, -1, 47}// 80 81 82
|
||||
, {1194, 0, 3, 47}, {1191, 0, 2, 47}, {1194, 0, 1, 47}// 83 84 85
|
||||
, {1191, 0, 0, 47}, {1194, 0, -1, 47}, {1191, -1, 3, 47}// 86 87 88
|
||||
, {1194, -1, 2, 47}, {1191, -1, 1, 47}, {1194, -1, 0, 47}// 89 90 91
|
||||
, {1191, -1, -1, 47}, {20793, -2, -1, 23}, {20793, -2, 3, 23}// 92 93 94
|
||||
, {20793, -2, 1, 23}, {8642, 2, -1, 15}, {8642, 2, 0, 15}// 95 96 97
|
||||
, {8642, 2, 1, 15}, {8642, 2, 2, 15}, {8642, 2, 3, 15}// 98 99 100
|
||||
, {1996, 1, 3, 14}, {1996, 1, 2, 14}, {1996, 1, 1, 14}// 101 102 103
|
||||
, {1996, 1, 0, 14}, {1996, 1, -1, 14}, {1996, -1, 3, 14}// 104 105 106
|
||||
, {1996, 2, 3, 14}, {1996, 0, -1, 14}, {1996, 0, 2, 14}// 107 108 109
|
||||
, {1996, 0, 1, 14}, {1996, -1, -1, 14}, {1996, -1, 2, 14}// 110 111 112
|
||||
, {1996, -1, 1, 14}, {1996, -1, 0, 14}, {1996, 2, -1, 14}// 113 114 115
|
||||
, {1996, 2, 2, 14}, {1996, 2, 1, 14}, {1996, 2, 0, 14}// 116 117 118
|
||||
, {8644, -1, -5, 15}, {41669, 0, -3, 49}, {16933, 1, -3, 50}// 119 120 121
|
||||
, {1056, 3, -4, 20}, {1071, 3, -3, 27}, {1070, 3, -2, 27}// 122 123 124
|
||||
, {1070, 2, -2, 2}, {1055, 3, -3, 38}, {42314, 2, -3, 7}// 125 129 130
|
||||
, {8175, 1, -5, 25}, {8173, 0, -5, 25}, {42327, 0, -6, 3}// 131 132 133
|
||||
, {1996, 0, -3, 14}, {1996, 2, -4, 14}, {1996, 0, -4, 14}// 134 135 136
|
||||
, {1996, -1, -3, 14}, {25, 2, -4, 10}, {25, 2, -3, 13}// 137 140 141
|
||||
, {25, 2, -2, 12}, {20779, -2, -5, 23}, {20793, -2, -2, 23}// 142 143 144
|
||||
, {20793, -2, -3, 23}, {20793, -2, -4, 23}, {20788, -1, -5, 23}// 145 146 147
|
||||
, {8642, -2, -2, 15}, {8642, -2, -3, 15}, {8642, -2, -4, 15}// 148 149 150
|
||||
, {20788, 2, -5, 23}, {1059, 2, -5, 47}, {1059, 1, -5, 47}// 151 152 153
|
||||
, {1059, 0, -5, 47}, {1059, -1, -5, 47}, {1060, -2, -4, 47}// 154 155 156
|
||||
, {1060, -2, -3, 47}, {1060, -2, -2, 47}, {1060, 2, -4, 47}// 157 158 159
|
||||
, {1060, 2, -2, 47}, {1060, 2, -3, 47}, {20793, 2, -2, 23}// 160 161 162
|
||||
, {20793, 2, -3, 23}, {20793, 2, -4, 23}, {1191, 2, -2, 47}// 163 164 165
|
||||
, {1194, 2, -3, 47}, {1191, 2, -4, 47}, {1194, 1, -2, 47}// 166 167 168
|
||||
, {1191, 1, -3, 47}, {1194, 1, -4, 47}, {1191, 0, -2, 47}// 169 170 171
|
||||
, {1194, 0, -3, 47}, {1191, 0, -4, 47}, {1194, -1, -2, 47}// 172 173 174
|
||||
, {1191, -1, -3, 47}, {1194, -1, -4, 47}, {39716, 2, -5, 15}// 175 176 177
|
||||
, {8642, 2, -4, 15}, {8642, 2, -3, 15}, {8642, 2, -2, 15}// 178 179 180
|
||||
, {1996, 1, -2, 14}, {1996, 1, -5, 14}, {1996, 1, -3, 14}// 181 182 183
|
||||
, {1996, 0, -2, 14}, {1996, -1, -2, 14}, {1996, 2, -2, 14}// 184 185 186
|
||||
, {1996, 1, -4, 14}, {1996, -1, -4, 14}, {1996, 2, -3, 14}// 187 188 189
|
||||
, {1996, 0, -5, 14}, {1996, -1, -5, 14}, {1996, 2, -5, 14}// 190 191 192
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new OrcishSlaver_WagonAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public OrcishSlaver_WagonAddon()
|
||||
{
|
||||
|
||||
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, 25490, 3, 2, 0, 2312, -1, "Wagon Wheel", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 417, 1, 6, 8, 2418, -1, "", 1);// 25
|
||||
AddComplexComponent( (BaseAddon) this, 42328, -1, 4, 3, 551, -1, "", 1);// 26
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 4, 51, 0, 29, "", 1);// 29
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, 3, 41, 0, 29, "", 1);// 30
|
||||
AddComplexComponent( (BaseAddon) this, 11541, 2, 4, 27, 2418, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 11541, -2, 4, 26, 2418, -1, "", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 42330, 2, 4, 4, 551, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, 3, 15, 551, -1, "", 1);// 50
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, 3, 15, 551, -1, "", 1);// 51
|
||||
AddComplexComponent( (BaseAddon) this, 25490, 3, -3, 0, 2312, -1, "Wagon Wheel", 1);// 126
|
||||
AddComplexComponent( (BaseAddon) this, 2150, 0, -5, 15, 551, -1, "", 1);// 127
|
||||
AddComplexComponent( (BaseAddon) this, 2152, 1, -5, 15, 551, -1, "", 1);// 128
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 2, -5, 40, 0, 29, "", 1);// 138
|
||||
AddComplexComponent( (BaseAddon) this, 2188, -2, -5, 40, 0, 29, "", 1);// 139
|
||||
|
||||
}
|
||||
|
||||
public OrcishSlaver_WagonAddon( 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 OrcishSlaver_WagonAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new OrcishSlaver_WagonAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public OrcishSlaver_WagonAddonDeed()
|
||||
{
|
||||
Name = "OrcishSlaver_Wagon";
|
||||
}
|
||||
|
||||
public OrcishSlaver_WagonAddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,273 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - Ver 2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// Modified by Hammerhand for //
|
||||
// SA & High Seas content //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Test_WagonAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{10644, 3, 3, 23}, {10644, 1, 3, 23}, {10644, -1, 3, 23}// 49 50 51
|
||||
, {10644, 3, 0, 23}, {10644, 1, 0, 23}, {10644, -1, 0, 23}// 52 53 54
|
||||
, {6015, 4, 4, 0}, {6015, 4, 3, 0}, {6015, 4, 2, 0}// 114 115 116
|
||||
, {6015, 4, 1, 0}, {6015, 4, 0, 0}, {6015, 4, -1, 0}// 117 118 119
|
||||
, {6015, 4, -2, 0}, {6015, 4, -3, 0}, {6015, 3, 4, 0}// 120 121 122
|
||||
, {6015, 3, 3, 0}, {6015, 3, 2, 0}, {6015, 3, 1, 0}// 123 124 125
|
||||
, {6015, 3, 0, 0}, {6015, 3, -1, 0}, {6015, 3, -2, 0}// 126 127 128
|
||||
, {6015, 3, -3, 0}, {6015, 2, 4, 0}, {6015, 2, 3, 0}// 129 130 131
|
||||
, {6015, 2, 2, 0}, {6015, 2, 1, 0}, {6015, 2, 0, 0}// 132 133 134
|
||||
, {6015, 2, -1, 0}, {6015, 2, -2, 0}, {6015, 2, -3, 0}// 135 136 137
|
||||
, {6015, 1, 1, 0}, {6015, 1, 0, 0}, {6015, 1, -1, 0}// 138 139 140
|
||||
, {6015, 1, -2, 0}, {6015, 1, -3, 0}, {6015, 0, 4, 0}// 141 142 143
|
||||
, {6015, 0, 3, 0}, {6015, 0, 2, 0}, {6015, 0, 1, 0}// 144 145 146
|
||||
, {6015, 0, 0, 0}, {6015, 0, -1, 0}, {6015, 0, -2, 0}// 147 148 149
|
||||
, {6015, 0, -3, 0}, {6015, 1, 4, 0}, {6015, 1, 3, 0}// 150 151 152
|
||||
, {6015, 1, 2, 0}, {6015, -1, -2, 0}, {6015, -1, -1, 0}// 153 154 155
|
||||
, {6015, -1, 0, 0}, {6015, -1, 1, 0}, {6015, -1, 2, 0}// 156 157 158
|
||||
, {6015, -1, 3, 0}, {6015, -1, -3, 0}, {6015, 5, -3, 0}// 159 160 161
|
||||
, {6015, 5, 4, 0}, {6015, 5, 3, 0}, {6015, 5, 2, 0}// 162 163 164
|
||||
, {6015, 5, 1, 0}, {6015, 5, 0, 0}, {6015, 5, -1, 0}// 165 166 167
|
||||
, {6015, 5, -2, 0}, {6015, -1, 4, 0}, {10644, -3, 3, 23}// 168 169 176
|
||||
, {10644, -3, 0, 23}, {6015, -3, 4, 0}, {6015, -3, 3, 0}// 177 192 193
|
||||
, {6015, -3, 2, 0}, {6015, -3, 1, 0}, {6015, -3, 0, 0}// 194 195 196
|
||||
, {6015, -3, -1, 0}, {6015, -3, -2, 0}, {6015, -3, -3, 0}// 197 198 199
|
||||
, {6015, -5, 4, 0}, {6015, -5, 3, 0}, {6015, -5, 2, 0}// 200 201 202
|
||||
, {6015, -4, 2, 0}, {6015, -5, 0, 0}, {6015, -5, -1, 0}// 203 204 205
|
||||
, {6015, -5, -2, 0}, {6015, -5, -3, 0}, {6015, -4, 4, 0}// 206 207 208
|
||||
, {6015, -4, 3, 0}, {6015, -5, 1, 0}, {6015, -4, 1, 0}// 209 210 211
|
||||
, {6015, -4, 0, 0}, {6015, -4, -1, 0}, {6015, -4, -2, 0}// 212 213 214
|
||||
, {6015, -4, -3, 0}, {6015, -2, 4, 0}, {6015, -2, 1, 0}// 215 216 217
|
||||
, {6015, -2, 0, 0}, {6015, -2, -1, 0}, {6015, -2, -2, 0}// 218 219 220
|
||||
, {6015, -2, -3, 0}, {6015, -2, 3, 0}, {6015, -2, 2, 0}// 221 222 223
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Test_WagonAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public Test_WagonAddon()
|
||||
{
|
||||
|
||||
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, 1287, 4, 3, 38, 2418, -1, "", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 1287, 4, 2, 38, 2418, -1, "", 1);// 2
|
||||
AddComplexComponent( (BaseAddon) this, 1287, 4, 1, 38, 2418, -1, "", 1);// 3
|
||||
AddComplexComponent( (BaseAddon) this, 1287, 4, 0, 38, 2418, -1, "", 1);// 4
|
||||
AddComplexComponent( (BaseAddon) this, 11542, 4, 3, 18, 2418, -1, "", 1);// 5
|
||||
AddComplexComponent( (BaseAddon) this, 11542, 4, 0, 18, 2418, -1, "", 1);// 6
|
||||
AddComplexComponent( (BaseAddon) this, 4838, 1, 0, 15, 2418, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 4838, 0, 0, 15, 2418, -1, "", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 4838, -1, 0, 15, 2418, -1, "", 1);// 9
|
||||
AddComplexComponent( (BaseAddon) this, 1540, 4, 4, 43, 2418, -1, "", 1);// 10
|
||||
AddComplexComponent( (BaseAddon) this, 1541, 4, 0, 43, 2418, -1, "", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 4834, 3, 2, 10, 2418, -1, "", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 4845, 1, 4, 17, 2418, -1, "", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 4839, 2, 0, 15, 2418, -1, "", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 4839, 0, 4, 18, 2418, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 4838, -1, 4, 18, 2418, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 4838, 3, 0, 15, 2418, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 4838, 3, 4, 18, 2418, -1, "", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 4839, 4, 0, 15, 2418, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 4839, 4, 4, 18, 2418, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 1539, 1, 2, 49, 2418, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 1546, 0, 2, 49, 2418, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 1545, 2, 2, 49, 2418, -1, "", 1);// 23
|
||||
AddComplexComponent( (BaseAddon) this, 1543, -1, 3, 46, 2418, -1, "", 1);// 24
|
||||
AddComplexComponent( (BaseAddon) this, 1542, -1, 1, 46, 2418, -1, "", 1);// 25
|
||||
AddComplexComponent( (BaseAddon) this, 1540, 3, 3, 46, 2418, -1, "", 1);// 26
|
||||
AddComplexComponent( (BaseAddon) this, 1541, 3, 1, 46, 2418, -1, "", 1);// 27
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 2, 3, 46, 2418, -1, "", 1);// 28
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 1, 3, 46, 2418, -1, "", 1);// 29
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 0, 3, 46, 2418, -1, "", 1);// 30
|
||||
AddComplexComponent( (BaseAddon) this, 1562, 3, 2, 46, 2418, -1, "", 1);// 31
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 2, 1, 46, 2418, -1, "", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 1, 1, 46, 2418, -1, "", 1);// 33
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 0, 1, 46, 2418, -1, "", 1);// 34
|
||||
AddComplexComponent( (BaseAddon) this, 1559, -1, 2, 46, 2418, -1, "", 1);// 35
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 3, 0, 43, 2418, -1, "", 1);// 36
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 2, 0, 43, 2418, -1, "", 1);// 37
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 1, 0, 43, 2418, -1, "", 1);// 38
|
||||
AddComplexComponent( (BaseAddon) this, 1560, 0, 0, 43, 2418, -1, "", 1);// 39
|
||||
AddComplexComponent( (BaseAddon) this, 1560, -1, 0, 43, 2418, -1, "", 1);// 40
|
||||
AddComplexComponent( (BaseAddon) this, 1562, 4, 3, 43, 2418, -1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 1562, 4, 2, 43, 2418, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 1562, 4, 1, 43, 2418, -1, "", 1);// 43
|
||||
AddComplexComponent( (BaseAddon) this, 1537, -1, 4, 43, 2418, -1, "", 1);// 44
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 3, 4, 43, 2418, -1, "", 1);// 45
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 2, 4, 43, 2418, -1, "", 1);// 46
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 1, 4, 43, 2418, -1, "", 1);// 47
|
||||
AddComplexComponent( (BaseAddon) this, 1537, 0, 4, 43, 2418, -1, "", 1);// 48
|
||||
AddComplexComponent( (BaseAddon) this, 25523, -1, 4, 0, 2312, -1, "Wagon Wheel", 1);// 55
|
||||
AddComplexComponent( (BaseAddon) this, 25523, 3, 4, 0, 2312, -1, "Wagon Wheel", 1);// 56
|
||||
AddComplexComponent( (BaseAddon) this, 24, -1, 0, 18, 2418, -1, "Wagon", 1);// 57
|
||||
AddComplexComponent( (BaseAddon) this, 24, -1, 0, 14, 2418, -1, "Wagon", 1);// 58
|
||||
AddComplexComponent( (BaseAddon) this, 24, -1, 3, 13, 2418, -1, "Wagon", 1);// 59
|
||||
AddComplexComponent( (BaseAddon) this, 1996, -1, 1, 13, 2418, -1, "Wagon", 1);// 60
|
||||
AddComplexComponent( (BaseAddon) this, 1994, -1, 3, 13, 2418, -1, "Wagon", 1);// 61
|
||||
AddComplexComponent( (BaseAddon) this, 1995, -1, 2, 13, 2418, -1, "Wagon", 1);// 62
|
||||
AddComplexComponent( (BaseAddon) this, 24, -1, 3, 17, 2418, -1, "Wagon", 1);// 63
|
||||
AddComplexComponent( (BaseAddon) this, 24, 0, 0, 14, 2418, -1, "Wagon", 1);// 64
|
||||
AddComplexComponent( (BaseAddon) this, 24, 0, 0, 18, 2418, -1, "Wagon", 1);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 1996, 0, 2, 13, 2418, -1, "Wagon", 1);// 66
|
||||
AddComplexComponent( (BaseAddon) this, 24, 0, 3, 13, 2418, -1, "Wagon", 1);// 67
|
||||
AddComplexComponent( (BaseAddon) this, 1995, 0, 3, 13, 2418, -1, "Wagon", 1);// 68
|
||||
AddComplexComponent( (BaseAddon) this, 1993, 0, 1, 13, 2418, -1, "Wagon", 1);// 69
|
||||
AddComplexComponent( (BaseAddon) this, 24, 0, 3, 17, 2418, -1, "Wagon", 1);// 70
|
||||
AddComplexComponent( (BaseAddon) this, 10722, 4, 0, 7, 2418, -1, "Wagon", 1);// 71
|
||||
AddComplexComponent( (BaseAddon) this, 2860, 4, 3, 14, 2418, -1, "wagon bench", 1);// 72
|
||||
AddComplexComponent( (BaseAddon) this, 2860, 4, 1, 14, 2418, -1, "wagon bench", 1);// 73
|
||||
AddComplexComponent( (BaseAddon) this, 1996, 4, 3, 13, 2418, -1, "Wagon", 1);// 74
|
||||
AddComplexComponent( (BaseAddon) this, 10722, 4, 1, 7, 2418, -1, "Wagon", 1);// 75
|
||||
AddComplexComponent( (BaseAddon) this, 10722, 5, 1, 7, 2418, -1, "wagon hitch", 1);// 76
|
||||
AddComplexComponent( (BaseAddon) this, 1995, 4, 2, 13, 2418, -1, "Wagon", 1);// 77
|
||||
AddComplexComponent( (BaseAddon) this, 2860, 4, 2, 14, 2418, -1, "wagon bench", 1);// 78
|
||||
AddComplexComponent( (BaseAddon) this, 10723, 4, 1, 7, 2418, -1, "wagon hitch", 1);// 79
|
||||
AddComplexComponent( (BaseAddon) this, 10723, 4, 2, 7, 2418, -1, "wagon hitch", 1);// 80
|
||||
AddComplexComponent( (BaseAddon) this, 10722, 4, 2, 7, 2418, -1, "Wagon", 1);// 81
|
||||
AddComplexComponent( (BaseAddon) this, 1994, 4, 1, 13, 2418, -1, "Wagon", 1);// 82
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 0, 14, 2418, 0, "a lamp", 1);// 83
|
||||
AddComplexComponent( (BaseAddon) this, 24, 1, 0, 14, 2418, -1, "Wagon", 1);// 84
|
||||
AddComplexComponent( (BaseAddon) this, 24, 1, 0, 18, 2418, -1, "Wagon", 1);// 85
|
||||
AddComplexComponent( (BaseAddon) this, 24, 3, 0, 18, 2418, -1, "Wagon", 1);// 86
|
||||
AddComplexComponent( (BaseAddon) this, 24, 2, 0, 18, 2418, -1, "Wagon", 1);// 87
|
||||
AddComplexComponent( (BaseAddon) this, 24, 3, 0, 14, 2418, -1, "Wagon", 1);// 88
|
||||
AddComplexComponent( (BaseAddon) this, 24, 2, 0, 14, 2418, -1, "Wagon", 1);// 89
|
||||
AddComplexComponent( (BaseAddon) this, 2188, 3, 3, 14, 2418, 0, "a lamp", 1);// 90
|
||||
AddComplexComponent( (BaseAddon) this, 1994, 3, 1, 13, 2418, -1, "Wagon", 1);// 91
|
||||
AddComplexComponent( (BaseAddon) this, 5831, 3, 1, 7, 2418, -1, "Wagon", 1);// 92
|
||||
AddComplexComponent( (BaseAddon) this, 5836, 3, 3, 7, 2418, -1, "wagon wheel", 1);// 93
|
||||
AddComplexComponent( (BaseAddon) this, 1995, 1, 2, 13, 2418, -1, "Wagon", 1);// 94
|
||||
AddComplexComponent( (BaseAddon) this, 1995, 2, 1, 13, 2418, -1, "Wagon", 1);// 95
|
||||
AddComplexComponent( (BaseAddon) this, 21, 3, 1, 14, 2418, -1, "Wagon", 1);// 96
|
||||
AddComplexComponent( (BaseAddon) this, 1996, 3, 2, 13, 2418, -1, "Wagon", 1);// 97
|
||||
AddComplexComponent( (BaseAddon) this, 21, 3, 2, 14, 2418, -1, "Wagon", 1);// 98
|
||||
AddComplexComponent( (BaseAddon) this, 21, 3, 1, 19, 2418, -1, "Wagon", 1);// 99
|
||||
AddComplexComponent( (BaseAddon) this, 1996, 2, 2, 13, 2418, -1, "Wagon", 1);// 100
|
||||
AddComplexComponent( (BaseAddon) this, 1994, 1, 1, 13, 2418, -1, "Wagon", 1);// 101
|
||||
AddComplexComponent( (BaseAddon) this, 1995, 2, 3, 13, 2418, -1, "Wagon", 1);// 102
|
||||
AddComplexComponent( (BaseAddon) this, 1993, 1, 3, 13, 2418, -1, "Wagon", 1);// 103
|
||||
AddComplexComponent( (BaseAddon) this, 24, 3, 3, 17, 2418, -1, "Wagon", 1);// 104
|
||||
AddComplexComponent( (BaseAddon) this, 21, 3, 3, 19, 2418, -1, "Wagon", 1);// 105
|
||||
AddComplexComponent( (BaseAddon) this, 21, 3, 2, 19, 2418, -1, "Wagon", 1);// 106
|
||||
AddComplexComponent( (BaseAddon) this, 24, 2, 3, 17, 2418, -1, "Wagon", 1);// 107
|
||||
AddComplexComponent( (BaseAddon) this, 24, 1, 3, 17, 2418, -1, "Wagon", 1);// 108
|
||||
AddComplexComponent( (BaseAddon) this, 24, 2, 3, 13, 2418, -1, "Wagon", 1);// 109
|
||||
AddComplexComponent( (BaseAddon) this, 24, 1, 3, 13, 2418, -1, "Wagon", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 21, 3, 3, 14, 2418, -1, "Wagon", 1);// 111
|
||||
AddComplexComponent( (BaseAddon) this, 1993, 3, 3, 13, 2418, -1, "Wagon", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 24, 3, 3, 13, 2418, -1, "Wagon", 1);// 113
|
||||
AddComplexComponent( (BaseAddon) this, 4838, -2, 0, 15, 2418, -1, "", 1);// 170
|
||||
AddComplexComponent( (BaseAddon) this, 1542, -2, 0, 43, 2418, -1, "", 1);// 171
|
||||
AddComplexComponent( (BaseAddon) this, 1543, -2, 4, 43, 2418, -1, "", 1);// 172
|
||||
AddComplexComponent( (BaseAddon) this, 1559, -2, 3, 43, 2418, -1, "", 1);// 173
|
||||
AddComplexComponent( (BaseAddon) this, 1559, -2, 2, 43, 2418, -1, "", 1);// 174
|
||||
AddComplexComponent( (BaseAddon) this, 1559, -2, 1, 43, 2418, -1, "", 1);// 175
|
||||
AddComplexComponent( (BaseAddon) this, 24, -2, 0, 18, 2418, -1, "Wagon", 1);// 178
|
||||
AddComplexComponent( (BaseAddon) this, 24, -2, 0, 14, 2418, -1, "Wagon", 1);// 179
|
||||
AddComplexComponent( (BaseAddon) this, 1995, -2, 1, 13, 2418, -1, "Wagon", 1);// 180
|
||||
AddComplexComponent( (BaseAddon) this, 1852, -3, 2, 7, 2418, -1, "Wagon", 1);// 181
|
||||
AddComplexComponent( (BaseAddon) this, 24, -2, 3, 17, 2418, -1, "Wagon", 1);// 182
|
||||
AddComplexComponent( (BaseAddon) this, 21, -3, 1, 19, 2418, -1, "Wagon", 1);// 183
|
||||
AddComplexComponent( (BaseAddon) this, 21, -3, 3, 14, 2418, -1, "Wagon", 1);// 184
|
||||
AddComplexComponent( (BaseAddon) this, 24, -2, 3, 13, 2418, -1, "Wagon", 1);// 185
|
||||
AddComplexComponent( (BaseAddon) this, 5831, -2, 1, 7, 2418, -1, "Wagon", 1);// 186
|
||||
AddComplexComponent( (BaseAddon) this, 1993, -2, 2, 13, 2418, -1, "Wagon", 1);// 187
|
||||
AddComplexComponent( (BaseAddon) this, 21, -3, 3, 19, 2418, -1, "Wagon", 1);// 188
|
||||
AddComplexComponent( (BaseAddon) this, 21, -3, 1, 14, 2418, -1, "Wagon", 1);// 189
|
||||
AddComplexComponent( (BaseAddon) this, 1996, -2, 3, 13, 2418, -1, "Wagon", 1);// 190
|
||||
AddComplexComponent( (BaseAddon) this, 5836, -2, 3, 7, 2418, -1, "wagon wheel", 1);// 191
|
||||
|
||||
}
|
||||
|
||||
public Test_WagonAddon( 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 Test_WagonAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Test_WagonAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Test_WagonAddonDeed()
|
||||
{
|
||||
Name = "Test_Wagon";
|
||||
}
|
||||
|
||||
public Test_WagonAddonDeed( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user