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

[Fix] i dont hate corvax #1032

Merged
merged 2 commits into from
Feb 7, 2025
Merged

[Fix] i dont hate corvax #1032

merged 2 commits into from
Feb 7, 2025

Conversation

nomad0260
Copy link
Collaborator

@nomad0260 nomad0260 commented Feb 7, 2025

Описание PR

Чинит кое-что

Тип PR

  • Fix

Summary by CodeRabbit

  • New Features

    • Добавлены новые производственные системы, предлагающие расширенный выбор рецептов и улучшенные визуальные и звуковые эффекты.
  • Refactor

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

Copy link
Contributor

coderabbitai bot commented Feb 7, 2025

Walkthrough

Внесены изменения в несколько YAML-файлов. В каталоге убраны устаревшие товары и изменены параметры одного продукта, а также добавлены комментарии. В файле станции закомментирован один путь, чтобы его при необходимости можно было восстановить. В конфигурациях станков (lathe) добавлены новые сущности, расширены рецепты, обновлены свойства компонентов и визуальные эффекты. Файл миграции обновляет сопоставления идентификаторов, удаляя, переименовывая и добавляя записи для консолидации наименований.

Changes

Файл Изменения
Resources/.../uplink_catalog.yml Удалены товары: UplinkSniperBundle, UplinkC20RBundle, UplinkBulldogBundle, UplinkGrenadeLauncherBundle, UplinkL6SawBundle; модифицирован UplinkMosinAmmo (productEntity: MagazineBoxLightRifle → MagazineBoxHeavyRifle762, Telecrystal: 1 → 4); добавлены комментарии.
Resources/.../nanotrasen.yml Закомментирован путь «/Maps/Corvax/Ruins/corvax_ussp_asteroid.yml» в массиве paths компонента GridSpawn.
Resources/.../lathe.yml Добавлены новые сущности: Autolathe, Protolathe, CircuitImprinter, CircuitImprinterHyperConvection, ExosuitFabricator, Biofabricator, OreProcessor, AmmoTechFab, MedicalTechFab, ProtolatheCash, CutterMachine; обновлены свойства Lathe (producingSound, idleState, runningState), расширены рецепты, обновлён whitelist MaterialStorage и визуальные Sprite компоненты.
Resources/migration.yml Удалён GunSafeSubMachineGunVector; добавлен GunSafeSubMachineGunDrozd; переименован WeaponSubMachineGunDrozd в WeaponSubMachineGunVectorSpecial; FoodDonutBlumpkin переименована в FoodDonutBluePumpkin.

Sequence Diagram(s)

sequenceDiagram
    participant Пользователь
    participant Латhe
    participant МатХранилище
    participant СистемаРецептов

    Пользователь->>Латhe: Запрос производства
    Латhe->>МатХранилище: Проверка материалов
    МатХранилище-->>Латhe: Материалы доступны
    Латhe->>СистемаРецептов: Запрос рецепта
    СистемаРецептов-->>Латhe: Отправка рецепта
    Латhe->>Пользователь: Запуск производства (producingSound, смена состояния)
    Латhe->>Пользователь: Выдача готового продукта
Loading

Poem

Привет, я кролик, код мой вдохновенье,
В YAML-странах веселятся изменения.
Удалил и добавил — всё в унисон,
Как морковка с хрустом под первым солнцем.
Пусть новизна в системе мирно царит,
И каждый баг легко от нас убегает!
(__/) (•ㅅ•) /’*’/


📜 Recent 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 89b1264.

📒 Files selected for processing (4)
  • Resources/Prototypes/Catalog/uplink_catalog.yml (1 hunks)
  • Resources/Prototypes/Corvax/Entities/Stations/nanotrasen.yml (1 hunks)
  • Resources/Prototypes/Entities/Structures/Machines/lathe.yml (1 hunks)
  • Resources/migration.yml (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • Resources/Prototypes/Corvax/Entities/Stations/nanotrasen.yml
⏰ Context from checks skipped due to timeout of 300000ms (1)
  • GitHub Check: build (ubuntu-latest)
🔇 Additional comments (6)
Resources/migration.yml (1)

33-33: Удаление устаревшего сопоставления GunSafeSubMachineGunVector
На строке 33 закомментировано сопоставление «GunSafeSubMachineGunVector: GunSafeSubMachineGunDrozd». Это соответствует цели удалить устаревшую (в данном случае, связанную с Corvax) сущность из маппинга.

Resources/Prototypes/Entities/Structures/Machines/lathe.yml (3)

54-74: Базовые сущности для латей и настройка BaseLatheLube/BaseHyperlathe
Обратите внимание на раздел с базовыми настройками (строки 54–74). Параметры, связанные с реагентами (например, использование lube, модификаторы SpaceLube и SpaceGlue) выглядят корректно и соответствуют балансировочным расчётам.


88-342: Добавление сущностей Autolathe, AutolatheHyperConvection и Protolathe
Новые сущности (Autolathe, AutolatheHyperConvection и Protolathe) добавлены с соответствующими компонентами, включая спрайты, настройку слоёв визуализации и списки рецептов (staticRecipes и dynamicRecipes). Рекомендуется проверить, что список рецептов и интерфейсные параметры (idleState, runningState и их неосвещённые аналоги) полностью соответствуют требованиям игры.


633-1574: Обзор остальных новых сущностей латей (ExosuitFabricator, Biofabricator, SecurityTechFab, AmmoTechFab, MedicalTechFab, UniformPrinter, Biogenerator, OreProcessor, Sheetifier, ProtolatheCash, CutterMachine и т.д.)
В файле добавлено множество новых сущностей, каждая из которых имеет свои специфические компоненты (например, спрайты, настройки UI, рецепты, белые списки материалов). Рекомендуется проверить:
• Корректность наследования (parent) и соответствие базовым определениям.
• Точность рецептов и настройку звуковых эффектов (producingSound) для каждого типа латей.
• Единообразие использования слоёв визуализации и UI-ключей.
В целом изменения выглядят последовательными, но стоит выполнить дополнительное тестирование функционала машин в игре.

Resources/Prototypes/Catalog/uplink_catalog.yml (2)

513-522: Обновление листинга UplinkMosinAmmo
Изменён параметр productEntity с «WeaponSniperMosinNew» на «MagazineBoxHeavyRifle762» и изменена стоимость Telecrystal с 1 на 4 (строки 517–520). Эти изменения, судя по комментариям «#backmen-ammonation», направлены на корректировку баланса товара. Рекомендуется убедиться, что новая сущность и стоимость соответствуют общему балансу каталога.


147-216: Удаление устаревших товарных листингов
Закомментированные блоки (строки 147–216) отражают удаление таких листингов, как UplinkSniperBundle, UplinkC20RBundle, UplinkBulldogBundle, UplinkGrenadeLauncherBundle и UplinkL6SawBundle. Данное удаление соответствует стратегии консолидации и стандартизации каталога. Проверьте, что аналогичные товары скорректированы в других связанных конфигурациях.


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 Changes: Map Can be reviewed or fixed by people who are knowledgeable with mapping. No C# Нету кода. size/XL labels Feb 7, 2025
@trest100
Copy link
Contributor

trest100 commented Feb 7, 2025

Nomad lore:

@github-actions github-actions bot added size/XS and removed size/XL labels Feb 7, 2025
@nomad0260 nomad0260 changed the title [Fix] i hate corvax [Fix] i dont hate corvax Feb 7, 2025
@Rxup Rxup merged commit d7e5a5c into Rxup:master Feb 7, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Map Can be reviewed or fixed by people who are knowledgeable with mapping. No C# Нету кода. S: Untriaged size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants