Do not merge yet, I didn't do any tests yet. For now, this PR is for informative purposes.
This PR will add Kerbalism support to BonVoyage, without introducing a mod dependency to Kerbalism.
Changes:
BonVoyage.BVControllers now is a dictionary i.s.o. a list, this should save some processor cycles when accessing controllers from different places. Most other changes are related to this change. This is done for performance reasons, that collection is going to be queried a lot of times.
When Kerbalism is found, disable all of BonVoyages own resource processing, and just tell Kerbalism how much EC should be consumed while the rover is moving. Resource handling (think fuel cells) will be done by Kerbalism's own processes when the rover uses EC.
Stop rover when it is running out of EC (which can happen in Kerbalism)
Allow engaging autopilot directly from the runway/launch pad (vessel situation is PRELAUNCH on the pad, BV required LANDED)
Do not merge yet, I didn't do any tests yet. For now, this PR is for informative purposes.
This PR will add Kerbalism support to BonVoyage, without introducing a mod dependency to Kerbalism.
Changes:
BonVoyage.BVControllers
now is a dictionary i.s.o. a list, this should save some processor cycles when accessing controllers from different places. Most other changes are related to this change. This is done for performance reasons, that collection is going to be queried a lot of times.