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

[Tweak] Pilot not idiot #1057

Merged
merged 10 commits into from
Feb 16, 2025
Merged

[Tweak] Pilot not idiot #1057

merged 10 commits into from
Feb 16, 2025

Conversation

Agronomist-NN
Copy link
Contributor

@Agronomist-NN Agronomist-NN commented Feb 16, 2025

Описание PR

Данный PR делает пилота СБ не бесполезным...

Тип PR

  • Feature
  • Fix
  • Tweak
  • Balance
  • Refactor
  • Port
  • Translate
  • Resprite

🆑

  • add: Добавлена фуражка пилота СБ.
  • add: Добавлен комбинезон пилота СБ.
  • add: Добавлен шлем пилота СБ.
  • add: Добавлен шкаф пилота СБ.
  • add: Добавлен скафандр пилота СБ (по статам обычный скаф СБ, кроме скорости).
  • tweak: Изменены лодауты роли пилота.

Summary by CodeRabbit

  • Новые функции
    • Добавлены новые элементы экипировки для безопасности пилота, включая комбинезоны, защитные костюмы, шлемы, кепки и магнитные ботинки с улучшенной визуализацией.
    • Расширена поддержка локализации – новые переводы для экипировки и объектов доступны на английском и русском языках.
    • Обновлены наборы снаряжения для роли пилота, включены новые стартовые опции, специализированные локеры и радиоустройства для связи.
    • Введены новые группы снаряжения, связанные с экипировкой пилота безопасности.

@Agronomist-NN Agronomist-NN requested a review from Rxup as a code owner February 16, 2025 00:20
Copy link
Contributor

coderabbitai bot commented Feb 16, 2025

Walkthrough

В данном PR внесены многочисленные обновления, направленные на расширение и улучшение функционала экипировки пилота безопасности. Добавлены новые локализационные записи для английской и русской версий, обновлены загрузочные группы и стартовое снаряжение для роли пилота, введены новые определения сущностей для одежды, радио, шкафов и других объектов, а также обновлены метаданные текстур. Изменения затрагивают как файлы локализации, так и YAML-конфигурации, определения сущностей и метаданные ресурсов.

Changes

Файл(ы) Изменения
Resources/Locale/en-US/_backmen/preferences/loadout-groups.ftl
Resources/Locale/ru-RU/_backmen/preferences/loadout-groups.ftl
Добавлены новые локализационные записи для набора экипировки пилота (jumpsuit, shoes, head, outerclothing).
Resources/Locale/en-US/_backmen/prototypes/security-pilot/closet.ftl
Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/closet.ftl
Добавлены новые записи для шкафов пилотов: ent-LockerSecurityPilot и ent-LockerSecurityPilotFilled.
Resources/Locale/en-US/_backmen/prototypes/security-pilot/clothing.ftl
Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/clothing.ftl
Добавлены новые записи для элементов одежды безопасности (хардсьюты, шлемы, комбинезоны, магботы, кепки).
Resources/Locale/en-US/_backmen/prototypes/security-pilot/radio.ftl
Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/radio.ftl
Добавлена новая запись для радио RadioSecurityPilotSupplyPod с описанием и суффиксом.
Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml Добавлены новые загрузочные конфигурации для экипировки пилота (новые loadout для шлема, кепки, комбинезона, и пр.).
Resources/Prototypes/Corvax/Loadouts/loadout_groups.yml Введены новые группы загрузок для экипировки пилота (SecurityJumpsuitPilot, SecurityShoesPilot, SecurityHeadPilot, SecurityOuterClothingPilot).
Resources/Prototypes/Corvax/Loadouts/role_loadouts.yml Изменены записи загрузок для роли JobPilot: переименование групп и добавление группы SecurityHeadPilot.
Resources/Prototypes/Corvax/Roles/Jobs/Security/pilot.yml Удалён прежний job Pilot; обновлено стартовое снаряжение (смена комбинезона, шлема, добавление перчаток, изменение содержимого карманов).
Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/security_pilot.yml Добавлена новая сущность LockerSecurityPilotFilled для заполненного шкафа пилота.
Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/supplypods.yml Добавлены новые сущности для drop pod: DropPodMarkerSecurityPilot, DropPodLaunchAnimationSecurityPilot, SupplyDropPodSecurityPilotHardsuit.
Сущности в папках Entities/Clothing/..., Entities/Objects/Devices/, Entities/Structures/Storage/Closets/ Добавлены новые определения для экипировки пилота: специализированные шлемы, кепки, хардсьюты, магботы, радио, шкафы.
Файлы текстур и метаданных (например, .../sec-pilot-hardsuit.rsi/meta.json, .../secpilotcap.rsi/meta.json, .../helmet-sec-pilot.rsi/meta.json и др.) Созданы новые файлы meta.json с информацией о версиях, лицензиях, размерах и состояниях соответствующих ресурсов.

