mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* Add enabled version of atmos pumps, filters, and mixers * spaces * Comment and move entities to _DV * Update Content.Shared/Atmos/Components/GasPressurePumpComponent.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Velcroboy <107660393+IamVelcroboy@users.noreply.github.com> * Update Content.Shared/Atmos/Piping/Binary/Components/GasVolumePumpComponent.cs Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Signed-off-by: Velcroboy <107660393+IamVelcroboy@users.noreply.github.com> --------- Signed-off-by: Velcroboy <107660393+IamVelcroboy@users.noreply.github.com> Co-authored-by: Velcroboy <velcroboy333@hotmail.com> Co-authored-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com>
34 lines
920 B
C#
34 lines
920 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;
|
|
|
|
/// <summary>
|
|
/// Frontier - Start the pump with the map.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool StartOnMapInit { get; set; } = false;
|
|
}
|