Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
157
Scripts/Scripts-master/Addons2/thinkingplaceAddon.cs
Normal file
157
Scripts/Scripts-master/Addons2/thinkingplaceAddon.cs
Normal file
@@ -0,0 +1,157 @@
|
||||
|
||||
////////////////////////////////////////
|
||||
// //
|
||||
// Generated by CEO's YAAAG - V1.2 //
|
||||
// (Yet Another Arya Addon Generator) //
|
||||
// //
|
||||
////////////////////////////////////////
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class thinkingplaceAddon : BaseAddon
|
||||
{
|
||||
private static int[,] m_AddOnSimpleComponents = new int[,] {
|
||||
{3377, -4, 2, 0}, {3209, -4, 0, 0}, {3264, -4, -1, 0}// 1 2 3
|
||||
, {3209, -1, -4, 0}, {3377, 1, -4, 0}, {13477, 0, 1, 0}// 4 5 6
|
||||
, {9325, 3, -1, 2}, {3204, -1, 4, 0}, {3204, 4, 1, 0}// 7 8 9
|
||||
, {3204, 3, -2, 0}, {3264, -2, -2, 0}, {3255, 4, 0, 0}// 10 11 12
|
||||
, {3255, 1, -2, 0}, {4965, -1, 2, 0}, {3206, -2, 3, 0}// 13 14 15
|
||||
, {3263, 4, 3, 0}, {9325, 0, -1, 0}, {3208, 5, 3, 0}// 16 17 18
|
||||
, {4967, 1, 3, 0}, {3255, -2, 0, 0}, {3212, 4, 5, 0}// 19 20 21
|
||||
, {3203, -1, -1, 0}, {3264, 4, -1, 0}, {3206, 5, 0, 0}// 22 23 24
|
||||
, {4963, 0, -1, 0}, {3264, 4, 2, 0}, {13477, 2, 1, 0}// 25 26 27
|
||||
, {3209, -2, 4, 0}, {3264, -3, 3, 0}, {3203, 3, 1, 0}// 28 30 31
|
||||
, {3377, -3, -2, 0}, {3265, -2, 5, 0}, {3265, 2, 4, 0}// 35 36 38
|
||||
, {6010, -1, 1, 0}, {6057, 2, -1, 0}, {3208, -3, -2, 0}// 40 41 42
|
||||
, {9328, 1, -1, 0}, {3208, 5, 1, 0}, {3265, 4, -2, 0}// 43 44 45
|
||||
, {3209, 5, 2, 0}, {3209, 4, 4, 0}, {6012, 3, 0, 0}// 46 47 48
|
||||
, {6011, -1, 2, 0}, {6060, 0, 0, 0}, {6011, 1, -1, 0}// 49 50 51
|
||||
, {4972, 3, -1, 0}, {3256, -1, 2, 5}, {3264, 0, 4, 0}// 52 53 55
|
||||
, {6010, 0, 3, 0}, {6011, 3, 1, 0}, {3264, -2, 1, 0}// 56 57 58
|
||||
, {3206, 0, 5, 0}, {3264, 2, -3, 0}, {3204, -2, 2, 0}// 59 60 61
|
||||
, {13477, 1, 1, 0}, {13477, 2, 0, 0}, {6009, -1, 0, 0}// 62 63 64
|
||||
, {3263, -1, 5, 0}, {4967, 0, 0, 0}, {3212, -3, 3, 0}// 65 66 67
|
||||
, {3203, 3, -1, 0}, {3209, 4, -3, 0}, {3203, 3, -1, 0}// 68 69 70
|
||||
, {3256, 3, 2, 0}, {3263, 5, -1, 0}, {3212, 5, 4, 0}// 72 73 74
|
||||
, {3263, 3, 4, 0}, {3209, 1, 4, 0}, {3208, 5, 5, 0}// 75 76 77
|
||||
, {3255, -1, 3, 0}, {3265, 3, 3, 0}, {3209, -3, 5, 0}// 78 79 80
|
||||
, {3263, -1, -3, 0}, {3256, 2, 3, 0}, {3209, 4, 5, 0}// 81 82 83
|
||||
, {3204, 2, 3, 0}, {3204, 2, -2, 20}, {6010, 2, -1, 0}// 84 85 86
|
||||
, {3209, 4, -3, 0}, {3209, 5, -2, 0}, {3212, 3, 0, 0}// 87 88 89
|
||||
, {6011, 3, 0, 0}, {9326, -1, 0, 0}, {3212, -2, -3, 0}// 90 91 92
|
||||
, {6060, -1, 2, 0}, {13477, 1, 0, 0}, {6059, 0, 2, 0}// 93 94 95
|
||||
, {3208, 3, 5, 0}, {3206, -3, 4, 0}, {6058, 1, 2, 0}// 96 97 98
|
||||
, {6009, 2, 2, 0}, {3208, 1, 5, 0}, {3212, 4, -3, 0}// 100 101 102
|
||||
, {3206, -3, 2, 0}, {3209, -3, 1, 0}, {4965, 3, 1, 0}// 103 104 105
|
||||
, {3377, 3, -3, 0}// 109
|
||||
};
|
||||
|
||||
|
||||
|
||||
public override BaseAddonDeed Deed
|
||||
{
|
||||
get
|
||||
{
|
||||
return new thinkingplaceAddonDeed();
|
||||
}
|
||||
}
|
||||
|
||||
[ Constructable ]
|
||||
public thinkingplaceAddon()
|
||||
{
|
||||
|
||||
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, 2861, 0, 5, 0, 100, -1, "", 1);// 29
|
||||
AddComplexComponent( (BaseAddon) this, 2861, 1, 5, 0, 100, -1, "", 1);// 32
|
||||
AddComplexComponent( (BaseAddon) this, 2861, 1, -3, 0, 100, -1, "", 1);// 33
|
||||
AddComplexComponent( (BaseAddon) this, 2860, 5, 1, 0, 100, -1, "", 1);// 34
|
||||
AddComplexComponent( (BaseAddon) this, 2860, -3, 1, 0, 100, -1, "", 1);// 37
|
||||
AddComplexComponent( (BaseAddon) this, 2861, 2, 5, 0, 100, -1, "", 1);// 39
|
||||
AddComplexComponent( (BaseAddon) this, 2861, 2, -3, 0, 100, -1, "", 1);// 54
|
||||
AddComplexComponent( (BaseAddon) this, 2860, -3, 0, 0, 100, -1, "", 1);// 71
|
||||
AddComplexComponent( (BaseAddon) this, 2860, 5, 0, 0, 100, -1, "", 1);// 99
|
||||
AddComplexComponent( (BaseAddon) this, 2861, 0, -3, 0, 100, -1, "", 1);// 106
|
||||
AddComplexComponent( (BaseAddon) this, 2860, -3, 2, 0, 100, -1, "", 1);// 107
|
||||
AddComplexComponent( (BaseAddon) this, 2860, 5, -1, 0, 100, -1, "", 1);// 108
|
||||
|
||||
}
|
||||
|
||||
public thinkingplaceAddon( 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 thinkingplaceAddonDeed : BaseAddonDeed
|
||||
{
|
||||
public override BaseAddon Addon
|
||||
{
|
||||
get
|
||||
{
|
||||
return new thinkingplaceAddon();
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public thinkingplaceAddonDeed()
|
||||
{
|
||||
Name = "thinkingplace";
|
||||
}
|
||||
|
||||
public thinkingplaceAddonDeed( 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