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

X-01 multiphase gun & antique laser gun bullet projectiles #1030

Merged

Conversation

Agronomist-NN
Copy link
Contributor

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

Описание PR

Данный PR изменяет текстуры X-01 multiphase gun и антикварного лазерного пистолета. Помимо этого вышеуказанные лазеры теперь стреляют одним типом боевого лазера. Так же был добавлен перевод для X-01 multiphase gun на русский язык.

Медиа

icon
icon

Тип PR

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

🆑

  • add: Добавлен перевод для X-01 multiphase gun.
  • tweak: Теперь мультифазная пушка и антикварный лазер стреляют прожектайлами.
  • tweak: Урон лазерных пуль для мультифазной пушки был изменён с 22 до 20.
  • tweak: Скорость пуль из мультифазной пушки была изменена с 75 до 40 (чуть больше чем у пуль).
  • tweak: Текстуры антикварного лазера м мультифазной пушки были улучшены.

Summary by CodeRabbit

  • Новые возможности:
    • Добавлена новая мультифазная энергетическая пушка X-01 с расширенными режимами стрельбы и полной локализацией.
    • Переработаны характеристики антикварной лазерной пушки: повышена скорость снаряда, обновлён звуковой эффект, увеличена цена и добавлена функция автоматической подзарядки.
  • Стиль:
    • Оптимизированы анимации оружия с улучшенными задержками переходов, что обеспечивает более плавное и реалистичное визуальное отображение.

@Agronomist-NN Agronomist-NN requested a review from Rxup as a code owner February 6, 2025 21:14
Copy link
Contributor

coderabbitai bot commented Feb 6, 2025

Walkthrough

В пул реквесте внесены изменения в описание и функциональность нескольких оружейных сущностей. Добавлена новая мультифазная энергетическая пушка (ent-WeaponMultiphaseEnergyGun) с соответствующими записями в файлах локализации (англ. и рус.). Модифицированы параметры WeaponAntiqueLaser: изменена скорость снаряда, обновлён звук, изменён тип провайдера амуниции, увеличена цена и добавлен компонент BatterySelfRecharger. В файлах hitscan проведены изменения, включая замену типа снаряда и добавление новых сущностей для визуальных и звуковых эффектов, а также обновлены метаданные текстур.

Changes

Файл Изменения
Resources/Locale/.../battery_guns.ftl
Resources/Locale/ru-RU/.../X01.ftl
Добавлены новые записи для ent-WeaponMultiphaseEnergyGun с именем и описанием оружия (англ. и рус. версии).
Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml Изменены параметры WeaponAntiqueLaser: добавлена скорость снаряда (40), обновлён soundGunshot, изменён тип провайдера амуниции с HitscanBatteryAmmoProvider на ProjectileBatteryAmmoProvider, увеличена цена (750 → 5750) и добавлен BatterySelfRecharger (autoRechargeRate: 40).
Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml Обновлён X-01 multiphase energy gun: снижена скорость снаряда с 75 до 40, добавлен новый компонент soundGunshot с обновлённым путем и параметрами, изменён тип провайдера амуниции (proto: X01Attack → BulletEnergyGunLaserMk2); добавлены новые сущности BulletEnergyGunLaserMk2 и BulletImpactEffectRedDisabler, удалён X01Attack.
Resources/Textures/Backmen/.../x01.rsi/meta.json
Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/meta.json
Обновлены метаданные текстур: изменены задержки для состояний (mag-unshaded, inhand), переименован state (redtrac → equipped-SUITSTORAGE) с добавлением направления, а также обновлены сведения об авторских правах.

Sequence Diagram(s)

sequenceDiagram
    participant Игрок
    participant Оружие as X-01 Пушка
    participant Провайдер as ProjectileBatteryAmmoProvider
    participant Звук as SoundGunshot
    participant Эффект as BulletImpactEffectRedDisabler
    Игрок->>Оружие: Инициирует выстрел
    Оружие->>Провайдер: Запрашивает снаряд (BulletEnergyGunLaserMk2)
    Провайдер-->>Оружие: Возвращает снаряд
    Оружие->>Звук: Воспроизводит звук выстрела
    Оружие->>Эффект: Генерирует эффект попадания
