mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user