namespace Content.Server.Nutrition;
///
/// Raised on a food being sliced.
/// Used by deep frier to apply friedness to slices (e.g. deep fried pizza)
///
///
/// Not to be confused with upstream SliceFoodEvent which doesn't pass the slice entities, and is only raised once.
///
[ByRefEvent]
public sealed class FoodSlicedEvent : EntityEventArgs
{
///
/// Who did the slicing?
///
public EntityUid User;
///
/// What has been sliced?
///
///
/// This could soon be deleted if there was not enough food left to
/// continue slicing.
///
public EntityUid Food;
///
/// What is the slice?
///
public EntityUid Slice;
public FoodSlicedEvent(EntityUid user, EntityUid food, EntityUid slice)
{
User = user;
Food = food;
Slice = slice;
}
}