Adds a beaker icon to chemical.dm , implements it. Shows when a beaker is inside a chem dispenser

This commit is contained in:
Dorsisdwarf
2014-12-02 19:59:04 +00:00
parent d3000942a3
commit 5a925e9f41
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -138,7 +138,7 @@
var/obj/item/weapon/reagent_containers/glass/B = beaker
B.loc = loc
beaker = null
icon_state = "dispenser"
overlays -= "disp_beaker"
add_fingerprint(usr)
return 1 // update UIs attached to this object
@@ -159,7 +159,7 @@
B.loc = src
user << "You add the beaker to the machine!"
nanomanager.update_uis(src) // update all UIs attached to src
icon_state = "dispenser_full"
overlays += "disp_beaker"
/obj/machinery/chem_dispenser/attack_ai(mob/user as mob)
return src.attack_hand(user)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB