mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Changes how stuttering is handled (#4855)
Being hurt or wounded will now triggger the traditional stuttering, while non wounded mobs, mostly under the influence of the disability, will use the new stuttering.
This commit is contained in:
@@ -83,6 +83,15 @@ proc/get_radio_key_from_channel(var/channel)
|
||||
if(!istype(dongle)) return
|
||||
if(dongle.translate_binary) return 1
|
||||
|
||||
/mob/living/proc/get_stuttered_message(message)
|
||||
return stutter(message)
|
||||
|
||||
/mob/living/carbon/get_stuttered_message(message)
|
||||
if (shock_stage >= 30)
|
||||
return stutter(message)
|
||||
else
|
||||
return NewStutter(message)
|
||||
|
||||
/mob/living/proc/get_default_language()
|
||||
return default_language
|
||||
|
||||
@@ -101,7 +110,7 @@ proc/get_radio_key_from_channel(var/channel)
|
||||
verb = pick("slobbers","slurs")
|
||||
speech_problem_flag = 1
|
||||
if(stuttering)
|
||||
message = stutter(message)
|
||||
message = get_stuttered_message(message)
|
||||
verb = pick("stammers","stutters")
|
||||
speech_problem_flag = 1
|
||||
if(tarded)
|
||||
|
||||
Reference in New Issue
Block a user