public override void OnSingleClick(Mobile from)
{
base.OnSingleClick(from);
LabelTo( from, "Difficulty: {0}", m_TreasureLevel );
}
public override string DefaultName
{
get
{
if (this.Locked)
return "a locked treasure chest";
return "a treasure chest";
}
}
< ==== HERE ==== >
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
writer.Write((byte)this.m_TreasureLevel);
writer.Write(this.m_MinSpawnTime);
writer.Write(this.m_MaxSpawnTime);
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.