[MIRROR] Mime care package (#12773)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-05-21 08:30:47 -07:00
committed by GitHub
parent fef241645b
commit 1128c0cd18
30 changed files with 304 additions and 4 deletions
+7
View File
@@ -209,6 +209,9 @@ GLOBAL_LIST_EMPTY(channel_to_radio_key)
var/list/message_pieces = parse_languages(message)
if(istype(message_pieces, /datum/multilingual_say_piece)) // Little quark for dealing with hivemind/signlang languages.
var/datum/multilingual_say_piece/S = message_pieces // Yay for BYOND's hilariously broken typecasting for allowing us to do this.
if(HAS_MIND_TRAIT(src, TRAIT_MIMING))
to_chat(src, span_green("You stop yourself from signing in favor of the art of mimery!"))
return FALSE
S.speaking.broadcast(src, S.message)
return 1
@@ -216,6 +219,10 @@ GLOBAL_LIST_EMPTY(channel_to_radio_key)
log_runtime(EXCEPTION("Message failed to generate pieces. [message] - [json_encode(message_pieces)]"))
return 0
if(HAS_MIND_TRAIT(src, TRAIT_MIMING))
to_chat(src, span_green("Your vow of silence prevents you from speaking!"))
return
// If you're muzzled, you can only speak sign language
// However, sign language is handled above.
if(is_muzzled())