Skip to content

Stopping bleeding with a websilk#539

Open
Nordstream17 wants to merge 2 commits into
space-sunrise:masterfrom
Nordstream17:treatment_with_websilk
Open

Stopping bleeding with a websilk#539
Nordstream17 wants to merge 2 commits into
space-sunrise:masterfrom
Nordstream17:treatment_with_websilk

Conversation

@Nordstream17

@Nordstream17 Nordstream17 commented May 23, 2026

Copy link
Copy Markdown
Contributor

Паучьему шёлку добавлена возможность останавливать кровотечение и слабо лечить уколы и порезы.

Ссылка на багрепорт/Предложение | Related Issue/Bug Report

Медиа (Видео/Скриншоты) | Media (Video/Screenshots)

Паучий шёлк теперь останавливает кровотечение, хоть и слабее, чем ткань

🆑 Nordstream17

  • add: добавлена остановка кровотечения и слабое лечение паучьему шёлку

Summary by CodeRabbit

  • New Features
    • Материал MaterialWebSilk получает эффект лечения биологического урона с учётом типов повреждений (различные модификаторы для рубящих, колющих и искажающих ран), снижением кровопотери и звуковыми эффектами при начале и завершении лечения (настроены громкость и вариация).

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 23, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2eb7570a-69aa-4cfd-91a3-35ad8ca4cf3d

📥 Commits

Reviewing files that changed from the base of the PR and between 96ed8f4 and 1cf329c.

📒 Files selected for processing (1)
  • Resources/Prototypes/Entities/Objects/Materials/materials.yml

📝 Walkthrough

Walkthrough

В прототипе MaterialWebSilk добавлен компонент Healing с настройками восстановления для контейнера урона Biological: таблица модификаторов типов урона, bloodlossModifier и звуковые файлы начала/окончания лечения с параметрами.

Changes

Компонент восстановления для шёлка

Layer / File(s) Summary
Конфигурация компонента Healing для MaterialWebSilk
Resources/Prototypes/Entities/Objects/Materials/materials.yml
Добавлен компонент Healing с damageContainers: [Biological], таблицей модификаторов типов урона (включая Mangleness: 0.3), bloodlossModifier: -3, и звуками начала/окончания лечения (/Audio/Items/Medical/brutepack_begin.ogg, /Audio/Items/Medical/brutepack_end.ogg) с параметрами volume и variation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Suggested labels

🧊 Нет C# 🧊, 📦 YAML | Прототип 📦

Poem

🐰 Шёлк ласковый шепчет в тиши,
Раны плетёт он леченьем своим,
Звук леченья — как тёплая нить,
Веб исцеляет — и вновь ростёт мир. 🌿

🚥 Pre-merge checks | ✅ 10
✅ Passed checks (10 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Заголовок точно отражает основное изменение: добавление функциональности остановки кровотечения для компонента MaterialWebSilk (паучий шёлк).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Ss14 Bridge Sync ✅ Passed PR изменил 3 rule и 42 skill файлы в .agent/. Все требуемые bridge файлы обновлены в .agents/, .claude/, .cursor/, .github/ с правильными source path ссылками.
Ss14 C# Rules ✅ Passed The custom check applies only to PRs that change .cs files. This PR modifies only YAML prototypes (materials.yml), with no C# code changes. Check is not applicable.
Ss14 Yaml/Ftl Rules ✅ Passed Компонент правильно форматирован (- type: Healing), ID в CamelCase, English fallback в YAML, используются правильные Sunrise edit-маркеры для минимального редактирования ванильной сущности.
Ss14 Prototype ↔ Ftl Parity ✅ Passed PR изменяет только компонент Healing в MaterialWebSilk без изменения name/description/suffix. FTL записи ent-MaterialWebSilk сохраняют синхронизацию и актуальны.
Ss14 Prediction Safety ✅ Passed PR содержит только YAML конфигурацию без изменений Content.Shared или C# предсказываемого кода, поэтому проверка не применима.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Resources/Prototypes/Entities/Objects/Materials/materials.yml`:
- Around line 640-658: The Healing material block needs Sunrise-style fork
markers around the multi-line edit instead of the lone inline tag; replace the
inline "`#SUNRISE-EDIT`" next to the Mangleness entry with a marker pair "Sunrise
edit start" (placed before the modified lines of the Healing block) and "Sunrise
edit end" (after the block), and include a short reason string following the
start marker (e.g., "Sunrise edit start: adjust damage types for local balance")
so the entire modified Healing section (the damage.types entries including
Mangleness and surrounding Healing properties like bloodlossModifier and
healing*Sound entries) is wrapped in a Sunrise edit start/end pair.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3af59938-b4f7-409e-ba96-9abaf1030481

📥 Commits

Reviewing files that changed from the base of the PR and between 4b56c93 and 96ed8f4.

📒 Files selected for processing (1)
  • Resources/Prototypes/Entities/Objects/Materials/materials.yml

Comment thread Resources/Prototypes/Entities/Objects/Materials/materials.yml
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Этот PR содержит конфликты, пожалуйста, разрешите их, прежде чем мы сможем его оценить.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant