[MIRROR] Atmos unary devices can now be analyzed (#6037)
* Atmos unary devices can now be analyzed (#36485) tweak: Unary devices can now be analyzed using gas scanners. This means stuff like vents, scrubbers, cryo tubes, or heaters/freezers. fixes #36448 this means stuff like cryo, vents, scrubbers, heat exchangers, heaters/freezers, injectors, those big pressure tanks etc. can now be analyzed by gas analyzers/PDA gas scanners * Atmos unary devices can now be analyzed
This commit is contained in:
committed by
Poojawa
parent
99487a6bbb
commit
2fbdfd1856
@@ -858,6 +858,9 @@ GLOBAL_LIST_EMPTY(PDAs)
|
||||
else if (istype(A, /obj/machinery/atmospherics/pipe))
|
||||
var/obj/machinery/atmospherics/pipe/P = A
|
||||
atmosanalyzer_scan(P.parent.air, user, P)
|
||||
else if (istype(A, /obj/machinery/atmospherics/components/unary))
|
||||
var/obj/machinery/atmospherics/components/unary/U = A
|
||||
atmosanalyzer_scan(U.airs[1], user, U)
|
||||
else if (istype(A, /obj/machinery/power/rad_collector))
|
||||
var/obj/machinery/power/rad_collector/RC = A
|
||||
if(RC.loaded_tank)
|
||||
|
||||
Reference in New Issue
Block a user