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

When printing from MUL, calculate BV from C3/Tag #1462

Merged
merged 6 commits into from
Mar 19, 2024

Conversation

pavelbraginskiy
Copy link
Collaborator

@pavelbraginskiy pavelbraginskiy commented Mar 18, 2024

Further builds on top of #1460 and additionally depends on MegaMek/megamek#5259.
To view the code changes just in this feature, select the last commit in this PR.
If #1460 is rejected, this PR could be refactored to be independent, but it does require the MegaMek part.

This PR makes it so that if printing from a MUL file, if the option to include pilot data is enabled, BV will be calculated with modifications from other units in the file, which includes C3 and TAG/semi-guided ammunition.

Testing:

A MUL file generated from the following force:
image

Produced the following prinout:
Fury_Command_Tank__C3M__etc-job_56.pdf

@pavelbraginskiy
Copy link
Collaborator Author

Checks fail because of missing MegaMek part.

@HammerGS HammerGS merged commit d9b7936 into MegaMek:master Mar 19, 2024
4 checks passed
@pavelbraginskiy pavelbraginskiy deleted the force_bv_modifiers branch March 19, 2024 02:00
HammerGS added a commit that referenced this pull request Mar 19, 2024
+ PR #1457: Print queue interface improvements
+ PR #1462: When printing from MUL, calculate BV from C3/Tag
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.

2 participants