using Content.Shared.Nutrition.EntitySystems;
using Robust.Shared.GameStates;
namespace Content.Shared.Nutrition.Components;
///
/// Adds text to the entity's description box based on its current hunger threshold.
///
[RegisterComponent, NetworkedComponent]
[Access(typeof(ExaminableHungerSystem))]
public sealed partial class ExaminableHungerComponent : Component
{
///
/// Dictionary of hunger thresholds to LocIds of the messages to display.
///
[DataField]
public Dictionary Descriptions = new()
{
{ HungerThreshold.Overfed, "examinable-hunger-component-examine-overfed"},
{ HungerThreshold.Okay, "examinable-hunger-component-examine-okay"},
{ HungerThreshold.Peckish, "examinable-hunger-component-examine-peckish"},
{ HungerThreshold.Starving, "examinable-hunger-component-examine-starving"},
{ HungerThreshold.Dead, "examinable-hunger-component-examine-starving"}
};
///
/// LocId of a fallback message to display if the entity has no
/// or does not have a value in for the current threshold.
///
public LocId NoHungerDescription = "examinable-hunger-component-examine-none";
}