Predict gas valves (#33836)

* Predict gas valves

* wawawewa

* Fix imports before I get yelled at

* soff
This commit is contained in:
metalgearsloth
2025-05-15 04:06:37 +10:00
committed by GitHub
parent 9a6dbb27cd
commit c09aa6039c
7 changed files with 137 additions and 104 deletions

View File

@@ -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";
}
}