Skip to content
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

PR #154

Merged
merged 7 commits into from
Dec 8, 2024
Merged

PR #154

merged 7 commits into from
Dec 8, 2024

Conversation

AserCreator
Copy link

@AserCreator AserCreator commented Dec 8, 2024

О чем PR

  • Новая станция на 6 человек
  • Переработка UI лобби
  • Респрайт лаб. халатов
  • Респрайт скафандра ученого

Почему

Технические детали

Медиа

  • Я добавил скриншот/видео, показывающее изменения в игре или PR не нуждается в показе
  • Я проверил изменения на предмет багов

Summary by CodeRabbit

  • New Features

    • Introduced new game map Nes14Port with player support and station configurations.
    • Added various new clothing entities with updated protective features and sprite paths.
    • New metadata files for clothing textures with state definitions.
  • Bug Fixes

    • Adjusted formatting for existing map entries to ensure proper display.
  • Documentation

    • Updated copyright information in clothing metadata files.
  • Chores

    • Removed unused states from clothing metadata to streamline resource management.

Copy link

coderabbitai bot commented Dec 8, 2024

Walkthrough

The pull request encompasses a variety of changes across multiple files, primarily focusing on UI modifications in LobbyGui.xaml, updates to tilemaps and entities in Port.yml, and enhancements to clothing attributes in several YAML files. Additionally, new JSON metadata files have been introduced for clothing textures, while some states have been removed or modified in existing JSON configurations. The overall changes aim to streamline UI components, enhance entity definitions, and update resource metadata.

Changes

File Path Change Summary
Content.Client/Lobby/UI/LobbyGui.xaml Removed commented sections; adjusted layout and properties of UI components; simplified CenterPanel.
Resources/Maps/NES/Port.yml Updated tilemap with new tile types and entities; added various new components and entities.
Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml Updated clothing entities with new attributes and classifications; added new lab coat entities.
Resources/Prototypes/Maps/Pools/default.yml Added new map Nes14Port; updated entry for Aspid.
Resources/Prototypes/Stray/Entities/Clothing/Head/hardsuit-helmet.yml Modified ClothingHeadScienceHardsuit properties, including parent and sprite updates.
Resources/Prototypes/Stray/Entities/Clothing/OuterClothing/hardsuits.yml Updated ClothingOuterScienceHardsuit attributes, including sprite and armor coefficients.
Resources/Prototypes/_NES/Maps/port.yml Introduced new game map configuration for Nes14Port with station and job definitions.
Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/meta.json Added new metadata JSON file for hardsuit texture with states defined.
Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi/meta.json Added new metadata JSON file for helmet texture with states defined.
Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/meta.json Removed several states from the lab coat metadata.
Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/meta.json Updated copyright, added new states, and renamed existing states in lab coat metadata.
Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/meta.json Removed metadata file for headgear texture.

Possibly related PRs

  • Научный скафандр #152: The changes in this PR introduce a new scientific spacesuit, which is directly related to the modifications in the LobbyGui.xaml file that streamline the UI for various components, including clothing items.
  • new work #151: This PR includes updates to the energy consumption of lanterns and adjustments to the airlock framework, which may relate to the overall UI and functionality improvements in the LobbyGui.xaml file, enhancing user experience in the game environment.

Suggested labels

size/M

🐇 In the lobby, the buttons align,
🐇 With coats and hardsuits, all looking fine.
🐇 New maps to explore, adventures await,
🐇 In a world of fun, let’s not be late!
🐇 With every change, our game will shine,
🐇 Hop along, friends, it’s playtime divine!
🐇✨

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 4c7d75d and 03cd8b2.

⛔ Files ignored due to path filters (10)
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/equipped-head-light-vox.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/equipped-head-light.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/equipped-head-unshaded-vox.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/equipped-head-unshaded.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/equipped-head-vox.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/equipped-head.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/icon-flash.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/icon-unshaded.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/light-overlay.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/meta.json (0 hunks)
💤 Files with no reviewable changes (1)
  • Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi/meta.json

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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

