mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 18:13:34 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user