Skip to content

Commit

Permalink
Перевод silicon_laws.dm, ai_mob.dm и т.д
Browse files Browse the repository at this point in the history
Перевёл выход из ядра, перевёл кнопки внизу экрана и часть тревог. Остальное переведу в 2-3 коммита
  • Loading branch information
VERG-SS220 committed Dec 14, 2023
1 parent 8a1d2b7 commit fa479c0
Show file tree
Hide file tree
Showing 8 changed files with 133 additions and 132 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ $RECYCLE.BIN

# SS220 EDIT
sound/tts_cache/*
*.toml
34 changes: 17 additions & 17 deletions code/_onclick/hud/ai_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
icon = 'icons/mob/screen_ai.dmi'

/obj/screen/ai/aicore
name = "AI core"
name = "Ядро ИИ"
icon_state = "ai_core"

/obj/screen/ai/aicore/Click()
Expand All @@ -11,27 +11,27 @@
AI.view_core()

/obj/screen/ai/camera_list
name = "Show Camera List"
name = "Показать список камер"
icon_state = "camera"

/obj/screen/ai/camera_list/Click()
var/mob/living/silicon/ai/AI = usr
var/camera = tgui_input_list(AI, "Choose which camera you want to view", "Cameras", AI.get_camera_list())
var/camera = tgui_input_list(AI, "Выберите камеру для просмотра", "Камеры", AI.get_camera_list())
AI.ai_camera_list(camera)

/obj/screen/ai/camera_track
name = "Track With Camera"
name = "Отслеживать"
icon_state = "track"

/obj/screen/ai/camera_track/Click()
if(isAI(usr))
var/mob/living/silicon/ai/AI = usr
var/target_name = tgui_input_list(AI, "Choose a target you want to track", "Tracking", AI.trackable_mobs())
var/target_name = tgui_input_list(AI, "Выберите цель для отслеживания", "Tracking", AI.trackable_mobs())
if(target_name)
AI.ai_camera_track(target_name)

/obj/screen/ai/camera_light
name = "Toggle Camera Light"
name = "Включить свет в камерах"
icon_state = "camera_light"

/obj/screen/ai/camera_light/Click()
Expand All @@ -40,7 +40,7 @@
AI.toggle_camera_light()

/obj/screen/ai/crew_monitor
name = "Crew Monitoring Console"
name = "Косноль отслеживания экипажа"
icon_state = "crew_monitor"

/obj/screen/ai/crew_monitor/Click()
Expand All @@ -49,7 +49,7 @@
AI.subsystem_crew_monitor()

/obj/screen/ai/crew_manifest
name = "Crew Manifest"
name = "Манифест экипажа"
icon_state = "manifest"

/obj/screen/ai/crew_manifest/Click()
Expand All @@ -58,7 +58,7 @@
AI.ai_roster()

/obj/screen/ai/alerts
name = "Show Alerts"
name = "Показать тревоги"
icon_state = "alerts"

/obj/screen/ai/alerts/Click()
Expand All @@ -67,15 +67,15 @@
AI.ai_alerts()

/obj/screen/ai/announcement
name = "Make Announcement"
name = "Сделать оповещение"
icon_state = "announcement"

/obj/screen/ai/announcement/Click()
var/mob/living/silicon/ai/AI = usr
AI.announcement()

/obj/screen/ai/call_shuttle
name = "Call Emergency Shuttle"
name = "Вызавать эвакуационный шаттл" // В коде есть отзыв шаттла, но он видимо не работает
icon_state = "call_shuttle"

/obj/screen/ai/call_shuttle/Click()
Expand All @@ -84,7 +84,7 @@
AI.ai_call_shuttle()

/obj/screen/ai/state_laws
name = "Law Manager"
name = "Управление законами"
icon_state = "state_laws"

/obj/screen/ai/state_laws/Click()
Expand All @@ -93,7 +93,7 @@
AI.subsystem_law_manager()

/obj/screen/ai/pda_msg_send
name = "PDA - Send Message"
name = "ПДА - Отправить сообщение"
icon_state = "pda_send"

/obj/screen/ai/pda_msg_send/Click()
Expand All @@ -102,7 +102,7 @@
AI.aiPDA.cmd_send_pdamesg()

/obj/screen/ai/pda_msg_show
name = "PDA - Show Message Log"
name = "ПДА - Показать лог сообщений"
icon_state = "pda_receive"

/obj/screen/ai/pda_msg_show/Click()
Expand All @@ -111,7 +111,7 @@
AI.aiPDA.cmd_show_message_log()

/obj/screen/ai/image_take
name = "Take Image"
name = "Сфотографировать"
icon_state = "take_picture"

/obj/screen/ai/image_take/Click()
Expand All @@ -120,7 +120,7 @@
AI.aiCamera.toggle_camera_mode()

/obj/screen/ai/image_view
name = "View Images"
name = "Просмотреть снимки"
icon_state = "view_images"

/obj/screen/ai/image_view/Click()
Expand All @@ -129,7 +129,7 @@
AI.aiCamera.viewpictures()

/obj/screen/ai/sensors
name = "Toggle Sensor Augmentation"
name = "Перключение аугментации сенсоров"
icon_state = "ai_sensor"

/obj/screen/ai/sensors/Click()
Expand Down
8 changes: 4 additions & 4 deletions code/modules/mob/living/silicon/ai/ai_laws.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/mob/living/silicon/ai/proc/show_laws_verb()
set category = "AI Commands"
set name = "Show Laws"
set category = "Команды ИИ"
set name = "Показать законы"
src.show_laws()

/mob/living/silicon/ai/show_laws(everyone = 0)
Expand All @@ -10,7 +10,7 @@
who = world
else
who = src
to_chat(who, "<b>Obey these laws:</b>")
to_chat(who, "<b>Подчиняйтесь этим законам:</b>")

src.laws_sanity_check()
src.laws.show_laws(who)
Expand All @@ -22,6 +22,6 @@
R.show_laws()

/mob/living/silicon/ai/proc/ai_checklaws()
set category = "AI Commands"
set category = "Команды ИИ"
set name = "State Laws"
subsystem_law_manager()
Loading

0 comments on commit fa479c0

Please sign in to comment.