mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Adds unaccounted for volumes to the gas analyzer's scan and allows for a summarized view of scanned airs (#27668)
* pipes now return all airs in their pipenet when analyzed and the gas scan can either return individual reports of all airs or the sum of all airs. * Replaces scanners.dm with the one from the upstream since it didn't do so when I merged * Makes the scanner scan all connected volumes again. need to re-add detailed mode * Readds the detailed report feature to the analyzer * changes a comment * corrects the message when turning detailed reporting on/off * Fixes a runtime the could happen when gas scanning things that don't have a gas mix associated with them as a ghost.
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the health_scan var.
|
||||
return FALSE
|
||||
if(user.client)
|
||||
if(user.gas_scan && atmos_scan(user=user, target=src, silent=TRUE))
|
||||
if(user.gas_scan && src.return_analyzable_air() && atmos_scan(user=user, target=src, silent=TRUE))
|
||||
return TRUE
|
||||
|
||||
// health + machine analyzer for ghosts
|
||||
|
||||
Reference in New Issue
Block a user