Emote Fixes and "Me" Tweak (#4749)

- Tweaked "Me" verb to allow inclusion of the message when typing
directly into chat box.

- Fixed ghosts, with ghostsight on, seeing emotes twice when near the
emoter.

- Fixed *flip runtiming when used with no target and no grab.

- Fixed scream not displaying any message.

- Fixed double sanitizing in custom emotes.

- Fixed several cases where user wasn't getting passed into proc calls.

- Removed a couple unnecessary periods from dialogs.
This commit is contained in:
Krausus
2016-06-22 14:24:22 -04:00
committed by Fox McCloud
parent 8da432cccb
commit 22a3bcf704
3 changed files with 46 additions and 17 deletions
+11 -2
View File
@@ -28,12 +28,21 @@
usr.say(message)
/mob/verb/me_verb()
/mob/verb/me_verb(message as text)
set name = "Me"
set category = "Emotes"
set desc = "(action) Enter a custom emote."
if(!message)
return
message = trim_strip_html_properly(message)
if(message == "")
return
if(emoteHandler)
return emoteHandler.runEmote("me")
return emoteHandler.runEmote("me", message)
/mob/proc/say_dead(var/message)