diff --git a/code/modules/mob/living/carbon/human/say.dm b/code/modules/mob/living/carbon/human/say.dm index dc35e65c47..7ce3f78da0 100644 --- a/code/modules/mob/living/carbon/human/say.dm +++ b/code/modules/mob/living/carbon/human/say.dm @@ -1,11 +1,11 @@ /mob/living/carbon/human/say_mod(input, message_mode) verb_say = dna.species.say_mod switch(slurring) - if(25 to 50) + if(10 to 25) return "jumbles" - if(50 to 75) + if(25 to 50) return "slurs" - if(75 to INFINITY) + if(50 to INFINITY) return "garbles" else . = ..() diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 6111a92e99..e757e6dcf4 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -531,7 +531,7 @@ GLOBAL_LIST_INIT(ballmer_windows_me_msg, list("Yo man, what if, we like, uh, put if(stuttering) stuttering = max(stuttering-1, 0) - if(slurring) + if(slurring || drunkenness) slurring = max(slurring-1,0,drunkenness) if(cultslurring) diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index 3d4e356464..776bd04935 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -65,6 +65,7 @@ return sanitize(t) /proc/slur(n,var/strength=50) + strength = min(strength,50) var/phrase = html_decode(n) var/leng = lentext(phrase) var/counter=lentext(phrase) @@ -72,7 +73,7 @@ var/newletter="" while(counter>=1) newletter=copytext(phrase,(leng-counter)+1,(leng-counter)+2) - if(rand(1,100)<=strength) + if(rand(1,100)<=strength*0.5) if(lowertext(newletter)=="o") newletter="u" if(lowertext(newletter)=="s") @@ -83,12 +84,12 @@ newletter="oo" if(lowertext(newletter)=="c") newletter="k" - if(rand(1,100) <= strength*0.5) + if(rand(1,100) <= strength*0.25) if(newletter==" ") newletter="...huuuhhh..." if(newletter==".") newletter=" *BURP*." - if(rand(1,100) <= strength) + if(rand(1,100) <= strength*0.5) if(rand(1,5) == 1) newletter+="'" if(rand(1,5) == 1)