mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Bugfixes
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user