Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавлена новая негативная особка #13757

Closed
wants to merge 13 commits into from
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(
"л" = "р",
)
Comment on lines +326 to +335
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем это языком делать?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Потому что копипаст, как эт можно иначе сделать?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

трейтом


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

Expand Down
Loading