mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 21:37:27 +00:00
* Reduce atmos component queries
* Remove method events
* Cache airtight data
* Make MolesArchived nullable
* Fix airtight cache
* only get tile def once
* Immutable mixtures
* firelock queries
* misc
* misc cleanup
* Trim disconnected tiles
* Fix merge issues and bugs
* Why does the PR keep increasing in scope
* debug overlay
* Fix bugs
* Fix test, remove unused events
* Add setmapatmos command
* Fix overlays
* Add map check
* A
* Resolve conflicts with #26102
* Remove some obsolete methods
(cherry picked from commit 18a35e7e83)
26 lines
832 B
C#
26 lines
832 B
C#
using Content.Shared.Atmos.Components;
|
|
using Content.Shared.Atmos.EntitySystems;
|
|
|
|
namespace Content.Server.Atmos.Components;
|
|
|
|
/// <summary>
|
|
/// Component that defines the default GasMixture for a map.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(SharedAtmosphereSystem))]
|
|
public sealed partial class MapAtmosphereComponent : SharedMapAtmosphereComponent
|
|
{
|
|
/// <summary>
|
|
/// The default GasMixture a map will have. Space mixture by default.
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public GasMixture Mixture = GasMixture.SpaceGas;
|
|
|
|
/// <summary>
|
|
/// Whether empty tiles will be considered space or not.
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Space = true;
|
|
|
|
public SharedGasTileOverlaySystem.GasOverlayData Overlay;
|
|
}
|