mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Adds a beaker icon to chemical.dm , implements it. Shows when a beaker is inside a chem dispenser
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user