split temperature protection into heating and cooling (#30662)

* split temperature protection into heating and cooling

* fugg

* weh
This commit is contained in:
Nemanja
2024-09-07 01:37:17 -04:00
committed by GitHub
parent 9ba59d9636
commit a197baac17
15 changed files with 68 additions and 32 deletions

View File

@@ -7,10 +7,16 @@ namespace Content.Server.Temperature.Components;
public sealed partial class TemperatureProtectionComponent : Component
{
/// <summary>
/// How much to multiply temperature deltas by.
/// Multiplier for the transferred heat when heating up
/// </summary>
[DataField]
public float Coefficient = 1.0f;
public float HeatingCoefficient = 1.0f;
/// <summary>
/// Multiplier for the transferred heat when cooling down
/// </summary>
[DataField]
public float CoolingCoefficient = 1.0f;
}
/// <summary>