Spray logging improvement (#14331)

* better logging

* now with target
This commit is contained in:
TDSSS
2020-09-19 01:41:46 +02:00
committed by GitHub
parent 101ad5b617
commit 33f600d0d3
2 changed files with 4 additions and 2 deletions
@@ -106,6 +106,8 @@
src.last_use = world.time
if(reagents.chem_temp > 300 || reagents.chem_temp < 280)
add_attack_logs(user, target, "Sprayed with superheated or cooled fire extinguisher at Temperature [reagents.chem_temp]K")
playsound(src.loc, 'sound/effects/extinguish.ogg', 75, 1, -3)
var/direction = get_dir(src,target)