Using ghost chat follow on any atom/movable object will let you follow
that object
Ghost follow changed for AI - again, works for real this time pls beleive
me
Fixes #2006, Morgue recursively deletes contents now
Fixes #2282, alien reagents work for the first time, wow nice smooth gas
the vox
This commit is contained in:
clusterfack
2015-02-16 16:39:02 -06:00
parent 9913788b50
commit 7b94c934dc
5 changed files with 17 additions and 15 deletions

View File

@@ -469,9 +469,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/list/mobs = getmobs()
var/input = input("Please, select a mob!", "Haunt", null, null) as null|anything in mobs
var/mob/target = mobs[input]
if(istype(target,/mob/living/silicon/ai))
var/mob/living/silicon/ai/M = target
target = M.eyeobj
ManualFollow(target)
// This is the ghost's follow verb with an argument
@@ -787,10 +784,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
..()
if (href_list["follow"])
var/mob/target = locate(href_list["follow"]) in mob_list
var/target = locate(href_list["follow"])
if(following == target) return
var/mob/A = usr;
A << "You are now following [target]"
//var/mob/living/silicon/ai/A = locate(href_list["track2"]) in mob_list
if(istype(target,/mob/living/silicon/ai))
var/mob/living/silicon/ai/M = target
target = M.eyeobj
if(target && target != usr)
following = target
spawn(0)