Merge pull request #13284 from farie82/better-wire-investigation

Deconstructing and mice biting wires is now put in the investigation log
This commit is contained in:
Fox McCloud
2020-05-02 02:17:52 -04:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
@@ -49,11 +49,11 @@
if(C.avail())
visible_message("<span class='warning'>[src] chews through [C]. It's toast!</span>")
playsound(src, 'sound/effects/sparks2.ogg', 100, 1)
C.deconstruct()
toast() // mmmm toasty.
else
C.deconstruct()
visible_message("<span class='warning'>[src] chews through [C].</span>")
investigate_log("was chewed through by a mouse in [get_area(F)]([F.x], [F.y], [F.z] - [ADMIN_JMP(F)])","wires")
C.deconstruct()
/mob/living/simple_animal/mouse/handle_automated_speech()
..()