mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user