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

CI Anti-Mek Gear #1396

Merged
merged 5 commits into from
Jan 28, 2024
Merged

CI Anti-Mek Gear #1396

merged 5 commits into from
Jan 28, 2024

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Jan 21, 2024

This is the MML side of adding anti-mek gear for conv. infantry, replacing the approach of only storing anti-mek in the skill value. The changes for this are minimal; in the UI I have removed the enable/disable of the anti-mek checkbox and rather let the unit be invalid (making feedback on the problem available) instead of blocking the checkbox. TestInfantry is updated in MM accordingly. (CIStructureTab and CIWeaponView)

As an aside, because I notice me opening the weight, cost and BV breakdowns so often, I made the status bar labels clickable (and they underline when hovered so people will hopefully notice) and show the respective breakdown when clicked. (ClickableLabel and StatusBar)

This requires the accompanying MegaMek/megamek#5070

@HammerGS
Copy link
Member

See notes in MegaMek/megamek#5070

@HammerGS HammerGS merged commit c98cca0 into MegaMek:master Jan 28, 2024
2 of 4 checks passed
HammerGS added a commit that referenced this pull request Jan 28, 2024
@SJuliez SJuliez deleted the ci-am-gear branch March 9, 2024 09:22
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