Atmos 2.0#1487
Conversation
|
RSI Diff Bot; head commit dcf6f7c merging into 965a66e Resources/Textures/Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi
Resources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi
|
|
Warning Review limit reached
Next review available in: 39 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughДобавлены атмосферные утеплённые перчатки и магнитные ботинки с прототипами, спрайтами, локализацией и включением в комплектацию шкафов. Для магботинок настроен зарядный слот PowerCell. ChangesАтмосферная экипировка
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 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/Entities/Clothing/Hands/gloves.yml`:
- Around line 727-730: Исправьте пути спрайтов в компонентах Sprite и Clothing
прототипа: они должны соответствовать фактическому расположению текстур в
chronogloves.rsi/insulated_gloves.rsi. Либо переместите папку
insulated_gloves.rsi в ожидаемый каталог, либо обновите оба значения sprite
согласованно.
In `@Resources/Prototypes/Entities/Clothing/Shoes/magboots.yml`:
- Around line 155-163: Пересмотрите компоненты ApcPowerReceiver и Charger в
определении магботинок: удалите их, если зарядка не требуется, либо замените на
механизм потребления энергии, например PowerCellDraw или прямое использование
Battery. Сохраните только компоненты, соответствующие ожидаемому поведению
магботинок — расходованию заряда батареи при работе, а не зарядке вставленной
батареи от электросети.
- Around line 151-154: Update the Sprite and Clothing component entries for the
affected magboots entity to reference the added magboots_atmos.rsi asset under
the Backmen/Clothing/Shoes/Boots directory instead of the ASLEEP path.
🪄 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
Run ID: fbfe59bb-5a76-407d-a240-1089af6be5e3
⛔ Files ignored due to path filters (16)
Resources/Textures/Backmen/Clothing/Hands/Gloves/chronogloves.rsi/insulated_gloves.rsi/equipped-HAND.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Hands/Gloves/chronogloves.rsi/insulated_gloves.rsi/icon.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Hands/Gloves/chronogloves.rsi/insulated_gloves.rsi/inhand-left.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Hands/Gloves/chronogloves.rsi/insulated_gloves.rsi/inhand-right.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/equipped-FEET-reptilian.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/equipped-FEET-vox.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/equipped-FEET.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/icon-on.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/icon.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/inhand-left.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/inhand-right.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/on-equipped-FEET-reptilian.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/on-equipped-FEET-vox.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/on-equipped-FEET.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/on-inhand-left.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/on-inhand-right.pngis excluded by!**/*.png
📒 Files selected for processing (4)
Resources/Prototypes/Entities/Clothing/Hands/gloves.ymlResources/Prototypes/Entities/Clothing/Shoes/magboots.ymlResources/Textures/Backmen/Clothing/Hands/Gloves/chronogloves.rsi/insulated_gloves.rsi/meta.jsonResources/Textures/Backmen/Clothing/Shoes/Boots/magboots_atmos.rsi/meta.json
| - type: Sprite | ||
| sprite: Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi | ||
| - type: Clothing | ||
| sprite: Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi |
There was a problem hiding this comment.
🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win
Исправьте путь к спрайтам.
Путь к спрайтам в прототипе (Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi) не совпадает с фактическим расположением файлов текстур, добавленных в этом PR (Backmen/Clothing/Hands/Gloves/chronogloves.rsi/insulated_gloves.rsi). Из-за этого текстуры предмета не будут загружаться в игре.
Убедитесь, что папка insulated_gloves.rsi находится по правильному пути, или обновите путь в прототипе. Если папка случайно оказалась внутри chronogloves.rsi, её стоит переместить.
🤖 Prompt for 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.
In `@Resources/Prototypes/Entities/Clothing/Hands/gloves.yml` around lines 727 -
730, Исправьте пути спрайтов в компонентах Sprite и Clothing прототипа: они
должны соответствовать фактическому расположению текстур в
chronogloves.rsi/insulated_gloves.rsi. Либо переместите папку
insulated_gloves.rsi в ожидаемый каталог, либо обновите оба значения sprite
согласованно.
There was a problem hiding this comment.
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/Clothing/Shoes/magboots.yml`:
- Around line 151-154: Исправьте регистр каталога Boots в значениях sprite
компонентов Sprite и Clothing прототипа магботинок: замените путь с /boots/ на
/Boots/, сохранив остальную часть пути без изменений.
🪄 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
Run ID: e7b8f93d-0aae-4b47-9527-376943c2ead2
⛔ Files ignored due to path filters (4)
Resources/Textures/Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi/equipped-HAND.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi/icon.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi/inhand-left.pngis excluded by!**/*.pngResources/Textures/Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi/inhand-right.pngis excluded by!**/*.png
📒 Files selected for processing (6)
Resources/Locale/en-US/backmen/prototypes/entities/clothing/hands/gloves.ftlResources/Locale/en-US/backmen/prototypes/entities/clothing/shoes/magboots.ftlResources/Locale/ru-RU/backmen/prototypes/entities/clothing/hands/gloves.ftlResources/Locale/ru-RU/backmen/prototypes/entities/clothing/shoes/magboots.ftlResources/Prototypes/Entities/Clothing/Shoes/magboots.ymlResources/Textures/Backmen/Clothing/Hands/Gloves/insulated_gloves.rsi/meta.json
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.yml (1)
1-1: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueОпечатка в названии директории.
Оба новых файла были добавлены в директорию с опечаткой:
ProtorypesвместоPrototypes. Движок загрузит их в любом случае (поскольку сканирует всю папкуResources), но для поддержания порядка в проекте стоит исправить название папки.
Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.yml#L1-L1: Перенесите файл в папку с исправленным названием (Prototypes).Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Shoes/magboots.yml#L1-L1: Перенесите файл в папку с исправленным названием (Prototypes).🤖 Prompt for 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. In `@Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.yml` at line 1, Переместите файлы gloves.yml (Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.yml, строки 1-1) и magboots.yml (Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Shoes/magboots.yml, строки 1-1) из каталога Protorypes в каталог Prototypes, не изменяя их содержимое.
🤖 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/_Backmen/Protorypes/Entities/Clothing/Shoes/magboots.yml`:
- Around line 10-27: Исправьте блок компонентов прототипа магботинок: устраните
дублирование ключа type в компоненте Item, добавьте корректные type для
компонентов charger_slot и зарядки, а startingItem замените на существующий ID
прототипа SS14 вместо пути /obj/Item/PowerCell с текстовым комментарием. Если
энергопитание не требуется, удалите Charger, ContainerContainer и ItemSlots,
оставив только Item.
---
Nitpick comments:
In `@Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.yml`:
- Line 1: Переместите файлы gloves.yml
(Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.yml,
строки 1-1) и magboots.yml
(Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Shoes/magboots.yml,
строки 1-1) из каталога Protorypes в каталог Prototypes, не изменяя их
содержимое.
🪄 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
Run ID: cfc2627e-899f-41e0-ac9c-e96dca1488fe
📒 Files selected for processing (4)
Resources/Prototypes/Catalog/Fills/Lockers/engineer.ymlResources/Prototypes/Entities/Clothing/Shoes/magboots.ymlResources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Hands/gloves.ymlResources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Shoes/magboots.yml
| - type: Item | ||
| size: Huge | ||
| type: Charger | ||
| - slotId: charger_slot | ||
| portable: true | ||
| chargeRate: 10 | ||
| - type: ContainerContainer | ||
| containers: | ||
| charger_slot: !type:ContainerSlot | ||
| - type: ItemSlots | ||
| slots: | ||
| charger_slot: | ||
| name: power-cell-slot-component-slot-name-default | ||
| ejectOnInteract: false | ||
| startingItem: /obj/Item/PowerCell (Что то типа этого) | ||
| whitelist: | ||
| components: | ||
| - PowerCell No newline at end of file |
There was a problem hiding this comment.
🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win
Критическая ошибка синтаксиса YAML и неверный ID.
В этом блоке содержится сразу несколько критических ошибок, из-за которых сервер не запустится (ошибка парсинга прототипов):
- Дублирование ключа
type: в компонентеItemдважды указан ключtype(какItemи какCharger). - Отсутствие
type: следующий элемент списка не имеет ключаtype(начинается сslotId). - Неверный ID предмета:
/obj/Item/PowerCell (Что то типа этого)— это путь в стиле SS13, который приведет к ошибке при спавне предмета. В SS14 используются ID прототипов (например,PowerCellMedium).
Если магботинкам не нужна батарея (как и стандартным магботинкам в игре), вы можете просто удалить всё, кроме компонента Item.
Если же вы хотите сделать их энергозависимыми, используйте корректные компоненты энергопотребления (например, PowerCellDraw вместо зарядного устройства Charger) и валидную структуру слота:
🐛 Предлагаемое исправление (вариант с рабочей батареей)
- - type: Item
- size: Huge
- type: Charger
- - slotId: charger_slot
- portable: true
- chargeRate: 10
- - type: ContainerContainer
- containers:
- charger_slot: !type:ContainerSlot
- - type: ItemSlots
- slots:
- charger_slot:
- name: power-cell-slot-component-slot-name-default
- ejectOnInteract: false
- startingItem: /obj/Item/PowerCell (Что то типа этого)
- whitelist:
- components:
- - PowerCell
+ - type: Item
+ size: Huge
+ - type: PowerCellDraw
+ drawRate: 10
+ - type: ContainerContainer
+ containers:
+ cell_slot: !type:ContainerSlot
+ - type: ItemSlots
+ slots:
+ cell_slot:
+ name: power-cell-slot-component-slot-name-default
+ startingItem: PowerCellMedium
+ whitelist:
+ components:
+ - PowerCell📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - type: Item | |
| size: Huge | |
| type: Charger | |
| - slotId: charger_slot | |
| portable: true | |
| chargeRate: 10 | |
| - type: ContainerContainer | |
| containers: | |
| charger_slot: !type:ContainerSlot | |
| - type: ItemSlots | |
| slots: | |
| charger_slot: | |
| name: power-cell-slot-component-slot-name-default | |
| ejectOnInteract: false | |
| startingItem: /obj/Item/PowerCell (Что то типа этого) | |
| whitelist: | |
| components: | |
| - PowerCell | |
| - type: Item | |
| size: Huge | |
| - type: PowerCellDraw | |
| drawRate: 10 | |
| - type: ContainerContainer | |
| containers: | |
| cell_slot: !type:ContainerSlot | |
| - type: ItemSlots | |
| slots: | |
| cell_slot: | |
| name: power-cell-slot-component-slot-name-default | |
| startingItem: PowerCellMedium | |
| whitelist: | |
| components: | |
| - PowerCell |
🤖 Prompt for 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.
In
`@Resources/Prototypes/_Backmen/Protorypes/Entities/Clothing/Shoes/magboots.yml`
around lines 10 - 27, Исправьте блок компонентов прототипа магботинок: устраните
дублирование ключа type в компоненте Item, добавьте корректные type для
компонентов charger_slot и зарядки, а startingItem замените на существующий ID
прототипа SS14 вместо пути /obj/Item/PowerCell с текстовым комментарием. Если
энергопитание не требуется, удалите Charger, ContainerContainer и ItemSlots,
оставив только Item.













Summary by CodeRabbit