KSP-RO / TestFlight

KSP Mod that provides a part research and reliability system
42 stars 31 forks source link

Failed engines update "Status" field in Part Action Window #223

Closed jwvanderbeck closed 3 years ago

jwvanderbeck commented 3 years ago

Make sure you have read and understood the contributing guidelines!

Pull Requests that don't follow the guidelines will be rejected. If you need help or are confused just ask, and we will be glad to help.

github-actions[bot] commented 3 years ago

Download the artifacts for this pull request:

jwvanderbeck commented 3 years ago

Untested in game, but should properly show fail state and failure message for engines in the Part Action Window's "Status" section, for the following engine failures:

  1. TestFlightFailure_ShutdownEngine
  2. TestFlightFailure_EnginePerformanceLoss
  3. TestFlightFailure_ReducedMaxThrust

Support for TestFlightFailure_IgnitionFail will be coming later as that module is currently ripped apart for other work.

Note: For minor failures where the engine has a failure but then is useable again, the status will not be updated.

jwvanderbeck commented 3 years ago

Failed engines will now update the "Status" field in the PAW to "Failed" and add a second line indicating the failure if a failure has occurred.