forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from Artemchik542/oguzok
Кухня РП (Огузки прилагаются)
- Loading branch information
Showing
7 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/obj/item/clothing/mask/fakemoustache/italian/handle_speech(datum/source, list/speech_args) | ||
var/message = speech_args[SPEECH_MESSAGE] | ||
if(message[1] != "*") | ||
var/static/regex/words = new(@"(?<![a-zA-Zа-яёА-ЯЁ])[a-zA-Zа-яёА-ЯЁ]+?(?![a-zA-Zа-яёА-ЯЁ])", "g") | ||
message = replacetext(message, words, GLOBAL_PROC_REF(italian_moustache_words_replace_ru)) | ||
|
||
speech_args[SPEECH_MESSAGE] = trim(message) | ||
|
||
/proc/italian_moustache_words_replace_ru(word) | ||
var/static/list/italian_words | ||
if(!italian_words) | ||
italian_words = strings("massmeta/italian_replacement_ru.json", "italian") | ||
|
||
var/match = italian_words[lowertext(word)] | ||
if(!match) | ||
return word | ||
|
||
if(islist(match)) | ||
match = pick(match) | ||
|
||
if(word == uppertext(word)) | ||
return uppertext(match) | ||
|
||
if(word == capitalize(word)) | ||
return capitalize(match) | ||
|
||
return match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/obj/item/clothing/under/artisan | ||
name = "culinary artisan's uniform" | ||
desc = "For the chef who knows what their doing and cooks with ethically sourced monkey meat" | ||
icon = 'massmeta/icons/obj/clothing/uniforms.dmi' | ||
worn_icon = 'massmeta/icons/mob/clothing/uniform.dmi' | ||
icon_state = "artisan" | ||
can_adjust = FALSE |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
|
||
"italian": { | ||
"ассистент": [ | ||
"дармоед", | ||
"холоп" | ||
], | ||
"ассистенты": [ | ||
"дармоеды", | ||
"холопы" | ||
], | ||
"ассистентская": "притон дармоедов", | ||
"ассистентской": "притоне дармоедов", | ||
"ассистос": [ | ||
"дармоед", | ||
"холоп" | ||
], | ||
"ассистосы": [ | ||
"дармоеды", | ||
"холопы" | ||
], | ||
"говно": "дерьмо", | ||
"генка": "криворукий", | ||
"генки": "криворукие", | ||
"генокрад": "криворукий", | ||
"генокрады": "криворукие", | ||
"говнокрад": "криворукий", | ||
"говнокрады": "криворукие", | ||
"грейтайд": "набег олухов", | ||
"грейтайдер": "олух", | ||
"грейтайдеры": "толпы олухов", | ||
"досвидания": "пошёл вон", | ||
"досвидос": "пошёл вон", | ||
"друг": "дружище", | ||
"заебись": "дерьмо", | ||
"замечательно": "дерьмово", | ||
"зашибись": "дерьмово", | ||
"кайф": "дерьмо", | ||
"капитан": "актёр", | ||
"кул": "дерьмо", | ||
"линг": "криворукий", | ||
"линги": "криворукие", | ||
"норм": "дерьмово", | ||
"нормально": "дерьмово", | ||
"нюк": "огрызок", | ||
"нюкер": "огрызок", | ||
"нюкеры": "огрызки", | ||
"омлет": "омле-е-е-ет", | ||
"оперативник": "огрызок", | ||
"оперативники": "огрызки", | ||
"отлично": "дерьмово", | ||
"офигенно": "дерьмово", | ||
"офицер": "калека", | ||
"офицеры": "калеки", | ||
"охуенно": "дерьмово", | ||
"плохо": "дерьмово", | ||
"плохой": "дерьмовый", | ||
"повар": "огузок", | ||
"повара": "огузки", | ||
"поварам": "огузкам", | ||
"поварами": "огузками", | ||
"повару": "огузку", | ||
"поваром": "огузком", | ||
"пока": "пошёл вон", | ||
"покеда": "пошёл вон", | ||
"предатели": "иуды", | ||
"предатель": "иуда", | ||
"прощай": "пошёл вон", | ||
"сб": "калека", | ||
"сбшник": "калека", | ||
"сбшники": "калеки", | ||
"тайдер": "олух", | ||
"тайдеры": "олухи", | ||
"татор": "иуда", | ||
"таторы": "иуды", | ||
"татар": "иуда", | ||
"татары": "иуды", | ||
"трейтор": "иуда", | ||
"трейторы": "иуды", | ||
"тот": "иуда", | ||
"ужасно": "дерьмово", | ||
"хорошо": "дерьмово", | ||
"хороший": "дерьмовый", | ||
"хуйня": "дерьмо", | ||
"чил": "дерьмо", | ||
"щитсек": "инвалид", | ||
"щитсеки": "инвалиды", | ||
} | ||
|
||
|
||
} |