Adds logging for when you fail to tip something over (#68712)

* adds failed tip logging
This commit is contained in:
Coffee
2022-07-27 10:54:35 -04:00
committed by GitHub
parent af3f8c6868
commit cbeeda55da
+3
View File
@@ -119,6 +119,9 @@
)
if(!do_after(tipper, tip_time, target = tipped_mob))
if(!isnull(tipped_mob.client))
tipped_mob.log_message("was attempted to tip over by [key_name(tipper)]", LOG_VICTIM, log_globally = FALSE)
tipper.log_message("failed to tip over [key_name(tipped_mob)]", LOG_ATTACK)
to_chat(tipper, span_danger("You fail to tip over [tipped_mob]."))
return
do_tip(tipped_mob, tipper)