mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Add method to track people breaking shit that would cause explosive decompression.
This commit is contained in:
@@ -1096,3 +1096,25 @@ proc/move_alien_ship()
|
||||
else
|
||||
alien_ship_location = 1
|
||||
return
|
||||
|
||||
proc/formatJumpTo(var/location,var/where="")
|
||||
var/turf/loc
|
||||
if(istype(location,/turf/))
|
||||
loc = location
|
||||
else
|
||||
loc = get_turf(location)
|
||||
if(where=="")
|
||||
where=formatLocation(loc)
|
||||
return "<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>[where]</a>"
|
||||
|
||||
proc/formatLocation(var/location)
|
||||
var/turf/loc
|
||||
if(istype(location,/turf/))
|
||||
loc = location
|
||||
else
|
||||
loc = get_turf(location)
|
||||
var/area/A = get_area(location)
|
||||
return "[A.name] - [loc.x],[loc.y],[loc.z]"
|
||||
|
||||
proc/formatPlayerPanel(var/mob/U,var/text="PP")
|
||||
return "<A HREF='?_src_=holder;adminplayeropts=\ref[U]'>[text]</A>"
|
||||
Reference in New Issue
Block a user