github-actions bot commented Dec 8, 2024

RSI Diff Bot; head commit 03cd8b2 merging into c635b1a
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi

State Old New Status
equipped-OUTERCLOTHING Modified
icon-open Modified
icon Modified
open-equipped-OUTERCLOTHING Modified
equipped-OUTERCLOTHING-reptilian Removed
equipped-OUTERCLOTHING-vox Removed
open-equipped-OUTERCLOTHING-reptilian Removed
open-equipped-OUTERCLOTHING-vox Removed

Resources/Textures/Stray/Clothing/Head/Hardsuits/sciencehead.rsi

State Old New Status
equipped-head-light-vox Removed
equipped-head-light Removed
equipped-head-unshaded-vox Removed
equipped-head-unshaded Removed
equipped-head-vox Removed
equipped-head Removed
icon-flash Removed
icon-unshaded Removed
icon Removed
light-overlay Removed

Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi

State Old New Status
equipped-OUTERCLOTHING-reptilian Removed
equipped-OUTERCLOTHING-vox Removed
equipped-OUTERCLOTHING Removed
icon Removed
inhand-left Removed
inhand-right Removed

Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi

State Old New Status
equipped-head-light Removed

Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi

State Old New Status
equipped-OUTERCLOTHING Added
icon Added
inhand-left Added
inhand-right Added

Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi

State Old New Status
equipped-HELMET Added
icon Added

Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi

State Old New Status
equipped-OUTERCLOTHING Added
icon-open Added
icon Added
inhand-left Added
inhand-right Added
open-equipped-OUTERCLOTHING Added
open-inhand-left Added
open-inhand-right Added

Edit: diff updated after 03cd8b2

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Outside diff range and nitpick comments (2)
Resources/Prototypes/Stray/Entities/Clothing/Head/hardsuit-helmet.yml (1)

27-28: Remove unprofessional comment

The warning comment about sprite changes should be removed as it's not appropriate for the codebase. If there are concerns about unauthorized changes, these should be addressed through proper channels like PR reviews or team discussions.

Resources/Prototypes/Stray/Entities/Clothing/OuterClothing/hardsuits.yml (1)

51-53: Review armor value increases for balance

The significant increase in armor values (0.9 for Blunt, Slash, and Piercing) makes this hardsuit notably powerful. As noted in the comment, this makes it superior to the utility suit in all aspects, which might create balance issues.

Consider:

  • Maintaining some trade-offs between different suit types
  • Documenting the reasoning for these balance changes
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between c635b1a and e731426.

⛔ Files ignored due to path filters (36)
  • Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi/equipped-HELMET.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/equipped-OUTERCLOTHING-reptilian.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/equipped-OUTERCLOTHING-vox.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/icon-open.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/open-equipped-OUTERCLOTHING-reptilian.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/open-equipped-OUTERCLOTHING-vox.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/open-equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/icon-open.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/open-equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/open-inhand-left.png is excluded by !**/*.png
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/open-inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi/equipped-OUTERCLOTHING-reptilian.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi/equipped-OUTERCLOTHING-vox.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi/equipped-OUTERCLOTHING.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi/inhand-left.png is excluded by !**/*.png
  • Resources/Textures/Stray/Clothing/OuterClothing/Hardsuits/science.rsi/inhand-right.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/equipped-head-light.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/icon-flash.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/icon.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/light-overlay.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/off-equipped-HELMET-shadowkin.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/off-equipped-HELMET.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/on-equipped-HELMET-shadowkin.png is excluded by !**/*.png
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/on-equipped-HELMET.png is excluded by !**/*.png
📒 Files selected for processing (12)
  • Content.Client/Lobby/UI/LobbyGui.xaml (2 hunks)
  • Resources/Maps/NES/Port.yml (0 hunks)
  • Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml (2 hunks)
  • Resources/Prototypes/Maps/Pools/default.yml (2 hunks)
  • Resources/Prototypes/Stray/Entities/Clothing/Head/hardsuit-helmet.yml (1 hunks)
  • Resources/Prototypes/Stray/Entities/Clothing/OuterClothing/hardsuits.yml (1 hunks)
  • Resources/Prototypes/_NES/Maps/port.yml (1 hunks)
  • Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/meta.json (1 hunks)
  • Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi/meta.json (1 hunks)
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/meta.json (0 hunks)
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/meta.json (3 hunks)
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/meta.json (0 hunks)
💤 Files with no reviewable changes (3)
  • Resources/Textures/Stray/Ecclessia/Clothing/Head/ArmoredHood.rsi/meta.json
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi/meta.json
  • Resources/Maps/NES/Port.yml
