2023-06-28 21:22:03 +10:00
|
|
|
using Content.Shared.Atmos.Components;
|
|
|
|
|
using Content.Shared.Atmos.EntitySystems;
|
|
|
|
|
|
2022-07-04 16:51:34 +02:00
|
|
|
namespace Content.Server.Atmos.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Component that defines the default GasMixture for a map.
|
|
|
|
|
/// </summary>
|
2023-06-28 21:22:03 +10:00
|
|
|
[RegisterComponent, Access(typeof(SharedAtmosphereSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class MapAtmosphereComponent : SharedMapAtmosphereComponent
|
2022-07-04 16:51:34 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The default GasMixture a map will have. Space mixture by default.
|
|
|
|
|
/// </summary>
|
2024-03-24 03:34:56 +11:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public GasMixture Mixture = GasMixture.SpaceGas;
|
2022-07-04 16:51:34 +02:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether empty tiles will be considered space or not.
|
|
|
|
|
/// </summary>
|
2024-03-24 03:34:56 +11:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
2022-07-04 16:51:34 +02:00
|
|
|
public bool Space = true;
|
2024-03-24 03:34:56 +11:00
|
|
|
|
|
|
|
|
public SharedGasTileOverlaySystem.GasOverlayData Overlay;
|
2022-07-04 16:51:34 +02:00
|
|
|
}
|