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(ExamineableHungerSystem))]
public sealed partial class ExamineableHungerComponent : Component
{
///
/// Dictionary of hunger thresholds to LocIds of the messages to display.
///
[DataField]
public Dictionary Descriptions = new()
{
{ HungerThreshold.Overfed, "examineable-hunger-component-examine-overfed"},
{ HungerThreshold.Okay, "examineable-hunger-component-examine-okay"},
{ HungerThreshold.Peckish, "examineable-hunger-component-examine-peckish"},
{ HungerThreshold.Starving, "examineable-hunger-component-examine-starving"},
{ HungerThreshold.Dead, "examineable-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 = "examineable-hunger-component-examine-none";
}