Commit Graph

4 Commits

Author SHA1 Message Date
Jeremiah a5a4b83a25 Sets prettier to run on the repo (#91379)
Prettier (an auto formatter) is set to only run within the tgui folder
currently. This removes that limitation, allowing it to automatically
format all supported files in the repo (.js, .html, .yml
[etc](https://prettier.io/docs/))

I made a few exceptions for bundled and generated files
I'm of the opinion that code should look uniform and am lazy enough to
want CTRL-S to format files without having to think beyond that
2025-06-05 19:13:02 -04:00
SkyratBot 474ddebfbe [MIRROR] Fix gas meters (#29183)
* Fix gas meters (#85445)

* Fix gas meters

---------

Co-authored-by: FlufflesTheDog <piecopresident@gmail.com>
2024-08-04 21:10:17 +05:30
SkyratBot e370c77705 [MIRROR] Fix gas meters to display properly (#7226)
* Fix gas meters to display properly (#60433)

* Fix gas meters to display properly

Co-authored-by: Tim <timothymtorres@gmail.com>
2021-07-29 11:15:45 +01:00
SkyratBot 7856d92066 [MIRROR] GAGS coloring for Atmos that displays changes in temperature (#7061)
* GAGS coloring for Atmos that displays changes in temperature (#59924)

This PR adds temperature based coloring for atmos gas meters and freezers.

These values are based on the BODYTEMP icon warnings that you get when a room is too hot or too cold. There is also some minor code improvements where some of the icon heat and cold warnings were hardcoded values. I made this a constant in the __DEFINES.atmospherics.dm file that you can see below. These values have been applied to air alarms, thermomachines, gas meters, and species code.

This is a QoL update for atmos tech nerds. Instead of having to manually examine a gas meter or use an analyzer to determine what temperature is in the pipes you can rely on the colored icons to communicate that information rapidly. This should also help prevent harmful gas leaks where a person unwrenches a pipe without realizing there is hot gas inside it. And you should be able to troubleshoot a delaming SM faster and easier with these colors.

* GAGS coloring for Atmos that displays changes in temperature

Co-authored-by: Tim <timothymtorres@gmail.com>
2021-07-26 15:42:46 +01:00