Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
148
Scripts/Scripts-master/Addons/Kitchen1Addon.cs
Normal file
148
Scripts/Scripts-master/Addons/Kitchen1Addon.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Kitchen1Addon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{1848, 0, -3, 0}, {1848, -2, -3, 0}, {1848, -3, 0, 0}// 1 3 4
|
||||
, {1848, -3, -1, 0}, {1848, -3, -2, 0}, {1848, -3, -3, 5}// 5 6 7
|
||||
, {1848, 1, -3, 0}, {1848, -3, -3, 10}, {4104, -3, -1, 5}// 8 10 11
|
||||
, {1848, -1, -3, 0}, {1848, -3, -3, 0}, {1848, 0, 0, 0}// 12 13 14
|
||||
, {1848, 0, 1, 0}, {1848, 1, 0, 0}, {4100, -3, -1, 10}// 15 16 17
|
||||
, {1848, 1, 1, 0}, {1848, -3, -3, 15}, {7979, 0, -3, 6}// 18 19 25
|
||||
, {7979, 1, -3, 6}, {2541, 0, -3, 7}, {2416, 0, -3, 13}// 26 27 28
|
||||
, {2545, 1, -3, 6}, {11599, 0, 1, 5}, {8065, 1, 0, 4}// 29 31 33
|
||||
, {8066, 1, 0, 4}, {3779, 0, 0, 6}, {5110, 0, 0, 5}// 34 35 36
|
||||
, {2519, 4, -2, 0}, {4323, 4, 0, 1}, {2519, 4, -2, 1}// 37 38 39
|
||||
, {2533, 4, -2, 7}, {5637, 4, 1, 15}, {5624, 4, 0, 16}// 40 41 42
|
||||
, {5624, 4, 0, 15}, {2530, 4, 1, 8}, {2590, 4, -1, 0}// 43 44 45
|
||||
, {7711, 4, -2, 16}, {1848, 4, -3, 15}, {2541, 4, 0, 7}// 46 47 48
|
||||
, {2547, 4, -1, 8}, {2519, 4, -2, 2}, {1848, 4, 2, 10}// 49 50 51
|
||||
, {1997, 4, -2, 0}, {1848, 4, 2, 5}, {1848, 4, 2, 0}// 52 53 54
|
||||
, {1848, 4, -3, 10}, {1848, 4, -3, 5}, {1848, 4, -3, 0}// 55 56 57
|
||||
, {1997, 4, 1, 0}, {1997, 4, -2, 7}, {1997, 4, 0, 0}// 58 59 60
|
||||
, {1997, 4, -1, 0}, {1997, 4, 1, 7}, {1997, 4, 0, 7}// 61 62 63
|
||||
, {1997, 4, -1, 7}, {1997, 4, -1, 14}, {1997, 4, -2, 14}// 64 66 67
|
||||
, {1997, 4, 1, 14}, {1997, 4, 0, 14}, {1848, 3, -3, 0}// 68 69 70
|
||||
, {2450, 4, -2, 15}, {1848, 2, -3, 0}, {4154, 4, 1, 0}// 71 72 73
|
||||
, {3138, 4, 3, 0}, {3136, 4, 3, 0}// 77 78
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Kitchen1AddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public Kitchen1Addon()
|
||||
{
|
||||
|
||||
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, 5622, -2, 0, 2, 0, -1, "Dish Towel", 1);// 2
|
||||
AddComplexComponent( (BaseAddon) this, 11526, -3, 1, 0, 1006, -1, "Cold Storage", 1);// 9
|
||||
AddComplexComponent( (BaseAddon) this, 10331, -1, -3, 13, 1006, -1, "", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 10331, -2, -3, 13, 1006, -1, "", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 10332, -3, 0, 13, 1006, -1, "", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 10332, -3, -1, 13, 1006, -1, "", 1);// 23
|
||||
AddComplexComponent( (BaseAddon) this, 10332, -3, -2, 13, 1006, -1, "", 1);// 24
|
||||
AddComplexComponent( (BaseAddon) this, 14134, 1, -3, 7, 0, -1, "Smoke", 1);// 30
|
||||
AddComplexComponent( (BaseAddon) this, 6871, 1, 1, 5, 0, -1, "Elven Ale", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 2430, 4, -1, 14, 0, -1, "", 2);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 10331, 3, -3, 13, 1006, -1, "", 1);// 74
|
||||
AddComplexComponent( (BaseAddon) this, 10331, 2, -3, 13, 1006, -1, "", 1);// 75
|
||||
AddComplexComponent( (BaseAddon) this, 3129, 4, 3, 0, 1006, -1, "", 1);// 76
|
||||
AddComplexComponent( (BaseAddon) this, 4028, 2, -3, 5, 0, -1, "Grilling Tongs", 1);// 79
|
||||
|
||||
}
|
||||
|
||||
public Kitchen1Addon( 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 Kitchen1AddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Kitchen1Addon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Kitchen1AddonDeed()
|
||||
{
|
||||
Name = "Kitchen1";
|
||||
}
|
||||
|
||||
public Kitchen1AddonDeed( 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