CatStation/Content.Server/Temperature/Components/ContainerTemperatureComponent.cs
Princess Cheeseballs 2e9c4c0103
IHeatContainers for TemperatureComponent (#42785)
* Hope I'm not forgetting anything...

* They call me the sender the way I'm sending it.

* remove commented out YAML

* last of the slop

* fix test fails

* first batch of test fails

* no more test fails

* make cryo pods work again.

* Make cryo work better-er

* I didn't like that a firesuit helmet was so effective on its own so I decided to be a dick about it.

* review.com

* oop

* actually real quick do this

* fix YAML issues

* IHeatContainer my beloved <3

* borger

* not networked :(

* jackets

* burgeewqjfrwjkhaskfjfsahjkfsahjkfsahjkfsajhkfsa

* utter yaml nonsense

* phishing

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2026-07-26 07:56:44 +00:00

23 lines
810 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;
}