* fix engine version * actually fix engine version * Automatically activated breathing masks * weh * who needed that component anyway * check if internals are already running * Update Content.Server/Atmos/Components/BreathToolComponent.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Content.Server/Body/Systems/InternalsSystem.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * prediction * record struct event * remove delayed activation, instead ensure that masks spawn last * leftover * engine version * re-implement --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
22 lines
578 B
C#
22 lines
578 B
C#
using Content.Shared.Inventory;
|
|
|
|
namespace Content.Server.Atmos.Components
|
|
{
|
|
/// <summary>
|
|
/// Used in internals as breath tool.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[ComponentProtoName("BreathMask")]
|
|
public sealed partial class BreathToolComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Tool is functional only in allowed slots
|
|
/// </summary>
|
|
[DataField]
|
|
public SlotFlags AllowedSlots = SlotFlags.MASK | SlotFlags.HEAD;
|
|
public bool IsFunctional;
|
|
|
|
public EntityUid? ConnectedInternalsEntity;
|
|
}
|
|
}
|