mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 09:34:21 +01:00
logs robot talk
This commit is contained in:
@@ -49,6 +49,10 @@
|
||||
/proc/log_say(text)
|
||||
if(config.log_say)
|
||||
diary << "\[[time_stamp()]]SAY: [text]"
|
||||
|
||||
/proc/log_robot(text)
|
||||
if(config.log_say)
|
||||
diary << "\[[time_stamp()]]ROBOT: [text]"
|
||||
|
||||
/proc/log_ooc(text)
|
||||
if(config.log_ooc)
|
||||
|
||||
@@ -559,7 +559,8 @@
|
||||
|
||||
if(!message)
|
||||
return
|
||||
|
||||
|
||||
log_robot("[key_name(speaker)] : [message]")
|
||||
var/message_start = "<i><span class='game say'>[name], <span class='name'>[speaker.name]</span>"
|
||||
var/message_body = "<span class='message'>[speaker.say_quote(message)], \"[message]\"</span></span></i>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user