Skip to content

[ADD] возможность тушить окурки об гуманоидов - #1182

Closed
kekoven1 wants to merge 4 commits into
WWhiteDreamProject:masterfrom
kekoven1:cigarrets-butts-tights
Closed

[ADD] возможность тушить окурки об гуманоидов#1182
kekoven1 wants to merge 4 commits into
WWhiteDreamProject:masterfrom
kekoven1:cigarrets-butts-tights

Conversation

@kekoven1

@kekoven1 kekoven1 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Текст между стрелками - это комментарии - они не будут видны в вашем PR

Описание PR

Описание пулл реквеста. Что он изменяет? На что он может повлиять? Почему было решено сделать эти изменения?

Описание.
возможность тушить окурки об гуманоидов
описание выше

Медиа

Сюда можно вставить различные видео или скриншоты, необходимые для демонстрации работоспособности пулл реквеста.
Если в этом нет необходимости, то весь пункт можно просто удалить.

Изменения

🆑

  • add: Добавлено возможность тушить бычки об гуманоидов

@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2cdb4e62-7a79-43e9-b032-582a42e704b4

📥 Commits

Reviewing files that changed from the base of the PR and between ba7c880 and 07f070b.

📒 Files selected for processing (3)
  • Content.Server/_White/Other/ExtinguishingCigaretteButtsOnPeopleSystem.cs
  • Resources/Locale/en-US/_white/smokeable/extinguishing.ftl
  • Resources/Locale/ru-RU/_white/smokeable/extinguishing.ftl
🚧 Files skipped from review as they are similar to previous changes (3)
  • Resources/Locale/ru-RU/_white/smokeable/extinguishing.ftl
  • Resources/Locale/en-US/_white/smokeable/extinguishing.ftl
  • Content.Server/_White/Other/ExtinguishingCigaretteButtsOnPeopleSystem.cs

Walkthrough

Добавлена система тушения тлеющего окурка о себя или другого гуманоидного персонажа. Система наносит тепловой урон рукам, изменяет состояние окурка и показывает локализованное сообщение.

Changes

Тушение окурков

Layer / File(s) Summary
Обработка взаимодействия с окурком
Content.Server/_White/Other/ExtinguishingCigaretteButtsOnPeopleSystem.cs, Content.Shared/Nutrition/Components/SmokableComponent.cs, Resources/Locale/*/_white/smokeable/extinguishing.ftl
Система проверяет взаимодействие и гуманоидную цель, наносит тепловой урон рукам, устанавливает IsExtinguishedOnSomeone и показывает сообщения для себя или другого персонажа. Добавлены английские и русские строки локализации.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: remuchi

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Заголовок точно описывает основное изменение: добавление возможности тушить окурки об гуманоидов.
Description check ✅ Passed Описание связано с изменениями и указывает на добавление возможности тушить окурки об гуманоидов.
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.
✨ 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.

@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/Locale/en-US/_white/smokeable/extinguishing.ftl`:
- Around line 1-2: Replace the invalid Fluent variable references {$name} and
{$smokeable} in both Resources/Locale/en-US/_white/smokeable/extinguishing.ftl
lines 1-2 and Resources/Locale/ru-RU/_white/smokeable/extinguishing.ftl lines
1-2, preserving each message’s existing text and formatting behavior.
🪄 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: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c236cff8-ce58-4b03-933a-91ea5f5269a4

📥 Commits

Reviewing files that changed from the base of the PR and between ff38ac4 and ba7c880.

📒 Files selected for processing (4)
  • Content.Server/_White/Other/ExtinguishingCigaretteButtsOnPeopleSystem.cs
  • Content.Shared/Nutrition/Components/SmokableComponent.cs
  • Resources/Locale/en-US/_white/smokeable/extinguishing.ftl
  • Resources/Locale/ru-RU/_white/smokeable/extinguishing.ftl

Comment thread Resources/Locale/en-US/_white/smokeable/extinguishing.ftl Outdated
@kekoven1 kekoven1 closed this Aug 5, 2026
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