mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Merge remote-tracking branch 'refs/remotes/ParadiseSS13/master' into space-ruin-number-one
This commit is contained in:
@@ -544,18 +544,18 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if((!target) || (!ghost)) return
|
||||
if(isAI(target)) // AI core/eye follow links
|
||||
var/mob/living/silicon/ai/A = target
|
||||
. = "<a href='byond://?src=[ghost.UID()];follow=\ref[A]'>core</a>"
|
||||
. = "<a href='byond://?src=[ghost.UID()];follow=[A.UID()]'>core</a>"
|
||||
if(A.client && A.eyeobj) // No point following clientless AI eyes
|
||||
. += "|<a href='byond://?src=[ghost.UID()];follow=\ref[A.eyeobj]'>eye</a>"
|
||||
. += "|<a href='byond://?src=[ghost.UID()];follow=[A.eyeobj.UID()]'>eye</a>"
|
||||
return
|
||||
else if(istype(target, /mob/dead/observer))
|
||||
var/mob/dead/observer/O = target
|
||||
. = "<a href='byond://?src=[ghost.UID()];follow=\ref[target]'>follow</a>"
|
||||
. = "<a href='byond://?src=[ghost.UID()];follow=[target.UID()]'>follow</a>"
|
||||
if(O.mind && O.mind.current)
|
||||
. += "|<a href='byond://?src=[ghost.UID()];follow=\ref[O.mind.current]'>body</a>"
|
||||
. += "|<a href='byond://?src=[ghost.UID()];follow=[O.mind.current.UID()]'>body</a>"
|
||||
return
|
||||
else
|
||||
return "<a href='byond://?src=[ghost.UID()];follow=\ref[target]'>follow</a>"
|
||||
return "<a href='byond://?src=[ghost.UID()];follow=[target.UID()]'>follow</a>"
|
||||
|
||||
//BEGIN TELEPORT HREF CODE
|
||||
/mob/dead/observer/Topic(href, href_list)
|
||||
|
||||
Reference in New Issue
Block a user