Last update to transfer valves. :s

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3670 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2012-05-25 17:15:11 +00:00
parent 27beab19d1
commit cfd59cf0a2
2 changed files with 4 additions and 2 deletions
+4 -2
View File
@@ -127,11 +127,13 @@
icon_state = "valve"
if(tank_one)
src.underlays += "[tank_one.icon_state]"
overlays += "[tank_one.icon_state]"
if(tank_two)
var/icon/J = new(icon, icon_state = "[tank_two.icon_state]")
J.Shift(WEST, 13)
src.underlays += J
underlays += J
if(attached_device)
overlays += "device"
/obj/item/device/transfer_valve/proc/merge_gases()
tank_two.air_contents.volume += tank_one.air_contents.volume