Skip to content

Commit

Permalink
Merge pull request Riesen#134 from octareenroon91/patch-25
Browse files Browse the repository at this point in the history
use_power in Valve/Gate
  • Loading branch information
gitgud-software committed Sep 30, 2015
2 parents 1924612 + df89f52 commit bf2179f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Passive gate is similar to the regular pump except:

var/on = 0
var/target_pressure = ONE_ATMOSPHERE
use_power = 0

var/frequency = 0
var/id = null
Expand Down
2 changes: 2 additions & 0 deletions code/ATMOSPHERICS/components/binary_devices/valve.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ It's like a regular ol' straight pipe, but you can turn it on and off.
icon_state = "mvalve_map"
name = "manual valve"
desc = "A pipe valve"
use_power = 0

can_unwrench = 1

Expand Down Expand Up @@ -60,6 +61,7 @@ It's like a regular ol' straight pipe, but you can turn it on and off.
desc = "A digitally controlled valve."
icon_state = "dvalve_map"
valve_type = "d"
use_power = 1

/obj/machinery/atmospherics/components/binary/valve/digital/attack_ai(mob/user)
return src.attack_hand(user)
Expand Down

0 comments on commit bf2179f

Please sign in to comment.