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

Updated Post-Scenario Logging for Prisoners #4105

Merged

Conversation

IllianiCBT
Copy link
Collaborator

This commit introduces a new ServiceLogger method to post to the personnel log when a character is captured in a scenario, instead of logging to the scenario log. This ensures that prisoners do not receive scenario credit for the scenario in which they were captured. The change modifies the existing log behavior and includes a new log entry text in the relevant resources file.

Logging in the personnel log ensures there is still a record of the scenario and mission, this feature was requested on Discord when removing the scenario log was discussed.

This PR addresses an oversight reported by our QA team, where prisoners were incorrectly receiving award credit for the scenario in which they were captured.

Introduced a new ServiceLogger method to log when a character is captured in a scenario. The change modifies the existing log behavior and includes a new log entry text in the relevant resources file.
@IllianiCBT IllianiCBT self-assigned this May 23, 2024
@IllianiCBT IllianiCBT added Bug Awards Personnel Personnel-related Issues labels May 23, 2024
Copy link
Collaborator

@Sleet01 Sleet01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HammerGS HammerGS merged commit 143ec17 into MegaMek:master May 25, 2024
4 checks passed
HammerGS added a commit that referenced this pull request May 25, 2024
MegaMek
+ Fix 5476: Update SV armor slots to 2 or 1 for Rating E or F respectively

MegaMekLab
+ Fix ##1514: Fix Atrocious table shading render speed

MekHQ
+ PR #4106: Use tabs in customize scenario dialog
+ PR #4105: Updated Post-Scenario Logging for Prisoners
+ PR #4104: Fixed Post-Scenario Tracking System's Handling of Multiple Personnel in autoAwards
+ PR #4102: Fixed Award Tier Count Calculations in PersonViewPanel
+ PR #4093: Added Negotiation and Scrounge Skill Settings for Administrator Personnel
+ PR #4054: Added Life Paths Campaign Options Tab, Added Education Module
            Very Important to read the documentation on this feature (See Docs folder)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awards Bug Personnel Personnel-related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants