mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
Uses the following Cherry-Picks: https://github.com/space-wizards/space-station-14/pull/26994 https://github.com/space-wizards/space-station-14/pull/26518 https://github.com/space-wizards/space-station-14/pull/26279 https://github.com/space-wizards/space-station-14/pull/24946 https://github.com/space-wizards/space-station-14/pull/27188 Requires: https://github.com/Simple-Station/Einstein-Engines/pull/535 https://github.com/Simple-Station/Einstein-Engines/pull/534 --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Co-authored-by: Jake Huxell <JakeHuxell@pm.me> Co-authored-by: Tayrtahn <tayrtahn@gmail.com> Co-authored-by: 0x6273 <0x40@keemail.me> Co-authored-by: DEATHB4DEFEAT <zachcaffee@outlook.com>
23 lines
662 B
C#
23 lines
662 B
C#
namespace Content.Server.Body.Components
|
|
{
|
|
/// <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);
|
|
}
|
|
}
|