-
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 all 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 |
---|---|---|
@@ -1,8 +0,0 @@ | ||
- type: entity | ||
parent: BaseComputerCircuitboard | ||
id: SalvageShuttleConsoleCircuitboard | ||
name: salvage shuttle console board | ||
description: A computer printed circuit board for a salvage shuttle console. | ||
components: | ||
- type: ComputerBoard | ||
prototype: ComputerShuttleSalvage | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,11 +77,11 @@ | |
ClothingOuterHardsuitVoidParamedStealObjective: 1 #med | ||
MedicalTechFabCircuitboardStealObjective: 1 | ||
ClothingHeadsetAltMedicalStealObjective: 1 | ||
FireAxeStealObjective: 1 #eng | ||
FireAxeStealObjective: 1 | ||
#eng | ||
AmePartFlatpackStealObjective: 1 | ||
ExpeditionsCircuitboardStealObjective: 1 #sup | ||
CargoShuttleCircuitboardStealObjective: 1 | ||
Comment on lines
83
to
84
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 Цели требуют обновления в связи с изменением системы Цели
🔗 Analysis chainПроверьте актуальность целей, связанных с грузовым отсеком В связи с обновлением системы верфи и удалением шаттла утилизации, необходимо проверить, должны ли цели Рекомендуется рассмотреть добавление новой цели, связанной с кражей консоли верфи, так как она теперь является ключевым элементом игрового процесса. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Проверяем существование прототипов целевых предметов
rg -l "ExpeditionsCircuitboard|CargoShuttleCircuitboard" Resources/Prototypes/
Length of output: 174 Script: #!/bin/bash
# Проверяем содержимое файлов с целями
echo "=== objectiveGroups.yml ==="
cat Resources/Prototypes/Objectives/objectiveGroups.yml
echo -e "\n=== thief.yml ==="
cat Resources/Prototypes/Objectives/thief.yml
# Ищем упоминания о верфи и шаттлах
echo -e "\n=== Поиск упоминаний о верфи и шаттлах ==="
rg -i "shipyard|shuttle" Resources/Prototypes/
Length of output: 100321 Script: #!/bin/bash
# Проверяем существование новой консоли верфи
rg -l "ShipyardConsole|ShipyardCircuitboard" Resources/Prototypes/
# Проверяем связанные с верфью цели
rg -l "Shipyard.*Objective|Shipyard.*Goal" Resources/Prototypes/
Length of output: 428 |
||
SalvageShuttleCircuitboardStealObjective: 1 | ||
ClothingEyesHudBeerStealObjective: 1 #srv | ||
BibleStealObjective: 1 | ||
ClothingNeckGoldmedalStealObjective: 1 #other | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -566,9 +566,9 @@ SpawnPointStationAI: PlayerStationAi | |
WeaponTurretLaserNanoTrasenAI: WeaponTurretSyndicateBroken | ||
|
||
# 2024-08-22 | ||
# ComputerShuttleSalvage: null # Corvax reverted | ||
# SalvageShuttleConsoleCircuitboard: null | ||
# SalvageShuttleCircuitboardStealObjective: null | ||
ComputerShuttleSalvage: null | ||
SalvageShuttleConsoleCircuitboard: null | ||
SalvageShuttleCircuitboardStealObjective: null | ||
Comment on lines
+569
to
+571
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 Обнаружены дополнительные ссылки на удаляемые компоненты спасательного шаттла Необходимо обновить следующие файлы, где всё ещё используются удаляемые компоненты:
🔗 Analysis chainПроверьте влияние удаления консоли спасательного шаттла Удаление 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for any remaining references to salvage shuttle components
# Search for references to removed components
rg -i "ComputerShuttleSalvage|SalvageShuttleConsole|SalvageShuttle.*Circuit"
Length of output: 2976 |
||
|
||
# 2024-08-28 | ||
ClothingBackpackDuffelSyndicateCostumeCentcom: null | ||
|
@@ -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