Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
200
Scripts/Scripts-master/Addons/Cast;eDockEastAddon.cs
Normal file
200
Scripts/Scripts-master/Addons/Cast;eDockEastAddon.cs
Normal file
@@ -0,0 +1,200 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CastleDockEastAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{1277, -5, 2, 10}, {1277, -5, 0, 10}, {1277, -5, 3, 10}// 2 4 6
|
||||
, {1277, -5, 1, 10}, {1277, 4, -3, 10}, {1277, 4, -2, 10}// 8 9 11
|
||||
, {1277, 1, -2, 10}, {1277, 5, -2, 10}, {1277, 5, -3, 10}// 12 13 14
|
||||
, {1277, 1, -3, 10}, {1277, 3, -4, 11}, {1277, 3, -2, 10}// 16 18 20
|
||||
, {1277, 3, -3, 10}, {1277, 0, -4, 10}, {1277, 0, -3, 10}// 21 22 23
|
||||
, {1277, 4, -4, 10}, {1277, 2, -2, 10}, {1277, 2, -3, 10}// 24 25 26
|
||||
, {1277, 1, -4, 10}, {1277, 2, -4, 10}, {1277, 5, -4, 9}// 27 31 33
|
||||
, {1277, 0, -2, 10}, {1277, 4, 1, 10}, {1277, 2, 5, 10}// 43 48 49
|
||||
, {1277, 4, -1, 10}, {1277, 2, 6, 10}, {1277, 2, -1, 10}// 50 51 52
|
||||
, {1277, 4, 0, 10}, {1277, 3, 0, 10}, {1277, 2, 3, 10}// 53 54 55
|
||||
, {1277, 0, 0, 10}, {1277, 0, 3, 10}, {1277, 0, 7, 10}// 56 58 60
|
||||
, {1277, 4, 6, 10}, {1277, 1, -1, 10}, {1277, -1, 1, 10}// 61 62 63
|
||||
, {1277, 3, 7, 10}, {1277, 3, 2, 10}, {1277, 5, 5, 10}// 64 65 66
|
||||
, {1277, 1, 3, 10}, {1277, 5, 3, 10}, {1277, -2, 1, 10}// 67 68 69
|
||||
, {1277, 2, 1, 10}, {1277, 5, -1, 10}, {1277, 0, 5, 10}// 70 71 72
|
||||
, {1277, 0, 6, 10}, {1277, 2, 7, 10}, {1277, 5, 6, 10}// 73 74 75
|
||||
, {1277, 4, 7, 10}, {1277, 3, 6, 10}, {1277, 1, 5, 10}// 76 77 78
|
||||
, {1277, 1, 7, 10}, {1277, 5, 0, 10}, {1277, 2, 4, 10}// 79 81 82
|
||||
, {1277, 5, 1, 10}, {1277, 3, 4, 10}, {1277, 0, 1, 10}// 83 84 85
|
||||
, {1277, 4, 5, 10}, {1277, 5, 2, 10}, {1277, -4, 2, 10}// 86 87 88
|
||||
, {1277, -1, 0, 10}, {1277, -2, 0, 10}, {1277, -2, 2, 10}// 89 90 91
|
||||
, {1277, -2, 3, 10}, {1277, -1, 2, 10}, {1277, 3, 5, 10}// 92 93 94
|
||||
, {1277, -3, 1, 10}, {1277, 0, 2, 10}, {1277, 3, 3, 10}// 95 97 100
|
||||
, {1277, 4, 2, 10}, {1277, -4, 3, 10}, {1277, 4, 3, 10}// 101 102 103
|
||||
, {1277, 2, 2, 10}, {1277, 1, 0, 10}, {1277, 5, 7, 10}// 106 107 108
|
||||
, {1277, -4, 1, 10}, {1277, 0, 4, 10}, {1277, 1, 2, 10}// 109 111 113
|
||||
, {1277, 3, 1, 10}, {1277, 4, 4, 10}, {1277, -3, 0, 10}// 115 117 118
|
||||
, {1277, 1, 6, 10}, {1277, 0, -1, 10}, {1277, 3, -1, 10}// 120 122 128
|
||||
, {1277, 1, 4, 10}, {1277, 5, 4, 10}, {1277, -4, 0, 10}// 129 131 134
|
||||
, {1277, -1, 3, 10}, {1277, 2, 0, 10}, {1277, -3, 3, 10}// 136 140 141
|
||||
, {1277, 1, 1, 10}, {1277, -3, 2, 10}// 145 147
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new CastleDockEastAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public CastleDockEastAddon()
|
||||
{
|
||||
|
||||
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, 474, -6, 3, 0, 1, -1, "", 1);// 1
|
||||
AddComplexComponent( (BaseAddon) this, 474, -6, -1, 0, 1, -1, "", 1);// 3
|
||||
AddComplexComponent( (BaseAddon) this, 219, -6, -1, 10, 1, -1, "", 1);// 5
|
||||
AddComplexComponent( (BaseAddon) this, 219, -6, 3, 10, 1, -1, "", 1);// 7
|
||||
AddComplexComponent( (BaseAddon) this, 2911, 5, -2, 10, 2999, -1, "", 1);// 10
|
||||
AddComplexComponent( (BaseAddon) this, 15758, 2, -3, 15, 2999, -1, "", 1);// 15
|
||||
AddComplexComponent( (BaseAddon) this, 936, 5, -4, 14, 1153, -1, "", 1);// 17
|
||||
AddComplexComponent( (BaseAddon) this, 15758, 4, -3, 16, 2999, -1, "", 1);// 19
|
||||
AddComplexComponent( (BaseAddon) this, 2912, 5, -4, 10, 2999, -1, "", 1);// 28
|
||||
AddComplexComponent( (BaseAddon) this, 474, -1, -5, 0, 1, -1, "", 1);// 29
|
||||
AddComplexComponent( (BaseAddon) this, 2567, 5, -6, 10, 0, 1, "", 1);// 30
|
||||
AddComplexComponent( (BaseAddon) this, 10000, 1, -4, 14, 1153, -1, "", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 935, -1, -3, 8, 1153, -1, "", 1);// 34
|
||||
AddComplexComponent( (BaseAddon) this, 2913, 5, -3, 10, 2999, -1, "", 1);// 35
|
||||
AddComplexComponent( (BaseAddon) this, 10000, 0, -4, 14, 1153, -1, "", 1);// 36
|
||||
AddComplexComponent( (BaseAddon) this, 3520, 2, -2, 10, 2999, -1, "", 1);// 37
|
||||
AddComplexComponent( (BaseAddon) this, 219, -1, -5, 10, 1, -1, "", 1);// 38
|
||||
AddComplexComponent( (BaseAddon) this, 474, 5, -5, 0, 1, -1, "", 1);// 39
|
||||
AddComplexComponent( (BaseAddon) this, 10000, 3, -4, 14, 1153, -1, "", 1);// 40
|
||||
AddComplexComponent( (BaseAddon) this, 2567, 5, -2, 10, 0, 1, "", 1);// 41
|
||||
AddComplexComponent( (BaseAddon) this, 219, 5, -5, 10, 1, -1, "", 1);// 42
|
||||
AddComplexComponent( (BaseAddon) this, 10000, 4, -4, 14, 1153, -1, "", 1);// 44
|
||||
AddComplexComponent( (BaseAddon) this, 935, -1, -2, 8, 1153, -1, "", 1);// 45
|
||||
AddComplexComponent( (BaseAddon) this, 10000, 2, -4, 14, 1153, -1, "", 1);// 46
|
||||
AddComplexComponent( (BaseAddon) this, 935, -1, -4, 8, 1153, -1, "", 1);// 47
|
||||
AddComplexComponent( (BaseAddon) this, 2911, 5, 6, 10, 2999, -1, "", 1);// 57
|
||||
AddComplexComponent( (BaseAddon) this, 934, 0, 7, 12, 1153, -1, "", 1);// 59
|
||||
AddComplexComponent( (BaseAddon) this, 935, -1, 6, 7, 1153, -1, "", 1);// 80
|
||||
AddComplexComponent( (BaseAddon) this, 474, 0, 0, 0, 1154, -1, "", 1);// 96
|
||||
AddComplexComponent( (BaseAddon) this, 2912, 5, 4, 10, 2999, -1, "", 1);// 98
|
||||
AddComplexComponent( (BaseAddon) this, 219, 5, 3, 10, 1, -1, "", 1);// 99
|
||||
AddComplexComponent( (BaseAddon) this, 3519, 3, 5, 10, 1153, -1, "", 1);// 104
|
||||
AddComplexComponent( (BaseAddon) this, 2567, 6, 7, 20, 0, 1, "", 1);// 105
|
||||
AddComplexComponent( (BaseAddon) this, 474, -1, 3, 0, 1, -1, "", 1);// 110
|
||||
AddComplexComponent( (BaseAddon) this, 2567, 6, 3, 20, 0, 1, "", 1);// 112
|
||||
AddComplexComponent( (BaseAddon) this, 3530, 0, 6, 10, 2999, -1, "", 1);// 114
|
||||
AddComplexComponent( (BaseAddon) this, 474, 0, 2, 0, 1154, -1, "", 1);// 116
|
||||
AddComplexComponent( (BaseAddon) this, 2913, 5, 5, 10, 2999, -1, "", 1);// 119
|
||||
AddComplexComponent( (BaseAddon) this, 474, 5, 3, 0, 1, -1, "", 1);// 121
|
||||
AddComplexComponent( (BaseAddon) this, 474, 4, 3, 0, 1, -1, "", 1);// 123
|
||||
AddComplexComponent( (BaseAddon) this, 474, 5, 7, 0, 1, -1, "", 1);// 124
|
||||
AddComplexComponent( (BaseAddon) this, 935, -1, 4, 7, 1153, -1, "", 1);// 125
|
||||
AddComplexComponent( (BaseAddon) this, 474, 5, -1, 0, 1, -1, "", 1);// 126
|
||||
AddComplexComponent( (BaseAddon) this, 934, 4, 7, 12, 1153, -1, "", 1);// 127
|
||||
AddComplexComponent( (BaseAddon) this, 934, 3, 7, 12, 1153, -1, "", 1);// 130
|
||||
AddComplexComponent( (BaseAddon) this, 2912, 5, 0, 10, 2999, -1, "", 1);// 132
|
||||
AddComplexComponent( (BaseAddon) this, 934, 1, 7, 12, 1153, -1, "", 1);// 133
|
||||
AddComplexComponent( (BaseAddon) this, 219, -1, 7, 10, 1, -1, "", 1);// 135
|
||||
AddComplexComponent( (BaseAddon) this, 219, 5, -1, 10, 1, -1, "", 1);// 137
|
||||
AddComplexComponent( (BaseAddon) this, 934, 2, 7, 12, 1153, -1, "", 1);// 138
|
||||
AddComplexComponent( (BaseAddon) this, 935, -1, 5, 7, 1153, -1, "", 1);// 139
|
||||
AddComplexComponent( (BaseAddon) this, 219, -1, -1, 10, 1, -1, "", 1);// 142
|
||||
AddComplexComponent( (BaseAddon) this, 219, 5, 7, 10, 1, -1, "", 1);// 143
|
||||
AddComplexComponent( (BaseAddon) this, 2913, 5, 1, 10, 2999, -1, "", 1);// 144
|
||||
AddComplexComponent( (BaseAddon) this, 474, -1, 7, 0, 1, -1, "", 1);// 146
|
||||
AddComplexComponent( (BaseAddon) this, 2911, 5, 2, 10, 2999, -1, "", 1);// 148
|
||||
AddComplexComponent( (BaseAddon) this, 219, -1, 3, 10, 1, -1, "", 1);// 149
|
||||
|
||||
}
|
||||
|
||||
public CastleDockEastAddon( 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 CastleDockEastAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new CastleDockEastAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public CastleDockEastAddonDeed()
|
||||
{
|
||||
Name = "CastleDockEast";
|
||||
}
|
||||
|
||||
public CastleDockEastAddonDeed( 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