Add chem solution atmos heating and cooling (#17854)

This commit is contained in:
0x6273
2023-07-07 03:18:56 +02:00
committed by GitHub
parent 522e04f0c8
commit 03d6b0ced7
10 changed files with 84 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
namespace Content.Server.Chemistry.Components.SolutionManager;
/// <summary>
/// Lets the solution conduct heat to/from atmos gases.
/// </summary>
[RegisterComponent]
public sealed class SolutionGasHeatConductivityComponent : Component
{
/// <summary>
/// Solution that conducts heat.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("solution")]
public string Solution { get; set; } = "default";
/// <summary>
/// The heat conductivity between the gas and solution.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("wattsPerKelvin")]
public float WattsPerKelvin = 1;
}