mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Added placeholder icons for jetpacks, and further simplified the transfer valve update_icon().
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3668 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -127,17 +127,12 @@
|
||||
icon_state = "valve"
|
||||
|
||||
if(tank_one)
|
||||
var/icon/I = new(src.icon, icon_state = "[tank_one.icon_state]")
|
||||
src.underlays += I
|
||||
src.underlays += "[tank_one.icon_state]"
|
||||
if(tank_two)
|
||||
var/icon/J = new(src.icon, icon_state = "[tank_two.icon_state]")
|
||||
var/icon/J = new(icon, icon_state = "[tank_two.icon_state]")
|
||||
J.Shift(WEST, 13)
|
||||
src.underlays += J
|
||||
|
||||
if(attached_device)
|
||||
var/icon/K = new(src.icon, icon_state = "device")
|
||||
src.overlays += K
|
||||
|
||||
/obj/item/device/transfer_valve/proc/merge_gases()
|
||||
tank_two.air_contents.volume += tank_one.air_contents.volume
|
||||
var/datum/gas_mixture/temp
|
||||
|
||||
Reference in New Issue
Block a user