✅ Files skipped from review due to trivial changes (2)
  • Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi/meta.json
  • Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/meta.json
🔇 Additional comments (12)
Resources/Prototypes/Maps/Pools/default.yml (2)

51-51: LGTM: Formatting fix for Aspid entry.

The newline addition for the Aspid entry improves file formatting consistency.


4-4: Consider map placement impact on rotation.

The new map Nes14Port has been added at the beginning of the list. Verify if the placement order affects map rotation logic or selection probability.

Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/meta.json (2)

13-15: LGTM: Sprite state additions for open variants.

The new states for open variants of the labcoat follow consistent naming patterns and include proper direction counts. This aligns with the PR's sprite update objectives.

Also applies to: 21-22, 31-38


4-4: Verify copyright attribution change.

The copyright has been changed from tgstation to "NES-Station : Aserovich". Please ensure this change complies with the original asset's license terms and attribution requirements.

✅ Verification successful

Let me analyze the search results and generate additional verification scripts to check the copyright attribution change.

This will help us verify:

  1. The history of copyright changes in this specific file
  2. If there are other files with NES-Station attribution
  3. If there are other labcoat files with tgstation attribution
    This information will help determine if this is a consistent change and follows proper attribution patterns.

Let me try one more verification to check the labcoat files with proper path patterns:

This will help us:

  1. Find all labcoat RSI directories
  2. See the full content of the file in question
  3. Find any tgstation copyright patterns in the codebase

Based on the search results, I can now generate the final response:

Copyright attribution change appears appropriate

The file is located in the NES directory (Resources/Textures/NES/...) and there are numerous other files in the NES directory that use the "NES-Station" copyright attribution. This appears to be a consistent pattern for assets in the NES directory. Additionally, there is no evidence of this specific labcoat sprite previously having a tgstation copyright, as it seems to be original content for the NES collection.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for other tgstation copyrights that might need similar updates
rg -l "Taken from tgstation" --type json

Length of output: 67142


Script:

#!/bin/bash
# Check the git history of the specific file to see copyright changes
git log -p -- Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/meta.json

# Search for any other NES-Station copyrights
rg -l "NES-Station" --type json

# Check if there are any tgstation copyrights specifically in labcoat files
rg -l "tgstation" --type json -- "**/labcoat*.rsi/meta.json"

Length of output: 8487


Script:

#!/bin/bash
# Search for labcoat files with proper path patterns
fd "labcoat.*\.rsi" -t d

# Check content of the specific meta.json file
cat Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi/meta.json

# Search for any tgstation copyright in the codebase
rg "copyright.*tgstation" --type json

Length of output: 65910

Resources/Prototypes/_NES/Maps/port.yml (1)

11-15: LGTM: Station name configuration.

The station name setup with the Port template and FD prefix creator looks good.

Content.Client/Lobby/UI/LobbyGui.xaml (2)

37-37: Well-structured button grid layout!

The grid container provides a clean vertical organization for the buttons with consistent margins and styling.


100-100: Consistent visual styling!

The increased thickness of the gold line (10) maintains visual consistency with other separators in the UI.

