Skip to content

Commit

Permalink
Перевод сканнера слаймов
Browse files Browse the repository at this point in the history
  • Loading branch information
VERG-SS220 committed Jul 13, 2024
1 parent 746a6ce commit e6ce3d3
Showing 1 changed file with 17 additions and 17 deletions.
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

0 comments on commit e6ce3d3

Please sign in to comment.