mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user