35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
namespace Content.Server.Anomaly.Components;
|
|
|
|
/// <summary>
|
|
/// This component is used for handling anomalies that affect the temperature
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class TempAffectingAnomalyComponent : Component
|
|
{
|
|
|
|
/// <summary>
|
|
/// The the amount the tempurature should be modified by (negative for decreasing temp)
|
|
/// </summary>
|
|
[DataField("tempChangePerSecond")]
|
|
public float TempChangePerSecond = 0;
|
|
|
|
/// <summary>
|
|
/// The minimum amount of severity required
|
|
/// before the anomaly becomes a hotspot.
|
|
/// </summary>
|
|
[DataField("anomalyHotSpotThreshold")]
|
|
public float AnomalyHotSpotThreshold = 0.6f;
|
|
|
|
/// <summary>
|
|
/// The temperature of the hotspot where the anomaly is
|
|
/// </summary>
|
|
[DataField("hotspotExposeTemperature")]
|
|
public float HotspotExposeTemperature = 0;
|
|
|
|
/// <summary>
|
|
/// The volume of the hotspot where the anomaly is.
|
|
/// </summary>
|
|
[DataField("hotspotExposeVolume")]
|
|
public float HotspotExposeVolume = 50;
|
|
}
|