Skip to content

Commit

Permalink
[PORT] Fixes species/tongue-based speech modification altering sign l…
Browse files Browse the repository at this point in the history
…anguage (#5395)

## About The Pull Request

Ports tgstation/tgstation#79685

> 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,

## Why It's Good For The Game

> Makes sign language more consistent and returns it to its full
functionality before it broke.

## Changelog
:cl: Absolucy, Danny Boy
fix: Signers no longer sign with their species' tongue
/:cl:

Co-authored-by: DBGit42 <[email protected]>
  • Loading branch information
Absolucy and DBGit42 authored Feb 10, 2025
1 parent 875fc66 commit 2da4762
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/modules/surgery/organs/internal/tongue/_tongue.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@

/obj/item/organ/internal/tongue/proc/handle_speech(datum/source, list/speech_args)
SIGNAL_HANDLER
if(speech_args[SPEECH_LANGUAGE] in languages_native)
return FALSE //no changes

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 2da4762

Please sign in to comment.