Files
OldThink/Content.Server/Storage/Components/EntityStorageComponent.cs

18 lines
597 B
C#
Raw Normal View History

2022-09-16 11:46:09 -07:00
using Content.Server.Atmos;
using Content.Shared.Storage.Components;
using Robust.Shared.GameStates;
2022-07-13 19:11:59 -04:00
namespace Content.Server.Storage.Components;
2023-08-31 22:29:11 +10:00
[RegisterComponent]
public sealed partial class EntityStorageComponent : SharedEntityStorageComponent, IGasMixtureHolder
2022-07-13 19:11:59 -04:00
{
2022-09-16 11:46:09 -07:00
/// <summary>
/// Gas currently contained in this entity storage.
/// None while open. Grabs gas from the atmosphere when closed, and exposes any entities inside to it.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("air")]
public GasMixture Air { get; set; } = new (200);
2022-07-13 19:11:59 -04:00
}