Commit Graph

54 Commits

Author SHA1 Message Date
ArtisticRoomba 2fa3ec4fad Atmospherics Delta-Pressure YAML refactor (#40174) 2025-12-29 11:39:02 -06:00
Nemanja cbb72a08a8 Improve Gas Yaml Serialization (#40070)
* Make yaml gas serialization cleaner

* fix exception

* fix validation code

* rudimentary test & permissive loading

* change it a bit

* Test fixes and adjustments
2025-12-29 11:39:00 -06:00
AftrLite 1cfc5ca064
Respritening | Atmos gases (#3973)
* adds missing new logo files to the logo folder.
applies resprite to all main gases (Frezon, Miasma, Plasma, Tritium, Water Vapor).

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-17 06:19:44 +00:00
deltanedas c7a83857b4 merge master 2025-03-02 23:33:56 +00:00
deltanedas 73ea5f2081
rename ammonia back to miasma (#3083)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-03-02 13:06:29 -05:00
ArtisticRoomba 1902f9834e Add new freezer atmos devices and fix freezer fixgridatmos marker (#34991) 2025-03-01 12:50:32 +00:00
ArtisticRoomba 2296979cc6 Buff frezon to acceptable values, pending a frezon rework (#34049)
buff frezon
2025-02-14 16:09:44 +00:00
deltanedas 516dcf8933
change air alarm defaults (#2939)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-02-09 03:00:40 +00:00
Errant b985ea946b HOTFIX Tweaked air alarm default settings for nitrogen breathing crew (#34198)
air alarm default settings modified for anaerobic crew
2025-01-28 03:15:30 +00:00
Milon ca8778b759
unfuck frezon and n2o prices (#1963)
fucked up
2024-10-05 00:54:46 +00:00
Ilya246 79676fd560 lower frezon/n2o sale prices, make frezon take more trit (#32407)
* lower gas prices

* set trit ratio from 1:50 to 1:8
2024-10-02 11:38:43 +01:00
deltanedas 6dc5ff7720
add atmos stuff for mapping vox boxes (#1668)
* add 101kpa nitrogen fixgridatmos marker

* make a lot of things datafields so they save and can be set in yml

* add vox box scrubber/filter/sensor/alarm

* move some stuff to deltav folder, add deltav comments to the fixgridatmos mixture

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-08-22 20:14:35 +00:00
end ebf6e7fe27 N2O color change (#30383) 2024-08-09 18:12:12 +01:00
Partmedia 92b1a3d083
Adjust some gas thresholds (#29331) 2024-07-25 01:39:29 +02:00
Pieter-Jan Briers 83beb03c31
Increase air alarm low pressure thresholds.
If a room's pressure drops it can become unbreathable long before people start taking pressure damage, and so also long before the air alarm starts reporting a danger state. I've increased the values so that the air alarm should show danger if the pressure becomes so low as to be unbreathable.

(cherry picked from commit 865f530d1f8b50219b5e73b5ad9eb135cec1ce73)
2024-03-23 23:51:54 +01:00
CyberDuck 02a1d0b033
Buff/Nerf Gases Cost (#25608)
* Nerf/Buff Gases cost

* Nerf/Buff Gases cost

* Nerf/Buff Gases cost

---------

Co-authored-by: CyberDuck <tsyaslovscky.dima@yandex.by>

(cherry picked from commit c0290d18f24b1fc7cd166eae8fb165ae525a9923)
2024-03-07 00:58:31 +01:00
deltanedas b04c8f4a62
give plasma half of co2 air alarm threshold (#22938)
Co-authored-by: deltanedas <@deltanedas:kde.org>
(cherry picked from commit 2d213b8ab0a5ba24ebb5348176cc03bd6daa489b)
2024-01-22 18:36:52 +01:00
Debug 6afde59998
Hopefully fix atmos issues (#656)
* Check for divide by near zero (#22876)

* 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.

* Add maximum atmos temperature limit (#22882)

* Add Tmax

* Increase Tmax

* Revert "Add YAML gas reactions (#22803)" (#22939)

This reverts commit 054321d2c2c17eb55a1640150131c61c29a3eb2b.

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>

---------

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2024-01-07 22:10:35 +00:00
Kevin Zheng 67d3f2b94d 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 23:25:34 +01:00
Kara a23dce4702 Rename Miasma to Ammonia (#22791)
* Rename Miasma to Ammonia

* Namespace changes

* Map change????? why
2023-12-22 23:12:06 +01:00
username 621dc731a0 Add nitrous oxide decomposition reaction (#22738)
Co-authored-by: whateverusername0 <whateveremail>
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-12-22 23:07:52 +01:00
username 0b0e11385f Add nitrous oxide synthesis reaction (#22774)
Co-authored-by: whateverusername0 <whateveremail>
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-12-22 23:07:52 +01:00
Kevin Zheng d37dcb8377 Reduce frezon price (#22784)
50 mols of frezon can be made from one mol of tritium, and so without
adjusting the price pretty ridiculous sums of money can be made in
cargo.

I considered reducing the amount of frezon producible, but all of the
atmos players that I surveyed prefered a price decrease instead of a
yield decrease, so give them what they want.
2023-12-22 23:05:13 +01:00
metalgearsloth 002b25e99b Remove gas prices temporarily (#22285)
Until
1. Atmos gets actual content parity to ss13.
2. Exploits are fixed.
3. Prices are nerfed.
2023-12-16 19:52:33 +01:00
Emisse 0bd0286873
Update gases.yml (#18838) 2023-08-07 15:29:00 -06:00
Kara 9c844c8aed
Relax water vapor threshold (#13280) 2023-01-01 21:05:37 -08:00
eoineoineoin ff9cf108b6
UX improvements to Air Alarm UI (#12681)
Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
2022-12-06 15:46:07 -08:00
Morb 18445b880a
Use frezon gas locale string (#11755) 2022-10-09 12:13:08 -07:00
Morb 9e8d0a51ad
Localize gases (#11376) 2022-09-17 12:34:53 -05:00
Emisse 959e215aa3
Nuke Plasma Price (#10948) 2022-09-05 19:50:29 -07:00
Flipp Syder 0882d85176
Air alarm balancing (#11063)
* threshold balancing, restores none mode on atmos alarm

dear lord, panic mode with unbalanced thresholds was a nightmare

* that was 10%, not 1%

* adds widenet mode for scrubbers

* adds the vents to wide filter as well
2022-09-05 19:35:36 -07:00
corentt 6301ac5147
AirAlarms fixes (#11062)
* modify airalarm thresholds

* display percentage, not ratio

* reopen doors on normal/warning state

* panic mode on danger state
2022-09-05 19:54:26 -05:00
Kevin Zheng e0836311f1
Add prices for gas canisters (#10129) 2022-08-08 11:49:06 +10:00
Rane 47e84d9d54
Make miasma start being visible later (#10128) 2022-07-28 20:13:56 -07:00
Kara 6c30726c7b
freon fixes (#10076) 2022-07-27 03:17:33 -07:00
Kara 7a553781cc
Frezon (#9980)
* 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
2022-07-27 04:55:28 -05:00
Rane 1c8bdaf7c4
Sleeping (#9793) 2022-07-26 21:46:24 -07:00
Rane a527658f6d
Miasma update (#8943) 2022-06-18 22:51:55 -07:00
Rane 1dc78ec88a
Port miasma from nyano (#8926)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-06-17 00:00:23 -07:00
Leon Friedrich 706ac6af40
Revert "Revert "epic Respiration Rework"" (#6527) 2022-02-09 21:53:10 -07:00
Leon Friedrich 6e8c92d13e
Revert "epic Respiration Rework" (#6524) 2022-02-07 18:13:14 +11:00
mirrorcult 4ae1c4e332
epic Respiration Rework (#6022) 2022-02-06 21:48:15 -07:00
Flipp Syder b1584793bf
Adds fire/air alarms (#5018)
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
Co-authored-by: E F R <602406+Efruit@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-02 15:56:24 +11:00
Vera Aguilera Puerto 6cc28fee82 Temporarily comments out water vapor gas reaction.
It was extremely laggy and shitcode.
2021-10-14 18:30:07 +02:00
Vera Aguilera Puerto c28f22ebff
Removes chem. and react. from every prototype ID (#3767)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-04-08 23:48:02 +10:00
Vera Aguilera Puerto 5130421c8e Fixes bug with water vapor reaction where oxygen would be removed instead. 2021-03-09 21:29:29 +01:00
Vera Aguilera Puerto 16a9aeb9c0
Water vapor now makes puddles under 100ºC above 1 moles (#3489)
* Water vapor now makes puddles under 100ºC above 1 moles

* serv3 moment

* Update Content.Server/Atmos/Reactions/GasReactionPrototype.cs

Co-authored-by: Clyybber <darkmine956@gmail.com>

Co-authored-by: Clyybber <darkmine956@gmail.com>
2021-03-05 22:15:37 +01:00
Vera Aguilera Puerto 9b1142973e
Renames phoron to plasma everywhere in the codebase and replaces sprites. (#3110) 2021-02-09 19:05:19 +01:00
Víctor Aguilera Puerto 870d052354
Gas tanks and masks (#2409)
Co-authored-by: a.rudenko <creadth@gmail.com>
Co-authored-by: creadth <creadth@users.noreply.github.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2020-10-27 20:53:44 +01:00
Víctor Aguilera Puerto 484eb0bba4
Botany (#2357)
* plants and seeds go brrrr

* update plants

* P L A N T

* brrrr

* Hydroponics actually work! How about that?

* Reuse resource path in visualizer

* They lied to us.

* Several stuffs

* more werk

* Add a bunch of plants

* Logs go brr.

* Brrr moment.

* Remove unused method

* Important comment.

* Seed inventory, yo!

* tomato moment

* Balance consumption

* Makes hydroponics pourable

* Adds plant metabolism effect for sugar, the same as glucose.

* Eggplant moment

* Apple moment

* Corn moment

* Chanterelle mushroom moment

* prototype tweaks

* Seed extractor moment

* typo

* IPlantMetabolizable doc improvement

* I should trust my gut instinct more often.

* egg-plant.....

* localization

* Make WaterLevel and NutritionLevel setters private

* Less code repetition! Wooo!
2020-10-26 23:19:46 +01:00