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