Files
Delta-v/Content.Server/Mech/Components/MechAirComponent.cs
T
Jezithyr 17ff17a0d0 Move GasMixture to shared (#27480)
* Moved GasMixture to shared

* Temp Fix for sandbox violation, idk why Array.Resize isn't working properly. It's already sandboxed.

* The most powerful webedit in history
2024-05-07 04:00:15 +02:00

15 lines
407 B
C#

using Content.Server.Atmos;
using Content.Shared.Atmos;
namespace Content.Server.Mech.Components;
[RegisterComponent]
public sealed partial class MechAirComponent : Component
{
//TODO: this doesn't support a tank implant for mechs or anything like that
[DataField, ViewVariables(VVAccess.ReadWrite)]
public GasMixture Air = new (GasMixVolume);
public const float GasMixVolume = 70f;
}