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.
38 lines
1.2 KiB
C#
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;
|
|
}
|
|
}
|