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 [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]>
  • Loading branch information
2 people authored and FFMirrorBot committed Nov 13, 2023
1 parent d2d7446 commit 1817867
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/surgery/organs/internal/tongue/_tongue.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,18 @@
/obj/item/organ/internal/tongue/proc/handle_speech(datum/source, list/speech_args)
SIGNAL_HANDLER

<<<<<<< HEAD

Check failure on line 97 in code/modules/surgery/organs/internal/tongue/_tongue.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '<<', expected one of: newline, '/', identifier
if(speech_args[SPEECH_LANGUAGE] in languages_native)
return FALSE //no changes
// 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
>>>>>>> c0d618e65 ([MIRROR] Fixes species/tongue-based speech modification altering sign language [MDB IGNORE] (#24983))
modify_speech(source, speech_args)

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

0 comments on commit 1817867

Please sign in to comment.