Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
146
Scripts/Scripts-master/Addons/badsantaAddon.cs
Normal file
146
Scripts/Scripts-master/Addons/badsantaAddon.cs
Normal file
@@ -0,0 +1,146 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class badsantaAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{6085, -3, -4, 0}, {6090, -3, -2, 0}, {6090, -3, -3, 0}// 1 2 3
|
||||
, {6090, -3, 1, 0}, {6090, -3, 0, 0}, {6090, -3, -1, 0}// 4 5 6
|
||||
, {6090, -3, 3, 0}, {6088, -3, 4, 0}, {6090, -3, 2, 0}// 7 8 9
|
||||
, {6086, 3, -4, 0}, {6087, 3, 4, 0}, {6092, 3, -3, 0}// 10 11 12
|
||||
, {6092, 3, -2, 0}, {6092, 3, -1, 0}, {6092, 3, 0, 0}// 13 14 15
|
||||
, {6092, 3, 1, 0}, {6092, 3, 2, 0}, {6092, 3, 3, 0}// 16 17 18
|
||||
, {6077, 2, -2, 0}, {6077, 2, -1, 0}, {6077, 2, 0, 0}// 19 20 21
|
||||
, {6077, 2, 1, 0}, {6077, 2, 2, 0}, {6089, 2, 4, 0}// 22 23 24
|
||||
, {6091, 2, -4, 0}, {6077, 2, 3, 0}, {6077, 2, -3, 0}// 25 26 27
|
||||
, {6077, 1, -2, 0}, {6077, 1, -1, 0}, {6077, 1, 0, 0}// 28 29 30
|
||||
, {6077, 1, 1, 0}, {6077, 1, 2, 0}, {6089, 1, 4, 0}// 31 32 33
|
||||
, {6091, 1, -4, 0}, {6077, 1, 3, 0}, {6077, 1, -3, 0}// 34 35 36
|
||||
, {6077, 0, -2, 0}, {6077, 0, -1, 0}, {6077, 0, 0, 0}// 37 38 39
|
||||
, {6077, 0, 1, 0}, {6077, 0, 2, 0}, {6091, 0, -4, 0}// 40 41 42
|
||||
, {6077, 0, 3, 0}, {6077, 0, -3, 0}, {6089, 0, 4, 0}// 43 44 45
|
||||
, {6077, -1, -3, 0}, {6077, -1, -2, 0}, {6077, -1, -1, 0}// 46 47 48
|
||||
, {6077, -1, 0, 0}, {6077, -1, 1, 0}, {6077, -1, 2, 0}// 49 50 51
|
||||
, {6077, -1, 3, 0}, {6089, -1, 4, 0}, {6091, -1, -4, 0}// 52 53 54
|
||||
, {7389, 2, -2, 0}, {6091, -2, -4, 0}, {6089, -2, 4, 0}// 55 56 57
|
||||
, {6077, -2, -3, 0}, {6077, -2, -2, 0}, {6077, -2, -1, 0}// 58 59 60
|
||||
, {6077, -2, 0, 0}, {6077, -2, 1, 0}, {6077, -2, 2, 0}// 61 62 63
|
||||
, {6077, -2, 3, 0}, {4653, 2, -1, 0}, {4654, -1, -3, 0}// 64 67 68
|
||||
, {4653, -1, 2, 0}, {4654, -2, -1, 0}, {4653, 1, 1, 0}// 71 75 76
|
||||
, {4654, 2, 3, 0}, {4653, 2, -3, 0}, {7585, 2, -3, 0}// 78 79 80
|
||||
, {3286, -1, -2, 0}, {4653, -2, 0, 0}// 81 83
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new badsantaAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public badsantaAddon()
|
||||
{
|
||||
|
||||
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, 15721, 1, -2, 1, 0, -1, "Dasher", 1);// 65
|
||||
AddComplexComponent( (BaseAddon) this, 4633, 0, 0, 1, 238, -1, "", 1);// 66
|
||||
AddComplexComponent( (BaseAddon) this, 7399, 2, 0, 0, 0, -1, "Legs of Gwenavier", 1);// 69
|
||||
AddComplexComponent( (BaseAddon) this, 5916, 0, 0, 2, 1157, -1, "SantasHat", 1);// 70
|
||||
AddComplexComponent( (BaseAddon) this, 15722, 2, 3, 0, 0, -1, "Fido", 1);// 72
|
||||
AddComplexComponent( (BaseAddon) this, 7393, 0, 3, 0, 0, -1, "Mrs. Claus", 1);// 73
|
||||
AddComplexComponent( (BaseAddon) this, 7390, -2, 3, 0, 0, -1, "Morthoseth", 1);// 74
|
||||
AddComplexComponent( (BaseAddon) this, 3913, 1, -1, 0, 238, -1, "Bloody Axe", 1);// 77
|
||||
AddComplexComponent( (BaseAddon) this, 10299, -1, -2, 35, 2865, -1, "Magical Star Rose", 1);// 82
|
||||
|
||||
}
|
||||
|
||||
public badsantaAddon( 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 badsantaAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new badsantaAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public badsantaAddonDeed()
|
||||
{
|
||||
Name = "badsanta";
|
||||
}
|
||||
|
||||
public badsantaAddonDeed( 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