2022-11-08 13:04:06 -08:00
|
|
|
namespace Content.Server.Body.Components
|
2020-10-27 20:53:44 +01:00
|
|
|
{
|
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>
|
2020-10-27 20:53:44 +01:00
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class InternalsComponent : Component
|
2020-10-27 20:53:44 +01:00
|
|
|
{
|
2024-03-28 01:48:37 +01:00
|
|
|
[ViewVariables]
|
|
|
|
|
public EntityUid? GasTankEntity;
|
|
|
|
|
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
public EntityUid? BreathToolEntity;
|
2022-11-08 13:04:06 -08:00
|
|
|
|
|
|
|
|
/// <summary>
|
2024-03-28 01:48:37 +01:00
|
|
|
/// Toggle Internals delay when the target is not you.
|
2022-11-08 13:04:06 -08:00
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2024-03-28 01:48:37 +01:00
|
|
|
[DataField]
|
|
|
|
|
public TimeSpan Delay = TimeSpan.FromSeconds(3);
|
2020-10-27 20:53:44 +01:00
|
|
|
}
|
|
|
|
|
}
|