mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
More pAI fixes. Apparently silicon based mobs automatically get access to Robotic Talk - since pAIs aren't bound by AI laws this could be incredibly game breaking for rogue borgs/AIs.
Also changed viewers() to hearers() when checking to see if MMIs/Intelicards/et all can hear something, so they're no longer deaf in the dark. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1638 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -250,7 +250,7 @@
|
||||
*/
|
||||
var/turf/T = get_turf(src)
|
||||
listening = hearers(message_range, T)
|
||||
var/list/V = view(message_range, T)
|
||||
var/list/V = hearers(message_range, T)
|
||||
//find mobs in lockers, cryo, intellicards, brains, MMIs, and so on.
|
||||
for (var/mob/M in world)
|
||||
if (!M.client)
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
if (length(message) >= 2)
|
||||
if (copytext(message, 1, 3) == ":s")
|
||||
if(istype(src, /mob/living/silicon/pai))
|
||||
return ..(message)
|
||||
message = copytext(message, 3)
|
||||
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
|
||||
robot_talk(message)
|
||||
|
||||
Reference in New Issue
Block a user