mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
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:
+11
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user