This commit is contained in:
VampyrBytes
2016-06-13 18:12:05 +01:00
parent ac9eac44a1
commit 7187a5e8e5
6 changed files with 147 additions and 54 deletions
+3
View File
@@ -14,6 +14,9 @@
if (src.client.handle_spam_prevention(message,MUTE_DEADCHAT))
return
if(copytext(message,1,2) == "*")
return emote(copytext(message,2))
. = src.say_dead(message)
/*
+2 -2
View File
@@ -15,9 +15,9 @@
//--FalseIncarnate
*/
// All mobs should have custom emote, really..
/mob/proc/custom_emote(var/m_type=1,var/message = null)
/mob/proc/custom_emote(var/m_type=0, var/message = null)
return emoteHandler.runEmote("me", null, message, m_type)
return emoteHandler.runEmote("me", message, m_type)
/* if(stat || !use_me && usr == src)
to_chat(usr, "You are unable to emote.")
+3 -4
View File
@@ -27,14 +27,13 @@
set_typing_indicator(0)
usr.say(message)
/mob/verb/me_verb(message as text)
/mob/verb/me_verb()
set name = "Me"
set category = "Emotes"
message = strip_html_properly(message)
return emoteHandler.runEmote("me")
set_typing_indicator(0)
return emoteHandler.runEmote("me", null, message)
/mob/proc/say_dead(var/message)
if(!(client && client.holder))