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:
@@ -4,6 +4,10 @@
|
||||
// But we return here since we don't want to do regular dblclick handling
|
||||
return
|
||||
|
||||
var/list/modifiers = params2list(params)
|
||||
if(modifiers["middle"]) // Let ghosts point without teleporting
|
||||
return
|
||||
|
||||
if(can_reenter_corpse && mind && mind.current)
|
||||
if(A == mind.current || (mind.current in A)) // double click your corpse or whatever holds it
|
||||
reenter_corpse() // (cloning scanner, body bag, closet, mech, etc)
|
||||
|
||||
@@ -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