using Content.Shared.Nutrition.Components; using Robust.Shared.Serialization; namespace Content.Shared.Chemistry.Components.SolutionManager; /// /// Component for examining a solution with shift click or through . /// [RegisterComponent] public sealed partial class ExaminableSolutionComponent : Component { /// /// The solution being examined. /// [DataField] public string Solution = "default"; /// /// If true, the solution must be held to be examined. /// [DataField] public bool HeldOnly; /// /// If false, the examine text will give an approximation of the remaining solution. /// If true, the exact unit count will be shown. /// [DataField] public bool ExactVolume; /// /// If false, the solution can't be examined when this entity is closed by . /// [DataField] public bool ExaminableWhileClosed = true; /// /// Examine text for the amount of solution. /// /// [DataField] public LocId LocVolume = "examinable-solution-on-examine-volume"; /// /// Examine text for the physical description of the primary reagent. /// [DataField] public LocId LocPhysicalQuality = "shared-solution-container-component-on-examine-main-text"; /// /// Examine text for reagents that are obvious like water. /// [DataField] public LocId LocRecognizableReagents = "examinable-solution-has-recognizable-chemicals"; } /// /// Used to choose how to display a volume. /// [Serializable, NetSerializable] public enum ExaminedVolumeDisplay { Exact, Full, MostlyFull, HalfFull, HalfEmpty, MostlyEmpty, Empty, }