Files

24 lines
755 B
C#
Raw Permalink Normal View History

2022-05-12 22:35:13 -07:00
using Content.Shared.Atmos;
2022-02-07 05:26:10 +03:00
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
/// <summary>
/// Change atmospherics temperature until it reach target.
/// </summary>
[RegisterComponent]
public sealed partial class TemperatureArtifactComponent : Component
2022-02-07 05:26:10 +03:00
{
[DataField("targetTemp"), ViewVariables(VVAccess.ReadWrite)]
2022-02-07 05:26:10 +03:00
public float TargetTemperature = Atmospherics.T0C;
[DataField("spawnTemp")]
public float SpawnTemperature = 100;
/// <summary>
/// If true, artifact will heat/cool not only its current tile, but surrounding tiles too.
/// This will change room temperature much faster.
/// </summary>
[DataField("affectAdjacent")]
public bool AffectAdjacentTiles = true;
2022-02-07 05:26:10 +03:00
}