mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
ghosts can point again (#20617)
This commit is contained in:
@@ -734,10 +734,15 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
/mob/dead/observer/run_pointed(atom/A as mob|obj|turf in view())
|
||||
if(!..())
|
||||
return FALSE
|
||||
var/follow_link
|
||||
if(invisibility) // Only show the button if the ghost is not visible to the living
|
||||
follow_link = " ([ghost_follow_link(A, src)])"
|
||||
usr.visible_message("<span class='deadsay'><b>[src]</b> points to [A][follow_link].</span>")
|
||||
|
||||
for(var/mob/M in range(7, src))
|
||||
if(M.see_invisible < invisibility)
|
||||
continue //can't view the invisible
|
||||
var/follow_link
|
||||
if(invisibility) // Only show the button if the ghost is not visible to the living
|
||||
follow_link = " ([ghost_follow_link(A, M)])" // Ghost needs to be link clicker, otherwise it breaks
|
||||
M.show_message("<span class='deadsay'><b>[src]</b> points to [A][follow_link].</span>", EMOTE_VISIBLE)
|
||||
|
||||
return TRUE
|
||||
|
||||
/mob/dead/observer/proc/incarnate_ghost()
|
||||
|
||||
Reference in New Issue
Block a user