-
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
[Tweak] Shipyard & Salvage Update #934
Changes from 3 commits
0289f5e
683131f
c0fe0e9
4284e8d
4b905fa
885ae59
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -652,3 +652,9 @@ TorsoBorgJanitor: TorsoBorg | |
PresentRandomAsh: PresentRandomCoal | ||
# 2024-11-19 | ||
CrateCrewMonitoringBoards: CrateCrewMonitoring | ||
|
||
# 2024-11-23 backmen | ||
# Computer that by idea let's you call cargo shuttle is replaced | ||
# with console that let's you buy any shuttle. | ||
ComputerCargoShuttle: ComputerShipyard | ||
CargoShuttleComputerCircuitboard: ShipyardComputerCircuitboard | ||
Comment on lines
+659
to
+660
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove duplicate migration entry. The migration entry for
This duplication could cause confusion during maintenance. Remove the duplicate entry and keep only one instance: # Computer that by idea let's you call cargo shuttle is replaced
# with console that let's you buy any shuttle.
-ComputerCargoShuttle: ComputerShipyard
CargoShuttleComputerCircuitboard: ShipyardComputerCircuitboard Also applies to: 658-658
Comment on lines
+656
to
+660
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Migration requires additional prototype updates Several prototype files still reference the old cargo shuttle computer and circuit board IDs that are being migrated:
The migration file only handles the ID mapping but doesn't update the related prototype definitions. These need to be updated to maintain consistency with the new shipyard computer system. 🔗 Analysis chainLGTM! Verify the migration's impact on gameplay. The migration of cargo shuttle computer to shipyard console aligns with the PR objectives to enhance salvage operations. The change makes sense as it centralizes shuttle-related functionality. Let's verify the impact of this migration: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for any remaining references to the old cargo shuttle computer
# that might need updating
# Check for any remaining references to the old computer
rg -i "cargo.*shuttle.*computer|cargo.*computer.*shuttle" --type yaml
# Check for any remaining references to the old circuit board
rg -i "cargo.*shuttle.*circuit|cargo.*circuit.*shuttle" --type yaml
Length of output: 2792 |
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.
💡 Codebase verification
Warning: Incomplete migration from cargo shuttle to shipyard system
The replacement in the QM's locker is part of a larger migration, but there are inconsistencies:
ShipyardComputerCircuitboard
is defined inResources/Prototypes/_Backmen/Entities/Objects/Devices/Circuitboards/computer.yml
, but the old cargo shuttle components are still present in many locationsResources/migration.yml
for both the computer and circuit board, but many references to the old system remain:ComputerCargoShuttle
computers.yml
🔗 Analysis chain
LGTM: Shipyard console circuit board replacement aligns with PR objectives
The replacement of
CargoShuttleComputerCircuitboard
withShipyardComputerCircuitboard
in the Quartermaster's locker correctly implements the PR's goal of transitioning to shipyard consoles for shuttle purchases.Let's verify the shipyard console implementation:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 360
Script:
Length of output: 7849