mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Merge pull request #1300 from Miniature/master
Added a thing to give a message to admins when a tile is stepped on.
This commit is contained in:
@@ -1187,6 +1187,7 @@
|
||||
#include "code\WorkInProgress\Cael_Aislinn\Tajara\tajaran.dm"
|
||||
#include "code\WorkInProgress\Cael_Aislinn\Tajara\whisper.dm"
|
||||
#include "code\WorkInProgress\Chinsky\ashtray.dm"
|
||||
#include "code\WorkInProgress\Mini\asay_trap.dm"
|
||||
#include "code\WorkInProgress\Mini\atmos_control.dm"
|
||||
#include "code\WorkInProgress\Mini\pipe_heater.dm"
|
||||
#include "code\WorkInProgress\Mloc\Shortcuts.dm"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/obj/effect/admin_log_trap
|
||||
name = "Herprpr"
|
||||
desc = "Stepping on this is good."
|
||||
icon = 'screen1.dmi'
|
||||
icon_state = "x2"
|
||||
anchored = 1.0
|
||||
unacidable = 1
|
||||
invisibility = 101
|
||||
|
||||
/obj/effect/admin_log_trap/HasEntered(AM as mob|obj)
|
||||
if(istype(AM,/mob))
|
||||
message_admins("[AM] ([AM:ckey]) stepped on an alerted tile in [get_area(src)]. <a href=\"byond://?src=%admin_ref%;teleto=\ref[src.loc]\">Jump</a>", admin_ref = 1)
|
||||
Reference in New Issue
Block a user