using Content.Server.Atmos;
using Content.Server.Body.Systems;
using Content.Shared.Atmos;
using Content.Shared.Chemistry.Components;
namespace Content.Server.Body.Components;
[RegisterComponent, Access(typeof(LungSystem))]
public sealed partial class LungComponent : Component
{
[DataField]
[Access(typeof(LungSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
public GasMixture Air { get; set; } = new()
{
Volume = 6,
Temperature = Atmospherics.NormalBodyTemperature
};
///
/// The name/key of the solution on this entity which these lungs act on.
///
[DataField]
public string SolutionName = LungSystem.LungSolutionName;
///
/// The solution on this entity that these lungs act on.
///
[DataField]
public Entity? Solution = null;
}