Adds pref to remove internals pressure from status tab, adds it to inspect text (#16110)

* yeets the internals from status panel

* adds pressure reading to the tank inspect text

* Adds a pref toggle

* numbers are hard

* catchup with master

* Revert "catchup with master"

This reverts commit bb972cb110.
This commit is contained in:
S34N
2021-06-17 10:30:30 +01:00
committed by GitHub
parent c55acec92b
commit 00de6dc6c1
4 changed files with 14 additions and 1 deletions
@@ -177,9 +177,12 @@
stat(null, "GPS: [COORD(T)]")
if(locate(/obj/item/assembly/health) in total_user_contents)
stat(null, "Health: [health]")
if(internal)
if(!internal.air_contents)
qdel(internal)
else if(client?.prefs.toggles2 & PREFTOGGLE_2_SIMPLE_STAT_PANEL)
stat(null, "Internals Tank Connected")
else
stat("Internal Atmosphere Info", internal.name)
stat("Tank Pressure", internal.air_contents.return_pressure())