Update spray.dm (#23196)

Pouring reagents will always transfer 50 units, it's not accurate

🆑 ma44
tweak: Nanotrasen has improved training of the crew, teaching crewmembers like you to unscrew the top off the bottle and pour it into containers like beakers.
/🆑

Cause if you can dump all the stuff out and have a screwable top, you should be able to pour it into reagent containers (it even has code for when it pours 50 units at a time) also cause muh realism
This commit is contained in:
ma44
2017-01-30 11:01:36 +13:00
committed by oranges
parent f5c373d1c0
commit 0a9f9e827a
@@ -22,7 +22,7 @@
/obj/item/weapon/reagent_containers/spray/afterattack(atom/A as mob|obj, mob/user)
if(istype(A, /obj/item/weapon/reagent_containers) || istype(A, /obj/structure/sink) || istype(A, /obj/structure/janitorialcart) || istype(A, /obj/machinery/hydroponics))
if(istype(A, /obj/structure/sink) || istype(A, /obj/structure/janitorialcart) || istype(A, /obj/machinery/hydroponics))
return
if(istype(A, /obj/structure/reagent_dispensers) && get_dist(src,A) <= 1) //this block copypasted from reagent_containers/glass, for lack of a better solution