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

Маленькие изменения #309

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

DarkSide-droids
Copy link
Contributor

@DarkSide-droids DarkSide-droids commented Oct 28, 2024

image

Описание обновления:

Голобарьер службы безопасности, одна из тех вещей которая так редко используется в игре. Почему же? Скорее всего, из-за того что он слишком быстро пропадает. 180 секунд - крайне мало для такой вещи. Может быть после этого PR-а, он станет более полезным.
Провода для ремонта КПБ получили небольшое улучшение. Ранее чтобы починить 120 повреждений на КПБ, уходило почти 60-70 проводов. Теперь же, потребуется немного меньше проводов для ремонта

Медиа
Увы.... (Нет)

Проверки

  • PR завершён и мне не нужна помощь чтобы его закончить.
  • Я внимательно просмотрел все свои изменения и багов в них не нашёл.
  • Я запускал локальный сервер со своими изменениями и всё протестировал.
  • Я добавил скриншот/видео демонстрации PR в игре, или этот PR этого не требует.
  • Я не добавлял контент нарушающий чужие авторские права.
  • Я добавил свой контент только в папку _LostParadise(только если вы не меняете оригинальный код).
  • Я не добавлял переводы в прототипы, а сделал их с помощью скрипта translations.bat в Tools/SS14_RU.

Изменения

🆑 MrDarkSide

  • tweak: Изменена задержка перед исчезновением у голобарьера СБ с 180 сек. до 600 сек.
  • tweak: Изменено кол-во урона которые лечат провода для КПБ. С -1.66 до -3.50.
  • tweak: Изменена задержка использования проводов на КПБ с 0.6 до 0.7

Copy link
Contributor

coderabbitai bot commented Oct 28, 2024

Walkthrough

В данном запросе на изменение внесены модификации в файлы конфигурации YAML для различных сущностей. В файле cable_coils.yml изменены свойства сущности CableStack, включая увеличение времени задержки для компонента Healing и изменение значений урона для типов Heat и Shock. В файле projections.yml для сущности HolosignSecurity увеличено время жизни компонента TimedDespawn с 180 до 600 секунд, что изменяет управление жизненным циклом этой сущности. Остальные сущности в обоих файлах остались без изменений.

Changes

File Path Change Summary
Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml Изменены свойства сущности CableStack: задержка Healing увеличена с 0.6 до 0.7, урон Heat и Shock изменен с -1.66 до -3.50. Добавлены новые сущности и изменены существующие, сохраняя иерархическую структуру.
Resources/Prototypes/Entities/Structures/Holographic/projections.yml В сущности HolosignSecurity увеличено время жизни компонента TimedDespawn с 180 до 600 секунд. Остальные сущности без изменений.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant CableStack
    participant HolosignSecurity

    User->>CableStack: Запрос на использование
    CableStack->>User: Урон Heat: -3.50, Shock: -3.50
    User->>HolosignSecurity: Запрос на взаимодействие
    HolosignSecurity->>User: Не уничтожается автоматически
Loading

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 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 Изменения: YML Изменяет какие-либо файлы .yml Статус: Требуется одобрение Ожидание разработчиков для принятия решений labels Oct 28, 2024
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: ASSERTIVE

📥 Commits

Files that changed from the base of the PR and between 54a328d and b755145.

