Make passive gates great (#9816)
This commit is contained in:
@@ -5,17 +5,6 @@ namespace Content.Server.Atmos.Piping.Binary.Components
|
||||
[RegisterComponent]
|
||||
public sealed class GasPassiveGateComponent : Component
|
||||
{
|
||||
[DataField("enabled")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// This is the minimum difference needed to overcome the friction in the mechanism.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("frictionDifference")]
|
||||
public float FrictionPressureDifference { get; set; } = 10f;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("inlet")]
|
||||
public string InletName { get; set; } = "inlet";
|
||||
@@ -24,8 +13,8 @@ namespace Content.Server.Atmos.Piping.Binary.Components
|
||||
[DataField("outlet")]
|
||||
public string OutletName { get; set; } = "outlet";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("targetPressure")]
|
||||
public float TargetPressure { get; set; } = Atmospherics.OneAtmosphere;
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
[DataField("flowRate")]
|
||||
public float FlowRate { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user