Adds logging to reagent transfers

This commit is contained in:
ShizCalev
2018-10-31 08:36:21 -04:00
parent d15f36cc1d
commit 87faef9019
40 changed files with 85 additions and 83 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
return 0
else
var/obj/item/mop/M = mop
reagents.trans_to(mop, M.mopcap)
reagents.trans_to(mop, M.mopcap, transfered_by = user)
to_chat(user, "<span class='notice'>You wet [mop] in [src].</span>")
playsound(loc, 'sound/effects/slosh.ogg', 25, 1)
return 1
+1 -1
View File
@@ -17,7 +17,7 @@
if(reagents.total_volume < 1)
to_chat(user, "[src] is out of water!</span>")
else
reagents.trans_to(I, 5)
reagents.trans_to(I, 5, transfered_by = user)
to_chat(user, "<span class='notice'>You wet [I] in [src].</span>")
playsound(loc, 'sound/effects/slosh.ogg', 25, 1)
update_icon()