Predict gas valves (#33836)
* Predict gas valves * wawawewa * Fix imports before I get yelled at * soff
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Server.Atmos.Piping.Unary.Components
|
||||
{
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool Enabled { get; set; } = true;
|
||||
public bool Enabled = true;
|
||||
|
||||
/// <summary>
|
||||
/// Target volume to transfer. If <see cref="WideNet"/> is enabled, actual transfer rate will be much higher.
|
||||
@@ -25,15 +25,14 @@ namespace Content.Server.Atmos.Piping.Unary.Components
|
||||
|
||||
private float _transferRate = 50;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("maxTransferRate")]
|
||||
[DataField]
|
||||
public float MaxTransferRate = Atmospherics.MaxTransferRate;
|
||||
|
||||
[DataField("maxPressure")]
|
||||
[DataField]
|
||||
[GuidebookData]
|
||||
public float MaxPressure { get; set; } = GasVolumePumpComponent.DefaultHigherThreshold;
|
||||
public float MaxPressure = GasVolumePumpComponent.DefaultHigherThreshold;
|
||||
|
||||
[DataField("inlet")]
|
||||
public string InletName { get; set; } = "pipe";
|
||||
public string InletName = "pipe";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user