AvatarsConquest/Scripts/Quests/Rewards/BottomlessPotionKeg.cs

47 lines
1.2 KiB
C#

using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class BottomlessPotionKeg : PotionKeg
{
public override int MaxCapacity { get { return 500; } }
[Constructable]
public BottomlessPotionKeg() : base()
{
Hue = 1161; // Glowing Blaze hue
}
public override void GetProperties( ObjectPropertyList list )
{
base.GetProperties( list );
list.Add( 1049644, "Bottomless (500 Max)" ); // Displays as: [ Bottomless (500 Max) ]
}
public override void OnSingleClick( Mobile from )
{
base.OnSingleClick( from );
this.LabelTo( from, "[Bottomless (500 Max)]" );
}
public BottomlessPotionKeg( 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();
}
}
}