Misc Atmos Improvements (#5613)
* Revert "Remove atmos archiving."
This reverts commit 7fa10bd17b.
* Explosive Depressurization now brings tiles down to TCMB.
* Tiles now specify heat capacity.
* Do not serialize archived gas mixture values.
* Remove bad idea
* dumb typo
* Space gas mixtures now have a harcoded heat capacity.
This is a bit of a hack, but rooms exposed to space now cool down properly when monstermos is disabled.
Huge thanks to @LemonInTheDark for helping me with this!
* Clean up heat capacity methods
* Better logging based on the original monstermos' logging
* Comment explosive depressurization hack better
This commit is contained in:
committed by
GitHub
parent
9db2fbefe1
commit
94fa6efefb
@@ -13,12 +13,18 @@ namespace Content.Server.Atmos
|
||||
/// </summary>
|
||||
public class TileAtmosphere : IGasMixtureHolder
|
||||
{
|
||||
[ViewVariables]
|
||||
public int ArchivedCycle;
|
||||
|
||||
[ViewVariables]
|
||||
public int CurrentCycle;
|
||||
|
||||
[ViewVariables]
|
||||
public float Temperature { get; set; } = Atmospherics.T20C;
|
||||
|
||||
[ViewVariables]
|
||||
public float TemperatureArchived { get; set; } = Atmospherics.T20C;
|
||||
|
||||
[ViewVariables]
|
||||
public TileAtmosphere? PressureSpecificTarget { get; set; }
|
||||
|
||||
@@ -26,7 +32,7 @@ namespace Content.Server.Atmos
|
||||
public float PressureDifference { get; set; }
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float HeatCapacity { get; set; } = 1f;
|
||||
public float HeatCapacity { get; set; } = Atmospherics.MinimumHeatCapacity;
|
||||
|
||||
[ViewVariables]
|
||||
public float ThermalConductivity { get; set; } = 0.05f;
|
||||
|
||||
Reference in New Issue
Block a user