171 lines
8.7 KiB
C#
171 lines
8.7 KiB
C#
|
|
////////////////////////////////////////
|
|
// //
|
|
// Generated by CEO's YAAAG - V1.2 //
|
|
// (Yet Another Arya Addon Generator) //
|
|
// //
|
|
////////////////////////////////////////
|
|
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class sixbysixWisteriaLatticeRugAddon : BaseAddon
|
|
{
|
|
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new sixbysixWisteriaLatticeRugAddonDeed();
|
|
}
|
|
}
|
|
|
|
[ Constructable ]
|
|
public sixbysixWisteriaLatticeRugAddon()
|
|
{
|
|
|
|
|
|
|
|
AddComplexComponent( (BaseAddon) this, 2799, -3, -3, 0, 2675, -1, "(6,2799): -3, -3, 0", 1);// 1
|
|
AddComplexComponent( (BaseAddon) this, 2802, -3, -2, 0, 2675, -1, "(4,2802): -3, -2, 0", 1);// 2
|
|
AddComplexComponent( (BaseAddon) this, 2802, -3, -1, 0, 2675, -1, "(5,2802): -3, -1, 0", 1);// 3
|
|
AddComplexComponent( (BaseAddon) this, 2802, -3, 0, 0, 2675, -1, "(12,2802): -3, 0, 0", 1);// 4
|
|
AddComplexComponent( (BaseAddon) this, 2802, -3, 1, 0, 2675, -1, "(13,2802): -3, 1, 0", 1);// 5
|
|
AddComplexComponent( (BaseAddon) this, 2802, -3, 2, 0, 2675, -1, "(14,2802): -3, 2, 0", 1);// 6
|
|
AddComplexComponent( (BaseAddon) this, 2802, -3, 3, 0, 2675, -1, "(15,2802): -3, 3, 0", 1);// 7
|
|
AddComplexComponent( (BaseAddon) this, 2800, -3, 4, 0, 2675, -1, "(16,2800): -3, 4, 0", 1);// 8
|
|
AddComplexComponent( (BaseAddon) this, 2803, -2, -3, 0, 2675, -1, "(3,2803): -2, -3, 0", 1);// 9
|
|
AddComplexComponent( (BaseAddon) this, 2803, -1, -3, 0, 2675, -1, "(29,2803): -1, -3, 0", 1);// 10
|
|
AddComplexComponent( (BaseAddon) this, 2803, 0, -3, 0, 2675, -1, "(30,2803): 0, -3, 0", 1);// 11
|
|
AddComplexComponent( (BaseAddon) this, 2803, 1, -3, 0, 2675, -1, "(31,2803): 1, -3, 0", 1);// 12
|
|
AddComplexComponent( (BaseAddon) this, 2803, 2, -3, 0, 2675, -1, "(32,2803): 2, -3, 0", 1);// 13
|
|
AddComplexComponent( (BaseAddon) this, 2803, 3, -3, 0, 2675, -1, "(33,2803): 3, -3, 0", 1);// 14
|
|
AddComplexComponent( (BaseAddon) this, 2801, 4, -3, 0, 2675, -1, "(34,2801): 4, -3, 0", 1);// 15
|
|
AddComplexComponent( (BaseAddon) this, 2769, -2, -1, 0, 2675, -1, "(1,2769): -2, -1, 0", 1);// 16
|
|
AddComplexComponent( (BaseAddon) this, 2796, -2, -2, 0, 2675, -1, "(2,2796): -2, -2, 0", 1);// 17
|
|
AddComplexComponent( (BaseAddon) this, 2769, -2, 1, 0, 2675, -1, "(7,2769): -2, 1, 0", 1);// 18
|
|
AddComplexComponent( (BaseAddon) this, 2769, -2, 3, 0, 2675, -1, "(8,2769): -2, 3, 0", 1);// 19
|
|
AddComplexComponent( (BaseAddon) this, 2796, -2, 0, 0, 2675, -1, "(9,2796): -2, 0, 0", 1);// 20
|
|
AddComplexComponent( (BaseAddon) this, 2796, -2, 2, 0, 2675, -1, "(10,2796): -2, 2, 0", 1);// 21
|
|
AddComplexComponent( (BaseAddon) this, 2805, -2, 4, 0, 2675, -1, "(11,2805): -2, 4, 0", 1);// 22
|
|
AddComplexComponent( (BaseAddon) this, 2769, -1, -2, 0, 2675, -1, "(17,2769): -1, -2, 0", 1);// 23
|
|
AddComplexComponent( (BaseAddon) this, 2769, 0, -1, 0, 2675, -1, "(18,2769): 0, -1, 0", 1);// 24
|
|
AddComplexComponent( (BaseAddon) this, 2769, 1, -2, 0, 2675, -1, "(19,2769): 1, -2, 0", 1);// 25
|
|
AddComplexComponent( (BaseAddon) this, 2769, 2, -1, 0, 2675, -1, "(20,2769): 2, -1, 0", 1);// 26
|
|
AddComplexComponent( (BaseAddon) this, 2769, 3, -2, 0, 2675, -1, "(21,2769): 3, -2, 0", 1);// 27
|
|
AddComplexComponent( (BaseAddon) this, 2796, -1, -1, 0, 2675, -1, "(22,2796): -1, -1, 0", 1);// 28
|
|
AddComplexComponent( (BaseAddon) this, 2796, 0, -2, 0, 2675, -1, "(23,2796): 0, -2, 0", 1);// 29
|
|
AddComplexComponent( (BaseAddon) this, 2796, 1, -1, 0, 2675, -1, "(24,2796): 1, -1, 0", 1);// 30
|
|
AddComplexComponent( (BaseAddon) this, 2796, 2, -2, 0, 2675, -1, "(25,2796): 2, -2, 0", 1);// 31
|
|
AddComplexComponent( (BaseAddon) this, 2796, 3, -1, 0, 2675, -1, "(26,2796): 3, -1, 0", 1);// 32
|
|
AddComplexComponent( (BaseAddon) this, 2804, 4, -2, 0, 2675, -1, "(27,2804): 4, -2, 0", 1);// 33
|
|
AddComplexComponent( (BaseAddon) this, 2804, 4, -1, 0, 2675, -1, "(28,2804): 4, -1, 0", 1);// 34
|
|
AddComplexComponent( (BaseAddon) this, 2769, -1, 0, 0, 2675, -1, "(35,2769): -1, 0, 0", 1);// 35
|
|
AddComplexComponent( (BaseAddon) this, 2769, -1, 2, 0, 2675, -1, "(36,2769): -1, 2, 0", 1);// 36
|
|
AddComplexComponent( (BaseAddon) this, 2769, 0, 1, 0, 2675, -1, "(37,2769): 0, 1, 0", 1);// 37
|
|
AddComplexComponent( (BaseAddon) this, 2769, 0, 3, 0, 2675, -1, "(38,2769): 0, 3, 0", 1);// 38
|
|
AddComplexComponent( (BaseAddon) this, 2769, 1, 0, 0, 2675, -1, "(39,2769): 1, 0, 0", 1);// 39
|
|
AddComplexComponent( (BaseAddon) this, 2769, 1, 2, 0, 2675, -1, "(40,2769): 1, 2, 0", 1);// 40
|
|
AddComplexComponent( (BaseAddon) this, 2769, 2, 1, 0, 2675, -1, "(41,2769): 2, 1, 0", 1);// 41
|
|
AddComplexComponent( (BaseAddon) this, 2769, 2, 3, 0, 2675, -1, "(42,2769): 2, 3, 0", 1);// 42
|
|
AddComplexComponent( (BaseAddon) this, 2769, 3, 0, 0, 2675, -1, "(43,2769): 3, 0, 0", 1);// 43
|
|
AddComplexComponent( (BaseAddon) this, 2769, 3, 2, 0, 2675, -1, "(44,2769): 3, 2, 0", 1);// 44
|
|
AddComplexComponent( (BaseAddon) this, 2796, -1, 3, 0, 2675, -1, "(45,2796): -1, 3, 0", 1);// 45
|
|
AddComplexComponent( (BaseAddon) this, 2796, -1, 1, 0, 2675, -1, "(46,2796): -1, 1, 0", 1);// 46
|
|
AddComplexComponent( (BaseAddon) this, 2796, 0, 0, 0, 2675, -1, "(47,2796): 0, 0, 0", 1);// 47
|
|
AddComplexComponent( (BaseAddon) this, 2796, 0, 2, 0, 2675, -1, "(48,2796): 0, 2, 0", 1);// 48
|
|
AddComplexComponent( (BaseAddon) this, 2796, 1, 3, 0, 2675, -1, "(49,2796): 1, 3, 0", 1);// 49
|
|
AddComplexComponent( (BaseAddon) this, 2796, 1, 1, 0, 2675, -1, "(50,2796): 1, 1, 0", 1);// 50
|
|
AddComplexComponent( (BaseAddon) this, 2796, 2, 0, 0, 2675, -1, "(51,2796): 2, 0, 0", 1);// 51
|
|
AddComplexComponent( (BaseAddon) this, 2796, 2, 2, 0, 2675, -1, "(52,2796): 2, 2, 0", 1);// 52
|
|
AddComplexComponent( (BaseAddon) this, 2796, 3, 3, 0, 2675, -1, "(53,2796): 3, 3, 0", 1);// 53
|
|
AddComplexComponent( (BaseAddon) this, 2796, 3, 1, 0, 2675, -1, "(54,2796): 3, 1, 0", 1);// 54
|
|
AddComplexComponent( (BaseAddon) this, 2805, -1, 4, 0, 2675, -1, "(55,2805): -1, 4, 0", 1);// 55
|
|
AddComplexComponent( (BaseAddon) this, 2805, 0, 4, 0, 2675, -1, "(56,2805): 0, 4, 0", 1);// 56
|
|
AddComplexComponent( (BaseAddon) this, 2805, 1, 4, 0, 2675, -1, "(57,2805): 1, 4, 0", 1);// 57
|
|
AddComplexComponent( (BaseAddon) this, 2805, 2, 4, 0, 2675, -1, "(58,2805): 2, 4, 0", 1);// 58
|
|
AddComplexComponent( (BaseAddon) this, 2805, 3, 4, 0, 2675, -1, "(59,2805): 3, 4, 0", 1);// 59
|
|
AddComplexComponent( (BaseAddon) this, 2804, 4, 0, 0, 2675, -1, "(60,2804): 4, 0, 0", 1);// 60
|
|
AddComplexComponent( (BaseAddon) this, 2804, 4, 1, 0, 2675, -1, "(61,2804): 4, 1, 0", 1);// 61
|
|
AddComplexComponent( (BaseAddon) this, 2804, 4, 2, 0, 2675, -1, "(62,2804): 4, 2, 0", 1);// 62
|
|
AddComplexComponent( (BaseAddon) this, 2804, 4, 3, 0, 2675, -1, "(63,2804): 4, 3, 0", 1);// 63
|
|
AddComplexComponent( (BaseAddon) this, 2798, 4, 4, 0, 2675, -1, "(64,2798): 4, 4, 0", 1);// 64
|
|
|
|
}
|
|
|
|
public sixbysixWisteriaLatticeRugAddon( 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 sixbysixWisteriaLatticeRugAddonDeed : BaseAddonDeed
|
|
{
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new sixbysixWisteriaLatticeRugAddon();
|
|
}
|
|
}
|
|
|
|
[Constructable]
|
|
public sixbysixWisteriaLatticeRugAddonDeed()
|
|
{
|
|
Name = "sixbysixWisteriaLatticeRug";
|
|
}
|
|
|
|
public sixbysixWisteriaLatticeRugAddonDeed( 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();
|
|
}
|
|
}
|
|
} |