Skip to content

Add the - type: InitRepairSnapshot component to ships to make SRD work#1024

Draft
Generic-Eagle wants to merge 1 commit intoHardLightSector:masterfrom
Generic-Eagle:Ship-repair-fix
Draft

Add the - type: InitRepairSnapshot component to ships to make SRD work#1024
Generic-Eagle wants to merge 1 commit intoHardLightSector:masterfrom
Generic-Eagle:Ship-repair-fix

Conversation

@Generic-Eagle
Copy link
Contributor

About the PR

This PR aims to make the SRD work at the bare minimum.
Not sure how this works with saving but that's something I can test, same with building onto a ship and trying to repair that when it breaks.

At the creation of the PR, every HL exclusive ship has the component minus two that do not even have becomestation, so that's a whole other bridge (Sojourn and Herzyn)

Changelog
🆑 Generic_Eagle

  • fix: Fixes the SRD by adding the - type: InitRepairSnapshot component to ships

@Generic-Eagle
Copy link
Contributor Author

Also this won't fix any existing ships, those would need some way to get the component added.
As far as I know, looking at code notes and... well... the name of the component (InitRepairSnapshot) it takes the snapshot on init, so that SHOULD include loading, but that means that you would have to save/load your ship to update your repair data.

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.

1 participant