Sequence Diagram(s)

sequenceDiagram
    participant Игрок
    participant РольСистемы as Система Ролей
    participant Загрузки as Загрузочные Конфигурации
    participant Снаряжение as Система Снаряжения

    Игрок->>РольСистемы: Выбор роли Pilot
    РольСистемы->>Загрузки: Запрос обновлённой конфигурации
    Загрузки-->>РольСистемы: Передача новых loadout-групп
    РольСистемы->>Снаряжение: Назначение стартового снаряжения
    Снаряжение-->>Игрок: Выдача обновлённого снаряжения (jumpsuit, шлем, перчатки, радио и т.д.)
Loading

Poem

Я кролик, скачу весело,
В коде новые снаряженья – дело!
Локали, loadout’ы, метаданные в строю,
Всё для пилота – как в сказке, на виду.
Пусть мир обновлён, робко и стремительно,
Веселятся байты, и код блещет ярко!
🐇💻


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added S: Untriaged size/M Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. No C# Нету кода. Changes: Localization Can be reviewed or fixed by people who are knowledgeable with translation and removed size/M labels Feb 16, 2025
Copy link
Contributor

github-actions bot commented Feb 16, 2025

RSI Diff Bot; head commit bb9423c merging into 8cba46c
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi

State Old New Status
icon-flash Added
icon Added
off-equipped-HELMET Added
off-inhand-left Added
off-inhand-right Added
on-equipped-HELMET Added
on-inhand-left Added
on-inhand-right Added

Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi

State Old New Status
equipped-HELMET-hamster Added
equipped-HELMET Added
icon Added
inhand-left Added
inhand-right Added

Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi

State Old New Status
equipped-HELMET Added
icon Added
inhand-left Added
inhand-right Added

Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi

State Old New Status
equipped-OUTERCLOTHING Added
icon Added
inhand-left Added
inhand-right Added

Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi

State Old New Status
equipped-FEET-vox Added
equipped-FEET Added
icon-on Added
icon Added
inhand-left Added
inhand-right Added
on-equipped-FEET-vox Added
on-equipped-FEET Added
on-inhand-left Added
on-inhand-right Added

Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi

State Old New Status
equipped-INNERCLOTHING-monkey Added
equipped-INNERCLOTHING-reptilian Added
equipped-INNERCLOTHING Added
icon Added
inhand-left Added
inhand-right Added

Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi

State Old New Status
locked Added
sec Added
sec_open Added
sec_pilot_door Added
unlocked Added
welded Added

Edit: diff updated after bb9423c

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (4)
Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/clothing.ftl (2)

11-12: Уточните описание фуражки!

Рекомендуется конкретизировать, какие именно "признаки коммунизма" присутствуют в фуражке, например: "красная звезда" или "серп и молот".


1-13: Исправьте пунктуацию в описаниях!

