Skip to content
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

PartValue type priorities #2809

Merged
merged 1 commit into from
Nov 17, 2020

Conversation

RCrockford
Copy link
Contributor

Fixes #2808

Added priorities for which type of PartValue is assigned for parts with multiple roles, e.g. a part with both engines and RCS.

This was previously assigned by whichever module happened to be first in the list.

This PR instead enforces a strict priority of: Engine > RCS > Separator > Sensor > Part.

I think this ordering will give the best results for the majority of users.

Added priorities for which type of PartValue is assigned for parts with multiple roles, e.g. a part with both engines and RCS.
@Dunbaratu Dunbaratu merged commit 5b31ad8 into KSP-KOS:develop Nov 17, 2020
@RCrockford RCrockford deleted the part-value-type-priorities branch November 17, 2020 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parts which are both engines and rcs may be missing suffixes
2 participants