Skip to content

Commit

Permalink
[MIRROR] Fixes species/tongue-based speech modification altering sign…
Browse files Browse the repository at this point in the history
… language (#611)

* [MIRROR] Fixes species/tongue-based speech modification altering sign language [MDB IGNORE] (#24983)

* Fixes species/tongue-based speech modification altering sign language (#79685)

The second part of [PR
standalone, but is better in tandem.

This PR seeks to correct Signers from having a species/tongue-based
speech modification while signing, i.e. no 'Sss'.

Being drunk still affects Signer speech - this is fine for me,

* Fixes species/tongue-based speech modification altering sign language

---------

Co-authored-by: DBGit42 <[email protected]>

* mc resolve

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: DBGit42 <[email protected]>
Co-authored-by: ReezeBL <[email protected]>
  • Loading branch information
4 people authored Nov 14, 2023
1 parent 4accd25 commit d5f7de3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/surgery/organs/internal/tongue/_tongue.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
// FF add, for auto-accent
if(HAS_TRAIT(source, TRAIT_NO_ACCENT))
return FALSE //accent disabled by user.
if(speech_args[SPEECH_LANGUAGE] in languages_native) // Speaking a native language?
return FALSE // Don't modify speech
if(HAS_TRAIT(source, TRAIT_SIGN_LANG)) // No modifiers for signers - I hate this but I simply cannot get these to combine into one statement
return FALSE // Don't modify speech
modify_speech(source, speech_args)

/obj/item/organ/internal/tongue/proc/modify_speech(datum/source, list/speech_args)
Expand Down

0 comments on commit d5f7de3

Please sign in to comment.