Skip to content

Commit

Permalink
kartaviy
Browse files Browse the repository at this point in the history
  • Loading branch information
Riverz1 committed Jan 30, 2025
1 parent e8577a8 commit 471d675
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/language.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// ё priovioiols!
#define LANGUAGE_SHKIONDIONIOVIOION "Shkёndёnёvёёёn"
#define LANGUAGE_SALACKYI "Salackyi"
#define LANGUAGE_BURR "Burr"

#define LANGUAGE_CAN_UNDERSTAND 0
#define LANGUAGE_CAN_SPEAK 1
Expand Down
15 changes: 15 additions & 0 deletions code/datums/qualities/negativeish.dm
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,21 @@
H.add_language(LANGUAGE_SALACKYI)
H.common_language = LANGUAGE_SALACKYI

/datum/quality/negativeish/burr
name = "Картавый"
desc = "Ты стал картавым."
requirement = "Нет."

/datum/quality/negativeish/burr/add_effect(mob/living/carbon/human/H, latespawn)
to_chat(H, "<span class='notice'>Тебе известны новые языки. Нажми 'IC > Check Known Languages' чтобы узнать какие.</span>")

H.add_language(LANGUAGE_BURR)
H.forced_language = LANGUAGE_BURR

for(var/datum/language/language as anything in H.languages)
if(language.name == H.forced_language)
continue
H.remove_language(language.name)

/datum/quality/negativeish/clumsy
name = "Clumsy"
Expand Down
11 changes: 11 additions & 0 deletions code/modules/mob/language.dm
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,17 @@
for(var/vowel in lowercase_vowels)
replacements[vowel] = "ё"

/datum/language/burr
name = LANGUAGE_BURR
desc = "You're gibbering"
speech_verb = "says"
ask_verb = "asks"
exclaim_verb = "exclaims"
colour = "body"
accents = list(
"л" = "р",
)

/datum/language/shkiondioniovioion/scramble(input)
return replace_characters(input, replacements)

Expand Down

0 comments on commit 471d675

Please sign in to comment.