Secondary changes: - Region fixes, mainly for New Haven. - Recipe system changes. - Enabled ML craftables. - Dyeing/cutting restrictions for quest items. - Moved IsInvulnerable from BaseVendor to BaseCreature. - Moved RandomBrightHue to Utility. - Items no longer decay when attached to a spawner. - Quest item hue is now faked through packets, instead of overriding Hue. - Re-enabled item drag effects for SA clients. - Fixed AssignRandomFacialHair bug in Utility. - Added random hue comments to Utility.
42 lines
762 B
C#
42 lines
762 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class PixieLeg : Item
|
|
{
|
|
public override int LabelNumber{ get{ return 1074613; } } // Pixie Leg
|
|
|
|
[Constructable]
|
|
public PixieLeg() : this( 1 )
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public PixieLeg( int amount ) : base( 0x1608 )
|
|
{
|
|
LootType = LootType.Blessed;
|
|
Hue = 0x1C2;
|
|
Stackable = true;
|
|
Amount = amount;
|
|
}
|
|
|
|
public PixieLeg( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 ); // Version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|