-
Notifications
You must be signed in to change notification settings - Fork 154
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
Fixed syndi teleporter #1022
Fixed syndi teleporter #1022
Conversation
WalkthroughВ данном изменении система экспериментального телепортера была модифицирована для проверки наличия компонента, указывающего на нахождение пользователя в утилизации. При его обнаружении происходит вызов всплывающего уведомления через Changes
Sequence Diagram(s)sequenceDiagram
participant Пользователь
participant Телепортер as ExperimentalTeleporterSystem
participant Popup as SharedPopupSystem
Пользователь->>Телепортер: Инициирует использование телепортера
Телепортер->>Пользователь: Проверяет наличие BeingDisposedComponent
alt Пользователь в утилизации
Телепортер->>Popup: Вызов popup с идентификатором "experimental-teleporter-in-disposal"
Popup-->>Пользователь: Отображение сообщения
Телепортер-->>Пользователь: Прерывание операции
else Пользователь не в утилизации
Телепортер->>Пользователь: Выполнение телепортации
end
Poem
Tip 🌐 Web search-backed reviews and chat
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this 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 (1)
Content.Server/Backmen/Teleporter/ExperimentalTeleporterSystem.cs (1)
45-49
: Реализация соответствует требованиям!Добавлена проверка на нахождение в утилизационной трубе с корректным отображением локализованного сообщения об ошибке.
Рекомендуется добавить тесты для проверки этой логики:
Хотите, чтобы я сгенерировал модульные тесты для проверки этого сценария?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
Content.Server/Backmen/Teleporter/ExperimentalTeleporterSystem.cs
(3 hunks)Resources/Locale/ru-RU/_backmen/Entities/Objects/device/syndicate_gadgets/experimental-teleporter.ftl
(1 hunks)
🔇 Additional comments (3)
Resources/Locale/ru-RU/_backmen/Entities/Objects/device/syndicate_gadgets/experimental-teleporter.ftl (1)
2-3
: Изменения корректны!Форматирование описания улучшает читаемость, а новое сообщение об ошибке чётко объясняет причину невозможности телепортации.
Content.Server/Backmen/Teleporter/ExperimentalTeleporterSystem.cs (2)
18-19
: Корректное добавление зависимостей!Добавлены необходимые using-директивы для работы с компонентами утилизации и системой всплывающих сообщений.
35-35
: Правильное внедрение зависимости!Добавлена зависимость от SharedPopupSystem для отображения сообщений пользователю.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Всё заебись...
Фикс синдителе. Rxup/space-station-14#969
Описание PR
Пофиксил синдителе. Больше не можно тепаться в утилизационных трубах и становиться невидимым.
Тип PR
Изменения
🆑
Summary by CodeRabbit