Resources/Prototypes/Entities/Clothing/OuterClothing/coats.yml (2)

154-156: Consistent sprite path updates!

The sprite paths are correctly updated for both Sprite and Clothing components, aligning with the PR's sprite update objectives.


154-156: Verify new sprite resources exist.

Let's ensure all the new sprite resources are present in the repository.

Also applies to: 256-258

✅ Verification successful

Sprite resources verified and found

All referenced sprite resources are present in the repository with their complete set of required textures and metadata files:

  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat.rsi
  • Resources/Textures/NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if the new sprite resources exist
echo "Checking for new sprite resources..."
for path in "NES/Clothing/OuterClothing/Coats/labcoat.rsi" "NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi"; do
  if fd -p "$path" Resources/Textures/; then
    echo "✓ Found: $path"
  else
    echo "✗ Missing: $path"
  fi
done

Length of output: 2356

Resources/Prototypes/Stray/Entities/Clothing/Head/hardsuit-helmet.yml (1)

30-30: Verify impact of parent class change and sprite updates

The change from ClothingHeadHardsuitWithLightBase to ClothingHeadEVAHelmetBase and the removal of the PointLight component represents a significant change in functionality. Additionally, the sprite path has been updated to a new location.

Let's verify these changes:

Also applies to: 36-36, 38-38

Resources/Prototypes/Stray/Entities/Clothing/OuterClothing/hardsuits.yml (2)

60-61: Document speed reduction rationale

While the comment explains the intent to discourage station-wide mobility, such significant gameplay changes should be:

  1. Documented more formally
  2. Tested to ensure they don't negatively impact intended use cases
  3. Discussed with the team to ensure alignment with game design goals

Let's check for similar speed modifiers in other suits:

✅ Verification successful

Based on the search results, I can now generate the final response since I have enough context about speed modifiers across the codebase:

Speed modifier is within established range

The 0.65 speed modifier is well within the established range for hardsuits in the codebase:

  • Most hardsuits range from 0.6 to 1.0 for both walk and sprint modifiers
  • Similar heavy suits like bomb suits use 0.7
  • Combat/security hardsuits commonly use 0.8-0.85
  • The 0.65 modifier aligns with other restricted mobility suits

The comment's intent to limit station-wide mobility is consistent with how speed modifiers are used throughout the codebase to balance equipment capabilities.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Find all hardsuit speed modifiers for comparison
rg "ClothingSpeedModifier" -A 2 

Length of output: 54485


42-42: Verify sprite asset consistency

The sprite path changes align with the helmet changes, ensuring visual consistency. However, we should verify that all required sprite states exist in the new location.

Also applies to: 44-44

✅ Verification successful

Sprite assets verified and consistent

The sprite path NES/Clothing/Hardsuits/rnd.rsi exists and contains all the required states for a hardsuit:

  • Base icon state
  • Equipped state (OUTERCLOTHING)
  • Both left and right inhand states

The corresponding helmet sprite at NES/Clothing/Head/Hardsuits/rnd.rsi also exists with its required states. The paths in the YAML file correctly match the actual file structure.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if the new sprite assets exist and have all required states
fd "rnd.rsi/meta.json$" -x cat {} | jq '.states[].name'

Length of output: 59


Script:

#!/bin/bash
# First, let's check if the sprite file exists in the expected location
fd "rnd.rsi$"

# Let's also check for any similar sprite files in case there's a naming pattern
fd ".rsi$" | grep -i "hardsuit\|rnd"

# Additionally, let's check the directory structure around where we expect the sprite
find . -type d -name "NES" -o -name "Clothing" -o -name "Hardsuits"

Length of output: 12082


Script:

#!/bin/bash
# Let's check the contents of both the hardsuit and helmet RSI files to verify states
echo "=== Hardsuit RSI states ==="
cat "Resources/Textures/NES/Clothing/Hardsuits/rnd.rsi/meta.json" 2>/dev/null | jq -r '.states[].name'

