ModernUO/Scripts/Items/Misc/TribalBerry.cs
Kamron Batman 20ae1b3989
Fixes lots more spelling errors (#5)
* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
2018-02-20 16:01:41 -08:00

46 lines
No EOL
771 B
C#

using System;
namespace Server.Items
{
public class TribalBerry : Item
{
public override int LabelNumber{ get{ return 1040001; } } // tribal berry
[Constructible]
public TribalBerry() : this( 1 )
{
}
[Constructible]
public TribalBerry( int amount ) : base( 0x9D0 )
{
Weight = 1.0;
Stackable = true;
Amount = amount;
Hue = 6;
}
public TribalBerry( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
if ( Hue == 4 )
Hue = 6;
}
}
}