mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47: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>
49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
using Content.Server.Atmos.Piping.Trinary.EntitySystems;
|
|
using Content.Shared.Atmos;
|
|
|
|
namespace Content.Server.Atmos.Piping.Trinary.Components
|
|
{
|
|
[RegisterComponent]
|
|
[Access(typeof(GasMixerSystem))]
|
|
public sealed partial class GasMixerComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("enabled")]
|
|
public bool Enabled = true;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("inletOne")]
|
|
public string InletOneName = "inletOne";
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("inletTwo")]
|
|
public string InletTwoName = "inletTwo";
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("outlet")]
|
|
public string OutletName = "outlet";
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("targetPressure")]
|
|
public float TargetPressure = Atmospherics.OneAtmosphere;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("maxTargetPressure")]
|
|
public float MaxTargetPressure = Atmospherics.MaxOutputPressure;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("inletOneConcentration")]
|
|
public float InletOneConcentration = 0.5f;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("inletTwoConcentration")]
|
|
public float InletTwoConcentration = 0.5f;
|
|
|
|
/// <summary>
|
|
/// Frontier - Start the mixer with the map.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool StartOnMapInit { get; set; } = false;
|
|
}
|
|
}
|