mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Adds a "follow" button to things pointed to by ghosts (#14981)
* Adds a "follow" button to things pointed to by ghosts * Do not show the button if ghost is visible to the living
This commit is contained in:
@@ -739,9 +739,12 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
//overriden here and in /mob/living for different point span classes and sanity checks
|
||||
/mob/dead/observer/pointed(atom/A as mob|obj|turf in view())
|
||||
if(!..())
|
||||
return 0
|
||||
usr.visible_message("<span class='deadsay'><b>[src]</b> points to [A].</span>")
|
||||
return 1
|
||||
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>")
|
||||
return TRUE
|
||||
|
||||
/mob/dead/observer/proc/incarnate_ghost()
|
||||
if(!client)
|
||||
|
||||
Reference in New Issue
Block a user