Files
Delta-v/Content.Shared/Chemistry/Components/SolutionManager/ExaminableSolutionComponent.cs
T
drteaspoon420 929b8978dd Fix 'Hypopen shouldn't display solution examine text' (#26453)
* stealthy hypo

* ExaminableSolution hand check when in covert implement.

ExaminableSolution now has 'hidden' datafield to enable chemical inspection only in hand.

* cleaning code

* more cleaning

* Hidden datafield renamed to HeldOnly

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 4e618e9387)
2024-04-07 14:20:11 +02:00

15 lines
391 B
C#

namespace Content.Shared.Chemistry.Components.SolutionManager;
[RegisterComponent]
public sealed partial class ExaminableSolutionComponent : Component
{
[DataField, ViewVariables(VVAccess.ReadWrite)]
public string Solution = "default";
/// <summary>
/// If false then the hidden solution is always visible.
/// </summary>
[DataField]
public bool HeldOnly;
}