Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Translate: Слимефренды и ксенобиология #1379

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions code/game/objects/items/devices/scanners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -806,40 +806,40 @@ SLIME SCANNER
if(user.incapacitated() || user.AmountBlinded())
return
if(!isslime(M))
to_chat(user, "<span class='warning'>This device can only scan slimes!</span>")
to_chat(user, "<span class='warning'>Это устройство сканирует только слаймов!</span>")
return
slime_scan(M, user)

/proc/slime_scan(mob/living/simple_animal/slime/T, mob/living/user)
to_chat(user, "========================")
to_chat(user, "<b>Slime scan results:</b>")
to_chat(user, "<span class='notice'>[T.colour] [T.is_adult ? "adult" : "baby"] slime</span>")
to_chat(user, "<b>Результаты сканирования слайма:</b>")
to_chat(user, "<span class='notice'>[T.colour] [T.is_adult ? "взрослый" : "малыш"] слайм</span>")
to_chat(user, "Nutrition: [T.nutrition]/[T.get_max_nutrition()]")
if(T.nutrition < T.get_starve_nutrition())
to_chat(user, "<span class='warning'>Warning: slime is starving!</span>")
to_chat(user, "<span class='warning'>Внимание: Слайм голодает!</span>")
else if(T.nutrition < T.get_hunger_nutrition())
to_chat(user, "<span class='warning'>Warning: slime is hungry</span>")
to_chat(user, "Electric change strength: [T.powerlevel]")
to_chat(user, "<span class='warning'>Внимание: Слайм голоден.</span>")
to_chat(user, "Сила электроизменений: [T.powerlevel]")
to_chat(user, "Health: [round(T.health/T.maxHealth,0.01)*100]%")
if(T.slime_mutation[4] == T.colour)
to_chat(user, "This slime does not evolve any further.")
to_chat(user, "Слайм далее не эволюционирует.")
else
if(T.slime_mutation[3] == T.slime_mutation[4])
if(T.slime_mutation[2] == T.slime_mutation[1])
to_chat(user, "Possible mutation: [T.slime_mutation[3]]")
to_chat(user, "Genetic destability: [T.mutation_chance] % chance of mutation on splitting")
to_chat(user, "Возможные мутации: [T.slime_mutation[3]]")
to_chat(user, "Генетическая нестабильность: [T.mutation_chance] % шанс мутации при размножении.")
else
to_chat(user, "Possible mutations: [T.slime_mutation[1]], [T.slime_mutation[2]], [T.slime_mutation[3]] (x2)")
to_chat(user, "Genetic destability: [T.mutation_chance] % chance of mutation on splitting")
to_chat(user, "Возможные мутации: [T.slime_mutation[1]], [T.slime_mutation[2]], [T.slime_mutation[3]] (x2)")
to_chat(user, "Генетическая нестабильность: [T.mutation_chance] % шанс мутации при размножении.")
else
to_chat(user, "Possible mutations: [T.slime_mutation[1]], [T.slime_mutation[2]], [T.slime_mutation[3]], [T.slime_mutation[4]]")
to_chat(user, "Genetic destability: [T.mutation_chance] % chance of mutation on splitting")
to_chat(user, "Возможные мутации: [T.slime_mutation[1]], [T.slime_mutation[2]], [T.slime_mutation[3]], [T.slime_mutation[4]]")
to_chat(user, "Генетическая нестабильность: [T.mutation_chance] % шанс мутации при размножении.")
if(T.cores > 1)
to_chat(user, "Multiple cores detected")
to_chat(user, "Growth progress: [T.amount_grown]/[SLIME_EVOLUTION_THRESHOLD]")
to_chat(user, "Обнаружены множественные ядра.")
to_chat(user, "Процесс роста: [T.amount_grown]/[SLIME_EVOLUTION_THRESHOLD]")
if(T.effectmod)
to_chat(user, "<span class='notice'>Core mutation in progress: [T.effectmod]</span>")
to_chat(user, "<span class='notice'>Progress in core mutation: [T.applied] / [SLIME_EXTRACT_CROSSING_REQUIRED]</span>")
to_chat(user, "<span class='notice'>Мутация ядра в процессе: [T.effectmod]</span>")
to_chat(user, "<span class='notice'>Прогресс в мутации ядра: [T.applied] / [SLIME_EXTRACT_CROSSING_REQUIRED]</span>")
to_chat(user, "========================")

////////////////////////////////////////
Expand Down
24 changes: 12 additions & 12 deletions code/modules/mob/living/simple_animal/slime/slime_mob.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/mob/living/simple_animal/slime
name = "grey baby slime (123)"
name = "серый малыш слайм"
icon = 'icons/mob/slimes.dmi'
icon_state = "grey baby slime"
hud_type = /datum/hud/slime
Expand All @@ -16,7 +16,7 @@
response_help = "pets"
response_disarm = "shoos"
response_harm = "stomps on"
emote_see = list("jiggles", "bounces in place")
emote_see = list("jiggles", "прыгает на месте")
speak_emote = list("blorbles")
bubble_icon = "slime"

Expand Down Expand Up @@ -67,14 +67,14 @@

///////////TIME FOR SUBSPECIES

var/colour = "grey"
var/colour = "серый"
var/coretype = /obj/item/slime_extract/grey
var/list/slime_mutation[4]

var/static/list/slime_colours = list("rainbow", "grey", "purple", "metal", "orange",
"blue", "dark blue", "dark purple", "yellow", "silver", "pink", "red",
"gold", "green", "adamantine", "oil", "light pink", "bluespace",
"cerulean", "sepia", "black", "pyrite")
var/static/list/slime_colours = list("радужный", "серый", "фиолетоый", "металлический", "оранжевый",
"синий", "тёмносиний", "тёмнофиолетовый", "жёлый", "серебрянный", "розовый", "красный",
"золотой", "зеленый", "адамантитовый", "масляный", "светлорозовый", "блюспейс",
"лазурный", "сепия", "чёрный", "пиритовый")

///////////CORE-CROSSING CODE

Expand Down Expand Up @@ -121,7 +121,7 @@
. = ..()
if(slime_name_regex.Find(name))
number = rand(1, 1000)
name = "[colour] [is_adult ? "adult" : "baby"] slime ([number])"
name = "[colour] [is_adult ? "взрослый" : "малыш"] слайм ([number])"
real_name = name

/mob/living/simple_animal/slime/proc/random_colour()
Expand Down Expand Up @@ -312,13 +312,13 @@
M.do_attack_animation(src, ATTACK_EFFECT_DISARM)
if(buckled == M)
if(prob(60))
M.visible_message("<span class='warning'>[M] attempts to wrestle \the [name] off!</span>", \
"<span class='danger'>You attempt to wrestle \the [name] off!</span>")
M.visible_message("<span class='warning'>[M] пытается скинуть [name] с себя!</span>", \
"<span class='danger'>Вы пытаетесь скинуть [name] с себя!</span>")
playsound(loc, 'sound/weapons/punchmiss.ogg', 25, TRUE, -1)

else
M.visible_message("<span class='warning'>[M] manages to wrestle \the [name] off!</span>", \
"<span class='notice'>You manage to wrestle \the [name] off!</span>")
M.visible_message("<span class='warning'>[M] пытается снять [name] с себя!</span>", \
"<span class='notice'>Вы пытаетесь скинуть [name] с себя!</span>")
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, TRUE, -1)

discipline_slime(M)
Expand Down
Loading