mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
46 lines
1 KiB
C#
46 lines
1 KiB
C#
namespace Server.Items
|
|
{
|
|
public class FaeryDust : Item, ICommodity
|
|
{
|
|
|
|
[Constructable]
|
|
public FaeryDust() : this(1)
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public FaeryDust(int amountFrom, int amountTo) : this(Utility.RandomMinMax(amountFrom, amountTo))
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public FaeryDust(int amount) : base(0x5745)
|
|
{
|
|
Stackable = true;
|
|
Amount = amount;
|
|
}
|
|
|
|
public FaeryDust(Serial serial) : base(serial)
|
|
{
|
|
}
|
|
|
|
TextDefinition ICommodity.Description => LabelNumber;
|
|
bool ICommodity.IsDeedable => true;
|
|
|
|
public override int LabelNumber => 1113358; // faery dust
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|