Files
Delta-v/Content.Shared/Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs
T
dcd5733185 Some guidebook and localisation touch ups (#5178)
* - Fixed squished Ovinia and Kitsune in species page of guidebook.
- Added Skia to Minor antagonists in guidebook

* Fixed typo posession -> possession

* changed cryoxadone's dec from saying works regardless if alive or dead to needs to be alive

* added documentation

* Fixed failure to follow contribution guidelines (thanks faint)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed pump part of guide book showing vol pump max kPa as ???.

* Added empty line at bottom of ftl file

* Update Resources/Locale/en-US/reagents/meta/medicine.ftl

Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com>
Signed-off-by: Pharaz4 <143268074+Pharaz4@users.noreply.github.com>

* Update Resources/Locale/en-US/_DV/reagents/meta/medicine.ftl

Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com>
Signed-off-by: Pharaz4 <143268074+Pharaz4@users.noreply.github.com>

* Fix issue 5151

---------

Signed-off-by: Pharaz4 <143268074+Pharaz4@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com>
2026-01-11 10:27:06 -06:00

54 lines
1.3 KiB
C#

using Robust.Shared.GameStates;
using Content.Shared.Guidebook;
namespace Content.Shared.Atmos.Piping.Binary.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class GasVolumePumpComponent : Component
{
[DataField, AutoNetworkedField]
public bool Enabled = true;
[DataField]
public bool Blocked = false;
[ViewVariables(VVAccess.ReadWrite)]
public bool Overclocked = false;
[DataField("inlet")]
public string InletName = "inlet";
[DataField("outlet")]
public string OutletName = "outlet";
[DataField, AutoNetworkedField]
public float TransferRate = Atmospherics.MaxTransferRate;
[DataField]
public float MaxTransferRate = Atmospherics.MaxTransferRate;
[DataField]
public float LeakRatio = 0.1f;
[DataField]
public float LowerThreshold = 0.01f;
[DataField]
[GuidebookData]
public float HigherThreshold = DefaultHigherThreshold;
public static readonly float DefaultHigherThreshold = 2 * Atmospherics.MaxOutputPressure;
[DataField]
public float OverclockThreshold = 1000;
[DataField]
public float LastMolesTransferred;
/// <summary>
/// Frontier - Start the pump with the map.
/// </summary>
[DataField]
public bool StartOnMapInit { get; set; } = false;
}