mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +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>
26 lines
913 B
C#
26 lines
913 B
C#
using Content.Shared.Temperature.Components;
|
|
|
|
namespace Content.Server.Atmos.Components;
|
|
|
|
// not if i get there first - Flipp
|
|
/// <summary>
|
|
/// Represents that entity can be exposed to Atmos
|
|
/// </summary>
|
|
[RegisterComponent, AutoGenerateComponentPause]
|
|
public sealed partial class AtmosExposedComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Last real time we were exposed to the atmosphere!
|
|
/// </summary>
|
|
[DataField, AutoPausedField]
|
|
public TimeSpan LastExposure = TimeSpan.Zero;
|
|
|
|
/// <summary>
|
|
/// The amount of surface area this entity has exposed to the atmosphere in m^2.
|
|
/// The human body has about 2m^2 of surface area so we use that as a default.
|
|
/// This is multiplied by the <see cref="TemperatureComponent.ThermalConductivity"/>
|
|
/// Source: https://pmc.ncbi.nlm.nih.gov/articles/PMC8953946/
|
|
/// </summary>
|
|
[DataField]
|
|
public float ExposedArea = 2f;
|
|
}
|