Files
abysmal-isle/Scripts/Scripts-master/Addons2/smokehousesouthAddon.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

154 lines
5.6 KiB
C#

////////////////////////////////////////
// //
// Generated by CEO's YAAAG - V1.2 //
// (Yet Another Arya Addon Generator) //
// //
////////////////////////////////////////
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class smokehousesouthAddon : BaseAddon
{
private static int[,] m_AddOnSimpleComponents = new int[,] {
{8562, 3, 1, 27}, {7824, -1, 1, 1}, {1305, 2, -1, 1}// 1 2 3
, {8566, 0, -2, 21}, {8, 2, -2, 1}, {8566, 2, -2, 21}// 4 5 6
, {8566, 3, 0, 26}, {6257, -2, 3, 7}, {8, 2, 0, 1}// 7 8 9
, {8566, 1, -1, 24}, {7, -1, -3, 1}, {1305, 2, -2, 1}// 10 11 12
, {8566, 2, -1, 24}, {1305, -2, -1, 1}, {8562, -3, -1, 1}// 13 14 15
, {8566, -2, -2, 21}, {8566, 2, 0, 26}, {8562, 3, 3, 22}// 16 17 18
, {1305, 0, -1, 1}, {7823, 1, -2, 8}, {8562, 1, 3, 21}// 19 20 21
, {1305, 2, 2, 1}, {8566, -2, -1, 24}, {1305, -2, -2, 1}// 22 23 24
, {8, 2, 1, 1}, {8566, -1, -1, 24}, {8566, -2, 0, 27}// 25 26 27
, {7134, -2, -1, 2}, {1305, -2, 1, 1}, {1305, 2, 1, 1}// 28 29 30
, {8562, -1, 3, 22}, {8566, 1, 0, 26}, {8566, 3, -2, 21}// 31 32 33
, {1305, -2, 0, 1}, {8562, 1, 2, 23}, {8562, 0, 3, 21}// 34 35 36
, {1305, 0, 2, 1}, {7819, -1, -2, 2}, {8562, 2, 3, 21}// 38 39 40
, {7826, 2, -1, 18}, {8562, -2, 2, 24}, {8566, 0, 0, 27}// 41 42 43
, {6260, -1, 2, 18}, {7815, 3, 2, 7}, {1305, 1, -2, 1}// 44 45 48
, {8566, -1, 0, 26}, {6647, -1, -2, 1}, {7821, 0, -2, 5}// 49 50 51
, {8, 2, -1, 1}, {1305, 1, 1, 1}, {8, -3, -1, 1}// 52 54 55
, {7817, 0, -1, 1}, {8562, 2, 1, 26}, {1305, -2, 1, 1}// 56 57 58
, {7, 2, -3, 1}, {14120, -1, 0, 16}, {7822, -1, -2, 4}// 59 60 61
, {8562, -1, 2, 23}, {1305, -1, -1, 1}, {1305, 2, 0, 1}// 62 63 64
, {7820, 0, -2, 6}, {6258, -2, 0, 6}, {6, 2, 2, 1}// 65 66 67
, {8566, 0, -1, 23}, {1305, -1, 0, 1}, {8562, 3, 2, 24}// 69 70 71
, {8, -3, 1, 1}, {1305, 1, 0, 1}, {8566, 3, -1, 24}// 72 73 74
, {8562, 1, 2, 1}, {7, 0, -3, 1}, {8, -3, 2, 1}// 75 76 77
, {6646, 0, -2, 1}, {8, -3, -2, 0}, {1305, 0, 0, 1}// 78 79 80
, {7, 1, -3, 1}, {1305, 0, -2, 1}, {8562, -2, 1, 27}// 81 82 83
, {8566, 1, -2, 21}, {6645, 1, -2, 1}, {7, -1, 2, 1}// 84 85 87
, {1305, -2, 2, 1}, {1305, 1, 2, 1}, {1305, -1, 1, 1}// 88 89 90
, {7, -2, 2, 1}, {1305, -1, -2, 1}, {7815, 3, 0, 7}// 91 92 94
, {1305, 0, 1, 1}, {8562, 1, 2, 1}, {7815, 3, 1, 7}// 95 96 97
, {8, -3, 0, 1}, {7, -2, -3, 1}, {1305, 1, -1, 1}// 98 99 100
, {7, 1, 2, 1}, {8562, 1, 1, 26}, {8562, 0, 2, 24}// 101 102 103
, {7819, -1, -2, 9}, {8562, -1, 1, 26}, {8566, -1, -2, 21}// 104 105 106
, {6259, 2, 3, 7}, {1305, -1, 2, 1}, {7826, 0, -2, 7}// 107 108 109
, {8562, 0, 1, 27}, {8562, 2, 2, 23}, {8562, -2, 3, 21}// 110 111 112
};
public override BaseAddonDeed Deed
{
get
{
return new smokehousesouthAddonDeed();
}
}
[ Constructable ]
public smokehousesouthAddon()
{
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, 62, -2, -1, 4, 1899, -1, "Stove", 1);// 37
AddComplexComponent( (BaseAddon) this, 82, -2, -1, 0, 1899, -1, "Stove", 1);// 46
AddComplexComponent( (BaseAddon) this, 1180, -2, -1, 3, 1891, -1, "Stove", 1);// 47
AddComplexComponent( (BaseAddon) this, 462, -2, -1, 12, 1899, -1, "Chimney", 1);// 53
AddComplexComponent( (BaseAddon) this, 1180, -2, -1, 11, 1891, -1, "Stove", 1);// 68
AddComplexComponent( (BaseAddon) this, 6571, -2, -1, 4, 0, 1, "", 1);// 86
AddComplexComponent( (BaseAddon) this, 62, -2, -2, 0, 1899, -1, "Stove", 1);// 93
}
public smokehousesouthAddon( 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 smokehousesouthAddonDeed : BaseAddonDeed
{
public override BaseAddon Addon
{
get
{
return new smokehousesouthAddon();
}
}
[Constructable]
public smokehousesouthAddonDeed()
{
Name = "smokehousesouth";
}
public smokehousesouthAddonDeed( 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();
}
}
}