mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
23 lines
807 B
C#
23 lines
807 B
C#
using Content.Shared.Temperature.Components;
|
|
|
|
namespace Content.Server.Temperature.Components;
|
|
|
|
/// <summary>
|
|
/// Overrides the <see cref="TemperatureDamageComponent"/> thresholds for an entity inserted into this container.
|
|
/// Used for cryogenics typically.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ContainerTemperatureComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Overrides the <see cref="TemperatureDamageComponent.HeatDamageThreshold"/> for an entity inserted into this container.
|
|
/// </summary>
|
|
[DataField]
|
|
public float? HeatDamageThreshold;
|
|
|
|
/// <summary>
|
|
/// Overrides the <see cref="TemperatureDamageComponent.ColdDamageThreshold"/> for an entity inserted into this container.
|
|
/// </summary>
|
|
[DataField]
|
|
public float? ColdDamageThreshold;
|
|
}
|