say_log now has timestamps

This commit is contained in:
Joan Lung
2016-12-20 11:01:30 -05:00
parent ef8168651a
commit e83c720e8c
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -55,7 +55,7 @@
var/smoke_delay = 0 //used to prevent spam with smoke reagent reaction on mob.
var/list/say_log = list() //a log of what we've said, plain text, no spans or junk, essentially just each individual "message"
var/list/say_log = list() //a log of what we've said, with a timestamp as the key for each message
var/bubble_icon = "default" //what icon the mob uses for speechbubbles
+2 -2
View File
@@ -98,8 +98,8 @@ var/list/crit_allowed_modes = list(MODE_WHISPER,MODE_CHANGELING,MODE_ALIEN)
spans += get_spans()
//Log of what we've said, plain message, no spans or junk
say_log += message
//Log what we've said with an associated timestamp, using the list's len for safety/to prevent overwriting messages
say_log["[LAZYLEN(say_log) + 1]\[[time_stamp()]\]"] = message
var/message_range = 7
var/radio_return = radio(message, message_mode, spans)