Files
abysmal-isle/Scripts/Context Menus/EatEntry.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

23 lines
449 B
C#

using System;
using Server.Items;
namespace Server.ContextMenus
{
public class EatEntry : ContextMenuEntry
{
private readonly Mobile m_From;
private readonly Food m_Food;
public EatEntry(Mobile from, Food food)
: base(6135, 1)
{
m_From = from;
m_Food = food;
}
public override void OnClick()
{
m_Food.TryEat(m_From);
}
}
}