Files
tbd-station-14/Content.Shared/Atmos/Components/GasPressurePumpComponent.cs
Milon 92a3fd99ca Fix gas pressure pump prediction (#35865)
* ACTUALLY predict gas pumps

* generic fake

* aaaaaaaaaaaaa
2025-03-28 10:42:16 +11:00

28 lines
764 B
C#

using Content.Shared.Guidebook;
using Robust.Shared.GameStates;
namespace Content.Shared.Atmos.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class GasPressurePumpComponent : Component
{
[DataField, AutoNetworkedField]
public bool Enabled = true;
[DataField("inlet")]
public string InletName = "inlet";
[DataField("outlet")]
public string OutletName = "outlet";
[DataField, AutoNetworkedField]
public float TargetPressure = Atmospherics.OneAtmosphere;
/// <summary>
/// Max pressure of the target gas (NOT relative to source).
/// </summary>
[DataField]
[GuidebookData]
public float MaxTargetPressure = Atmospherics.MaxOutputPressure;
}