Refactors speech/communication logging and adds coordinates to speech logs (#28997)

* Adds locations to speech and related communications
Refactors how logging is handled for these.

* changes

* ahhhhh

* preemptive merge conflict undoing maybe?

* Let's not delay this further
This commit is contained in:
Shadowlight213
2017-07-06 13:06:43 -07:00
committed by Jordan Brown
parent ce590cd648
commit 68102aaa0c
29 changed files with 95 additions and 38 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
if(!msg)
return
log_adminsay("[key_name(src)] : [msg]")
log_talk(mob,"[key_name(src)] : [msg]",LOGASAY)
msg = keywords_lookup(msg)
if(check_rights(R_ADMIN,0))
msg = "<span class='admin'><span class='prefix'>ADMIN:</span> <EM>[key_name(usr, 1)]</EM> (<a href='?_src_=holder;adminplayerobservefollow=\ref[mob]'>FLW</A>): <span class='message'>[msg]</span></span>"
+1 -1
View File
@@ -15,7 +15,7 @@
return
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
log_dsay("[key_name(src)] : [msg]")
log_talk(mob,"[key_name(src)] : [msg]",LOGDSAY)
if (!msg)
return