Ice anomaly (#15925)
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
namespace Content.Server.Anomaly.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component is used for handling anomalies that affect the temperature
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed 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;
|
||||
}
|
||||
Reference in New Issue
Block a user