Files
wwdpublic/Content.Server/Atmos/Piping/Trinary/Components/PressureControlledValveComponent.cs
ArtisticRoomba 6c6c817a68 Engineering guidebook megaupdate v2 (#33062)
Significantly updates the Engineering guidebook (more explicitly the Atmos section) to have a lot more relevant and useful information.

Right now engineering has been getting update after update with no real change to the relevant guidebook entry. This has lead to a lot of out of date information and bad practices being prevalent in the guidebook, something that pains me to read.

(cherry picked from commit 98c606d76007865e93ebd438d0cf9219d14a4631)
2025-09-20 20:32:59 +03:00

38 lines
1.2 KiB
C#

using Content.Shared.Atmos;
using Content.Shared.Guidebook;
namespace Content.Server.Atmos.Piping.Trinary.Components
{
[RegisterComponent]
public sealed partial class PressureControlledValveComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("inlet")]
public string InletName { get; set; } = "inlet";
[ViewVariables(VVAccess.ReadWrite)]
[DataField("control")]
public string ControlName { get; set; } = "control";
[ViewVariables(VVAccess.ReadWrite)]
[DataField("outlet")]
public string OutletName { get; set; } = "outlet";
[ViewVariables(VVAccess.ReadOnly)]
[DataField("enabled")]
public bool Enabled { get; set; } = false;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("gain")]
public float Gain { get; set; } = 10;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("threshold")]
[GuidebookData]
public float Threshold { get; set; } = Atmospherics.OneAtmosphere;
[DataField("maxTransferRate")]
public float MaxTransferRate { get; set; } = Atmospherics.MaxTransferRate;
}
}