feature: Adds admin logging to disposals incidents

* Adds logging for placing a micro holder in hand into disposals
* Adds logging for throwing a micro holder into disposals
* Adds logging for click dragging self into disposals
* Adds logging for stumbling into disposals while drunk or otherwise able to stumble
* Each logic has special terms when logged for clarity to clear up intent/innocence.
This commit is contained in:
Runa Dacino
2023-06-16 00:46:38 +02:00
parent ac2233b526
commit b3341a7451
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -23,6 +23,7 @@
/obj/machinery/disposal/stumble_into(mob/living/M)
playsound(src, 'sound/effects/clang.ogg', 25, 1, -1)
visible_message("<span class='warning'>[M] [pick("tripped", "stumbled")] into \the [src]!</span>")
log_and_message_admins("stumbled into \the [src]", M)
if(M.client)
M.client.perspective = EYE_PERSPECTIVE
M.client.eye = src
@@ -141,4 +142,4 @@
/obj/machinery/vending/stumble_into(mob/living/M)
..()
if(prob(2))
throw_item()
throw_item()