This commit is contained in:
Ghommie
2020-03-08 19:26:01 +01:00
parent d78926b269
commit ad4d290ea7
89 changed files with 443 additions and 498 deletions
@@ -25,18 +25,18 @@
new /obj/item/tank/internals/plasma(src)
update_icon()
/obj/structure/tank_dispenser/update_icon()
cut_overlays()
/obj/structure/tank_dispenser/update_overlays()
. = ..()
switch(oxygentanks)
if(1 to 3)
add_overlay("oxygen-[oxygentanks]")
. += "oxygen-[oxygentanks]"
if(4 to TANK_DISPENSER_CAPACITY)
add_overlay("oxygen-4")
. += "oxygen-4"
switch(plasmatanks)
if(1 to 4)
add_overlay("plasma-[plasmatanks]")
. += "plasma-[plasmatanks]"
if(5 to TANK_DISPENSER_CAPACITY)
add_overlay("plasma-5")
. += "plasma-5"
/obj/structure/tank_dispenser/attackby(obj/item/I, mob/user, params)
var/full