Files
OldThink/Content.Server/Body/Components/InternalsComponent.cs

21 lines
684 B
C#
Raw Normal View History

using System.Threading;
namespace Content.Server.Body.Components
{
2022-07-25 14:42:25 +10:00
/// <summary>
/// Handles hooking up a mask (breathing tool) / gas tank together and allowing the Owner to breathe through it.
/// </summary>
[RegisterComponent]
public sealed class InternalsComponent : Component
{
2021-12-26 15:32:45 +13:00
[ViewVariables] public EntityUid? GasTankEntity { get; set; }
[ViewVariables] public EntityUid? BreathToolEntity { get; set; }
/// <summary>
/// Toggle Internals delay (seconds) when the target is not you.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("delay")]
public float Delay = 3;
}
}