2022-09-16 11:46:09 -07:00
|
|
|
using Content.Server.Atmos;
|
2023-02-26 07:44:30 -05:00
|
|
|
using Content.Shared.Storage.Components;
|
|
|
|
|
using Robust.Shared.GameStates;
|
2019-04-17 23:26:00 +02:00
|
|
|
|
2022-07-13 19:11:59 -04:00
|
|
|
namespace Content.Server.Storage.Components;
|
2020-10-28 22:51:43 +00:00
|
|
|
|
2023-08-31 22:29:11 +10:00
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
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)]
|
2023-03-18 17:56:38 -07:00
|
|
|
[DataField("air")]
|
|
|
|
|
public GasMixture Air { get; set; } = new (200);
|
2022-07-13 19:11:59 -04:00
|
|
|
}
|