1
0

FlavorProfileComponent.cs 646 B

12345678910111213141516171819202122
  1. namespace Content.Server.Nutrition.Components;
  2. [RegisterComponent]
  3. public sealed partial class FlavorProfileComponent : Component
  4. {
  5. /// <summary>
  6. /// Localized string containing the base flavor of this entity.
  7. /// </summary>
  8. [DataField("flavors")]
  9. public HashSet<string> Flavors { get; private set; } = new();
  10. /// <summary>
  11. /// Reagent IDs to ignore when processing this flavor profile. Defaults to nutriment.
  12. /// </summary>
  13. [DataField("ignoreReagents")]
  14. public HashSet<string> IgnoreReagents { get; private set; } = new()
  15. {
  16. "Nutriment",
  17. "Vitamin",
  18. "Protein"
  19. };
  20. }