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

Кухня РП (Огузки прилагаются) #102

Merged
merged 7 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code/modules/vending/wardrobes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@
/obj/item/circuitboard/machine/dish_drive = 1,
/obj/item/reagent_containers/cup/rag = 2,
/obj/item/radio/headset/headset_srv = 2,
/obj/item/clothing/under/artisan = 2, // MASSMETA ADITION (oguzok)
)
refill_canister = /obj/item/vending_refill/wardrobe/chef_wardrobe
payment_department = ACCOUNT_SRV
Expand Down
27 changes: 27 additions & 0 deletions massmeta/code/modules/clothing/masks/moustache_ru.dm
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
7 changes: 7 additions & 0 deletions massmeta/code/modules/clothing/under/undersuit.dm
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 added massmeta/icons/mob/clothing/uniform.dmi
Binary file not shown.
Binary file added massmeta/icons/obj/clothing/uniforms.dmi
Binary file not shown.
5 changes: 5 additions & 0 deletions massmeta/includes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
#include "code\modules\client\preferences\pride_pin.dm"
#include "code\datums\quirks\neutral_quirks\pride_pin.dm"


//oguzok in kitchen, huh?
#include "code\modules\clothing\under\undersuit.dm"
#include "code\modules\clothing\masks\moustache_ru.dm"

//kvass
#include "code\modules\cargo\exports\large_objects.dm"
#include "code\modules\cargo\packs\materials.dm"
Expand Down
91 changes: 91 additions & 0 deletions strings/massmeta/italian_replacement_ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{

"italian": {
"ассистент": [
"дармоед",
"холоп"
],
"ассистенты": [
"дармоеды",
"холопы"
],
"ассистентская": "притон дармоедов",
"ассистентской": "притоне дармоедов",
"ассистос": [
"дармоед",
"холоп"
],
"ассистосы": [
"дармоеды",
"холопы"
],
"говно": "дерьмо",
"генка": "криворукий",
"генки": "криворукие",
"генокрад": "криворукий",
"генокрады": "криворукие",
"говнокрад": "криворукий",
"говнокрады": "криворукие",
"грейтайд": "набег олухов",
"грейтайдер": "олух",
"грейтайдеры": "толпы олухов",
"досвидания": "пошёл вон",
"досвидос": "пошёл вон",
"друг": "дружище",
"заебись": "дерьмо",
"замечательно": "дерьмово",
"зашибись": "дерьмово",
"кайф": "дерьмо",
"капитан": "актёр",
"кул": "дерьмо",
"линг": "криворукий",
"линги": "криворукие",
"норм": "дерьмово",
"нормально": "дерьмово",
"нюк": "огрызок",
"нюкер": "огрызок",
"нюкеры": "огрызки",
"омлет": "омле-е-е-ет",
"оперативник": "огрызок",
"оперативники": "огрызки",
"отлично": "дерьмово",
"офигенно": "дерьмово",
"офицер": "калека",
"офицеры": "калеки",
"охуенно": "дерьмово",
"плохо": "дерьмово",
"плохой": "дерьмовый",
"повар": "огузок",
"повара": "огузки",
"поварам": "огузкам",
"поварами": "огузками",
"повару": "огузку",
"поваром": "огузком",
"пока": "пошёл вон",
"покеда": "пошёл вон",
"предатели": "иуды",
"предатель": "иуда",
"прощай": "пошёл вон",
"сб": "калека",
"сбшник": "калека",
"сбшники": "калеки",
"тайдер": "олух",
"тайдеры": "олухи",
"татор": "иуда",
"таторы": "иуды",
"татар": "иуда",
"татары": "иуды",
"трейтор": "иуда",
"трейторы": "иуды",
"тот": "иуда",
"ужасно": "дерьмово",
"хорошо": "дерьмово",
"хороший": "дерьмовый",
"хуйня": "дерьмо",
"чил": "дерьмо",
"щитсек": "инвалид",
"щитсеки": "инвалиды",
}


}
Loading