Commit Graph

860 Commits

Author SHA1 Message Date
Kara
ba88a9a022 Revert "Add YAML gas reactions (#22803)" (#22939)
This reverts commit 054321d2c2.

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-12-24 23:50:42 -07:00
Kevin Zheng
2c3f3e5686 Add maximum atmos temperature limit (#22882)
* Add Tmax

* Increase Tmax
2023-12-24 10:05:42 -05:00
Kevin Zheng
ecf65fbacc Clamp after AdjustMoles() (#22907)
Clamping is needed because x - x can be negative with floating point
numbers. If we don't clamp here, the caller always has to call
GetMoles(), clamp, then SetMoles(), which makes this function not very
useful.
2023-12-23 23:56:39 -05:00
Kevin Zheng
99d6aff7be Check for divide by near zero (#22876) 2023-12-22 17:10:33 -08:00
Kevin Zheng
054321d2c2 Add YAML gas reactions (#22803)
* Add YAML gas reactions

* Convert more reactions

* Use enum names

* Convert more names

* Add migration for MiasmaCanister

* Prevent reactants from going negative

* Fix energy conservation, lift energy calculation

* Fix comment

* Comment

* Add rate multiplier
2023-12-22 00:30:56 -07:00
Kara
bc1f8b0e40 Convert atmos device events to ref events (#22843) 2023-12-21 17:48:18 -08:00
Kara
ad97580727 Rename Miasma to Ammonia (#22791)
* Rename Miasma to Ammonia

* Namespace changes

* Map change????? why
2023-12-20 21:19:50 -07:00
username
c514af0366 Add nitrous oxide decomposition reaction (#22738)
Co-authored-by: whateverusername0 <whateveremail>
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-12-20 17:33:08 -08:00
username
5a4e04ea14 Add nitrous oxide synthesis reaction (#22774)
Co-authored-by: whateverusername0 <whateveremail>
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-12-20 16:14:59 -08:00
qwerltaz
289aab768f Improve gas analyzer interface (#22779) 2023-12-20 09:56:57 -08:00
Leon Friedrich
41420346c3 Fix index out of range exception in atmosphere system (#22770) 2023-12-20 18:08:48 +11:00
Leon Friedrich
b1e12d03f1 Stop AtmosphereSystem from logging errors if an atmosphere gets deleted. (#22761)
Stop AtmosphereSystem from logging errors if a atmosphere gets deleted.
2023-12-20 11:57:29 +11:00
SapphicOverload
176f833ea9 Hardsuit and EVA helmets allow using internals without a mask (#22716) 2023-12-18 18:50:06 -08:00
Leon Friedrich
10142c3a2e Rebalance fireaxe (#22731)
* Rebalance Fireaxe

* Nerf it a bit
2023-12-18 21:41:33 -05:00
Leon Friedrich
ca90a2819f Add more centcomm spawning logs (#22726) 2023-12-19 12:35:31 +11:00
Leon Friedrich
51115d3d38 Add atmos error log (#22696) 2023-12-18 18:37:13 +11:00
Kara
c97abe92d7 Change gas canisters to use ItemSlots (#22561) 2023-12-16 01:28:27 -07:00
Leon Friedrich
68765a4753 Improve atmos debug overlay (#22520) 2023-12-15 14:18:00 -08:00
Leon Friedrich
477327f952 Atmos scaling cvar changes (#22501) 2023-12-15 14:02:21 -08:00
tgrkzus
bc925cb41c tanks only produce noise with sufficient valve pressure (#22401) 2023-12-15 02:56:17 -07:00
Nemanja
0917a9d380 Gas Condensers (#22436)
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-12-13 19:35:44 -08:00
Kevin Zheng
24629ad487 Fix heat capacity scaling (#22464)
* Correctly apply HeatScale

* Apply HeatScale on InitializeGases()

* Re-add conservative heat scaling and speedup
2023-12-13 21:38:58 -05:00
Kevin Zheng
405e569cd5 Split up atmos speedup from heat scaling (#22372) 2023-12-12 00:49:20 -07:00
Kevin Zheng
a2ed25ad03 Add atmos time compression (#21954)
Add atmos.speedup which is effectively a atmos-only time compression
CVar. This adjusts heat capacities and transfer rates to effectively
globally speed up the time constants of atmos.

This allows faster response to heating/cooling changes and faster
cleanups (by buffing scrubbers, pumps, and everything else) that is
tunable through one global time compression CVar.

It also achieves this without any thermodynamic unsoundness.
2023-12-11 15:59:47 -08:00
Kevin Zheng
6444f7b7c5 Make pipes leak when destroyed (#20928)
This plugs a meta where atmos techs were fireaxing pipes to remove them without leaking their contents.
2023-12-10 23:51:45 -08:00
Vyacheslav Kovalevsky
5b55b9ce3b Add gas tanks throw damage (#20035)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-12-04 17:32:17 +11:00
metalgearsloth
7ada1c6674 Update content to new ParallelManager (#21813) 2023-11-29 11:00:12 +11:00
Leon Friedrich
918d8c2b34 Adds a new AtmosphereSystem.GetTileMixture() override (#21804) 2023-11-29 10:03:44 +11:00
metalgearsloth
269c93245d Unrevert audio (#21330)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2023-11-27 22:12:34 +11:00
Leon Friedrich
c5f9dfe7db Re-use atmos queues (#21803) 2023-11-20 21:40:26 +11:00
LordEclipse
f3df6b85af Make more fields VV-writeable (#21754) 2023-11-19 12:17:53 -08:00
Leon Friedrich
16a96976d3 Flammable system bug fixes. (#21594) 2023-11-14 22:55:45 +11:00
deltanedas
f0f54b5872 mech nitrogen filtering 2 (#19868)
* target oxygen logic

* filter out nitrogen when low on oxygen

* vvrw and datafield for everything

* :trollface:

* bruh does work

* tagless chicken

* move into atmos, make it not depend on mech

* update mech prototype

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-11-05 20:15:13 -07:00
Ed
aa713ea7e6 Candles (#21087)
Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2023-11-03 22:53:51 -07:00
themias
675bcd5c38 Fix negative tank pressure (#21401) 2023-11-02 22:14:56 -04:00
DrSmugleaf
2d58d19b07 Make all prototype types partial (#21374) 2023-11-01 19:56:23 -07:00
metalgearsloth
5b8f3c48c4 Revert "Update submodule to 175.0.0 (#21318)" (#21319) 2023-10-29 15:29:30 +11:00
metalgearsloth
9b1b3e03ed Content audio (#20862) 2023-10-29 14:58:23 +11:00
Leon Friedrich
f308adffaf Move ActorComponent to shared (#21293) 2023-10-29 04:21:02 +11:00
Leon Friedrich
e685cb626b Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
metalgearsloth
a2bbda43cc Revert "Update submodule to 172.0.0 (#21222)" (#21225) 2023-10-24 21:55:20 +11:00
Leon Friedrich
7ba0ea2926 IPlayerManager refactor (#21215) 2023-10-24 20:19:08 +11:00
metalgearsloth
46a3076ecb Predict tile-prying (#21167) 2023-10-24 00:20:33 +11:00
DrSmugleaf
f560f88eb5 Remove 700 usages of Component.Owner (#21100) 2023-10-19 12:34:31 -07:00
Kara
77964d4a6b Kill SharedEntityExtensions and all popup extensions (#20909)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-10-16 16:56:09 +11:00
Leon Friedrich
fc034dd9d1 Remove SpreaderNodeGroup (#20230)
* Remove SpreaderNodeGroup

* Fix airtight updates

* more smoke stuff

* more smoke fixes

* wtf is smoke code

* Fix merge

* Fix divide by zero
2023-10-01 16:56:41 -04:00
daerSeebaer
0bb8c222bd Added blocked visuals to volumetric pump (#20610) 2023-09-29 19:35:23 -08:00
liltenhead
3dfb7a6e85 nerf maxcaps (#20226) 2023-09-24 15:59:04 -04:00
Kevin Zheng
a622844a5f Make slow spacing variables CCVars (#19862) 2023-09-13 19:38:56 -08:00
metalgearsloth
d5bd1c6f86 Predict StorageComponent (#19682) 2023-09-11 21:20:46 +10:00