echo -e "\n=== Helmet RSI states ==="
cat "Resources/Textures/NES/Clothing/Head/Hardsuits/rnd.rsi/meta.json" 2>/dev/null | jq -r '.states[].name'

# Also check if the path in the YAML matches the actual file structure
echo -e "\n=== Checking YAML path validity ==="
grep -r "NES/Clothing/Hardsuits/rnd.rsi" Resources/Prototypes/

Length of output: 774

Comment on lines +5 to +6
minPlayers: 1
maxPlayers: 10
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Adjust player limits to match PR description.

The PR description mentions this station is designed for 6 players, but the configuration allows 1-10 players. Consider adjusting these limits to better reflect the intended design:

  • minPlayers should probably be higher than 1 to ensure minimal staffing
  • maxPlayers should align with the stated 6-player design

Comment on lines +18 to +37
Captain: [ 1, 1 ]
#service
Janitor: [ 1, 1 ]
ServiceWorker: [ 1, 1 ]
#engineering
StationEngineer: [ 1, 1 ]
TechnicalAssistant: [ 1, 1 ]
#medical
Paramedic: [ 1, 1 ]
MedicalIntern: [ 1, 1 ]
#science
ResearchAssistant: [ 1, 1 ]
Scientist: [ 1, 1 ]
#security
HeadOfSecurity: [ 1, 1 ]
SecurityCadet: [ 1, 1 ]
SecurityOfficer: [ 1, 1 ]
#supply
CargoTechnician: [ 1, 1 ]
SalvageSpecialist: [ 1, 1 ]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Review job configuration - Current setup is too restrictive.

The current job configuration has several issues:

  1. Most roles are set to exactly one player [1, 1], which is very restrictive
  2. The sum of minimum required staff (13 roles × 1 minimum each) exceeds even the maximum player limit (10)
  3. This rigid configuration doesn't allow for flexible role distribution

Consider:

  • Reducing minimum requirements for non-essential roles
  • Allowing more flexibility in maximum slots
  • Prioritizing essential roles

Example adjustment:

  availableJobs:
-   Captain: [ 1, 1 ]
+   Captain: [ 1, 1 ]  # Keep one required captain
    #service
-   Janitor: [ 1, 1 ]
-   ServiceWorker: [ 1, 1 ]
+   Janitor: [ 0, 1 ]
+   ServiceWorker: [ 0, 1 ]
    #engineering
-   StationEngineer: [ 1, 1 ]
-   TechnicalAssistant: [ 1, 1 ]
+   StationEngineer: [ 1, 2 ]  # At least one engineer
+   TechnicalAssistant: [ 0, 1 ]

Committable suggestion skipped: line range outside the PR's diff.

Comment on lines +256 to +258
sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # NES14-Changes, fuck DV
- type: Clothing
sprite: DeltaV/Clothing/OuterClothing/Coats/epicoat.rsi # DeltaV - Epistemic lab coat
sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # NES14-Changes, fuck DV
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove unprofessional comments.

While the sprite path updates are correct, please remove the unprofessional comment. Consider replacing it with a technical explanation of the change if needed.

-    sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # NES14-Changes, fuck DV
+    sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # Updated to NES14 sprite path
📝 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.

Suggested change
sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # NES14-Changes, fuck DV
- type: Clothing
sprite: DeltaV/Clothing/OuterClothing/Coats/epicoat.rsi # DeltaV - Epistemic lab coat
sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # NES14-Changes, fuck DV
sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # Updated to NES14 sprite path
- type: Clothing
sprite: NES/Clothing/OuterClothing/Coats/labcoat_rnd.rsi # Updated to NES14 sprite path

Fuck science, glory to Adeptus Mechanicus
@EndrAnimet EndrAnimet merged commit 91ffec7 into EndrAnimet:master Dec 8, 2024
13 of 15 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Jan 11, 2025
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.

2 participants