using Content.Shared.FixedPoint;
using Content.Shared.Nutrition.Prototypes;
using Robust.Shared.Prototypes;
namespace Content.Server.Nutrition.Components;
///
/// Entities with this component occasionally spill some of the solution they're ingesting.
///
[RegisterComponent]
public sealed partial class MessyDrinkerComponent : Component
{
[DataField]
public float SpillChance = 0.2f;
///
/// The amount of solution that is spilled when procs.
///
[DataField]
public FixedPoint2 SpillAmount = 1.0;
///
/// The types of food prototypes we can spill
///
[DataField]
public List> SpillableTypes = new List> { "Drink" };
[DataField]
public LocId? SpillMessagePopup;
}