Pet internals (#12376)

* toggle other crew and pet internals

* oops
This commit is contained in:
Justin Trotter
2022-11-08 13:04:06 -08:00
committed by GitHub
parent 6a4c04640b
commit 8c0b113fcf
91 changed files with 509 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
namespace Content.Server.Body.Components
using System.Threading;
namespace Content.Server.Body.Components
{
/// <summary>
/// Handles hooking up a mask (breathing tool) / gas tank together and allowing the Owner to breathe through it.
@@ -8,5 +9,14 @@
{
[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;
public CancellationTokenSource? CancelToken = null;
}
}