mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Mimes can use the darkspawn mindlink without needing to break their oath (#21915)
* Update say.dm * mental speak
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/datum/saymode
|
||||
var/key
|
||||
var/mode
|
||||
var/bypass_mute = FALSE
|
||||
|
||||
//Return FALSE if you have handled the message. Otherwise, return TRUE and saycode will continue doing saycode things.
|
||||
//user = whoever said the message
|
||||
@@ -143,6 +144,7 @@
|
||||
/datum/saymode/darkspawn //yogs: darkspawn
|
||||
key = MODE_KEY_DARKSPAWN
|
||||
mode = MODE_DARKSPAWN
|
||||
bypass_mute = TRUE //it's mentally talking, not physically
|
||||
|
||||
/datum/saymode/darkspawn/handle_message(mob/living/user, message, datum/language/language)
|
||||
var/datum/mind = user.mind
|
||||
|
||||
@@ -147,7 +147,7 @@ GLOBAL_LIST_INIT(special_radio_keys, list(
|
||||
if(!language)
|
||||
language = get_selected_language()
|
||||
|
||||
if(!can_speak_vocal(message))
|
||||
if(!(can_speak_vocal(message) || (saymode && saymode.bypass_mute))) //yogs change - mindlink is mental, not vocal
|
||||
to_chat(src, span_warning("You find yourself unable to speak!"))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user