This commit is contained in:
silicons
2020-07-09 03:17:17 -07:00
parent 72804963a0
commit 26d384e65b
2 changed files with 13 additions and 12 deletions
+7 -5
View File
@@ -50,14 +50,16 @@
usr.emote("me",1,message,TRUE)
/mob/say_mod(input, message_mode)
if(input[1] == "!")
return ""
if(message_mode == MODE_WHISPER_CRIT)
return ..()
if((input[1] == "!") && (length_char(input) > 1))
message_mode = MODE_CUSTOM_SAY
return copytext_char(input, 2)
var/customsayverb = findtext(input, "*")
if(customsayverb && message_mode != MODE_WHISPER_CRIT)
if(customsayverb)
message_mode = MODE_CUSTOM_SAY
return lowertext(copytext_char(input, 1, customsayverb))
else
return ..()
return ..()
/mob/proc/whisper_keybind()
var/message = input(src, "", "whisper") as text|null