2022-07-25 14:42:25 +10:00
|
|
|
|
using Content.Shared.Inventory;
|
2020-10-27 20:53:44 +01:00
|
|
|
|
|
2021-06-19 13:25:05 +02:00
|
|
|
|
namespace Content.Server.Atmos.Components
|
2020-10-27 20:53:44 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Used in internals as breath tool.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2022-02-01 19:35:40 -08:00
|
|
|
|
[ComponentProtoName("BreathMask")]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class BreathToolComponent : Component
|
2020-10-27 20:53:44 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Tool is functional only in allowed slots
|
|
|
|
|
|
/// </summary>
|
2024-05-03 03:24:21 +02:00
|
|
|
|
[DataField]
|
2023-12-18 21:50:06 -05:00
|
|
|
|
public SlotFlags AllowedSlots = SlotFlags.MASK | SlotFlags.HEAD;
|
2021-12-30 22:56:10 +01:00
|
|
|
|
public bool IsFunctional;
|
2024-05-03 03:24:21 +02:00
|
|
|
|
|
2022-07-25 14:42:25 +10:00
|
|
|
|
public EntityUid? ConnectedInternalsEntity;
|
2020-10-27 20:53:44 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|