Необходимо обеспечить единообразие в использовании многоточий:

  • В описании комбинезона: "...Точно не в цветах Синдиката."
  • В описании фуражки: "Фуражка пилота службы безопасности. Содержит признаки коммунизма."
Resources/Prototypes/Corvax/Loadouts/loadout_groups.yml (2)

26-26: Удалите завершающие пробелы.
Найдены лишние завершающие пробелы в этой строке. Пожалуйста, удалите их для соответствия стандартам форматирования.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 26-26: trailing spaces

(trailing-spaces)


49-49: Удалите завершающие пробелы.
Пожалуйста, уберите лишние пробелы в конце строки.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 49-49: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8cba46c and 6f089fa.

⛔ Files ignored due to path filters (43)
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/icon-flash.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/off-equipped-HELMET.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/off-inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/off-inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/on-equipped-HELMET.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/on-inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/on-inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/equipped-HELMET-hamster.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/equipped-HELMET.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi/equipped-HELMET.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi/equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/equipped-FEET-vox.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/equipped-FEET.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/icon-on.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/on-equipped-FEET-vox.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/on-equipped-FEET.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/on-inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/on-inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/equipped-INNERCLOTHING-monkey.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/equipped-INNERCLOTHING-reptilian.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/equipped-INNERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/locked.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/sec.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/sec_open.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/sec_pilot_door.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/unlocked.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/welded.png is excluded by !**/*.png
📒 Files selected for processing (29)
  • Resources/Locale/en-US/_backmen/preferences/loadout-groups.ftl (1 hunks)
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/closet.ftl (1 hunks)
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/clothing.ftl (1 hunks)
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/radio.ftl (1 hunks)
  • Resources/Locale/ru-RU/_backmen/preferences/loadout-groups.ftl (1 hunks)
  • Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/closet.ftl (1 hunks)
  • Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/clothing.ftl (1 hunks)
  • Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/radio.ftl (1 hunks)
  • Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml (1 hunks)
  • Resources/Prototypes/Corvax/Loadouts/loadout_groups.yml (1 hunks)
  • Resources/Prototypes/Corvax/Loadouts/role_loadouts.yml (1 hunks)
  • Resources/Prototypes/Corvax/Roles/Jobs/Security/pilot.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/security_pilot.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/supplypods.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/Head/hardsuit-helmets.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/Head/hats.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/Head/helmets.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/OuterClothing/hardsuits.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/Shoes/magboots.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/Uniforms/jumpsuits.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Objects/Devices/radio.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Structures/Storage/Closets/closets.yml (1 hunks)
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/meta.json (1 hunks)
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/meta.json (1 hunks)
  • Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi/meta.json (1 hunks)
  • Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi/meta.json (1 hunks)
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/meta.json (1 hunks)
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/meta.json (1 hunks)
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/meta.json (1 hunks)
✅ Files skipped from review due to trivial changes (11)
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/closet.ftl
  • Resources/Textures/Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi/meta.json
  • Resources/Locale/en-US/_backmen/preferences/loadout-groups.ftl
  • Resources/Textures/Backmen/Clothing/Head/Hats/secpilotcap.rsi/meta.json
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/radio.ftl
  • Resources/Textures/Backmen/Clothing/OuterClothing/Hardsuits/sec-pilot-hardsuit.rsi/meta.json
  • Resources/Textures/Backmen/Structures/Storage/sec-pilot.rsi/meta.json
  • Resources/Textures/Backmen/Clothing/Head/Hardsuits/sec-pilot-hardsuit.rsi/meta.json
  • Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/radio.ftl
  • Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots-security.rsi/meta.json
  • Resources/Textures/Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi/meta.json
🧰 Additional context used
🪛 YAMLlint (1.35.1)
Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 11-11: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)

Resources/Prototypes/Corvax/Loadouts/loadout_groups.yml

[error] 26-26: trailing spaces

(trailing-spaces)


[error] 49-49: trailing spaces

(trailing-spaces)

⏰ Context from checks skipped due to timeout of 300000ms (3)
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: Test Packaging
🔇 Additional comments (28)
Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/closet.ftl (1)

1-5: Перевод корректен!

Используется правильная терминология и грамматические конструкции.

Resources/Locale/ru-RU/_backmen/preferences/loadout-groups.ftl (1)

1-4: Переводы групп экипировки соответствуют стандартам!

Корректное использование терминологии и разделение категорий.

Resources/Locale/en-US/_backmen/prototypes/security-pilot/clothing.ftl (1)

1-13: Переводы согласованы между языками!

Английская и русская версии соответствуют друг другу по смыслу и стилю. Рекомендуется исправить опечатку в идентификаторе Jumpsui одновременно в обоих файлах.

Resources/Prototypes/Corvax/Loadouts/role_loadouts.yml (1)

22-27: Новая конфигурация загрузочных групп для JobPilot корректна.
В группе JobPilot добавлены новые элементы: SecurityJumpsuitPilot, SecurityOuterClothingPilot, SecurityHeadPilot и SecurityShoesPilot. Убедитесь, что все новые наименования синхронизированы с соответствующими определениями в других файлах.

Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml (6)

1-6: Loadout для головного убора (Helmet) добавлен корректно.
Определение SecurityPilotHelmet с оборудованием ClothingHeadHelmetHardsuitSecurityPilot соответствует требованиям.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 6-6: trailing spaces

(trailing-spaces)


7-11: Loadout для кепки пилота корректен.
Идентификатор SecurityPilotCap и связанное оборудование ClothingHeadCapSecurityPilot указаны правильно.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 11-11: trailing spaces

(trailing-spaces)


12-17: Loadout для комбинезона пилота добавлен корректно.
Проверьте, что используемое оборудование ClothingUniformJumpsuiSecurityPilot соответствует спецификации.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 17-17: trailing spaces

(trailing-spaces)


18-23: Loadout для внешней одежды (CoatBomber) корректен.
Проверьте, что ClothingOuterCoatBomber соответствует требованиям для данного типа экипировки.


24-29: Loadout для обуви (SecurityMagBoots) добавлен корректно.
Убедитесь, что оборудование ClothingShoesBootsMagSecurity задано правильно и соответствует требованиям.


30-34: Loadout для обуви (Laceup) корректен.
Проверьте, что идентификатор Laceup и ссылка на оборудование ClothingShoesBootsLaceup соответствуют спецификации.

Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/security_pilot.yml (1)

1-30: Новый объект LockerSecurityPilotFilled добавлен корректно.
Определение включает необходимые родительские типы, компонент StorageFill и корректно заданное содержимое. Убедитесь, что все идентификаторы (например, ClothingHeadCapSecurityPilot, ShuttleConsoleCircuitboard) существуют в системе.

Resources/Prototypes/Corvax/Roles/Jobs/Security/pilot.yml (2)

1-30: Удаление определения работы Pilot.
Устаревшее определение работы Pilot было удалено. Проверьте, что новая конфигурация роли пилота задана в других соответствующих файлах и корректно интегрируется в систему.


31-47: Обновление стартового снаряжения пилота.
Новые ссылки на экипировку (например, ClothingUniformJumpsuiSecurityPilot, ClothingHeadCapSecurityPilot, ClothingHandsGlovesCombat, WeaponMultiphaseEnergyGun и RadioSecurityPilotSupplyPod) заданы корректно. Также проверьте, что комментарий на строке 46, указывающий на удаление MagazinePistol, отражает актуальные изменения.

Resources/Prototypes/Corvax/Loadouts/loadout_groups.yml (4)

16-26: Новая loadout группа SecurityJumpsuitPilot добавлена корректно.
Группа включает элементы: SecurityPilotJumpsuit, SecurityJumpsuit, SecurityJumpskirt, SeniorOfficerJumpsuit, SeniorOfficerJumpskirt и TrooperUniform. Проверьте, что все указанные элементы существуют и правильно синхронизированы с остальными настройками.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 26-26: trailing spaces

(trailing-spaces)


27-36: Новая loadout группа SecurityShoesPilot настроена корректно.
Убедитесь, что все элементы (например, JackSecBoots, JackBoots, SecurityWinterBoots, SecurityMagBoots и Laceup) соответствуют требованиям и согласованы с другими настройками.


37-49: Новая loadout группа SecurityHeadPilot добавлена корректно.
Проверьте, что элементы, такие как SecurityPilotHelmet и SecurityPilotCap, а также остальные перечисленные, соответствуют новым определениям и интегрированы в систему.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 49-49: trailing spaces

(trailing-spaces)


50-60: Новая loadout группа SecurityOuterClothingPilot добавлена корректно.
Убедитесь, что элементы (например, ArmorVest, ArmorVestSlim, ClothingOuterCoatSecurityOvercoat, ClothingOuterCoatSecurityOfficerOvercoat, SecurityOfficerWintercoat и CoatBomber) заданы корректно и соответствуют требованиям.

Resources/Prototypes/_Backmen/Entities/Objects/Devices/radio.yml (1)

61-79: Новый entity для радио пилота безопасности добавлен.
Определение RadioSecurityPilotSupplyPod включает все необходимые компоненты (Sprite, Item и SpawnItemsOnUse) с корректными параметрами, а также добавлено поле suffix для указания специфики роли. Рекомендуется проверить, что для нового entity настроены соответствующие локализационные файлы, чтобы обеспечить единообразие перевода в игре.

Resources/Prototypes/_Backmen/Entities/Structures/Storage/Closets/closets.yml (1)

56-81: Новый entity для шкафчика пилота безопасности добавлен.
Определение LockerSecurityPilot корректно использует родительский тип LockerSecurity и задаёт все необходимые визуальные компоненты (Sprite и EntityStorageVisuals) с соответствующими слоями. Убедитесь, что в будущих изменениях добавится локализация для этого элемента, чтобы описание отображалось корректно на всех языках.

Resources/Prototypes/_Backmen/Entities/Clothing/Shoes/magboots.yml (1)

56-74: Новый entity для магнитных сапог пилота безопасности добавлен.
Entity ClothingShoesBootsMagSecurity оформлен правильно с использованием расширенного списка родительских элементов (BaseToggleClothing и BaseSecurityContraband), что должно обеспечить нужное поведение при экипировке. Проверьте, что визуальные элементы (спрайт и состояния) соответствуют тематике и что описание отражает специфику использования в условиях работы в невесомости.

Resources/Prototypes/_Backmen/Entities/Clothing/Head/hardsuit-helmets.yml (1)

283-297: Новый entity для шлема пилота безопасности добавлен.
Entity ClothingHeadHelmetHardsuitSecurityPilot корректно наследует от ClothingHeadHelmetHardsuitSecurity и включает необходимые компоненты, в том числе настроенный источник света (PointLight) с параметрами (color, radius, energy). Рекомендуется убедиться, что используемые спрайты соответствуют визуальному стилю других шлемов, а также что локализационные записи для данного элемента присутствуют в соответствующих файлах.

Resources/Prototypes/_Backmen/Entities/Clothing/Head/hats.yml (1)

384-393: Новый entity для кепки пилота безопасности добавлен.
Entity ClothingHeadCapSecurityPilot определён с использованием массива родительских элементов [ClothingHeadBase, BaseSecurityContraband], что позволяет интегрировать его в систему экипировки безопасности. Проверьте, что спрайты для компонентов Sprite и Clothing указаны корректно, а также что локализованные тексты для данного элемента добавлены в соответствующие языковые файлы для обеспечения единообразного отображения в UI.

Resources/Prototypes/_Backmen/Entities/Clothing/Head/helmets.yml (1)

414-424: Новый элемент для пилотского шлема безопасности добавлен корректно.
Сущность ClothingHeadSecurityPilotHelmet использует родительские элементы [ClothingHeadHelmetBase, BaseSecurityContraband], что соответствует ожидаемой функциональности. Проверьте, что пути к спрайтам (Backmen/Clothing/Head/Helmets/helmet-sec-pilot.rsi) существуют и что указанные теги (WhitelistChameleon и SecurityHelmet) корректно отражают назначение шлема.

Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/supplypods.yml (3)

40-48: Маркер DropPodMarkerSecurityPilot настроен корректно.
Новый маркер наследует от DropPodMarker, содержит корректный суффикс SecurityPilot, supply и правильно использует компонент TimedSpawner, ссылающийся на DropPodLaunchAnimationSecurityPilot.


49-62: Анимация для пилотского спуска (DropPodLaunchAnimationSecurityPilot) оформлена правильно.
Компоненты, в том числе спрайт из Backmen/Effects/droppod_falling.rsi с указанным слоем supplypod_falling_animation и отступом "0,3.3", настроены аналогично другим анимациям. Убедитесь, что визуальные эффекты соответствуют требованиям.


63-71: Элемент SupplyDropPodSecurityPilotHardsuit добавлен корректно.
Определение содержит нужный компонент StorageFill, который ссылается на содержимое с идентификатором ClothingOuterHardsuitSecurityPilot. Проверьте, что данный объект интегрирован в загрузочную конфигурацию и доступен в игре.

Resources/Prototypes/_Backmen/Entities/Clothing/OuterClothing/hardsuits.yml (1)

477-493: Новый скафандр для пилота безопасности добавлен правильно.
Сущность ClothingOuterHardsuitSecurityPilot наследует от ClothingOuterHardsuitSecurity и задаёт корректные параметры: спрайты, модификаторы скорости (walkModifier: 0.9, sprintModifier: 0.9), а также компонент HeldSpeedModifier. Переключаемый элемент (ToggleableClothing) ссылается на ClothingHeadHelmetHardsuitSecurityPilot. Убедитесь, что все ссылки и пути (например, для спрайта sec-pilot-hardsuit.rsi) корректны и доступны.

Resources/Prototypes/_Backmen/Entities/Clothing/Uniforms/jumpsuits.yml (1)

895-905: Новый jumpsuit для пилота безопасности оформлен корректно.
Сущность ClothingUniformJumpsuiSecurityPilot содержит необходимые компоненты Sprite и Clothing, ссылаясь на спрайты Backmen/Clothing/Uniforms/jumpsuit/sec_pilot.rsi. Описание также отражает, что данная униформа предназначена для пилота безопасности и не окрашена в цвета синдиката. Рекомендуется проверить, что добавлены соответствующие локализационные записи для данного элемента.

Comment on lines 5 to 6
ent-ClothingUniformJumpsuiSecurityPilot = комбинезон пилота СБ
.desc = Комбинезон специально для пилота службы безопасности. Точно не в цветах Синидката...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Исправьте опечатку в идентификаторе сущности!

В идентификаторе сущности ent-ClothingUniformJumpsuiSecurityPilot пропущена буква 't' (должно быть Jumpsuit).

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (5)
Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml (4)

1-6: Комментарий: Определение загрузочного набора SecurityPilotHelmet

Блок для SecurityPilotHelmet корректно задаёт загрузочный набор с оборудованием для головы. Обратите внимание, что на строке 6 обнаружены завершающие пробелы – рекомендуется удалить их для соблюдения стиля YAML.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 6-6: trailing spaces

(trailing-spaces)


7-11: Комментарий: Определение загрузочного набора SecurityPilotCap

Конфигурация набора для SecurityPilotCap выглядит корректной с указанием соответствующего элемента для головы. Проверьте, чтобы строка 11 не содержала лишних завершающих пробелов.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 11-11: trailing spaces

(trailing-spaces)


12-17: Комментарий: Определение загрузочного набора SecurityPilotJumpsuit

Блок для SecurityPilotJumpsuit правильно указывает загрузочный набор для комбинезона пилота. Обратите внимание на наличие завершающих пробелов в строке 17 – рекомендуется их удалить.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 17-17: trailing spaces

(trailing-spaces)


30-34: Комментарий: Определение загрузочного набора Laceup

Блок для Laceup выглядит правильно, оборудование для обуви указано корректно. Рекомендуется проверить, что форматирование (отсутствие завершающих пробелов) соответствует стандартам.

Resources/Prototypes/Corvax/Roles/Jobs/Security/pilot.yml (1)

31-47: Комментарий: Обновление начального снаряжения (PilotGear)

Блок PilotGear обновлён для корректной экипировки:

  • Комбинезон заменён на ClothingUniformJumpsuitSecurityPilot.
  • Головной элемент изменён на ClothingHeadCapSecurityPilot.
  • Добавлены перчатки (ClothingHandsGlovesCombat) и изменён состав предметов в карманах (первый карман – WeaponMultiphaseEnergyGun, второй – RadioSecurityPilotSupplyPod).

Также обратите внимание на закомментированную строку на строке 46; если она больше не нужна, её можно удалить, либо добавить пояснение о её предназначении.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6f089fa and bb9423c.

📒 Files selected for processing (6)
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/clothing.ftl (1 hunks)
  • Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/clothing.ftl (1 hunks)
  • Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml (1 hunks)
  • Resources/Prototypes/Corvax/Roles/Jobs/Security/pilot.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/security_pilot.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Entities/Clothing/Uniforms/jumpsuits.yml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (4)
  • Resources/Prototypes/_Backmen/Catalog/Fills/Lockers/security_pilot.yml
  • Resources/Prototypes/_Backmen/Entities/Clothing/Uniforms/jumpsuits.yml
  • Resources/Locale/en-US/_backmen/prototypes/security-pilot/clothing.ftl
  • Resources/Locale/ru-RU/_backmen/prototypes/security-pilot/clothing.ftl
🧰 Additional context used
🪛 YAMLlint (1.35.1)
Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 11-11: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)

⏰ Context from checks skipped due to timeout of 300000ms (3)
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: Test Packaging
  • GitHub Check: build (ubuntu-latest)
🔇 Additional comments (3)
Resources/Prototypes/Corvax/Loadouts/Jobs/Security/pilot.yml (2)

18-23: Комментарий: Определение загрузочного набора CoatBomber

Набор для CoatBomber определён корректно с указанием оборудования для внешней одежды. Убедитесь, что имя ClothingOuterCoatBomber соответствует требуемой номенклатуре.


24-29: Комментарий: Определение загрузочного набора SecurityMagBoots

Конфигурация набора для SecurityMagBoots корректна – указана обувь с правильным идентификатором.

Resources/Prototypes/Corvax/Roles/Jobs/Security/pilot.yml (1)

1-30: Комментарий: Удаление определения работы Pilot

Удаление определения работы Pilot произведено корректно, если это соответствует новой архитектуре ролей. Убедитесь, что все ссылки на данную работу были обновлены или удалены в других частях проекта.

Copy link
Contributor

@Roudenn Roudenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спидмердж

@Roudenn Roudenn merged commit 2273cdd into Rxup:master Feb 16, 2025
17 checks passed
@Agronomist-NN Agronomist-NN deleted the PilotNotIdiot branch February 24, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Localization Can be reviewed or fixed by people who are knowledgeable with translation Changes: Sprites Should be reviewed or fixed by people who are knowledgeable with spriting or visual design. No C# Нету кода. S: Untriaged size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants