mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
29 lines
964 B
C#
29 lines
964 B
C#
using Content.Server.Atmos.EntitySystems;
|
|
using Content.Shared.Atmos;
|
|
|
|
namespace Content.Server.Atmos.Components;
|
|
|
|
/// <summary>
|
|
/// This is basically a siphon vent for <see cref="GetFilterAirEvent"/>.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(AirFilterSystem))]
|
|
public sealed partial class AirIntakeComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Target pressure change for a single atmos tick
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public float TargetPressureChange = 5f;
|
|
|
|
/// <summary>
|
|
/// How strong the intake pump is, it will be able to replenish air from lower pressure areas.
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public float PumpPower = 2f;
|
|
|
|
/// <summary>
|
|
/// Pressure to intake gases up to, maintains pressure of the air volume.
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public float Pressure = Atmospherics.OneAtmosphere;
|
|
}
|