AI's can now understand pAI speech

Tidied up some.
This commit is contained in:
SkyMarshal
2012-02-06 11:02:49 -07:00
parent 3feb42e795
commit 664c6b7dec
4 changed files with 7 additions and 17 deletions

View File

@@ -44,14 +44,16 @@
M.show_message(rendered, 2)
/mob/proc/say_understands(var/mob/other)
if(!other)
return 1
// if(!other)
// return 1
if (src.stat == 2)
return 1
else if (istype(other, src.type))
return 1
else if(other.universal_speak || src.universal_speak)
return 1
else if(isAI(src) && ispAI(other))
return 1
return 0
/mob/proc/say_quote(var/text)