MapAtmosphereComponent.cs 860 B

1234567891011121314151617181920212223242526
  1. using Content.Shared.Atmos;
  2. using Content.Shared.Atmos.Components;
  3. using Content.Shared.Atmos.EntitySystems;
  4. namespace Content.Server.Atmos.Components;
  5. /// <summary>
  6. /// Component that defines the default GasMixture for a map.
  7. /// </summary>
  8. [RegisterComponent, Access(typeof(SharedAtmosphereSystem))]
  9. public sealed partial class MapAtmosphereComponent : SharedMapAtmosphereComponent
  10. {
  11. /// <summary>
  12. /// The default GasMixture a map will have. Space mixture by default.
  13. /// </summary>
  14. [DataField, ViewVariables(VVAccess.ReadWrite)]
  15. public GasMixture Mixture = GasMixture.SpaceGas;
  16. /// <summary>
  17. /// Whether empty tiles will be considered space or not.
  18. /// </summary>
  19. [DataField, ViewVariables(VVAccess.ReadWrite)]
  20. public bool Space = true;
  21. public SharedGasTileOverlaySystem.GasOverlayData Overlay;
  22. }