-
Notifications
You must be signed in to change notification settings - Fork 14
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
мантис фикс #170
мантис фикс #170
Conversation
WalkthroughThis pull request introduces modifications to clothing belt entities and the Forensic Mantis job role configuration. The changes primarily focus on updating item storage capabilities, reparenting entities, and adjusting job department and access permissions. The Forensic Mantis role is reclassified from Science to Epistemics, with expanded security access, while belt entities receive enhanced component and storage configurations. Changes
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (3)Resources/Prototypes/Nyanotrasen/Roles/Jobs/Epistemics/forensicmantis.yml (1)
Adding Security access to the Mantis role is a significant change that could impact game balance. While this aligns with restoring mantis access as per PR objectives, we should ensure this doesn't create unintended security vulnerabilities. ✅ Verification successfulBased on the gathered information, I can now generate the final response: Security access addition is appropriate and well-bounded The addition of Security access to the Mantis role is appropriate and maintains proper security boundaries because:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check for other roles with combined Research and Security access
rg -l "access.*Security.*Research|access.*Research.*Security" Resources/Prototypes/*/Roles/Jobs/
Length of output: 227 Script: #!/bin/bash
# Let's check the full content of the forensicmantis.yml to understand all its access permissions
cat Resources/Prototypes/Nyanotrasen/Roles/Jobs/Epistemics/forensicmantis.yml
# Also check for any other files that might define security or research access patterns
fd . Resources/Prototypes --extension yml --exec grep -l "access.*Security\|access.*Research"
Length of output: 2563 Script: #!/bin/bash
# Let's check other job roles in Epistemics department to understand access patterns
fd . Resources/Prototypes --type f --extension yml --exec grep -l "department.*Epistemics" | xargs cat
# Also check the epistemics.yml access file mentioned in the comment
cat Resources/Prototypes/DeltaV/Access/epistemics.yml
Length of output: 113255 Script: #!/bin/bash
# Let's check the epistemics.yml file directly with a more targeted approach
cat Resources/Prototypes/DeltaV/Access/epistemics.yml
# Also check for any files that define access levels for the Mantis role
rg -l "Mantis.*access|access.*Mantis" Resources/Prototypes/
Length of output: 567 Script: #!/bin/bash
# Let's check the locker and door access configurations for Mantis
cat Resources/Prototypes/Nyanotrasen/Entities/Structures/Storage/Closets/Lockers/lockers.yml
cat Resources/Prototypes/DeltaV/Entities/Objects/Devices/Electronics/door_access.yml
# Also check for any other Mantis-related files that might provide context
fd mantis Resources/Prototypes --type f --exec grep -l "access"
Length of output: 4136 Resources/Prototypes/Nyanotrasen/Entities/Clothing/Belt/belts.yml (2)
The significant expansion of storage capabilities to include weapons and security equipment (Taser, Sidearm, MagazinePistol, etc.) represents a substantial power increase. While this aligns with the PR objective to expand belt items, we should carefully consider:
✅ Verification successfulLet me gather more context about this belt and its role-specific usage. Let me check the role definition to understand the intended access level for this belt. Based on the gathered information, I can now provide a final response: Security equipment access is appropriate for this role The Forensic/Psionic Mantis role has explicit Security access in their job definition and is a senior role (requiring 4 hours of Epistemics department playtime). The security equipment access is intentional as they:
The expanded belt storage aligns with the role's hybrid security/research nature and their official access levels. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check for other non-security roles with access to similar equipment
rg -A 5 "MagazinePistol|Taser|Sidearm" Resources/Prototypes/*/Entities/Clothing/Belt/
Length of output: 1546 Script: #!/bin/bash
# Check the full context of this belt definition and any role restrictions
cat Resources/Prototypes/Nyanotrasen/Entities/Clothing/Belt/belts.yml
# Search for any access restrictions or role definitions related to this belt
rg -l "ClothingBeltMantis" Resources/Prototypes/*/Access/ Resources/Prototypes/*/Roles/
Length of output: 4674 Script: #!/bin/bash
# Check the forensic mantis role definition
cat Resources/Prototypes/Nyanotrasen/Roles/Jobs/Epistemics/forensicmantis.yml
# Also check if there are any other similar belts in the base game for comparison
rg -A 5 "SecBeltEquip|Sidearm" Resources/Prototypes/Entities/Clothing/Belt/
Length of output: 3850 Line range hint The grid size modifications (from
✅ Verification successfulBased on the search results, I can now provide a final response as we have sufficient context about belt storage configurations across the codebase. Grid size changes are safe and follow established patterns The grid size modifications (from
The increased storage space aligns with the belt's role as a CMO chest rig, and the grid layout maintains the game's established storage patterns. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check for similar grid configurations in other belt types
rg -A 2 "grid:.*\d+,\d+,\d+,\d+" Resources/Prototypes/*/Entities/Clothing/Belt/
Length of output: 194 Script: #!/bin/bash
# Let's try a different approach to find storage grid configurations
rg -A 5 "type: Storage" Resources/Prototypes/*/Entities/Clothing/Belt/
# Also check for any existing belt configurations with similar patterns
rg -A 10 "ClothingBeltMilitary" Resources/Prototypes/*/Entities/Clothing/Belt/
Length of output: 3635 Script: #!/bin/bash
# Let's check the base game's belt configurations for comparison
rg -A 5 "grid:" Resources/Prototypes/Entities/Clothing/Belt/
# Also check if there are any existing migration systems or grid-related components
rg -A 3 "StorageComponent|ContainerFillOnInit" Resources/Prototypes/Entities/Clothing/Belt/
Length of output: 5675 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 (
|
О чем PR
возвращает доступ мантису в сб
расширение списка допустимых предметов в пояс
Почему
Жалоба сокола
Технические детали
Медиа
Summary by CodeRabbit
New Features
Bug Fixes
Documentation