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
@@ -57,8 +57,8 @@
var/attack_log_type = ATKLOG_MOST
if(reagents.has_reagent("sacid") || reagents.has_reagent("facid") || reagents.has_reagent("lube"))
attack_log_type = ATKLOG_FEW
add_attack_logs(user, A, "sprayed [contents_log] at [reagents.chem_temp]K using [src]", attack_log_type)
log_game("[key_name(user)] used a spray bottle at [COORD(user)] - Contents: [contents_log] - Temperature: [reagents.chem_temp]K")
add_attack_logs(user, A, "Used a potentially harmful spray bottle. Contents: [contents_log] - Temperature: [reagents.chem_temp]K", attack_log_type)
return