Loading
sequenceDiagram
    participant Игрок
    participant Оружие as Antique Laser
    participant Зарядка as BatterySelfRecharger
    participant Провайдер as ProjectileBatteryAmmoProvider
    participant Звук as SoundGunshot
    Игрок->>Оружие: Инициирует выстрел
    Оружие->>Зарядка: Проверяет уровень заряда
    Зарядка-->>Оружие: Подтверждает заряд
    Оружие->>Провайдер: Запрашивает снаряд (BulletEnergyGunLaserMk2)
    Провайдер-->>Оружие: Передаёт снаряд
    Оружие->>Звук: Воспроизводит звук выстрела
Loading

Poem

Я – кролик, радостью полон,
В мире кода свет заискрён.
Новые пушки сверкают, как меч,
В анимациях — ритм и смех.
Пусть изменения вас приведут к успеху! 🐰✨


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 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 Changes: Audio S: Untriaged labels Feb 6, 2025
Copy link
Contributor

github-actions bot commented Feb 6, 2025

RSI Diff Bot; head commit 444e003 merging into 9341b8b
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi

State Old New Status
base Modified
icon Modified
inhand-left-0 Modified
inhand-left-1 Modified
inhand-left-2 Modified
inhand-left-3 Modified
inhand-left Modified
inhand-right-0 Modified
inhand-right-1 Modified
inhand-right-2 Modified
inhand-right-3 Modified
inhand-right Modified
mag-unshaded-0 Modified
mag-unshaded-1 Modified
mag-unshaded-2 Modified
mag-unshaded-3 Modified
mag-unshaded-4 Modified
equipped-SUITSTORAGE Added

Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi

State Old New Status
base Modified
icon Modified
mag-unshaded-0 Modified
mag-unshaded-1 Modified
mag-unshaded-2 Modified
mag-unshaded-3 Modified
mag-unshaded-4 Modified

Edit: diff updated after 444e003

@Agronomist-NN Agronomist-NN changed the title oppening commit X-01 multiphase gun & antique laser gun bullet projectiles Feb 6, 2025
Copy link
Contributor

@trest100 trest100 left a comment

Choose a reason for hiding this comment

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

исправить

soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
Copy link
Contributor

Choose a reason for hiding this comment

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

где коммент бэкмен эдит?

@@ -596,7 +599,7 @@
- Sidearm
- WeaponAntiqueLaser
- type: StaticPrice
price: 750
Copy link
Contributor

Choose a reason for hiding this comment

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

где коммент бэкмен эдит?

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: 2

🧹 Nitpick comments (3)
Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/meta.json (1)

4-4: Исправьте опечатку в информации об авторских правах.

В слове "spriyed" допущена опечатка.

-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/484fcb08e8e2058b81059424fb5aa77034a3fcf1. Multiphase variant spriyed by Agronomist",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/484fcb08e8e2058b81059424fb5aa77034a3fcf1. Multiphase variant sprited by Agronomist",
Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml (2)

44-44: Удаление лишних пробелов
Обнаружены завершающие лишние пробелы в строке 44 – удалите их, чтобы соответствовать стандартам форматирования YAML.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 44-44: trailing spaces

(trailing-spaces)


107-107: Удаление лишних пробелов
Найдены завершающие лишние пробелы на строке 107 – уберите их для корректного форматирования.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 107-107: 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 4f052ee and dab6526.

⛔ Files ignored due to path filters (26)
  • Resources/Audio/Backmen/Weapons/Energy/Resources_Audio_DeltaV_Weapons_Guns_Gunshots_laser.ogg is excluded by !**/*.ogg
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/base.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/equipped-SUITSTORAGE.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-left-0.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-left-1.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-left-2.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-left-3.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-right-0.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-right-1.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-right-2.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-right-3.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/mag-unshaded-0.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/mag-unshaded-1.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/mag-unshaded-2.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/mag-unshaded-3.png is excluded by !**/*.png
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/mag-unshaded-4.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/base.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/mag-unshaded-0.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/mag-unshaded-1.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/mag-unshaded-2.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/mag-unshaded-3.png is excluded by !**/*.png
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/mag-unshaded-4.png is excluded by !**/*.png
📒 Files selected for processing (6)
  • Resources/Locale/en-US/ss14-ru/prototypes/entities/objects/weapons/guns/battery/battery_guns.ftl (1 hunks)
  • Resources/Locale/ru-RU/ss14-ru/prototypes/entities/objects/weapons/guns/battery/battery_guns.ftl (1 hunks)
  • Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml (2 hunks)
  • Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml (3 hunks)
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/meta.json (4 hunks)
  • Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/meta.json (1 hunks)
