mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Soulcatcher chat logging, and subtle logging for free
Logs soulcatcher messages to the chat log so admins can review them, since that's kinda important, and gives subtle it's own logging format so you can tell it's a subtle and not just an emote. Also disables subtles while in the soulcatcher because apparently that was a thing.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
return 1
|
||||
var/nifmessage = sanitize(input("Type a message to say.","Speak into NIF") as text|null)
|
||||
if(nifmessage)
|
||||
SC.say_into(nifmessage,src.real_name)
|
||||
SC.say_into(nifmessage,src)
|
||||
return 1
|
||||
|
||||
if ("nme")
|
||||
@@ -42,7 +42,7 @@
|
||||
return 1
|
||||
var/nifmessage = sanitize(input("Type an action to perform.","Emote into NIF") as text|null)
|
||||
if(nifmessage)
|
||||
SC.emote_into(nifmessage,src.real_name)
|
||||
SC.emote_into(nifmessage,src)
|
||||
return 1
|
||||
|
||||
if ("flip")
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
return
|
||||
|
||||
if (message)
|
||||
log_emote("[name]/[key] : [message]")
|
||||
log_subtle("[name]/[key] : [message]")
|
||||
|
||||
var/list/vis = get_mobs_and_objs_in_view_fast(get_turf(src),1,2) //Turf, Range, and type 2 is emote
|
||||
var/list/vis_mobs = vis["mobs"]
|
||||
|
||||
Reference in New Issue
Block a user