52 lines
981 B
C#
52 lines
981 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class WaterloggedBoots : BaseShoes
|
|
{
|
|
public override int LabelNumber{ get{ return 1074364; } } // Waterlogged boots
|
|
|
|
[Constructable]
|
|
public WaterloggedBoots() : base( 0x1711 )
|
|
{
|
|
if ( Utility.RandomBool() )
|
|
{
|
|
// thigh boots
|
|
ItemID = 0x1711;
|
|
Weight = 4.0;
|
|
}
|
|
else
|
|
{
|
|
// boots
|
|
ItemID = 0x170B;
|
|
Weight = 3.0;
|
|
}
|
|
}
|
|
|
|
public WaterloggedBoots( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void AddNameProperties( ObjectPropertyList list )
|
|
{
|
|
base.AddNameProperties( list );
|
|
|
|
list.Add( 1073634 ); // An aquarium decoration
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|