From 0a9f9e827aca06c814feb962a5ee3da82903dda3 Mon Sep 17 00:00:00 2001 From: ma44 Date: Sun, 29 Jan 2017 16:01:36 -0600 Subject: [PATCH] Update spray.dm (#23196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- code/modules/reagents/reagent_containers/spray.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm index 8856277d1b6..39645fb610c 100644 --- a/code/modules/reagents/reagent_containers/spray.dm +++ b/code/modules/reagents/reagent_containers/spray.dm @@ -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