8000 Fix #6668: Fixed Creative Accounting for Ammunition in Resupplies by IllianiBird · Pull Request #6671 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix #6668: Fixed Creative Accounting for Ammunition in Resupplies #6671

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Stopped the employer depot crew from counting every ton of ammunition as five tons. Where did the other 4 tons go? Well, where else do you think the Smugglers get their wares?

Fix #6668

Dev Notes

The Resupply module went through a lot of revisions during development, as we sought to 'get it right'. During an early build ammunition was delivered in batches of five tons. So every time you go LRMs, for example, you would get five tons of LRMs.

However, we received feedback that this didn't feel great, so instead we moved ammunition to be delivered in patches of 1 ton.

Unfortunately, I missed a single instance where the old 5 tons was being used. Meaning ammunition was being treated as if it weighed 5x as much as was actually delivered.

- Stopped the employer depot crew from counting every ton of ammunition as five tons. Where did the other 4 tons go? Well, where else do you think the Smugglers get their wares?
@IllianiBird IllianiBird added Bug Severity: Medium Issues described as medium severity as per the new issue form labels Apr 14, 2025
@IllianiBird IllianiBird self-assigned this Apr 14, 2025
Copy link
codecov bot commented Apr 14, 2025

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 11.41%. Comparing base (4ac4ff0) to head (e9c3c68).
Report is 27 commits behind head on master.

Files with missing lines Patch % Lines
...on/resupplyAndCaches/GenerateResupplyContents.java 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6671      +/-   ##
============================================
- Coverage     11.41%   11.41%   -0.01%     
  Complexity     6479     6479              
============================================
  Files          1094     1094              
  Lines        140770   140770              
  Branches      21839    21838       -1     
============================================
- Hits          16070    16067       -3     
- Misses       123042   123046       +4     
+ Partials       1658     1657       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IllianiBird IllianiBird merged commit 5aed2e4 into MegaMek:master Apr 14, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Severity: Medium Issues described as medium severity as per the new issue for 4BC0 m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue]Convoy space makes no difference when picking ammunition focus
1 participant
0