| 1234567891011121314151617181920212223 |
- using Content.Shared.Atmos;
- namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
- /// <summary>
- /// Change atmospherics temperature until it reach target.
- /// </summary>
- [RegisterComponent]
- public sealed partial class TemperatureArtifactComponent : Component
- {
- [DataField("targetTemp"), ViewVariables(VVAccess.ReadWrite)]
- 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;
- }
|