🧰 Additional context used
🪛 GitHub Actions: YAML Linter
Resources/Locale/ru-RU/ss14-ru/prototypes/entities/objects/weapons/guns/battery/battery_guns.ftl

[error] 70-70: Expected one of 'a-zA-Z'.

🪛 GitHub Actions: Build & Test Debug
Resources/Locale/ru-RU/ss14-ru/prototypes/entities/objects/weapons/guns/battery/battery_guns.ftl

[error] 70-70: Expected one of "a-zA-Z"

🪛 GitHub Actions: RSI Validator
Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/meta.json

[error] 125-125: Failed to read meta.json: Expecting property name enclosed in double quotes.

🪛 YAMLlint (1.35.1)
Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml

[warning] 22-22: wrong indentation: expected 8 but found 10

(indentation)


[error] 44-44: trailing spaces

(trailing-spaces)


[error] 107-107: trailing spaces

(trailing-spaces)

🔇 Additional comments (10)
Resources/Locale/en-US/ss14-ru/prototypes/entities/objects/weapons/guns/battery/battery_guns.ftl (1)

53-54: Отлично! Локализация соответствует описанию оружия.

Описание точно отражает характеристики оружия, указанные в целях PR.

Resources/Locale/ru-RU/ss14-ru/prototypes/entities/objects/weapons/guns/battery/battery_guns.ftl (1)

68-69: Хороший перевод!

Перевод точно передает смысл оригинала и соответствует стилю игры.

Resources/Textures/Objects/Weapons/Guns/Battery/antiquelasergun.rsi/meta.json (1)

18-25: Анимация корректно настроена!

Задержки анимации правильно определены для всех состояний оружия.

Also applies to: 42-59, 64-81

Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml (4)

26-30: Замена типа боеприпаса на BulletEnergyGunLaserMk2
В компонентах ProjectileBatteryAmmoProvider и BatteryWeaponFireModes обновлено значение поля proto на "BulletEnergyGunLaserMk2", что соответствует обновленной механике выстрелов. Проверьте, что все ссылки и определения обновлены согласно новым требованиям.


61-88: Добавление нового типа снаряда BulletEnergyGunLaserMk2
Новая сущность с именем "лазерная пуля" и идентификатором BulletEnergyGunLaserMk2 включает компоненты Reflective, FlyBySound, Sprite и Projectile. Обратите внимание, что урон теперь задан как Heat: 20, что соответствует изменению баланса (уменьшение с 22 до 20).


89-107: Внедрение визуального эффекта BulletImpactEffectRedDisabler
Новая сущность BulletImpactEffectRedDisabler добавлена с компонентами TimedDespawn (lifetime: 0.2), Sprite и EffectVisuals. Проверьте, что параметры визуального эффекта соответствуют требованиям игрового баланса.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 107-107: trailing spaces

(trailing-spaces)


18-22: 🛠️ Refactor suggestion

Обновление параметров компонента Gun
Здесь изменена скорость снаряда (projectileSpeed: 40) и добавлен новый блок soundGunshot с обновленным путём и параметрами (volume: -2). Обратите внимание, что YAMLlint сообщает о неправильном отступе на строке 22 (ожидается 8 пробелов, найдено 10).

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 22-22: wrong indentation: expected 8 but found 10

(indentation)

Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml (3)

580-584: Обновление параметров компонента Gun в antique laser pistol
В секции компонента Gun для сущности "antique laser pistol" изменена скорость снаряда на 40, а также обновлен звук выстрела: изменён путь к файлу звука на "/Audio/Backmen/Weapons/Energy/Resources_Audio_DeltaV_Weapons_Guns_Gunshots_laser.ogg" и добавлен параметр volume: -2. Эти изменения соответствуют новым требованиям баланса.


586-586: Обновление типа боеприпаса для antique laser pistol
В компоненте ProjectileBatteryAmmoProvider для antique laser pistol изменено значение поля proto на "BulletEnergyGunLaserMk2", что гарантирует использование нового типа снаряда.


602-602: Изменение статической цены
Статическая цена для antique laser pistol обновлена до 5750, что отражает изменения в экономике игры. Убедитесь, что данное значение цены интегрируется с общей системой расчёта стоимости предметов.

@Agronomist-NN Agronomist-NN reopened this Feb 6, 2025
............................................
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

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between dab6526 and 3349dd7.