📒 Files selected for processing (2)
  • Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml (1 hunks)
  • Resources/Prototypes/Entities/Structures/Holographic/projections.yml (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml (1)

Pattern **/*.yml: так же в прототипах запрещены любые переводы на русский. Только на английском или ссылкой на перевод.

Все добавляемые прототипы должны быть в нашей папке.

Никогда не предлагать ничего по отступам

При удалении дополнительного дополнения по типу prob:, можно оставить оригинальную часть с - id:.

Resources/Prototypes/Entities/Structures/Holographic/projections.yml (1)

Pattern **/*.yml: так же в прототипах запрещены любые переводы на русский. Только на английском или ссылкой на перевод.

Все добавляемые прототипы должны быть в нашей папке.

Никогда не предлагать ничего по отступам

При удалении дополнительного дополнения по типу prob:, можно оставить оригинальную часть с - id:.

🪛 yamllint
Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml

[error] 38-38: wrong indentation: expected 6 but found 4

(indentation)


[warning] 40-40: too few spaces before comment

(comments)

🔇 Additional comments (2)
Resources/Prototypes/Entities/Structures/Holographic/projections.yml (1)

71-72: 🧹 Nitpick (assertive)

Проверьте влияние на игровой баланс.

Отключение компонента TimedDespawn сделает голографический барьер постоянным, что может повлиять на игровой баланс. Убедитесь, что:

  • Игроки имеют достаточно способов противодействия постоянным барьерам
  • Количество размещаемых барьеров ограничено другими механиками
✅ Verification successful

Изменение баланса приемлемо

Удаление компонента TimedDespawn компенсируется следующими механиками:

  • Голопроектор требует энергоячейку для работы
  • Каждое использование потребляет 120 единиц заряда
  • Барьеры описаны как "хрупкие" и могут быть уничтожены
  • Количество барьеров ограничено зарядом батареи
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Проверяем наличие других механик ограничения барьеров
rg -l "HolosignSecurity" | xargs rg "maxAmount|maxCharges|cooldown"

Length of output: 67


Script:

#!/bin/bash
# Search for holosign security barrier related files and configurations
rg -l "HolosignSecurity|holosign|holobarrier" --type yaml

# Then let's look at the content of these files
fd -e yml -e yaml . | xargs rg "HolosignSecurity|holosign|holobarrier" -C 5

Length of output: 2714


Script:

#!/bin/bash
# Let's check the parent entity and base holoprojector configuration
rg "parent: Holoprojector" -B 10 -A 10 Resources/Prototypes/Entities/Objects/Devices/holoprojectors.yml

# Also check for any power cell or charge limitations
rg "chargeUse|maxCharges|PowerCell" Resources/Prototypes/Entities/Objects/Devices/holoprojectors.yml -C 3

Length of output: 4219

Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml (1)

36-42: Проверьте значительное увеличение силы лечения

Изменения увеличивают силу лечения более чем в два раза (с -1.66 до -3.50). Это существенное изменение баланса, которое может иметь непредвиденные последствия.

Пожалуйста, подтвердите:

  1. Было ли это изменение протестировано на предмет баланса?
  2. Не делает ли это кабели слишком эффективным средством лечения?
✅ Verification successful

Увеличение силы лечения обосновано для кабелей

Изменение значений лечения с -1.66 до -3.50 для типов урона Heat и Shock является обоснованным, так как:

  1. Кабели - единственный предмет, способный лечить повреждения контейнера Silicon
  2. Это специализированный инструмент для ремонта синтетических существ (киборгов, ИПК)
  3. Значения соответствуют общему балансу, учитывая:
    • Ограниченное применение (только для Silicon)
    • Задержку использования 0.7 секунд
    • Необходимость иметь запас кабелей
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for other healing components to compare values
rg -A 5 "Healing:\n.*damage:\n.*types:" --type yaml

Length of output: 245


Script:

#!/bin/bash
# Search for damage/healing configurations in yaml files
rg -U --multiline "damage:\n.*types:.*" --type yaml -A 3

Length of output: 307361


Script:

#!/bin/bash
# Search specifically for healing-related components and effects
rg -U --multiline "components:\n.*Healing:" --type yaml -A 10

Length of output: 63


Script:

#!/bin/bash
# Look for other cable-related configurations
fd "cable.*\.yml$" | xargs cat

Length of output: 11708


Script:

#!/bin/bash
# Search for healing-related components and effects with a different pattern
rg -U "Healing:.*damage:" --type yaml -A 5

Length of output: 44


Script:

#!/bin/bash
# Search for other healing items/effects to compare values
rg -U "damage:.*types:.*Heat:.*-[0-9]" --type yaml

Length of output: 52


Script:

#!/bin/bash
# Look for other silicon-related healing
rg -U "damageContainers:.*Silicon" --type yaml

Length of output: 48


Script:

#!/bin/bash
# Search for healing effects with different patterns
rg -U "types:.*Heat:.*-[0-9]|types:.*Shock:.*-[0-9]" --type yaml -A 3

Length of output: 71


Script:

#!/bin/bash
# Look for silicon-related components with a different pattern
rg -U "Silicon.*damage|damage.*Silicon" --type yaml -A 5

Length of output: 1674


Script:

#!/bin/bash
# Search for healing components with broader pattern
rg -U "components:.*Healing|Healing:.*damage" --type yaml -A 10

Length of output: 65

🧰 Tools
🪛 yamllint

[error] 38-38: wrong indentation: expected 6 but found 4

(indentation)


[warning] 40-40: too few spaces before comment

(comments)

@BL02DL
Copy link
Collaborator

BL02DL commented Oct 29, 2024

@DarkSide-droids верни деспавн голопроекту, но повысь его настолько, насколько считаешь нужным, не более 10 минут

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

📥 Commits

Files that changed from the base of the PR and between b755145 and b3b1e83.

📒 Files selected for processing (1)
  • Resources/Prototypes/Entities/Structures/Holographic/projections.yml (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
Resources/Prototypes/Entities/Structures/Holographic/projections.yml (1)

Pattern **/*.yml: так же в прототипах запрещены любые переводы на русский. Только на английском или ссылкой на перевод.

Все добавляемые прототипы должны быть в нашей папке.

Никогда не предлагать ничего по отступам

При удалении дополнительного дополнения по типу prob:, можно оставить оригинальную часть с - id:.

🪛 yamllint
Resources/Prototypes/Entities/Structures/Holographic/projections.yml

[warning] 72-72: too few spaces before comment

(comments)

@Evgencheg Evgencheg merged commit f873d5d into Lost-Paradise-Project:master Oct 31, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Изменения: YML Изменяет какие-либо файлы .yml Статус: Требуется одобрение Ожидание разработчиков для принятия решений
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants