| 12345678910111213141516171819202122232425262728293031323334 |
- 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;
- }
|