mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Allow blind and/or deaf characters to see/hear emotes (#2495)
* Add deaf and blind message to emotes * Add prefix to blind/deaf message
This commit is contained in:
@@ -79,9 +79,13 @@
|
||||
M.show_message("[FOLLOW_LINK(M, user)] [dchatmsg]")
|
||||
|
||||
if(emote_type == EMOTE_AUDIBLE)
|
||||
user.audible_message(msg, audible_message_flags = EMOTE_MESSAGE)
|
||||
//SKYRAT EDIT CHANGE BEGIN
|
||||
//user.audible_message(msg, audible_message_flags = EMOTE_MESSAGE) - SKYRAT EDIT - ORIGINAL
|
||||
user.audible_message(msg, deaf_message = "You see how <b>[user]</b> [msg]", audible_message_flags = EMOTE_MESSAGE)
|
||||
else
|
||||
user.visible_message(msg, visible_message_flags = EMOTE_MESSAGE)
|
||||
//user.visible_message(msg, visible_message_flags = EMOTE_MESSAGE) - SKYRAT EDIT - ORIGINAL
|
||||
user.visible_message(msg, blind_message = "You hear how <b>[user]</b> [msg]", visible_message_flags = EMOTE_MESSAGE)
|
||||
//SKYRAT EDIT CHANGE END
|
||||
|
||||
/// For handling emote cooldown, return true to allow the emote to happen
|
||||
/datum/emote/proc/check_cooldown(mob/user, intentional)
|
||||
|
||||
Reference in New Issue
Block a user