Allow thermomachines to exchange with air instead of inlet (#25247)

Add purely atmospheric heat exchange to the gas thermomachine component (in preparation for space heaters).
This commit is contained in:
Menshin
2024-02-15 02:00:21 +01:00
committed by GitHub
parent e1805e04d4
commit ce4bd8568c
2 changed files with 48 additions and 15 deletions

View File

@@ -64,5 +64,11 @@ namespace Content.Server.Atmos.Piping.Unary.Components
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float EnergyLeakPercentage;
/// <summary>
/// If true, heat is exclusively exchanged with the local atmosphere instead of the inlet pipe air
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public bool Atmospheric = false;
}
}