This is part of the lib component refactor effort.
I mostly dealt with Jump Drive and a new component - FTL Drive.
As it is a new component, FTL Drive does not have presence in the game and is currently integrated. This means you can't sell, buy, upgrade, repair, etc.
Can't repair components in flight. This is an older issue I just identified. I'll open an issue and get to it later.
FTL Drive can be damaged. If damage = 100, it is destroyed. This doesn't seem to do anything yet though.
The whole damage aspect of these components has not been tested in the game. It's very hard to do and damage in unit tests does not test anything beyond the very narrow stuff defined in the component.
This is part of the lib component refactor effort. I mostly dealt with Jump Drive and a new component - FTL Drive. As it is a new component, FTL Drive does not have presence in the game and is currently integrated. This means you can't sell, buy, upgrade, repair, etc.
Code Changes:
Issues: