GasPressurePumpComponent.cs 758 B

123456789101112131415161718192021222324252627
  1. using Content.Shared.Guidebook;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Atmos.Components;
  4. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  5. public sealed partial class GasPressurePumpComponent : Component
  6. {
  7. [DataField, AutoNetworkedField]
  8. public bool Enabled = true;
  9. [DataField("inlet")]
  10. public string InletName = "inlet";
  11. [DataField("outlet")]
  12. public string OutletName = "outlet";
  13. [DataField, AutoNetworkedField]
  14. public float TargetPressure = Atmospherics.OneAtmosphere;
  15. /// <summary>
  16. /// Max pressure of the target gas (NOT relative to source).
  17. /// </summary>
  18. [DataField]
  19. [GuidebookData]
  20. public float MaxTargetPressure = Atmospherics.MaxOutputPressure;
  21. }