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

23 lines
662 B
C#
Raw Permalink Normal View History

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 partial class InternalsComponent : Component
{
[ViewVariables]
public EntityUid? GasTankEntity;
[ViewVariables]
public EntityUid? BreathToolEntity;
/// <summary>
/// Toggle Internals delay when the target is not you.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField]
public TimeSpan Delay = TimeSpan.FromSeconds(3);
}
}