namespace Content.Shared.Nutrition;
///
/// Raised directed at the consumer when attempting to ingest something.
///
public sealed class IngestionAttemptEvent : CancellableEntityEventArgs
{
///
/// The equipment that is blocking consumption. Should only be non-null if the event was canceled.
///
public EntityUid? Blocker = null;
}
///
/// Raised directed at the food after finishing eating a food before it's deleted.
/// Cancel this if you want to do something special before a food is deleted.
///
public sealed class BeforeFullyEatenEvent : CancellableEntityEventArgs
{
///
/// The person that ate the food.
///
public EntityUid User;
}
///
/// Raised directed at the food being sliced before it's deleted.
/// Cancel this if you want to do something special before a food is deleted.
///
public sealed class BeforeFullySlicedEvent : CancellableEntityEventArgs
{
///
/// The person slicing the food.
///
public EntityUid User;
}