fish-station/Content.Shared/Chemistry/Components/CryostasisBeakerComponent.cs
Copilot 5bbcd98f99
Fix CryostasisBeaker grenade exploit by limiting solution temperature (#2987)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: VigersRay <60344369+VigersRay@users.noreply.github.com>
Co-authored-by: Vigers Ray <vigersray@gmail.com>
2025-08-24 01:27:00 +03:00

16 lines
No EOL
593 B
C#

namespace Content.Shared.Chemistry.Components;
/// <summary>
/// Component that marks a beaker as a cryostasis beaker, which prevents solutions inside from being heated.
/// Solutions in cryostasis beakers will remain at or below room temperature (293.15K).
/// </summary>
[RegisterComponent]
public sealed partial class CryostasisBeakerComponent : Component
{
/// <summary>
/// Maximum temperature that solutions in this beaker can reach.
/// Default is room temperature (293.15K).
/// </summary>
[DataField("maxTemperature")]
public float MaxTemperature = 293.15f;
}