Gas injectors are now buildable

This commit is contained in:
CitadelStationBot
2017-04-26 04:35:40 -05:00
parent e7b8733ead
commit 45e9b1644e
15 changed files with 97 additions and 15 deletions
@@ -169,7 +169,7 @@ Passive gate is similar to the regular pump except:
/obj/machinery/atmospherics/components/binary/passive_gate/can_unwrench(mob/user)
if(..())
if(on)
to_chat(user, "<span class='warning'>You cannot unwrench this [src], turn it off first!</span>")
to_chat(user, "<span class='warning'>You cannot unwrench [src], turn it off first!</span>")
else
return 1
@@ -0,0 +1,10 @@
diff a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm (rejected hunks)
@@ -176,7 +176,7 @@ Thus, the two variables affect pump operation are set in New():
/obj/machinery/atmospherics/components/binary/pump/can_unwrench(mob/user)
if(..())
if(!(stat & NOPOWER) && on)
- to_chat(user, "<span class='warning'>You cannot unwrench this [src], turn it off first!</span>")
+ to_chat(user, "<span class='warning'>You cannot unwrench [src], turn it off first!</span>")
else
return 1
@@ -0,0 +1,10 @@
diff a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm (rejected hunks)
@@ -172,7 +172,7 @@ Thus, the two variables affect pump operation are set in New():
/obj/machinery/atmospherics/components/binary/volume_pump/can_unwrench(mob/user)
if(..())
if(!(stat & NOPOWER) && on)
- to_chat(user, "<span class='warning'>You cannot unwrench this [src], turn it off first!</span>")
+ to_chat(user, "<span class='warning'>You cannot unwrench [src], turn it off first!</span>")
else
return 1