using Content.Shared.Atmos.Prototypes; using Content.Shared.Body.Components; using Content.Shared.Body.Systems; using Robust.Shared.Configuration; using Robust.Shared.Prototypes; namespace Content.Shared.Atmos.EntitySystems { public abstract partial class SharedAtmosphereSystem : EntitySystem { [Dependency] private readonly IPrototypeManager _prototypeManager = default!; [Dependency] private readonly SharedInternalsSystem _internals = default!; [Dependency] private readonly IConfigurationManager _cfg = default!; private EntityQuery _internalsQuery; public override void Initialize() { base.Initialize(); _internalsQuery = GetEntityQuery(); InitializeBreathTool(); InitializeGases(); InitializeCVars(); } public GasPrototype GetGas(int gasId) => GasPrototypes[gasId]; public GasPrototype GetGas(Gas gasId) => GasPrototypes[(int) gasId]; public IEnumerable Gases => GasPrototypes; } }