Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-34 committed Oct 10, 2024
1 parent 1cadb31 commit effbfc0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions code/modules/mob/mob_misc_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
lowerletter = lowertext(newletter)

// Character conversion
if(rand(1, 3) == 3)
if(prob(33.33))
switch(lowerletter)
if("o")
newletter = "u"
Expand All @@ -299,15 +299,14 @@
newletter = "сц"

// Random case replacement and adding characters from the slurletters list
switch(rand(1, 15))
if(1, 3, 5, 8)
newletter = lowerletter
if(2, 4, 6, 15)
newletter = uppertext(newletter)
if(7)
if(prob(60))
if(prob(11.11))
newletter += pick(slurletters)
else
pass()
if(prob(50))
newletter = lowertext(newletter)
else
newletter = uppertext(newletter)

// Additional phrases
if(rand(1, 100) <= strength * 0.25)
Expand Down

0 comments on commit effbfc0

Please sign in to comment.