-
Notifications
You must be signed in to change notification settings - Fork 176
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
Added Nag Dialog for Prisoners of War Outside of Contracts #3942
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3942 +/- ##
============================================
- Coverage 10.65% 10.65% -0.01%
Complexity 5528 5528
============================================
Files 836 837 +1
Lines 114275 114294 +19
Branches 17185 17188 +3
============================================
Hits 12176 12176
- Misses 100871 100890 +19
Partials 1228 1228 ☔ View full report in Codecov by Sentry. |
One thing to keep in mind is that people use MekHQ for all kinds of things not just AtB, so we should be careful about assuming purpose and intent of having prisoners. I don't love having this nag if I want to keep prisoners for some reason, but I suppose it can be dismissed easily enough. |
Valid point. My thinking is that, in instances where users want to keep their prisoners, the nag is easy to suppress and re-enable at a later date. Much like unmaintained units. |
Yeah, that's fine. If you can just clear the other excess parenthesis, I can approve and merge. |
Done (assuming there wasn't others). I also changed |
Current Implementation
None
Problem
I am definitely not the only person who has done this: end the contract, enjoy the spoils of war, get halfway to Galatea only to remember you have a couple hundred prisoners of war still hanging about. You're not about to return to the contract planet so you just dump them out into space. Everyone is sad.
Solution
On a new day, if not on a contract, the system will check whether any of the users' active personnel are prisoners. If any prisoners are found the nag dialog is triggered.
Update
I removed the check for Bondsmen, as these can still be assigned to roles they don't really have the same issue as Prisoners.