mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-24 17:11:40 +00:00
-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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user