Atmos analyzer update

This commit is contained in:
Markolie
2015-09-27 04:48:42 +02:00
parent ee130ccbbe
commit f5f27fa186
6 changed files with 32 additions and 73 deletions
@@ -16,6 +16,13 @@
if(!istype(T))
return
add_underlay(T, node, dir)
/obj/machinery/atmospherics/unary/tank/attackby(obj/item/weapon/W, mob/user, params)
if(istype(W, /obj/item/device/analyzer))
atmosanalyzer_scan(air_contents, user)
return
return ..()
/obj/machinery/atmospherics/unary/tank/air
name = "Pressure Tank (Air)"
+10
View File
@@ -36,6 +36,16 @@
if(parent && isnull(parent.gcDestroyed))
qdel(parent)
parent = null
/obj/machinery/atmospherics/pipe/attackby(obj/item/weapon/W, mob/user, params)
if(istype(W, /obj/item/device/analyzer))
atmosanalyzer_scan(parent.air, user)
return
if(istype(W,/obj/item/device/pipe_painter))
return
return ..()
/obj/machinery/atmospherics/proc/pipeline_expansion()
return null