mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* 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>
20 lines
642 B
C#
20 lines
642 B
C#
using Content.Server.Temperature.Systems;
|
|
|
|
namespace Content.Server.Temperature.Components;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(TemperatureSystem))]
|
|
public sealed partial class TemperatureProtectionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Multiplier for the transferred heat when heating up or cooling down.
|
|
/// </summary>
|
|
[DataField]
|
|
public float Coefficient = 1.0f;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Event raised on an entity with <see cref="TemperatureProtectionComponent"/> to determine the actual value of the coefficient.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct GetTemperatureProtectionEvent(float Coefficient);
|