Merge pull request #1376 from Yoshax/followanything

Ghosts can now follow any /atom/movable object.
This commit is contained in:
EmperorJon
2016-04-08 22:52:37 +01:00
+1 -4
View File
@@ -17,12 +17,9 @@
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)
return // seems legit.
// Things you might plausibly want to follow
if((ismob(A) && A != src) || istype(A,/obj/singularity))
else if(istype(A,/atom/movable))
ManualFollow(A)
// Otherwise jump
else
following = null