using Content.Shared.FixedPoint; namespace Content.Server.Nutrition.Components; /// /// Entities with this component occasionally spill some of their drink when drinking. /// [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; [DataField] public LocId? SpillMessagePopup; }