mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Makes tanks display their max pressure and only return their analysed contents once (#59946)
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
. += "<span class='notice'>A pipe port can be opened with a [wrench_hint].</span>"
|
||||
else
|
||||
. += "<span class='notice'>The pipe port can be moved or closed with a [wrench_hint].</span>"
|
||||
. += "<span class='notice'>A holographic sticker on it says that its maximum safe pressure is: [siunit_pressure(max_pressure, 0)].</span>"
|
||||
|
||||
/obj/machinery/atmospherics/components/tank/set_custom_materials(list/materials, multiplier)
|
||||
. = ..()
|
||||
@@ -147,6 +148,9 @@
|
||||
///////////////////////////////////////////////////////////////////
|
||||
// Pipenet stuff
|
||||
|
||||
/obj/machinery/atmospherics/components/tank/return_analyzable_air()
|
||||
return air_contents
|
||||
|
||||
/obj/machinery/atmospherics/components/tank/returnAirsForReconcilation(datum/pipeline/requester)
|
||||
. = ..()
|
||||
if(!air_contents)
|
||||
|
||||
Reference in New Issue
Block a user