mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-03 17:47:29 +00:00
* Fix test
* Kill float accumulators
* Use entity proxy methods
* DataField auto name generation where possible
* Kill comp properties
* Clean up server comps
* Make events record structs
* Clean up shared body code
* Clean up server body code
* Rename organ events to be same names as in med refactor
(cherry picked from commit 37b8d78dac)
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);
|
|
}
|
|
}
|