mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 01:53:35 +01:00
Made it possible for any mob that can understand robot speak to use robot speak.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@537 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -74,6 +74,12 @@
|
||||
else if (copytext(message, 1, 3) == ":i")
|
||||
message_mode = "intercom"
|
||||
message = copytext(message, 3)
|
||||
|
||||
else if (copytext(message, 1, 3) == ":s" && src.robot_talk_understand)
|
||||
message = copytext(message, 3)
|
||||
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
|
||||
src.robot_talk(message)
|
||||
return
|
||||
//
|
||||
|
||||
message = trim(message)
|
||||
|
||||
Reference in New Issue
Block a user