* stuff i'll have to fix anyway when n2o gets merged

* everything except the finished reactions

* freon coolant reaction but with bad curve

* miasmic subsumation

* freon production

* nitrogen and diff temp scaling

* uhh meant to change that

* #

* hitting that frezon boof
This commit is contained in:
Kara
2022-07-27 02:55:28 -07:00
committed by GitHub
parent 86089f2213
commit 7a553781cc
24 changed files with 344 additions and 13 deletions

View File

@@ -18,13 +18,16 @@ namespace Content.Server.Atmos
public static GasMixture SpaceGas => new() {Volume = Atmospherics.CellVolume, Temperature = Atmospherics.TCMB, Immutable = true};
// This must always have a length that is a multiple of 4 for SIMD acceleration.
[DataField("moles")] [ViewVariables]
[DataField("moles")]
[ViewVariables(VVAccess.ReadWrite)]
public float[] Moles = new float[Atmospherics.AdjustedNumberOfGases];
[DataField("temperature")] [ViewVariables]
[DataField("temperature")]
[ViewVariables(VVAccess.ReadWrite)]
private float _temperature = Atmospherics.TCMB;
[DataField("immutable")] [ViewVariables]
[DataField("immutable")]
[ViewVariables]
public bool Immutable { get; private set; }
[ViewVariables]
@@ -62,7 +65,8 @@ namespace Content.Server.Atmos
}
}
[DataField("volume")] [ViewVariables]
[DataField("volume")]
[ViewVariables(VVAccess.ReadWrite)]
public float Volume { get; set; }
public GasMixture()