Files
Delta-v/Content.Shared/Body/Components/StomachComponent.cs
T
pathetic meowmeow 17d3e83d5a Replace metabolism groups with metabolism stages (#42172)
* Replace metabolism groups with metabolism stages

* return to return

* killed

* yaml linted

* yaml linted again

* margarine

* bugfixes and balancing tweaks

# Conflicts:
#	Content.Shared/Metabolism/MetabolizerSystem.cs
2026-06-29 12:43:39 +02:00

29 lines
981 B
C#

using Content.Shared.Body.Systems;
using Content.Shared.Chemistry.Components;
using Content.Shared.Whitelist;
using Robust.Shared.GameStates;
namespace Content.Shared.Body.Components;
[RegisterComponent, NetworkedComponent, Access(typeof(StomachSystem))]
public sealed partial class StomachComponent : Component
{
/// <summary>
/// The solution inside of this stomach
/// </summary>
[ViewVariables]
public Entity<SolutionComponent>? Solution;
/// <summary>
/// A whitelist for what special-digestible-required foods this stomach is capable of eating.
/// </summary>
[DataField]
public EntityWhitelist? SpecialDigestible = null;
/// <summary>
/// Controls whitelist behavior. If true, this stomach can digest <i>only</i> food that passes the whitelist. If false, it can digest normal food <i>and</i> any food that passes the whitelist.
/// </summary>
[DataField]
public bool IsSpecialDigestibleExclusive = true;
}