Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
160
Scripts/Scripts-master/Addons/EasterWagonAddon.cs
Normal file
160
Scripts/Scripts-master/Addons/EasterWagonAddon.cs
Normal file
@@ -0,0 +1,160 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class EasterWagonAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{2938, 0, -4, 4}, {2938, 1, -4, 4}, {2938, 2, -4, 4}// 1 2 3
|
||||
, {2862, 1, 1, 10}, {190, -1, -3, 9}, {2938, 0, -3, 4}// 29 30 31
|
||||
, {191, 0, 0, 9}, {2938, 1, 0, 4}, {2938, 1, -2, 4}// 32 33 34
|
||||
, {2938, 0, 0, 4}, {190, -1, -1, 9}, {2938, 1, -1, 4}// 35 36 37
|
||||
, {2938, 1, 1, 4}, {2938, 0, -1, 4}, {2938, 0, -2, 4}// 38 39 40
|
||||
, {191, 1, 0, 9}, {2938, 1, -3, 4}, {190, -1, -2, 9}// 41 42 43
|
||||
, {2938, 0, 1, 4}, {190, -1, 0, 9}, {190, -1, 1, 9}// 44 45 46
|
||||
, {6321, 2, 0, 1}, {190, 2, -2, 9}, {190, 2, -3, 9}// 47 48 49
|
||||
, {2938, 2, -2, 4}, {190, 2, 1, 9}, {2938, 2, 0, 4}// 50 51 52
|
||||
, {6321, 2, -3, 1}, {2938, 2, -3, 4}, {2938, 2, -1, 4}// 53 54 55
|
||||
, {2938, 2, 1, 4}, {189, 2, 0, 9}, {190, 2, -1, 9}// 56 57 58
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new EasterWagonAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public EasterWagonAddon()
|
||||
{
|
||||
|
||||
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, 9037, 0, -4, 10, 2441, -1, "Tulip", 1);// 4
|
||||
AddComplexComponent( (BaseAddon) this, 9037, 1, -4, 10, 2260, -1, "Tulip", 1);// 5
|
||||
AddComplexComponent( (BaseAddon) this, 9037, 2, -4, 10, 2998, -1, "Tulip", 1);// 6
|
||||
AddComplexComponent( (BaseAddon) this, 3237, 2, 1, 7, 2444, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 3962, 1, 1, 19, 2506, -1, "Eye", 1);// 8
|
||||
AddComplexComponent( (BaseAddon) this, 3981, 2, 1, 17, 2506, -1, "", 1);// 9
|
||||
AddComplexComponent( (BaseAddon) this, 14079, 1, 1, 11, 2506, -1, "Easter Bunny", 1);// 10
|
||||
AddComplexComponent( (BaseAddon) this, 10134, 1, 1, 8, 2506, -1, "Paws", 1);// 11
|
||||
AddComplexComponent( (BaseAddon) this, 10145, 1, 1, 12, 2506, -1, "Paws", 1);// 12
|
||||
AddComplexComponent( (BaseAddon) this, 3576, 1, 1, 13, 2506, -1, "Easter Bunny", 1);// 13
|
||||
AddComplexComponent( (BaseAddon) this, 3576, 1, 1, 17, 2506, -1, "Easter Bunny", 1);// 14
|
||||
AddComplexComponent( (BaseAddon) this, 3614, 1, 1, 14, 2506, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 5444, 1, 1, 20, 2506, -1, "", 1);// 16
|
||||
AddComplexComponent( (BaseAddon) this, 5915, 1, 1, 23, 2506, -1, "Ear", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 5908, 2, 1, 25, 2506, -1, "Ear", 1);// 18
|
||||
AddComplexComponent( (BaseAddon) this, 16382, 0, 3, 0, 2661, -1, "Horse", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 16382, 0, 5, 1, 2664, -1, "Horse", 1);// 20
|
||||
AddComplexComponent( (BaseAddon) this, 16382, 1, 3, 1, 2665, -1, "Horse", 1);// 21
|
||||
AddComplexComponent( (BaseAddon) this, 16382, 1, 5, 1, 2660, -1, "Horse", 1);// 22
|
||||
AddComplexComponent( (BaseAddon) this, 3237, 0, 1, 7, 2444, -1, "", 1);// 23
|
||||
AddComplexComponent( (BaseAddon) this, 4050, 1, 3, 0, 2511, -1, "Reins", 1);// 24
|
||||
AddComplexComponent( (BaseAddon) this, 4050, 2, 3, 1, 2511, -1, "Reins", 1);// 25
|
||||
AddComplexComponent( (BaseAddon) this, 4050, 1, 5, 1, 2511, -1, "Reins", 1);// 26
|
||||
AddComplexComponent( (BaseAddon) this, 4050, 2, 5, 1, 2511, -1, "Reins", 1);// 27
|
||||
AddComplexComponent( (BaseAddon) this, 6868, 2, 0, 12, 0, -1, "Nest of Easter Eggs", 1);// 28
|
||||
AddComplexComponent( (BaseAddon) this, 3206, 0, -3, 10, 2661, -1, "", 1);// 59
|
||||
AddComplexComponent( (BaseAddon) this, 3206, 1, -3, 10, 2664, -1, "", 1);// 60
|
||||
AddComplexComponent( (BaseAddon) this, 3206, 2, -3, 10, 2665, -1, "", 1);// 61
|
||||
AddComplexComponent( (BaseAddon) this, 3206, 0, -2, 10, 2663, -1, "", 1);// 62
|
||||
AddComplexComponent( (BaseAddon) this, 3206, 1, -2, 10, 2660, -1, "", 1);// 63
|
||||
AddComplexComponent( (BaseAddon) this, 3206, 2, -2, 10, 2666, -1, "", 1);// 64
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 0, -1, 10, 2660, -1, "Lillies", 1);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 1, -1, 10, 2662, -1, "Lillies", 1);// 66
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 2, -1, 10, 2658, -1, "Lillies", 1);// 67
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 0, 0, 10, 2846, -1, "Lillies", 1);// 68
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 2, 0, 10, 2660, -1, "Lillies", 1);// 69
|
||||
AddComplexComponent( (BaseAddon) this, 3220, 1, 0, 10, 2664, -1, "Lillies", 1);// 70
|
||||
|
||||
}
|
||||
|
||||
public EasterWagonAddon( 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 EasterWagonAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new EasterWagonAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public EasterWagonAddonDeed()
|
||||
{
|
||||
Name = "EasterWagon";
|
||||
}
|
||||
|
||||
public EasterWagonAddonDeed( 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