📒 Files selected for processing (3)
  • Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/weapons/guns/battery/X01.ftl (1 hunks)
  • Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml (2 hunks)
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/meta.json (4 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • Resources/Textures/Backmen/Objects/Weapons/Guns/Energy/x01.rsi/meta.json
🧰 Additional context used
🪛 GitHub Actions: YAML Linter
Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/weapons/guns/battery/X01.ftl

[error] 3-3: Expected one of 'a-zA-Z'.

⏰ Context from checks skipped due to timeout of 300000ms (2)
  • GitHub Check: Test Packaging
  • GitHub Check: build (ubuntu-latest)
🔇 Additional comments (4)
Resources/Locale/ru-RU/ss14-ru/prototypes/backmen/entities/objects/weapons/guns/battery/X01.ftl (1)

1-2: Перевод корректен и соответствует функционалу оружия.

Перевод точно отражает характеристики оружия и его происхождение.

Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml (3)

580-584: Параметры звука и скорости снаряда соответствуют балансу.

Изменения скорости снаряда и настройки звука улучшают баланс оружия.


585-587: Тип снаряда изменен в соответствии с целями PR.

Замена типа снаряда на BulletEnergyGunLaserMk2 соответствует указанным изменениям.


602-602: Значительное увеличение цены.

Цена увеличена с 750 до 5750, что существенно влияет на баланс игры. Убедитесь, что это намеренное изменение.

@Agronomist-NN
Copy link
Contributor Author

Этот PR проклят...

Pomogite...
@Agronomist-NN
Copy link
Contributor Author

Проклятие 220...

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 (2)
Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml (2)

44-44: Удалите лишние пробелы.
Обнаружены хвостовые пробелы на строке 44. Рекомендуется удалить их для соответствия стандартам оформления YAML.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 44-44: trailing spaces

(trailing-spaces)


89-107: Добавление эффекта при попадании "BulletImpactEffectRedDisabler".
Новый прототип эффекта добавлен с заданными компонентами TimedDespawn, Sprite, EffectVisuals и Tag. Обратите внимание, что в строке 107 имеются лишние пробелы – их необходимо удалить для избежания ошибок форматирования YAML.

Следующий diff демонстрирует удаление лишних пробелов:

-    
+ 
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 107-107: 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 2b48515 and 444e003.

📒 Files selected for processing (1)
  • Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml (3 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml

[warning] 22-22: wrong indentation: expected 8 but found 10

(indentation)


[error] 44-44: trailing spaces

(trailing-spaces)


[error] 107-107: 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 (4)
Resources/Prototypes/_Backmen/Entities/Objects/Weapons/Guns/Energy/hitscan.yml (4)

26-31: Обновление ссылки на новый прототип снаряда.
В компоненте ProjectileBatteryAmmoProvider и в списке fireModes компонента BatteryWeaponFireModes изменена ссылка на прототип снаряда с устаревшего (X01Attack) на новый BulletEnergyGunLaserMk2. Это изменение соответствует заявленным балансировочным корректировкам.


45-60: Удаление устаревшего прототипа "X01Attack".
Устаревший тип снаряда (X01Attack) удалён, что соответствует переходу на новый прототип BulletEnergyGunLaserMk2. Убедитесь, что все ссылки на X01Attack обновлены в остальной части кодовой базы.


61-88: Добавление нового прототипа "BulletEnergyGunLaserMk2".
Добавлена новая сущность для лазерной пули, включающая компоненты Reflective, FlyBySound, Sprite и Projectile. Значение урона для типа Heat установлено в 20, что соответствует изменению баланса (снижение с 22 до 20). Все изменения выглядят корректно – проверьте, что настройка звуковых эффектов соответствует требованиям проекта.


18-22: ⚠️ Potential issue

Проверка параметров "Gun" компонента.
Изменено значение скорости снаряда (projectileSpeed: 40) и добавлен блок soundGunshot с указанием пути к звуковому файлу, что соответствует требованиям PR. Однако обратите внимание, что YAMLlint сигнализирует об ошибке отступа в строке с volume – ожидается 8 пробелов, а найдено 10.

Следующий diff предлагает исправление отступа для строки volume:

-          volume: -2
+        volume: -2
🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 22-22: wrong indentation: expected 8 but found 10

(indentation)

@Roudenn Roudenn requested a review from nomad0260 February 8, 2025 16:17
Copy link
Collaborator

@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.

я с ним согласен

@nomad0260 nomad0260 merged commit 6799930 into Rxup:master Feb 9, 2025
17 checks passed
@Agronomist-NN Agronomist-NN deleted the multiphase_and_antique_lasers_bullets branch February 10, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Audio 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.

4 participants