Skip to content

Commit

Permalink
Перевод: Расширенные травмы (#547)
Browse files Browse the repository at this point in the history
## About The Pull Request

Перевод травм, описание и методы лечения

## Why It's Good For The Game

Потому-что понятнее

## Changelog


:cl:
add: Перевод травм
/:cl:
  • Loading branch information
msw7007 authored Oct 15, 2024
1 parent 8bdbd20 commit 75acd3c
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 184 deletions.
116 changes: 58 additions & 58 deletions code/datums/wounds/bones.dm

Large diffs are not rendered by default.

102 changes: 51 additions & 51 deletions code/datums/wounds/burns.dm

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions code/datums/wounds/cranial_fissure.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
brain.throw_at(get_step(source_turf, source.dir), 1, 1)

source.visible_message(
span_boldwarning("[source]'s brain spills right out of [source.p_their()] head!"),
span_userdanger("Your brain spills right out of your head!"),
span_boldwarning("Мозг [source.declent_ru(GENITIVE)] вытекает из [source.ru_p_them()] головы!"),
span_userdanger("Вы чувствуете, как ваш мозг вытекает из вашей головы!"),
)

/datum/wound/cranial_fissure/try_handling(mob/living/user)
Expand All @@ -93,19 +93,19 @@

var/obj/item/organ/internal/eyes/eyes = victim.get_organ_by_type(/obj/item/organ/internal/eyes)
if (isnull(eyes))
victim.balloon_alert(user, "no eyes to take!")
victim.balloon_alert(user, "нет глаз для изъятия!")
return TRUE

playsound(victim, 'sound/items/handling/surgery/organ2.ogg', 50, TRUE)
victim.balloon_alert(user, "pulling out eyes...")
victim.balloon_alert(user, "изъятие глаз...")
user.visible_message(
span_boldwarning("[user] reaches inside [victim]'s skull..."),
span_boldwarning("[capitalize(user.declent_ru(NOMINATIVE))] достигает внутренностей черепа [victim.declent_ru(GENITIVE)]..."),
ignored_mobs = user
)
victim.show_message(
span_userdanger("[victim] starts to pull out your eyes!"),
span_userdanger("[capitalize(victim.declent_ru(NOMINATIVE))] начинает изымать ваши глаза!"),
MSG_VISUAL,
span_userdanger("An arm reaches inside your brain, and starts pulling on your eyes!"),
span_userdanger("Чья-то рука достигает внутренностей вашей головы и начинает изымать глаза!"),
)

if (!do_after(user, 10 SECONDS, victim, extra_checks = CALLBACK(src, PROC_REF(still_has_eyes), eyes)))
Expand All @@ -118,15 +118,15 @@

playsound(victim, 'sound/items/handling/surgery/organ1.ogg', 75, TRUE)
user.visible_message(
span_boldwarning("[user] rips out [victim]'s eyes!"),
span_boldwarning("You rip out [victim]'s eyes!"),
span_boldwarning("[capitalize(user.declent_ru(NOMINATIVE))] вырывает глаза [victim.declent_ru(GENITIVE)]!"),
span_boldwarning("Вы вырываете глаза [victim.declent_ru(GENITIVE)]!"),
ignored_mobs = victim,
)

victim.show_message(
span_userdanger("[user] rips out your eyes!"),
span_userdanger("[capitalize(user.declent_ru(NOMINATIVE))] вырывает ваши глаза!"),
MSG_VISUAL,
span_userdanger("You feel an arm yank from inside your head, as you feel something very important is missing!"),
span_userdanger("Вы чувствуете, как рука выдёргивается из вашей головы, и понимаете, что что-то очень важное пропало!"),
)

return TRUE
Expand Down
24 changes: 12 additions & 12 deletions code/datums/wounds/loss.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
var/self_msg

if(dismembered_part.body_zone == BODY_ZONE_CHEST)
occur_text = "is split open, causing [victim.p_their()] internal organs to spill out!"
self_msg = "is split open, causing your internal organs to spill out!"
occur_text = "рассекается, вызывая выпадение [victim.ru_p_them()] внутренних органов!"
self_msg = "рассекается, вызывая выпадение ваших внутренних органов!"
else
occur_text = dismembered_part.get_dismember_message(wounding_type, outright)

var/msg = span_bolddanger("[victim]'s [dismembered_part.plaintext_zone] [occur_text]")
var/msg = span_bolddanger("[capitalize(dismembered_part.ru_plaintext_zone[NOMINATIVE] || dismembered_part.plaintext_zone)] у [victim.declent_ru(GENITIVE)] [occur_text]")

victim.visible_message(msg, span_userdanger("Your [dismembered_part.plaintext_zone] [self_msg ? self_msg : occur_text]"))
victim.visible_message(msg, span_userdanger("Ваша [dismembered_part.ru_plaintext_zone[NOMINATIVE] || dismembered_part.plaintext_zone] [self_msg ? self_msg : occur_text]"))

loss_wounding_type = wounding_type

Expand All @@ -61,25 +61,25 @@
if(outright)
switch(wounding_type)
if(WOUND_BLUNT)
occur_text = "is outright smashed to a gross pulp, severing it completely!"
occur_text = "разбивается в отвратительное месиво, отрываясь!"
if(WOUND_SLASH)
occur_text = "is outright slashed off, severing it completely!"
occur_text = "чисто срезается, полностью отсекаясь!"
if(WOUND_PIERCE)
occur_text = "is outright blasted apart, severing it completely!"
occur_text = "разрывается, полностью отсекаясь!"
if(WOUND_BURN)
occur_text = "is outright incinerated, falling to dust!"
occur_text = "сгорает, превратившись в пыль!"
else
var/bone_text = get_internal_description()
var/tissue_text = get_external_description()

switch(wounding_type)
if(WOUND_BLUNT)
occur_text = "is shattered through the last [bone_text] holding it together, severing it completely!"
occur_text = "теряет от удара последнюю [bone_text], что удерживала конечность!"
if(WOUND_SLASH)
occur_text = "is slashed through the last [tissue_text] holding it together, severing it completely!"
occur_text = "теряет от разрезра последнюю [tissue_text], что удерживала конечность!"
if(WOUND_PIERCE)
occur_text = "is pierced through the last [tissue_text] holding it together, severing it completely!"
occur_text = "теряет от прокалывания последнюю [tissue_text], что удерживала конечность!"
if(WOUND_BURN)
occur_text = "is completely incinerated, falling to dust!"
occur_text = "сгорает, превратившись в пыль!"

return occur_text
40 changes: 20 additions & 20 deletions code/datums/wounds/pierce.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@
victim.bleed(blood_bled, TRUE)
if(7 to 13)
victim.visible_message(
span_smalldanger("Blood droplets fly from the hole in [victim]'s [limb.plaintext_zone]."),
span_danger("You cough up a bit of blood from the blow to your [limb.plaintext_zone]."),
span_smalldanger("Капли крови вылетают из отверстия в [limb.ru_plaintext_zone[PREPOSITIONAL] || limb.plaintext_zone] у [victim.declent_ru(GENITIVE)]!."),
span_danger("Вы откашливаетесь, выплевывая немного крови из-за удара по вашей [limb.ru_plaintext_zone[DATIVE] || limb.plaintext_zone]."),
vision_distance = COMBAT_MESSAGE_RANGE,
)
victim.bleed(blood_bled, TRUE)
if(14 to 19)
victim.visible_message(
span_smalldanger("A small stream of blood spurts from the hole in [victim]'s [limb.plaintext_zone]!"),
span_danger("You spit out a string of blood from the blow to your [limb.plaintext_zone]!"),
span_smalldanger("Небольшая струя крови брызгает из дыры в [limb.ru_plaintext_zone[PREPOSITIONAL] || limb.plaintext_zone] у [victim.declent_ru(GENITIVE)]!!"),
span_danger("Вы выплевываете струю крови из-за удара по вашей [limb.ru_plaintext_zone[DATIVE] || limb.plaintext_zone]!"),
vision_distance = COMBAT_MESSAGE_RANGE,
)
new /obj/effect/temp_visual/dir_setting/bloodsplatter(victim.loc, victim.dir)
victim.bleed(blood_bled)
if(20 to INFINITY)
victim.visible_message(
span_danger("A spray of blood streams from the gash in [victim]'s [limb.plaintext_zone]!"),
span_bolddanger("You choke up on a spray of blood from the blow to your [limb.plaintext_zone]!"),
span_danger("Брызги крови струятся из прокола в [limb.ru_plaintext_zone[PREPOSITIONAL] || limb.plaintext_zone] у [victim.declent_ru(GENITIVE)]!"),
span_bolddanger("Вы задыхаетесь, выплевывая брызги крови из-за удара по вашей [limb.ru_plaintext_zone[DATIVE] || limb.plaintext_zone]!"),
vision_distance = COMBAT_MESSAGE_RANGE,
)
victim.bleed(blood_bled)
Expand All @@ -86,7 +86,7 @@
if(victim.bodytemperature < (BODYTEMP_NORMAL - 10))
adjust_blood_flow(-0.1 * seconds_per_tick)
if(SPT_PROB(2.5, seconds_per_tick))
to_chat(victim, span_notice("You feel the [LOWER_TEXT(name)] in your [limb.plaintext_zone] firming up from the cold!"))
to_chat(victim, span_notice("Вы чувствуете, как [LOWER_TEXT(name)] в вашей [limb.ru_plaintext_zone[PREPOSITIONAL] || limb.plaintext_zone] сужается от холода!"))

if(HAS_TRAIT(victim, TRAIT_BLOODY_MESS))
adjust_blood_flow(0.25 * seconds_per_tick) // old heparin used to just add +2 bleed stacks per tick, this adds 0.5 bleed flow to all open cuts which is probably even stronger as long as you can cut them first
Expand Down Expand Up @@ -130,14 +130,14 @@

if(HAS_TRAIT(src, TRAIT_WOUND_SCANNED))
treatment_delay *= 0.5
user.visible_message(span_notice("[user] begins expertly stitching [victim]'s [limb.plaintext_zone] with [I]..."), span_notice("You begin stitching [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone] with [I], keeping the holo-image information in mind..."))
user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает опытно зашивать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] с помощью [I.declent_ru(GENITIVE)]..."), span_notice("Вы начинаете зашивать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [user == victim ? "вас" : "[victim.declent_ru(GENITIVE)]"] с помощью [I.declent_ru(GENITIVE)], держа в голове показатели сканера..."))
else
user.visible_message(span_notice("[user] begins stitching [victim]'s [limb.plaintext_zone] with [I]..."), span_notice("You begin stitching [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone] with [I]..."))
user.visible_message(span_notice("[capitalize(user.declent_ru(NOMINATIVE))] начинает зашивать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [victim.declent_ru(GENITIVE)] с помощью [I.declent_ru(GENITIVE)]..."), span_notice("Вы начинаете зашивать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [user == victim ? "вас" : "[victim.declent_ru(GENITIVE)]"] с помощью [I.declent_ru(GENITIVE)]..."))

if(!do_after(user, treatment_delay, target = victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
return TRUE
var/bleeding_wording = (!limb.can_bleed() ? "holes" : "bleeding")
user.visible_message(span_green("[user] stitches up some of the [bleeding_wording] on [victim]."), span_green("You stitch up some of the [bleeding_wording] on [user == victim ? "yourself" : "[victim]"]."))
var/bleeding_wording = (!limb.can_bleed() ? "дыр" : "кровотечений")
user.visible_message(span_green("[capitalize(user.declent_ru(NOMINATIVE))] зашивает часть [bleeding_wording] на [limb.ru_plaintext_zone[PREPOSITIONAL] || limb.plaintext_zone]."), span_green("Вы зашиваете часть [bleeding_wording] на [user == victim ? "себе" : "[victim.declent_ru(PREPOSITIONAL) || limb.plaintext_zone]"]."))
var/blood_sutured = I.stop_bleeding / self_penalty_mult
adjust_blood_flow(-blood_sutured)
limb.heal_damage(I.heal_brute, I.heal_burn)
Expand All @@ -146,7 +146,7 @@
if(blood_flow > 0)
return try_treating(I, user)
else
to_chat(user, span_green("You successfully close the hole in [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone]."))
to_chat(user, span_green("Вы успешно закрываете дыру в [limb.ru_plaintext_zone[DATIVE] || limb.plaintext_zone] у [user == victim ? "вас" : "[victim.declent_ru(GENITIVE)]"]."))
return TRUE

/// If someone is using either a cautery tool or something with heat to cauterize this pierce
Expand All @@ -159,15 +159,15 @@

if(HAS_TRAIT(src, TRAIT_WOUND_SCANNED))
treatment_delay *= 0.5
user.visible_message(span_danger("[user] begins expertly cauterizing [victim]'s [limb.plaintext_zone] with [I]..."), span_warning("You begin cauterizing [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone] with [I], keeping the holo-image indications in mind..."))
user.visible_message(span_danger("[capitalize(user.declent_ru(NOMINATIVE))] начинает опытно прижигать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [victim.declent_ru(GENITIVE)] с помощью [I.declent_ru(GENITIVE)]..."), span_warning("Вы начинаете прижигать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [user == victim ? "вас" : "[victim.declent_ru(GENITIVE)]"] с помощью [I.declent_ru(GENITIVE)], держа в голове показатели сканера..."))
else
user.visible_message(span_danger("[user] begins cauterizing [victim]'s [limb.plaintext_zone] with [I]..."), span_warning("You begin cauterizing [user == victim ? "your" : "[victim]'s"] [limb.plaintext_zone] with [I]..."))
user.visible_message(span_danger("[capitalize(user.declent_ru(NOMINATIVE))] начинает прижигать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [victim.declent_ru(GENITIVE)] с помощью [I.declent_ru(GENITIVE)]..."), span_warning("Вы начинаете прижигать [limb.ru_plaintext_zone[ACCUSATIVE] || limb.plaintext_zone] у [user == victim ? "вас" : "[victim.declent_ru(GENITIVE)]"] с помощью [I.declent_ru(GENITIVE)]..."))

if(!do_after(user, treatment_delay, target = victim, extra_checks = CALLBACK(src, PROC_REF(still_exists))))
return TRUE

var/bleeding_wording = (!limb.can_bleed() ? "holes" : "bleeding")
user.visible_message(span_green("[user] cauterizes some of the [bleeding_wording] on [victim]."), span_green("You cauterize some of the [bleeding_wording] on [victim]."))
var/bleeding_wording = (!limb.can_bleed() ? "дыр" : "кровотечений")
user.visible_message(span_green("[capitalize(user.declent_ru(NOMINATIVE))] прижигает часть [bleeding_wording] на [victim.declent_ru(PREPOSITIONAL)]."), span_green("Вы прижигаете часть [bleeding_wording] на [victim.declent_ru(PREPOSITIONAL)]."))
limb.receive_damage(burn = 2 + severity, wound_bonus = CANT_WOUND)
if(prob(30))
victim.emote("scream")
Expand All @@ -187,7 +187,7 @@
wound_series = WOUND_SERIES_FLESH_PUNCTURE_BLEED

/datum/wound/pierce/get_limb_examine_description()
return span_warning("The flesh on this limb appears badly perforated.")
return span_warning("Кожа на этой конечности кажется сильно перфорированной.")

/datum/wound/pierce/bleed/moderate
name = "Незначительный прокол"
Expand Down Expand Up @@ -220,8 +220,8 @@

/datum/wound/pierce/bleed/moderate/update_descriptions()
if(!limb.can_bleed())
examine_desc = "has a small, circular hole"
occur_text = "splits a small hole open"
examine_desc = "имеет небольшое круглое отверстие"
occur_text = "раскрывает небольшое отверстие"

/datum/wound/pierce/bleed/severe
name = "Открытый прокол"
Expand Down Expand Up @@ -254,7 +254,7 @@

/datum/wound/pierce/bleed/severe/update_descriptions()
if(!limb.can_bleed())
occur_text = "tears a hole open"
occur_text = "покрывается серьезными проколами"

/datum/wound/pierce/bleed/critical
name = "Разрыв полости"
Expand Down
Loading

0 comments on commit 75acd3c

Please sign in to comment.