-Mimics will attack other mimics which are created with a different staff.

-Fixed the AI eye falsesafe from not working.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5249 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-12-02 11:13:00 +00:00
parent 4f010d9730
commit 85ea98f131
2 changed files with 4 additions and 1 deletions

View File

@@ -140,8 +140,10 @@
if(src.eyeobj && src.loc)
src.eyeobj.loc = src.loc
else
src << "ERROR: Eyeobj not found. Please report this to Giacom. Creating new eye..."
src << "ERROR: Eyeobj not found. Creating new eye..."
src.eyeobj = new(src.loc)
src.eyeobj.ai = src
src.eyeobj.name = "[src.name] (AI Eye)" // Give it a name
if(client && client.eye)
client.eye = src

View File

@@ -174,6 +174,7 @@ var/global/list/protected_objects = list(/obj/structure/table, /obj/structure/ca
maxHealth = health
if(staff)
src.staff = staff
faction = "\ref[staff]" // very unique
return 1
return