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

Corrected Date of Resupply Interception Scenarios & Added Clarity to Scenario Names #5466

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Modified multiple methods to include an optional daysTilDeployment parameter for specifying scenario deployment timelines. This enhances flexibility by allowing dynamic or fixed deployment dates based on gameplay needs. It also ensures the date resupply interceptions announce in the command log will also match the date in which they take place.

Also updated scenario names for convoy interception scenarios. If a player convoy is intercepted, the convoy's name will appear in the scenario name.

Fixes #5465

Modified multiple methods to include an optional `daysTilDeployment` parameter for specifying scenario deployment timelines. This enhances flexibility by allowing dynamic or fixed deployment dates based on gameplay needs. Also updated related logic to ensure proper scenario setup and date persistence.
@IllianiCBT IllianiCBT added Bug StratCon Bugs relating strictly to StratCon UX User experience labels Dec 21, 2024
@IllianiCBT IllianiCBT self-assigned this Dec 21, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.11%. Comparing base (4944a38) to head (a01b3fe).
Report is 35 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #5466   +/-   ##
=========================================
  Coverage     10.11%   10.11%           
- Complexity     6071     6077    +6     
=========================================
  Files          1054     1054           
  Lines        140535   140551   +16     
  Branches      20419    20424    +5     
=========================================
+ Hits          14214    14221    +7     
- Misses       124964   124972    +8     
- Partials       1357     1358    +1     

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

Modified `generateScenario` to include an optional `daysTilDeployment` parameter, allowing scenarios to account for deployment delays. Improved documentation to clarify functionality and integration with the campaign and StratCon tracks.
@HammerGS HammerGS merged commit d613cc0 into MegaMek:master Dec 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug StratCon Bugs relating strictly to StratCon UX User experience
Projects
None yet
3 participants