using Content.Shared.Nutrition.EntitySystems; using Content.Shared.Nutrition.Prototypes; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.Nutrition.Components; /// /// This component causes its entity to have movement speed modifiers applied based on the entity's current satiations. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState(fieldDeltas: true), Access(typeof(SatiationSpeedModifierSystem))] public sealed partial class SatiationSpeedModifierComponent : Component { /// /// Speed modifiers, expressed as s, contained within , /// keyed by the satiation types they are thresholds for. /// [DataField(required: true), AutoNetworkedField] public Dictionary, SatiationThresholds> Satiations = []; }