public override void OnDoubleClick(Mobile from)
{
if (!Movable)
{
from.SendAsciiMessage("You cannot eat this head");
return;
}
// Fill the Mobile with FillFactor
if (Food.FillHunger(from, 4))
{
// Play a random "eat" sound
from.PlaySound(Utility.Random(0x3A, 3));
if (from.Body.IsHuman && !from.Mounted)
{
from.Animate(34, 5, 1, true, false, 0);
}
if (PlayerName != null)
{
from.PublicOverheadMessage(Network.MessageType.Emote, 0x22, true, string.Format("*You see {0} eat the head of {1}*", from.Name, m_PlayerName));
}
Consume();
}
}