Skip to content

Commit

Permalink
qol: robots translation (#6130)
Browse files Browse the repository at this point in the history
* Медбот

* Рембот

* Секбот

* Протобот

* Фикс

* Перевод бота ED209

* Фикс

* Фикс

* Перевод клинбота (включая TGUI)

* Фикс

* Перевод хонкбота

* Частичный перевод

* Частичный перевод

* Перевод файла - создание ботов

* Фиксы

* Фикс

* Фикс

* Перевод синдибота-турели

* Перевод Генерала Грифски

* Фикс

* Фикс

* Перевод мулбота

* Фикс

* Унификация: бот => робот

* Update tgui/packages/tgui/interfaces/BotClean.js

Co-authored-by: Antoonij <[email protected]>

* Update tgui/packages/tgui/interfaces/BotSecurity.js

Co-authored-by: Antoonij <[email protected]>

* Фикс

* Фиксы

* Фиксы

* Update griefsky.dm

* Update code/modules/mob/living/simple_animal/bot/construction.dm

---------

Co-authored-by: Antoonij <[email protected]>
  • Loading branch information
PlayerUnknown14 and Antoonij authored Dec 2, 2024
1 parent c0a5319 commit 902cbf2
Show file tree
Hide file tree
Showing 14 changed files with 766 additions and 527 deletions.
183 changes: 94 additions & 89 deletions code/modules/mob/living/simple_animal/bot/bot.dm

Large diffs are not rendered by default.

35 changes: 22 additions & 13 deletions code/modules/mob/living/simple_animal/bot/cleanbot.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
//Cleanbot
/mob/living/simple_animal/bot/cleanbot
name = "\improper Cleanbot"
desc = "A little cleaning robot, he looks so excited!"
desc = "Маленький робот-уборщик. Он выглядит таким увлечённым!"
ru_names = list(
NOMINATIVE = "чистобот",
GENITIVE = "чистобота",
DATIVE = "чистоботу",
ACCUSATIVE = "чистобота",
INSTRUMENTAL = "чистоботом",
PREPOSITIONAL = "чистоботе",
)
icon = 'icons/obj/aibots.dmi'
icon_state = "cleanbot"
density = FALSE
Expand All @@ -12,10 +20,10 @@
bot_filter = RADIO_CLEANBOT
bot_type = CLEAN_BOT
model = "Cleanbot"
bot_purpose = "seek out messes and clean them"
bot_purpose = "найти грязь и мусор и избавиться от них"
bot_core_type = /obj/machinery/bot_core/cleanbot
window_id = "autoclean"
window_name = "Automatic Station Cleaner v1.1"
window_name = "Автоматическая Уборочная Единица v1.1"
pass_flags = PASSMOB|PASSFLAPS
path_image_color = "#993299"

Expand Down Expand Up @@ -73,9 +81,9 @@


/mob/living/simple_animal/bot/cleanbot/set_custom_texts()
text_hack = "You corrupt [name]'s cleaning software."
text_dehack = "[name]'s software has been reset!"
text_dehack_fail = "[name] does not seem to respond to your repair code!"
text_hack = "Вы взломали протоколы уборки [declent_ru(GENITIVE)]."
text_dehack = "Вы восстановили протоколы уборки [declent_ru(GENITIVE)]."
text_dehack_fail = "[capitalize(declent_ru(NOMINATIVE))] не отвечает на ваши команды!"


/mob/living/simple_animal/bot/cleanbot/attackby(obj/item/I, mob/user, params)
Expand All @@ -86,9 +94,10 @@
add_fingerprint(user)
var/obj/item/toy/crayon/spraycan/can = I
if(can.capped)
to_chat(user, span_warning("The cap on [can] is sealed."))
balloon_alert(user, "баллончик закрыт!")
return ATTACK_CHAIN_PROCEED|ATTACK_CHAIN_NO_AFTERATTACK
playsound(loc, 'sound/effects/spray.ogg', 20, TRUE)
balloon_alert(user, "краска нанесена")
mask_color = can.colour
update_icon()
return ATTACK_CHAIN_PROCEED_SUCCESS|ATTACK_CHAIN_NO_AFTERATTACK
Expand All @@ -99,7 +108,7 @@
/mob/living/simple_animal/bot/cleanbot/emag_act(mob/user)
..()
if(emagged == 2 && user)
to_chat(user, span_danger("[src] buzzes and beeps."))
to_chat(user, span_danger("[capitalize(declent_ru(NOMINATIVE))] странно жужжит!"))


/mob/living/simple_animal/bot/cleanbot/process_scan(obj/effect/decal/cleanable/D)
Expand All @@ -124,11 +133,11 @@
T.MakeSlippery(TURF_WET_WATER, 80 SECONDS)

if(prob(5)) //Spawns foam!
visible_message(span_danger("[src] whirs and bubbles violently, before releasing a plume of froth!"))
visible_message(span_danger("[capitalize(declent_ru(NOMINATIVE))] издаёт громкие булькающие звуки, прежде чем выпустить шлейф пены!"))
new /obj/effect/particle_effect/foam(loc)

else if(prob(5))
audible_message("[src] makes an excited beeping booping sound!")
custom_emote(EMOTE_VISIBLE, "бипает и бупает!")

if(!target) //Search for cleanables it can see.
target = scan(/obj/effect/decal/cleanable)
Expand Down Expand Up @@ -201,7 +210,7 @@

/mob/living/simple_animal/bot/cleanbot/proc/start_clean(obj/effect/decal/cleanable/target)
set_anchored(TRUE)
visible_message(span_notice("[src] begins to clean up [target]"))
visible_message(span_notice("[capitalize(declent_ru(NOMINATIVE))] начинает очищать [target]."))
mode = BOT_CLEANING
update_icon()
addtimer(CALLBACK(src, PROC_REF(do_clean), target), 5 SECONDS)
Expand All @@ -219,7 +228,7 @@

/mob/living/simple_animal/bot/cleanbot/explode()
on = FALSE
visible_message(span_userdanger("[src] blows apart!"))
visible_message(span_userdanger("[capitalize(declent_ru(NOMINATIVE))] разлетается на части!"))
var/turf/Tsec = get_turf(src)
new /obj/item/reagent_containers/glass/bucket(Tsec)
new /obj/item/assembly/prox_sensor(Tsec)
Expand Down Expand Up @@ -260,7 +269,7 @@
if (..())
return
if(topic_denied(usr))
to_chat(usr, "<span class='warning'>[src]'s interface is not responding!</span>")
to_chat(usr, span_danger("Интерфейс [declent_ru(GENITIVE)] не отвечает!"))
return
add_fingerprint(usr)
. = TRUE
Expand Down
Loading

0 comments on commit 902cbf2

Please sign in to comment.