Дебаг невидимое электричество - #1116
Conversation
📝 WalkthroughWalkthroughДобавлены семь невидимых DEBUG-прототипов энергетических устройств и кабелей. Устройства получили параметры генерации или автоматической перезарядки. Для всех прототипов настроены физические фикстуры. Добавлена русская локализация. ChangesОтладочные энергетические прототипы
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 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/_Scp/Entities/Structures/debug_power.yml`:
- Around line 5-18: Добавьте в каждый DEBUG-прототип кабеля компоненты CableVis
с точкой подключения node: power и CableVisualizer с соответствующим
statePrefix: mvcable_, lvcable_ или hvcable_. Используйте эти компоненты рядом с
существующими NodeContainer и Cable, чтобы визуализация обновляла спрайт по
ConnectedMask вместо фиксированного state.
- Around line 7-8: Исправьте ссылки sprite в прототипе debug_power, включая
состояния mvcable_15, lvcable_15 и hvcable_15: используйте существующие
fork-ассеты из Resources/Textures/_Scp/Structures/Power/Cables вместо
несуществующих путей _Scp/Structures/Power/Cables, либо добавьте отсутствующие
ассеты по этим путям.
- Around line 1-145: Run the mandatory localization validation for the YAML
prototypes in debug_power.yml, checking FTL coverage for every player-facing
prototype ID introduced or changed, including ScpCableMVInvisible,
ScpCableApcExtensionInvisible, ScpCableHVInvisible, ScpDebugInvisibleGenerator,
ScpDebugInvisibleSMESRecharging, ScpDebugInvisibleSubstationRecharging, and
ScpDebugInvisibleAPCRecharging. Add or update the corresponding localization
entries as required by the validation.
🪄 Autofix
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 Plus
Run ID: 0e61843e-aeaa-43d4-871e-258d18d4d2c5
📒 Files selected for processing (2)
Resources/Locale/ru-RU/_prototypes/_scp/entities/structures/debug_power.ftlResources/Prototypes/_Scp/Entities/Structures/debug_power.yml
Краткое описание
для ивентологов
Ссылка на багрепорт/Предложение
Медиа (Видео/Скриншоты)
Changelog
🆑 timur
Summary by CodeRabbit