Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,132 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class maginciaparklandAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{3313, 0, 3, 1}, {4790, -2, 5, 1}, {3348, -6, 3, 1}// 2 3 4
|
||||
, {7950, 0, 4, 21}, {7949, -1, 4, 21}, {3346, -1, 6, 1}// 5 6 7
|
||||
, {4799, -1, 7, 21}, {4801, 0, 5, 21}, {8753, -2, 4, 1}// 8 9 10
|
||||
, {4798, -2, 8, 21}, {3308, -1, 2, 1}, {4800, 0, 6, 21}// 11 12 13
|
||||
, {3343, -4, 1, 1}, {4791, -1, 4, 1}, {7068, -6, 6, 1}// 14 15 16
|
||||
, {3353, -4, -5, 1}, {3342, -4, 5, 1}, {3345, 2, -4, 1}// 17 18 19
|
||||
, {3349, 6, 3, 1}, {3314, 4, 2, 1}, {3350, 6, -3, 1}// 20 21 22
|
||||
, {4795, 3, 0, 0}, {3314, 2, 2, 1}, {4796, 5, 0, 12}// 23 24 25
|
||||
, {8752, 3, 4, 1}, {7951, 3, 2, 21}, {3310, 1, 4, 1}// 26 27 28
|
||||
, {3380, 2, 3, 21}, {3341, 5, 2, 1}, {3340, 2, 6, 1}// 29 30 31
|
||||
, {3347, 5, 6, 1}, {4794, 3, 2, 1}, {8751, 2, -3, 1}// 32 33 34
|
||||
, {8750, 5, -1, 1}, {3309, 2, 3, 1}, {3310, 1, 3, 1}// 35 36 37
|
||||
, {4793, 2, 3, 1}, {7070, 1, 5, 1}, {3344, 4, -3, 1}// 38 39 40
|
||||
, {7953, 4, 1, 1}, {7069, 6, -5, 1}, {4792, 1, 4, 1}// 41 42 43
|
||||
, {7954, 4, 1, 1}, {3352, 2, -6, 1}, {3351, 4, -6, 1}// 44 45 46
|
||||
, {7952, 4, 2, 22}, {4797, 6, -1, 4}, {4802, 1, 4, 21}// 47 48 49
|
||||
, {4803, 2, 3, 21}, {4804, 3, 2, 21}, {4805, 3, 0, 13}// 50 51 52
|
||||
, {4806, 5, 0, 26}, {4807, 6, -1, 24}// 53 54
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new maginciaparklandAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public maginciaparklandAddon()
|
||||
{
|
||||
|
||||
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, 2852, -8, -8, 3, 0, 1, "", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 2852, 9, 9, 3, 0, 1, "", 1);// 55
|
||||
|
||||
}
|
||||
|
||||
public maginciaparklandAddon( 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 maginciaparklandAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new maginciaparklandAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public maginciaparklandAddonDeed()
|
||||
{
|
||||
Name = "maginciaparkland";
|
||||
}
|
||||
|
||||
public maginciaparklandAddonDeed( 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