mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Adds ghost-follow/admin-jump-to for ghosts' bodies
Also removes the extra arguments from admin_jump_link, because I didn't end up needing them anyway.
This commit is contained in:
@@ -507,6 +507,12 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(A.client && A.eyeobj) // No point following clientless AI eyes
|
||||
. += "|<a href='byond://?src=\ref[ghost];follow=\ref[A.eyeobj]'>eye</a>"
|
||||
return
|
||||
else if(istype(target, /mob/dead/observer))
|
||||
var/mob/dead/observer/O = target
|
||||
. = "<a href='byond://?src=\ref[ghost];follow=\ref[target]'>follow</a>"
|
||||
if(O.mind && O.mind.current)
|
||||
. += "|<a href='byond://?src=\ref[ghost];follow=\ref[O.mind.current]'>body</a>"
|
||||
return
|
||||
else
|
||||
return "<a href='byond://?src=\ref[ghost];follow=\ref[target]'>follow</a>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user