From eae19ff8769387d4e3ace11d35e6d7bf238b8021 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Sun, 6 Oct 2024 23:24:08 +0300 Subject: [PATCH 1/4] translate bodyparts --- code/__HELPERS/mobs.dm | 8 ++- .../translations/_translations.dme | 1 + .../translations/code/bodyparts.dm | 60 +++++++++++++++++++ 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 modular_bandastation/translations/code/bodyparts.dm diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index 867f6f9e7649d..0d69d0b0ca47e 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -599,10 +599,14 @@ GLOBAL_LIST_INIT(skin_tone_names, list( return mob /// Returns a string for the specified body zone. If we have a bodypart in this zone, refers to its plaintext_zone instead. -/mob/living/proc/parse_zone_with_bodypart(zone) +/mob/living/proc/parse_zone_with_bodypart(zone, declent = NOMINATIVE) // BANDASTATION EDIT - Declents var/obj/item/bodypart/part = get_bodypart(zone) - return part?.plaintext_zone || parse_zone(zone) + // BANDASTATION EDIT START - Declents + if(part?.ru_plaintext_zone[declent]) + return part.ru_plaintext_zone[declent] + return ru_parse_zone(zone, declent) + // BANDASTATION EDIT END ///Return a string for the specified body zone. Should be used for parsing non-instantiated bodyparts, otherwise use [/obj/item/bodypart/var/plaintext_zone] /proc/parse_zone(zone) diff --git a/modular_bandastation/translations/_translations.dme b/modular_bandastation/translations/_translations.dme index 4a8d86a7f2157..5dc552780ca5f 100644 --- a/modular_bandastation/translations/_translations.dme +++ b/modular_bandastation/translations/_translations.dme @@ -1,5 +1,6 @@ #include "_translations.dm" +#include "code/bodyparts.dm" #include "code/moustache.dm" #include "code/pronouns.dm" #include "code/restaurant_customer.dm" diff --git a/modular_bandastation/translations/code/bodyparts.dm b/modular_bandastation/translations/code/bodyparts.dm new file mode 100644 index 0000000000000..67cc2cdb71c5c --- /dev/null +++ b/modular_bandastation/translations/code/bodyparts.dm @@ -0,0 +1,60 @@ +// Code for handling declents for bodyparts + +/obj/item/bodypart + var/list/ru_plaintext_zone + +/obj/item/bodypart/head + ru_plaintext_zone = RU_NAMES_LIST_INIT("head", "голова", "головы", "голове", "голову", "головой", "голове") + +/obj/item/bodypart/chest + ru_plaintext_zone = RU_NAMES_LIST_INIT("chest", "грудь", "груди", "груди", "грудь", "грудью", "груди") + +/obj/item/bodypart/arm/left + ru_plaintext_zone = RU_NAMES_LIST_INIT("left arm", "левая рука", "левой руки", "левой руке", "левую руку", "левой рукой", "левой руке") + +/obj/item/bodypart/arm/right + ru_plaintext_zone = RU_NAMES_LIST_INIT("right arm", "правая рука", "правой руки", "правой руке", "правую руку", "правой рукой", "правой руке") + +/obj/item/bodypart/leg/left + ru_plaintext_zone = RU_NAMES_LIST_INIT("left leg", "левая нога", "левой ноги", "левой ноге", "левую ногу", "левой ногой", "левой ноге") + +/obj/item/bodypart/leg/right + ru_plaintext_zone = RU_NAMES_LIST_INIT("right leg", "правая нога", "правой ноги", "правой ноге", "правую ногу", "правой ногой", "правой ноге") + +/proc/ru_parse_zone(zone, declent = NOMINATIVE) + var/static/list/chest = RU_NAMES_LIST_INIT("chest", "грудь", "груди", "груди", "грудь", "грудью", "груди") + var/static/list/head = RU_NAMES_LIST_INIT("head", "голова", "головы", "голове", "голову", "головой", "голове") + var/static/list/right_hand = RU_NAMES_LIST_INIT("right hand", "правое запястье", "правого запястья", "правому запястью", "правое запястье", "правым запястьем", "правом запястье") + var/static/list/left_hand = RU_NAMES_LIST_INIT("left hand", "левое запястье", "левое запястье", "левой руке", "левую руку", "левой рукой", "левой руке") + var/static/list/left_arm = RU_NAMES_LIST_INIT("left arm", "левая рука", "левой руки", "левой руке", "левую руку", "левой рукой", "левой руке") + var/static/list/right_arm = RU_NAMES_LIST_INIT("right arm", "правая рука", "правой руки", "правой руке", "правую руку", "правой рукой", "правой руке") + var/static/list/left_leg = RU_NAMES_LIST_INIT("left leg", "левая нога", "левой ноги", "левой ноге", "левую ногу", "левой ногой", "левой ноге") + var/static/list/right_leg = RU_NAMES_LIST_INIT("right leg", "правая нога", "правой ноги", "правой ноге", "правую ногу", "правой ногой", "правой ноге") + var/static/list/left_foot = RU_NAMES_LIST_INIT("left leg", "левая стопа", "левой стопы", "левой стопе", "левую стопу", "левой стопой", "левой стопе") + var/static/list/right_foot = RU_NAMES_LIST_INIT("left leg", "правая стопа", "правой стопы", "правой стопе", "правую стопу", "правой стопой", "правой стопе") + var/static/list/groin = RU_NAMES_LIST_INIT("groin", "пах", "паха", "паху", "пах", "пахом", "пахе") + switch(zone) + if(BODY_ZONE_CHEST) + return chest[declent] + if(BODY_ZONE_HEAD) + return head[declent] + if(BODY_ZONE_PRECISE_R_HAND) + return right_hand[declent] + if(BODY_ZONE_PRECISE_L_HAND) + return left_hand[declent] + if(BODY_ZONE_L_ARM) + return left_arm[declent] + if(BODY_ZONE_R_ARM) + return right_arm[declent] + if(BODY_ZONE_L_LEG) + return left_leg[declent] + if(BODY_ZONE_R_LEG) + return right_leg[declent] + if(BODY_ZONE_PRECISE_L_FOOT) + return left_foot[declent] + if(BODY_ZONE_PRECISE_R_FOOT) + return right_foot[declent] + if(BODY_ZONE_PRECISE_GROIN) + return groin[declent] + else + return zone From 762006b5519a3e2f2f0e00a0e9067ca71d7a516d Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Mon, 7 Oct 2024 00:01:30 +0300 Subject: [PATCH 2/4] SURGERY --- code/datums/components/surgery_initiator.dm | 20 ++--- code/modules/surgery/amputation.dm | 16 ++-- code/modules/surgery/bone_mending.dm | 54 ++++++------- code/modules/surgery/burn_dressing.dm | 40 +++++----- code/modules/surgery/cavity_implant.dm | 32 ++++---- code/modules/surgery/dental_implant.dm | 14 ++-- code/modules/surgery/implant_removal.dm | 22 +++--- code/modules/surgery/limb_augmentation.dm | 28 +++---- code/modules/surgery/lipoplasty.dm | 10 +-- code/modules/surgery/mechanic_steps.dm | 48 ++++++------ code/modules/surgery/organ_manipulation.dm | 44 +++++------ code/modules/surgery/organic_steps.dm | 76 +++++++++---------- code/modules/surgery/plastic_surgery.dm | 8 +- .../modules/surgery/prosthetic_replacement.dm | 24 +++--- code/modules/surgery/repair_puncture.dm | 42 +++++----- code/modules/surgery/surgery_step.dm | 2 +- 16 files changed, 240 insertions(+), 240 deletions(-) diff --git a/code/datums/components/surgery_initiator.dm b/code/datums/components/surgery_initiator.dm index 1ac4bd805ecee..e531c26968e92 100644 --- a/code/datums/components/surgery_initiator.dm +++ b/code/datums/components/surgery_initiator.dm @@ -119,11 +119,11 @@ patient.surgeries -= the_surgery REMOVE_TRAIT(patient, TRAIT_ALLOWED_HONORBOUND_ATTACK, type) user.visible_message( - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] снимает [parent.declent_ru(ACCUSATIVE)] с [patient.parse_zone_with_bodypart(selected_zone)] у [patient.declent_ru(GENITIVE)]."), - span_notice("Вы снимаете [parent.declent_ru(ACCUSATIVE)] с [patient.parse_zone_with_bodypart(selected_zone)] у [patient.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] снимает [parent.declent_ru(ACCUSATIVE)] с [patient.parse_zone_with_bodypart(selected_zone, declent = GENITIVE)] у [patient.declent_ru(GENITIVE)]."), + span_notice("Вы снимаете [parent.declent_ru(ACCUSATIVE)] с [patient.parse_zone_with_bodypart(selected_zone, declent = GENITIVE)] у [patient.declent_ru(GENITIVE)]."), ) - patient.balloon_alert(user, "прекращение работы над [patient.parse_zone_with_bodypart(selected_zone)]") + patient.balloon_alert(user, "прекращение работы над [patient.parse_zone_with_bodypart(selected_zone, declent = INSTRUMENTAL)]") qdel(the_surgery) return @@ -145,11 +145,11 @@ REMOVE_TRAIT(patient, TRAIT_ALLOWED_HONORBOUND_ATTACK, ELEMENT_TRAIT(type)) user.visible_message( - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] закрывает [patient.parse_zone_with_bodypart(selected_zone)] у [patient.declent_ru(GENITIVE)], используя [close_tool.declent_ru(ACCUSATIVE)] и снимая [parent.declent_ru(ACCUSATIVE)]."), - span_notice("Вы закрываете [patient.parse_zone_with_bodypart(selected_zone)] у [patient.declent_ru(GENITIVE)], используя [close_tool.declent_ru(ACCUSATIVE)] и снимая [parent.declent_ru(ACCUSATIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] закрывает [patient.parse_zone_with_bodypart(selected_zone)] у [patient.declent_ru(GENITIVE)], используя [close_tool.declent_ru(ACCUSATIVE)] и снимая [parent.declent_ru(ACCUSATIVE)]."), + span_notice("Вы закрываете [patient.parse_zone_with_bodypart(selected_zone)] у [patient.declent_ru(GENITIVE)], используя [close_tool.declent_ru(ACCUSATIVE)] и снимая [parent.declent_ru(ACCUSATIVE)]."), ) - patient.balloon_alert(user, "закрытие [patient.parse_zone_with_bodypart(selected_zone)]") + patient.balloon_alert(user, "закрытие [patient.parse_zone_with_bodypart(selected_zone, declent = GENITIVE)]") qdel(the_surgery) @@ -281,7 +281,7 @@ var/obj/item/bodypart/affecting_limb = target.get_bodypart(check_zone(selected_zone)) if ((surgery.surgery_flags & SURGERY_REQUIRE_LIMB) && isnull(affecting_limb)) - target.balloon_alert(user, "у пациента нет [parse_zone(selected_zone)]!") + target.balloon_alert(user, "у пациента нет [ru_parse_zone(selected_zone, declent = GENITIVE)]!") return if (!isnull(affecting_limb)) @@ -301,7 +301,7 @@ return if (surgery_needs_exposure(surgery, target)) - target.balloon_alert(user, "раскройте у них [target.parse_zone_with_bodypart(selected_zone)]!") + target.balloon_alert(user, "раскройте у них [target.parse_zone_with_bodypart(selected_zone, declent = ACCUSATIVE)]!") return ui_close() @@ -312,8 +312,8 @@ target.balloon_alert(user, "начинается \"[LOWER_TEXT(procedure.name)]\"") user.visible_message( - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] накидывает [parent.declent_ru(ACCUSATIVE)] на [target.parse_zone_with_bodypart(selected_zone)] у [target.declent_ru(GENITIVE)] для подготовки к операции."), - span_notice("Вы накидываете [parent.declent_ru(ACCUSATIVE)] на [target.parse_zone_with_bodypart(selected_zone)] у [target.declent_ru(GENITIVE)] для подготовки к [procedure.name]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] накидывает [parent.declent_ru(ACCUSATIVE)] на [target.parse_zone_with_bodypart(selected_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] для подготовки к операции."), + span_notice("Вы накидываете [parent.declent_ru(ACCUSATIVE)] на [target.parse_zone_with_bodypart(selected_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] для подготовки к [procedure.name]."), ) log_combat(user, target, "operated on", null, "(OPERATION TYPE: [procedure.name]) (TARGET AREA: [selected_zone])") diff --git a/code/modules/surgery/amputation.dm b/code/modules/surgery/amputation.dm index 2e7346a17b76b..49e42a78319c9 100644 --- a/code/modules/surgery/amputation.dm +++ b/code/modules/surgery/amputation.dm @@ -86,22 +86,22 @@ display_results( user, target, - span_notice("Вы начинаете отрезать [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы начинаете отрезать [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "Вы чувствуете жуткую боль в [parse_zone(target_zone)]!") + display_pain(target, "Вы чувствуете жуткую боль в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)]!") /datum/surgery_step/sever_limb/success(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) display_results( user, target, - span_notice("Вы отрезали [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] отрезал [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] отрезал [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы отрезали [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] отрезал [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] отрезал [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "Вы больше не чувствуете [target.parse_zone_with_bodypart(target_zone)] у себя!") + display_pain(target, "Вы больше не чувствуете [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у себя!") if(HAS_MIND_TRAIT(user, TRAIT_MORBID) && ishuman(user)) var/mob/living/carbon/human/morbid_weirdo = user diff --git a/code/modules/surgery/bone_mending.dm b/code/modules/surgery/bone_mending.dm index ccd103c0d8b86..d30ed0c27cc64 100644 --- a/code/modules/surgery/bone_mending.dm +++ b/code/modules/surgery/bone_mending.dm @@ -60,13 +60,13 @@ display_results( user, target, - span_notice("Вы приступаете к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы приступаете к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "[capitalize(target.parse_zone_with_bodypart(user.zone_selected))] у вас испытывает сильную боль!") + display_pain(target, "[capitalize(target.parse_zone_with_bodypart(user.zone_selected))] у вас испытывает сильную боль!") else - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]...")) /datum/surgery_step/repair_bone_hairline/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) if(surgery.operated_wound) @@ -76,9 +76,9 @@ display_results( user, target, - span_notice("Вы успешно устранили перелом в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно устранили перелом в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "repaired a hairline fracture in", addition="COMBAT_MODE: [uppertext(user.combat_mode)]") qdel(surgery.operated_wound) @@ -109,13 +109,13 @@ display_results( user, target, - span_notice("Вы начинаете восстанавливать кость в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать кость в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать кость в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете восстанавливать кость в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать кость в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать кость в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Острая боль в [target.parse_zone_with_bodypart(user.zone_selected)] просто невыносима!") + display_pain(target, "Острая боль в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] просто невыносима!") else - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]...")) /datum/surgery_step/reset_compound_fracture/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) if(surgery.operated_wound) @@ -125,9 +125,9 @@ display_results( user, target, - span_notice("Вы успешно восстановили кость в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил кость в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил кость в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно восстановили кость в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил кость в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил кость в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "reset a compound fracture in", addition="COMBAT MODE: [uppertext(user.combat_mode)]") else @@ -159,13 +159,13 @@ display_results( user, target, - span_notice("Вы приступаете к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы приступаете к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] приступает к устранению перелома в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Острая боль в [target.parse_zone_with_bodypart(user.zone_selected)] просто невыносима!") + display_pain(target, "Острая боль в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] просто невыносима!") else - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]...")) /datum/surgery_step/repair_bone_compound/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) if(surgery.operated_wound) @@ -175,9 +175,9 @@ display_results( user, target, - span_notice("Вы успешно устранили перелом в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно устранили перелом в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно устранил перелом в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "repaired a compound fracture in", addition="COMBAT_MODE: [uppertext(user.combat_mode)]") qdel(surgery.operated_wound) @@ -218,9 +218,9 @@ display_results( user, target, - span_notice("Вы начинаете избавляться от мелких обломков черепа в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает избавляться от мелких обломков черепа в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает копошиться в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), + span_notice("Вы начинаете избавляться от мелких обломков черепа в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает избавляться от мелких обломков черепа в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает копошиться в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), ) display_pain(target, "Ваш мозг словно пронзают мелкие осколки стекла!") diff --git a/code/modules/surgery/burn_dressing.dm b/code/modules/surgery/burn_dressing.dm index 8064ea79f363f..1e58dd95c6e37 100644 --- a/code/modules/surgery/burn_dressing.dm +++ b/code/modules/surgery/burn_dressing.dm @@ -73,20 +73,20 @@ if(surgery.operated_wound) var/datum/wound/burn/flesh/burn_wound = surgery.operated_wound if(burn_wound.infestation <= 0) - to_chat(user, span_notice("У [target] в [target.parse_zone_with_bodypart(user.zone_selected)] нет зараженной плоти, которую нужно удалить!")) + to_chat(user, span_notice("У [target] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] нет зараженной плоти, которую нужно удалить!")) surgery.status++ repeatable = FALSE return display_results( user, target, - span_notice("Вы начинаете удалять зараженную плоть из [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает удалять зараженную плоть из [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает удалять зараженную плоть из [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете удалять зараженную плоть из [target.parse_zone_with_bodypart(user.zone_selected, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает удалять зараженную плоть из [target.parse_zone_with_bodypart(user.zone_selected, declent = GENITIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает удалять зараженную плоть из [target.parse_zone_with_bodypart(user.zone_selected, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Инфекция в вашей [target.parse_zone_with_bodypart(user.zone_selected)] адски зудит! Такое ощущение, что тебя режут ножом!") + display_pain(target, "Инфекция в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у вас адски зудит! Такое ощущение, что тебя режут ножом!") else - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), span_notice("Вы ищете [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), span_notice("Вы ищете [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]...")) /datum/surgery_step/debride/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) var/datum/wound/burn/flesh/burn_wound = surgery.operated_wound @@ -95,9 +95,9 @@ display_results( user, target, - span_notice("Вы успешно удалили часть зараженной плоти из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)][progress_text]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно удалил часть зараженной плоти из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно удалил часть зараженной плоти из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно удалили часть зараженной плоти из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)][progress_text]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно удалил часть зараженной плоти из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно удалил часть зараженной плоти из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "excised infected flesh in", addition="COMBAT MODE: [uppertext(user.combat_mode)]") surgery.operated_bodypart.receive_damage(brute=3, wound_bonus=CANT_WOUND) @@ -114,9 +114,9 @@ display_results( user, target, - span_notice("Вы срезаете часть здоровой плоти из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] срезает часть здоровой плоти из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] срезает часть здоровой плоти из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы срезаете часть здоровой плоти из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] срезает часть здоровой плоти из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] срезает часть здоровой плоти из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), ) surgery.operated_bodypart.receive_damage(brute=rand(4,8), sharpness=TRUE) @@ -147,13 +147,13 @@ display_results( user, target, - span_notice("Вы начинаете обрабатывать ожоги на [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать ожоги на [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать ожоги на [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете обрабатывать ожоги на [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать ожоги на [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать ожоги на [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Ожоги в [target.parse_zone_with_bodypart(user.zone_selected)] адски зудят!") + display_pain(target, "Ожоги в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] адски зудят!") else - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] ...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)]."), span_notice("Вы ищете [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] ...")) /datum/surgery_step/dress/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) var/datum/wound/burn/flesh/burn_wound = surgery.operated_wound @@ -161,9 +161,9 @@ display_results( user, target, - span_notice("Вы успешно перевязываете [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно перевязывает [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно перевязывает [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно перевязываете [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно перевязывает [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно перевязывает [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "dressed burns in", addition="COMBAT MODE: [uppertext(user.combat_mode)]") burn_wound.sanitization += sanitization_added diff --git a/code/modules/surgery/cavity_implant.dm b/code/modules/surgery/cavity_implant.dm index c736832fc831a..64d93df0dfdf1 100644 --- a/code/modules/surgery/cavity_implant.dm +++ b/code/modules/surgery/cavity_implant.dm @@ -34,33 +34,33 @@ GLOBAL_LIST_INIT(heavy_cavity_implants, typecacheof(list(/obj/item/transfer_valv display_results( user, target, - span_notice("Вы начинаете вставлять [tool.declent_ru(ACCUSATIVE)] в [target_zone] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.w_class > WEIGHT_CLASS_SMALL ? tool.declent_ru(ACCUSATIVE) : "что-то"] в [target_zone] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете вставлять [tool.declent_ru(ACCUSATIVE)] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.w_class > WEIGHT_CLASS_SMALL ? tool.declent_ru(ACCUSATIVE) : "что-то"] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете, как что-то вставляют в ваш [target_zone], это чертовски больно!") + display_pain(target, "Вы чувствуете, как что-то вставляют в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у вас, это чертовски больно!") else display_results( user, target, - span_notice("Вы проверяете на наличие предметов в [target_zone] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] проверяет на наличие предметов в [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет что-то в [target_zone] [target.declent_ru(GENITIVE)]."), + span_notice("Вы проверяете на наличие предметов в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] проверяет на наличие предметов в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет что-то в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] [target.declent_ru(PREPOSITIONAL)]."), ) /datum/surgery_step/handle_cavity/success(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery = FALSE) var/obj/item/bodypart/chest/target_chest = target.get_bodypart(BODY_ZONE_CHEST) if(tool) if(item_for_cavity || ((tool.w_class > WEIGHT_CLASS_NORMAL) && !is_type_in_typecache(tool, GLOB.heavy_cavity_implants)) || HAS_TRAIT(tool, TRAIT_NODROP) || isorgan(tool)) - to_chat(user, span_warning("Кажется, вы не можете поместить [tool.declent_ru(ACCUSATIVE)] в [target_zone] у [target.declent_ru(GENITIVE)]!")) + to_chat(user, span_warning("Кажется, вы не можете поместить [tool.declent_ru(ACCUSATIVE)] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!")) return FALSE else display_results( user, target, - span_notice("Вы помещаете [tool.declent_ru(ACCUSATIVE)] в [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] помещает [tool.declent_ru(ACCUSATIVE)] в [target_zone] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] помещает [tool.w_class > WEIGHT_CLASS_SMALL ? tool.declent_ru(ACCUSATIVE) : "что-то"] в [target_zone] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы помещаете [tool.declent_ru(ACCUSATIVE)] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] помещает [tool.declent_ru(ACCUSATIVE)] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] помещает [tool.w_class > WEIGHT_CLASS_SMALL ? tool.declent_ru(ACCUSATIVE) : "что-то"] в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), ) user.transferItemToLoc(tool, target, TRUE) target_chest.cavity_item = tool @@ -70,14 +70,14 @@ GLOBAL_LIST_INIT(heavy_cavity_implants, typecacheof(list(/obj/item/transfer_valv display_results( user, target, - span_notice("Вы вытягиваете [item_for_cavity.declent_ru(ACCUSATIVE)] из [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вытягивает [item_for_cavity.declent_ru(ACCUSATIVE)] из [target_zone] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вытягивает [item_for_cavity.w_class > WEIGHT_CLASS_SMALL ? item_for_cavity.declent_ru(ACCUSATIVE) : "что-то"] из [target_zone] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы вытягиваете [item_for_cavity.declent_ru(ACCUSATIVE)] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вытягивает [item_for_cavity.declent_ru(ACCUSATIVE)] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вытягивает [item_for_cavity.w_class > WEIGHT_CLASS_SMALL ? item_for_cavity.declent_ru(ACCUSATIVE) : "что-то"] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Что-то вытащили из вашей [target_zone]! Это чертовски больно!") + display_pain(target, "Что-то вытащили из [ru_parse_zone(target_zone, declent = GENITIVE)] у вас! Это чертовски больно!") user.put_in_hands(item_for_cavity) target_chest.cavity_item = null return ..() else - to_chat(user, span_warning("Вы не нашли ничего в [target_zone] у [target.declent_ru(GENITIVE)].")) + to_chat(user, span_warning("Вы не нашли ничего в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)].")) return FALSE diff --git a/code/modules/surgery/dental_implant.dm b/code/modules/surgery/dental_implant.dm index e001703fe012d..1ce18288b7514 100644 --- a/code/modules/surgery/dental_implant.dm +++ b/code/modules/surgery/dental_implant.dm @@ -38,11 +38,11 @@ display_results( user, target, - span_notice("Вы начинаете вставлять [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять что-то в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете вставлять [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять что-то в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Что-то засовывают вам в [target.parse_zone_with_bodypart(target_zone)]!") + display_pain(target, "Что-то засовывают вам в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)]!") /datum/surgery_step/insert_pill/success(mob/user, mob/living/carbon/target, target_zone, obj/item/reagent_containers/pill/tool, datum/surgery/surgery, default_display_results = FALSE) if(!istype(tool)) @@ -60,9 +60,9 @@ display_results( user, target, - span_notice("Вы вставили [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставил [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставил что-то в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы вставили [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставил [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставил что-то в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) return ..() diff --git a/code/modules/surgery/implant_removal.dm b/code/modules/surgery/implant_removal.dm index a275eb3fb3b6e..181dc09e61409 100644 --- a/code/modules/surgery/implant_removal.dm +++ b/code/modules/surgery/implant_removal.dm @@ -30,18 +30,18 @@ display_results( user, target, - span_notice("Вы начинаете извлекать [implant.declent_ru(ACCUSATIVE)] из [target_zone] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать [implant.declent_ru(ACCUSATIVE)] из [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает что-то извлекать из [target_zone] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете извлекать [implant.declent_ru(ACCUSATIVE)] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать [implant.declent_ru(ACCUSATIVE)] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает что-то извлекать из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чуствуете острую боль в [target_zone]!") + display_pain(target, "Вы чуствуете острую боль в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)]!") else display_results( user, target, - span_notice("Вы ищете имплант в [target_zone] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет имплант в [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет что-то в [target_zone] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы ищете имплант в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет имплант в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет что-то в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) /datum/surgery_step/extract_implant/success(mob/user, mob/living/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) @@ -49,9 +49,9 @@ display_results( user, target, - span_notice("Вы успешно извлекли [implant.declent_ru(ACCUSATIVE)] из [target_zone] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек [implant.declent_ru(ACCUSATIVE)] из [target_zone] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек что-то из [target_zone] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно извлекли [implant.declent_ru(ACCUSATIVE)] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек [implant.declent_ru(ACCUSATIVE)] из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек что-то из [ru_parse_zone(target_zone, GENITIVE)] у [target.declent_ru(GENITIVE)]!"), ) display_pain(target, "Вы чувствуете, как [implant.declent_ru(ACCUSATIVE)] извлекли из вас!") implant.removed(target) @@ -80,7 +80,7 @@ qdel(implant) else - to_chat(user, span_warning("Вы не можете найти ничего в [target_zone] у [target.declent_ru(GENITIVE)]!")) + to_chat(user, span_warning("Вы не можете найти ничего в [ru_parse_zone(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!")) return ..() /datum/surgery/implant_removal/mechanic diff --git a/code/modules/surgery/limb_augmentation.dm b/code/modules/surgery/limb_augmentation.dm index 9d5887bcb6573..83002c9fefd50 100644 --- a/code/modules/surgery/limb_augmentation.dm +++ b/code/modules/surgery/limb_augmentation.dm @@ -24,20 +24,20 @@ to_chat(user, span_warning("Это не аугментат, дурак!")) return SURGERY_STEP_FAIL if(aug.body_zone != target_zone) - to_chat(user, span_warning("Для [target.parse_zone_with_bodypart(target_zone)] не подходит [tool.declent_ru(NOMINATIVE)].")) + to_chat(user, span_warning("Для [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] не подходит [tool.declent_ru(NOMINATIVE)].")) return SURGERY_STEP_FAIL target_limb = surgery.operated_bodypart if(target_limb) display_results( user, target, - span_notice("Вы начинаете аугментировать [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает аугментировать [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] с помощью [aug.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает аугментировать [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете аугментировать [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает аугментировать [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] с помощью [aug.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает аугментировать [target.parse_zone_with_bodypart(user.zone_selected, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете ужасную боль в [target.parse_zone_with_bodypart(user.zone_selected)]!") + display_pain(target, "Вы чувствуете ужасную боль в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]!") else - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]...")) //ACTUAL SURGERIES @@ -74,9 +74,9 @@ display_results( user, target, - span_warning("Вы не смогли заменить [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]! Тело отвергает [tool.declent_ru(ACCUSATIVE)]!"), - span_warning("[capitalize(user.declent_ru(NOMINATIVE))] не смог заменить [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_warning("[capitalize(user.declent_ru(NOMINATIVE))] не смог заменить [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_warning("Вы не смогли заменить [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]! Тело отвергает [tool.declent_ru(ACCUSATIVE)]!"), + span_warning("[capitalize(user.declent_ru(NOMINATIVE))] не смог заменить [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_warning("[capitalize(user.declent_ru(NOMINATIVE))] не смог заменить [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) tool.forceMove(target.loc) return @@ -85,12 +85,12 @@ display_results( user, target, - span_notice("Вы успешно заменили [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменил [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменил [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно заменили [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменил [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменил [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "Ваш [target.parse_zone_with_bodypart(target_zone)] наполняется синтетическими ощущениями!", mechanical_surgery = TRUE) + display_pain(target, "[capitalize(target.parse_zone_with_bodypart(target_zone))] у вас наполняется синтетическими ощущениями!", mechanical_surgery = TRUE) log_combat(user, target, "augmented", addition="by giving him new [target.parse_zone_with_bodypart(target_zone)] COMBAT MODE: [uppertext(user.combat_mode)]") else - to_chat(user, span_warning("У [target.declent_ru(GENITIVE)] нет органической [target.parse_zone_with_bodypart(target_zone)] здесь!")) + to_chat(user, span_warning("У [target.declent_ru(GENITIVE)] нет здесь [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] из органики!")) return ..() diff --git a/code/modules/surgery/lipoplasty.dm b/code/modules/surgery/lipoplasty.dm index abac7f2fc8566..b16c63606a0c4 100644 --- a/code/modules/surgery/lipoplasty.dm +++ b/code/modules/surgery/lipoplasty.dm @@ -64,9 +64,9 @@ target, span_notice("Вы начинаете отрезать лишний жир у [target.declent_ru(GENITIVE)]..."), span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать лишний жир у [target.declent_ru(GENITIVE)]"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать у [target.declent_ru(GENITIVE)] [target_zone] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать что-то из [ru_parse_zone(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете резкую боль в вашей [target_zone]!") + display_pain(target, "Вы чувствуете резкую боль в [ru_parse_zone(target_zone, declent_ru = PREPOSITIONAL)] у вас!") /datum/surgery_step/cut_fat/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results) display_results( @@ -74,9 +74,9 @@ target, span_notice("Вы отрезали лишний жир у [target.declent_ru(GENITIVE)]."), span_notice("[capitalize(user.declent_ru(NOMINATIVE))] отрезал лишний жир у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает разрез на [target_zone] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает разрез на [ru_parse_zone(target_zone, declent_ru = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Жир в вашей [target_zone] ослабевает, свисает и болит, как черт знает что!") + display_pain(target, "Жир в [ru_parse_zone(target_zone, declent_ru = PREPOSITIONAL)] у вас ослабевает, свисает и болит, как черт знает что!") return TRUE //remove fat @@ -108,7 +108,7 @@ target, span_notice("Вы начинаете извлекать лишний жир у [target.declent_ru(GENITIVE)]..."), span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать лишний жир у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать что-то у [target.declent_ru(GENITIVE)] в [target_zone]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать что-то у [target.declent_ru(GENITIVE)] из [ru_parse_zone(target_zone, declent = PREPOSITIONAL)]."), ) display_pain(target, "Вы чувствуете странное безболезненное потягивание за лишний жир!") diff --git a/code/modules/surgery/mechanic_steps.dm b/code/modules/surgery/mechanic_steps.dm index 262b85a67062e..6ffc39f17983d 100644 --- a/code/modules/surgery/mechanic_steps.dm +++ b/code/modules/surgery/mechanic_steps.dm @@ -14,11 +14,11 @@ display_results( user, target, - span_notice("Вы начинаете откручивать корпус в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать корпус в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать корпус в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете откручивать корпус в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать корпус в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать корпус в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы ощущаете, как [target.parse_zone_with_bodypart(target_zone)] немеет по мере откручивания сенсорной панели.", TRUE) + display_pain(target, "Вы ощущаете, как [target.parse_zone_with_bodypart(target_zone)] немеет по мере откручивания сенсорной панели.", TRUE) /datum/surgery_step/mechanic_open/tool_check(mob/user, obj/item/tool) if(implement_type == /obj/item && !tool.get_sharpness()) @@ -44,11 +44,11 @@ display_results( user, target, - span_notice("Вы начинаете закручивать корпус в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать корпус в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать корпус в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете закручивать корпус в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать корпус в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать корпус в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы ощущаете, как начинаете получать показания датчиков из [target.parse_zone_with_bodypart(target_zone)], после того, как панель закрутили обратно.", TRUE) + display_pain(target, "Вы ощущаете, как начинаете получать показания датчиков из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)], после того, как панель закрутили обратно.", TRUE) /datum/surgery_step/mechanic_close/tool_check(mob/user, obj/item/tool) if(implement_type == /obj/item && !tool.get_sharpness()) @@ -72,11 +72,11 @@ display_results( user, target, - span_notice("Вы начинаете подготовку электроники в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает подготовку электроники в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает подготовку электроники в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете подготовку электроники в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает подготовку электроники в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает подготовку электроники в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете слабое жужжание в [target.parse_zone_with_bodypart(target_zone)], когда электроника перезагружается.", TRUE) + display_pain(target, "Вы чувствуете слабое жужжание в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)], когда электроника перезагружается.", TRUE) //unwrench /datum/surgery_step/mechanic_unwrench @@ -91,11 +91,11 @@ display_results( user, target, - span_notice("Вы начинаете откручивать болты в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать болты в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать болты в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете откручивать болты в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать болты в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает откручивать болты в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете вибрацию в [target.parse_zone_with_bodypart(target_zone)], когда болты начинают ослабевать.", TRUE) + display_pain(target, "Вы чувствуете вибрацию в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)], когда болты начинают ослабевать.", TRUE) /datum/surgery_step/mechanic_unwrench/tool_check(mob/user, obj/item/tool) if(tool.usesound) @@ -116,11 +116,11 @@ display_results( user, target, - span_notice("Вы начинаете закручивать болты в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать болты в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать болты в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете закручивать болты в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать болты в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает закручивать болты в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете вибрацию в [target.parse_zone_with_bodypart(target_zone)], когда болты начинают затягиваться.", TRUE) + display_pain(target, "Вы чувствуете вибрацию в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)], когда болты начинают затягиваться.", TRUE) /datum/surgery_step/mechanic_wrench/tool_check(mob/user, obj/item/tool) if(tool.usesound) @@ -140,11 +140,11 @@ display_results( user, target, - span_notice("Вы начинаете открывать держатели люка в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает открывать держатели люка в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает открывать держатели люка в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете открывать держатели люка в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает открывать держатели люка в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает открывать держатели люка в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы получаете последние показания датчиков из вашей [target.parse_zone_with_bodypart(target_zone)], когда открывается люк.", TRUE) + display_pain(target, "Вы получаете последние показания датчиков из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у вас, когда открывается люк.", TRUE) /datum/surgery_step/open_hatch/tool_check(mob/user, obj/item/tool) if(tool.usesound) diff --git a/code/modules/surgery/organ_manipulation.dm b/code/modules/surgery/organ_manipulation.dm index ea3b23324621f..5277b5413c280 100644 --- a/code/modules/surgery/organ_manipulation.dm +++ b/code/modules/surgery/organ_manipulation.dm @@ -160,7 +160,7 @@ if(!isorgan(target_organ)) if (target_zone == BODY_ZONE_PRECISE_EYES) target_zone = check_zone(target_zone) - to_chat(user, span_warning("Вы не можете вставить [target_organ.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!")) + to_chat(user, span_warning("Вы не можете вставить [target_organ.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!")) return SURGERY_STEP_FAIL tool = target_organ if(isorgan(tool)) @@ -169,7 +169,7 @@ success_sound = 'sound/items/handling/surgery/organ2.ogg' target_organ = tool if(target_zone != target_organ.zone || target.get_organ_slot(target_organ.slot)) - to_chat(user, span_warning("Здесь нет места для [target_organ.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!")) + to_chat(user, span_warning("Здесь нет места для [target_organ.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!")) return SURGERY_STEP_FAIL var/obj/item/organ/meatslab = tool if(!meatslab.useable) @@ -184,11 +184,11 @@ display_results( user, target, - span_notice("Вы вставляете [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставляет [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставляет что-то в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы вставляете [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставляет [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вставляет что-то в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете, как что-то вставили в [target.parse_zone_with_bodypart(target_zone)] у вас!") + display_pain(target, "Вы чувствуете, как что-то вставили в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у вас!") else if(implement_type in implements_extract) @@ -201,7 +201,7 @@ if (target_zone == BODY_ZONE_PRECISE_EYES) target_zone = check_zone(target_zone) if(!length(organs)) - to_chat(user, span_warning("В [target.parse_zone_with_bodypart(target_zone)] нет органов, которые можно удалить у [target.declent_ru(GENITIVE)]!")) + to_chat(user, span_warning("в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] нет органов, которые можно удалить у [target.declent_ru(GENITIVE)]!")) return SURGERY_STEP_FAIL else for(var/obj/item/organ/organ in organs) @@ -234,11 +234,11 @@ display_results( user, target, - span_notice("Вы начинаете извлекать [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать что-то из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете извлекать [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает извлекать что-то из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете, как [target_organ.declent_ru(ACCUSATIVE)] извлекли из [target.parse_zone_with_bodypart(target_zone)] у вас!") + display_pain(target, "Вы чувствуете, как [target_organ.declent_ru(ACCUSATIVE)] извлекли из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у вас!") else return SURGERY_STEP_FAIL @@ -260,11 +260,11 @@ display_results( user, target, - span_notice("Вы установили [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] установил [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] установил что-то в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы установили [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] установил [tool.declent_ru(ACCUSATIVE)] в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] установил что-то в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "[capitalize(target.parse_zone_with_bodypart(target_zone))] у вас болит, пока [tool.declent_ru(NOMINATIVE)] приживается к телу!") + display_pain(target, "[capitalize(target.parse_zone_with_bodypart(target_zone))] у вас болит, пока [tool.declent_ru(NOMINATIVE)] приживается к телу!") target_organ.on_surgical_insertion(user, target, target_zone, tool) else if(current_type == "extract") @@ -272,11 +272,11 @@ display_results( user, target, - span_notice("Вы успешно извлекате [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек что-то из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно извлекате [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек [target_organ.declent_ru(ACCUSATIVE)] из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно извлек что-то из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "[capitalize(target.parse_zone_with_bodypart(target_zone))] у вас болит, вы больше не чувствуете [target_organ.declent_ru(ACCUSATIVE)]!") + display_pain(target, "[capitalize(target.parse_zone_with_bodypart(target_zone))] у вас болит, вы больше не чувствуете [target_organ.declent_ru(ACCUSATIVE)]!") log_combat(user, target, "surgically removed [target_organ.name] from", addition="COMBAT MODE: [uppertext(user.combat_mode)]") target_organ.Remove(target) target_organ.forceMove(get_turf(target)) @@ -285,9 +285,9 @@ display_results( user, target, - span_warning("Вы не можете ничего извлечь из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] похоже не может ничего извлечь из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] похоже не может ничего извлечь из [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_warning("Вы не можете ничего извлечь из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] похоже не может ничего извлечь из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] похоже не может ничего извлечь из [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)]!"), ) if(HAS_MIND_TRAIT(user, TRAIT_MORBID) && ishuman(user)) var/mob/living/carbon/human/morbid_weirdo = user diff --git a/code/modules/surgery/organic_steps.dm b/code/modules/surgery/organic_steps.dm index 35e0dc1d7c8cf..97eb0f4e8a3a6 100644 --- a/code/modules/surgery/organic_steps.dm +++ b/code/modules/surgery/organic_steps.dm @@ -17,11 +17,11 @@ display_results( user, target, - span_notice("Вы начинаете делать надрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает делать надрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает делать надрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете делать надрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает делать надрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает делать надрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете колющую боль в [target.parse_zone_with_bodypart(target_zone)].") + display_pain(target, "Вы чувствуете колющую боль в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)].") /datum/surgery_step/incise/tool_check(mob/user, obj/item/tool) if(implement_type == /obj/item && !tool.get_sharpness()) @@ -36,9 +36,9 @@ display_results( user, target, - span_notice("Вокруг [target.parse_zone_with_bodypart(target_zone)] у [human_target.declent_ru(GENITIVE)] образуется лужа крови."), - span_notice("Вокруг [target.parse_zone_with_bodypart(target_zone)] у [human_target.declent_ru(GENITIVE)] образуется лужа крови."), - span_notice("Вокруг [target.parse_zone_with_bodypart(target_zone)] у [human_target.declent_ru(GENITIVE)] образуется лужа крови."), + span_notice("Вокруг [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [human_target.declent_ru(GENITIVE)] образуется лужа крови."), + span_notice("Вокруг [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [human_target.declent_ru(GENITIVE)] образуется лужа крови."), + span_notice("Вокруг [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у [human_target.declent_ru(GENITIVE)] образуется лужа крови."), ) var/obj/item/bodypart/target_bodypart = target.get_bodypart(target_zone) if(target_bodypart) @@ -49,11 +49,11 @@ display_results( user, target, - span_notice("Вы начинаете осторожно делать надрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает осторожно делать надрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает осторожно делать надрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете осторожно делать надрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает осторожно делать надрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает осторожно делать надрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете осторожный колющий удар в [target.parse_zone_with_bodypart(target_zone)].") + display_pain(target, "Вы чувствуете осторожный колющий удар в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)].") //clamp bleeders /datum/surgery_step/clamp_bleeders @@ -70,11 +70,11 @@ display_results( user, target, - span_notice("Вы начинаете зажимать кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает зажимать кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает зажимать кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете зажимать кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает зажимать кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает зажимать кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете укол, послче чего кровотечение в вашей [target.parse_zone_with_bodypart(target_zone)] замедляется.") + display_pain(target, "Вы чувствуете укол, после чего кровотечение в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у вас замедляется.") /datum/surgery_step/clamp_bleeders/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results) if(locate(/datum/surgery_step/saw) in surgery.steps) @@ -102,11 +102,11 @@ display_results( user, target, - span_notice("Вы начинаете раздвигать кожу в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинаете раздвигать кожу в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинаете раздвигать кожу в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете раздвигать кожу в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинаете раздвигать кожу в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинаете раздвигать кожу в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете сильную жгучую боль, распространяющуюся по всей [target.parse_zone_with_bodypart(target_zone)], по мере того, как кожа возвращается в прежнее состояние!") + display_pain(target, "Вы чувствуете сильную жгучую боль, распространяющуюся везде по [target.parse_zone_with_bodypart(target_zone, declent = DATIVE)], по мере того, как кожа возвращается в прежнее состояние!") //close incision /datum/surgery_step/close @@ -124,11 +124,11 @@ display_results( user, target, - span_notice("Вы начинаете обрабатывать разрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать разрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать разрез в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете обрабатывать разрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать разрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает обрабатывать разрез в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Ваша [target.parse_zone_with_bodypart(target_zone)] прижигается!") + display_pain(target, "[capitalize(target.parse_zone_with_bodypart(target_zone))] у вас прижигается!") /datum/surgery_step/close/tool_check(mob/user, obj/item/tool) if(implement_type == TOOL_WELDER || implement_type == /obj/item) @@ -175,11 +175,11 @@ display_results( user, target, - span_notice("Вы начинаете распиливать кость в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает распиливать кость в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает распиливать кость в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете распиливать кость в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает распиливать кость в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает распиливать кость в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете ужасную боль внутри [target.parse_zone_with_bodypart(target_zone)]!") + display_pain(target, "Вы чувствуете ужасную боль внутри [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)]!") /datum/surgery_step/saw/tool_check(mob/user, obj/item/tool) if(implement_type == /obj/item && !(tool.get_sharpness() && (tool.force >= 10))) @@ -191,11 +191,11 @@ display_results( user, target, - span_notice("Вы вскрываете [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вскрывает [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вскрывает [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы вскрываете [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вскрывает [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] вскрывает [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "Такое ощущение, что в [target.parse_zone_with_bodypart(target_zone)] что-то сломано!") + display_pain(target, "Такое ощущение, что в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] что-то сломано!") return ..() //drill bone @@ -213,18 +213,18 @@ display_results( user, target, - span_notice("Вы начинаете сверлить прямо в кости в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает сверлить прямо в кости в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает сверлить прямо в кости в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете сверлить прямо в кости в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает сверлить прямо в кости в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает сверлить прямо в кости в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете ужасную пронзительную боль в [target.parse_zone_with_bodypart(target_zone)]!") + display_pain(target, "Вы чувствуете ужасную пронзительную боль в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)]!") /datum/surgery_step/drill/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) display_results( user, target, - span_notice("Вы просверлили [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] просверливает [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] просверливает [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы просверлили [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] просверливает [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] просверливает [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) return ..() diff --git a/code/modules/surgery/plastic_surgery.dm b/code/modules/surgery/plastic_surgery.dm index 0898d6f81b6ef..4299765b20914 100644 --- a/code/modules/surgery/plastic_surgery.dm +++ b/code/modules/surgery/plastic_surgery.dm @@ -42,11 +42,11 @@ display_results( user, target, - span_notice("Вы начинаете вставлять [tool.declent_ru(ACCUSATIVE)] в разрезе на [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] ..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в разрезе на [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в разрезе на [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете вставлять [tool.declent_ru(ACCUSATIVE)] в разрезе на [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] ..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в разрезе на [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает вставлять [tool.declent_ru(ACCUSATIVE)] в разрезе на [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете, как что-то вставили вам под кожу в [target.parse_zone_with_bodypart(target_zone)].") + display_pain(target, "Вы чувствуете, как что-то вставили вам под кожу в [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)].") /datum/surgery_step/insert_plastic/success(mob/user, mob/living/target, target_zone, obj/item/stack/tool, datum/surgery/surgery, default_display_results) . = ..() diff --git a/code/modules/surgery/prosthetic_replacement.dm b/code/modules/surgery/prosthetic_replacement.dm index f8e3051238e38..928325b74db53 100644 --- a/code/modules/surgery/prosthetic_replacement.dm +++ b/code/modules/surgery/prosthetic_replacement.dm @@ -62,27 +62,27 @@ organ_rejection_dam = 30 if(!bodypart_to_attach.can_attach_limb(target)) - target.balloon_alert(user, "это не подходит к [target.parse_zone_with_bodypart(target_zone)]!") + target.balloon_alert(user, "это не подходит к [target.parse_zone_with_bodypart(target_zone, declent = DATIVE)]!") return SURGERY_STEP_FAIL if(target_zone == bodypart_to_attach.body_zone) //so we can't replace a leg with an arm, or a human arm with a monkey arm. display_results( user, target, - span_notice("Вы начинаете заменять [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает заменять [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает заменять [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете заменять [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает заменять [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает заменять [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), ) else - to_chat(user, span_warning("[capitalize(tool.declent_ru(NOMINATIVE))] не подходит для [target.parse_zone_with_bodypart(target_zone)].")) + to_chat(user, span_warning("[capitalize(tool.declent_ru(NOMINATIVE))] не подходит для [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)].")) return SURGERY_STEP_FAIL else if(target_zone == BODY_ZONE_L_ARM || target_zone == BODY_ZONE_R_ARM) display_results( user, target, span_notice("Вы начинаете прикреплять [tool.declent_ru(ACCUSATIVE)] к [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает прикреплять [tool.declent_ru(ACCUSATIVE)] к [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает прикреплять что-то к [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает прикреплять [tool.declent_ru(ACCUSATIVE)] к [target.parse_zone_with_bodypart(target_zone, declent = DATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает прикреплять что-то к [target.parse_zone_with_bodypart(target_zone, declent = DATIVE)] у [target.declent_ru(GENITIVE)]."), ) else to_chat(user, span_warning("[capitalize(tool.declent_ru(NOMINATIVE))] устанавливается только в руку.")) @@ -105,11 +105,11 @@ display_results( user, target, - span_notice("Вы успешно заменили [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменил [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменил [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно заменили [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменяет [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)] на [tool.declent_ru(ACCUSATIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно заменяет [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)]!"), ) - display_pain(target, "Вы наполняетесь позитивными ощущениями, потому что вы снова чувствуете ваш [target.parse_zone_with_bodypart(target_zone)]!", TRUE) + display_pain(target, "Вы наполняетесь позитивными ощущениями, потому что вы снова чувствуете [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у вас!", TRUE) return else var/obj/item/bodypart/bodypart_to_attach = target.newBodyPart(target_zone, FALSE, FALSE) @@ -123,7 +123,7 @@ span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает прикреплять [tool.declent_ru(ACCUSATIVE)]!"), span_notice("[capitalize(user.declent_ru(NOMINATIVE))] завершает операцию по прикреплению!"), ) - display_pain(target, "Вы испытываете странные ощущения от своего нового [target.parse_zone_with_bodypart(target_zone)].", TRUE) + display_pain(target, "Вы испытываете странные ощущения от присоединения [target.parse_zone_with_bodypart(target_zone, declent = GENITIVE)] у вас.", TRUE) if(istype(tool, /obj/item/chainsaw)) qdel(tool) var/obj/item/chainsaw/mounted_chainsaw/new_arm = new(target) diff --git a/code/modules/surgery/repair_puncture.dm b/code/modules/surgery/repair_puncture.dm index 86987533bec06..ff4a32c82845b 100644 --- a/code/modules/surgery/repair_puncture.dm +++ b/code/modules/surgery/repair_puncture.dm @@ -51,22 +51,22 @@ /datum/surgery_step/repair_innards/preop(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery) var/datum/wound/pierce/bleed/pierce_wound = surgery.operated_wound if(!pierce_wound) - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]...")) return if(pierce_wound.blood_flow <= 0) - to_chat(user, span_notice("У [target] в [target.parse_zone_with_bodypart(user.zone_selected)] нет сквозного ранения, которое нуждается в обработке!")) + to_chat(user, span_notice("У [target] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] нет сквозного ранения, которое нуждается в обработке!")) surgery.status++ return display_results( user, target, - span_notice("Вы начинаете приводить в порядок поврежденные кровеносные сосуды в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает приводить в порядок поврежденные кровеносные сосуды в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает приводить в порядок поврежденные кровеносные сосуды в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете приводить в порядок поврежденные кровеносные сосуды в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает приводить в порядок поврежденные кровеносные сосуды в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает приводить в порядок поврежденные кровеносные сосуды в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете ужасную колющую боль в [target.parse_zone_with_bodypart(user.zone_selected)]!") + display_pain(target, "Вы чувствуете ужасную колющую боль в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]!") /datum/surgery_step/repair_innards/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) var/datum/wound/pierce/bleed/pierce_wound = surgery.operated_wound @@ -77,9 +77,9 @@ display_results( user, target, - span_notice("Вы успешно восстанавливаете некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстанавливает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстанавливает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно восстанавливаете некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстанавливает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстанавливает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "excised infected flesh in", addition="COMBAT MODE: [uppertext(user.combat_mode)]") surgery.operated_bodypart.receive_damage(brute=3, wound_bonus=CANT_WOUND) @@ -91,9 +91,9 @@ display_results( user, target, - span_notice("Вы повреждаете некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] повреждает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] повреждает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы повреждаете некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] повреждает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] повреждает некоторые кровеносные сосуды в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!"), ) surgery.operated_bodypart.receive_damage(brute=rand(4,8), sharpness=SHARP_EDGED, wound_bonus = 10) @@ -118,16 +118,16 @@ /datum/surgery_step/seal_veins/preop(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery) var/datum/wound/pierce/bleed/pierce_wound = surgery.operated_wound if(!pierce_wound) - user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected)]...")) + user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] ищет у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]."), span_notice("Вы ищете у [target.declent_ru(GENITIVE)] в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)]...")) return display_results( user, target, - span_notice("Вы начинаете восстанавливать некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]..."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(user.zone_selected)] у [target.declent_ru(GENITIVE)]."), + span_notice("Вы начинаете восстанавливать некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]..."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает восстанавливать некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "В [target.parse_zone_with_bodypart(user.zone_selected)] все горит!") + display_pain(target, "в [target.parse_zone_with_bodypart(user.zone_selected, declent = PREPOSITIONAL)] все горит!") /datum/surgery_step/seal_veins/success(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results = FALSE) var/datum/wound/pierce/bleed/pierce_wound = surgery.operated_wound @@ -138,9 +138,9 @@ display_results( user, target, - span_notice("Вы успешно восстановили некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!"), + span_notice("Вы успешно восстановили некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]!"), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] успешно восстановил некоторые из поврежденных кровеносных сосудов в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!"), ) log_combat(user, target, "dressed burns in", addition="COMBAT MODE: [uppertext(user.combat_mode)]") pierce_wound.adjust_blood_flow(-0.5) @@ -148,7 +148,7 @@ surgery.status = REALIGN_INNARDS to_chat(user, span_notice("Кажется, что кровеносные сосуды все еще смещены...")) else - to_chat(user, span_green("Вы восстановили все внутренние повреждения в [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)]!")) + to_chat(user, span_green("Вы восстановили все внутренние повреждения в [target.parse_zone_with_bodypart(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]!")) return ..() #undef REALIGN_INNARDS diff --git a/code/modules/surgery/surgery_step.dm b/code/modules/surgery/surgery_step.dm index ca6dbf3016802..bf972664fa045 100644 --- a/code/modules/surgery/surgery_step.dm +++ b/code/modules/surgery/surgery_step.dm @@ -65,7 +65,7 @@ if(get_location_accessible(target, target_zone) || (surgery.surgery_flags & SURGERY_IGNORE_CLOTHES)) initiate(user, target, target_zone, tool, surgery, try_to_fail) else - to_chat(user, span_warning("Вам надо снять все, что может закрывать [target.parse_zone_with_bodypart(target_zone)] у [target.declent_ru(GENITIVE)], для того чтобы начать операцию!")) + to_chat(user, span_warning("Вам надо снять все, что может закрывать [target.parse_zone_with_bodypart(target_zone, declent = ACCUSATIVE)] у [target.declent_ru(GENITIVE)], для того чтобы начать операцию!")) return TRUE //returns TRUE so we don't stab the guy in the dick or wherever. if(repeatable) From 74e69f33883bf64d8a4286f2d8d419d89913d404 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Mon, 7 Oct 2024 00:05:11 +0300 Subject: [PATCH 3/4] fix --- code/modules/surgery/lipoplasty.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/surgery/lipoplasty.dm b/code/modules/surgery/lipoplasty.dm index b16c63606a0c4..92f6f50dee795 100644 --- a/code/modules/surgery/lipoplasty.dm +++ b/code/modules/surgery/lipoplasty.dm @@ -66,7 +66,7 @@ span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать лишний жир у [target.declent_ru(GENITIVE)]"), span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает отрезать что-то из [ru_parse_zone(target_zone, declent = GENITIVE)] у [target.declent_ru(GENITIVE)] при помощи [tool.declent_ru(GENITIVE)]."), ) - display_pain(target, "Вы чувствуете резкую боль в [ru_parse_zone(target_zone, declent_ru = PREPOSITIONAL)] у вас!") + display_pain(target, "Вы чувствуете резкую боль в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у вас!") /datum/surgery_step/cut_fat/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results) display_results( @@ -74,9 +74,9 @@ target, span_notice("Вы отрезали лишний жир у [target.declent_ru(GENITIVE)]."), span_notice("[capitalize(user.declent_ru(NOMINATIVE))] отрезал лишний жир у [target.declent_ru(GENITIVE)]!"), - span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает разрез на [ru_parse_zone(target_zone, declent_ru = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), + span_notice("[capitalize(user.declent_ru(NOMINATIVE))] заканчивает разрез на [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у [target.declent_ru(GENITIVE)]."), ) - display_pain(target, "Жир в [ru_parse_zone(target_zone, declent_ru = PREPOSITIONAL)] у вас ослабевает, свисает и болит, как черт знает что!") + display_pain(target, "Жир в [ru_parse_zone(target_zone, declent = PREPOSITIONAL)] у вас ослабевает, свисает и болит, как черт знает что!") return TRUE //remove fat From a4e87466ce41f982fe8ccfab4bb3e2a8b850004f Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Mon, 7 Oct 2024 00:10:13 +0300 Subject: [PATCH 4/4] remove space --- code/__HELPERS/mobs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index 0d69d0b0ca47e..ee1584b8c534b 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -606,7 +606,7 @@ GLOBAL_LIST_INIT(skin_tone_names, list( if(part?.ru_plaintext_zone[declent]) return part.ru_plaintext_zone[declent] return ru_parse_zone(zone, declent) - // BANDASTATION EDIT END + // BANDASTATION EDIT END ///Return a string for the specified body zone. Should be used for parsing non-instantiated bodyparts, otherwise use [/obj/item/bodypart/var/plaintext_zone] /proc/parse_zone(zone)