Closed DomBarber closed 1 month ago
Hi DomBarber, this is great and clean. I decided NOT to add this feature since it was already in Vanilla. However, since what you did is integrated with core vanilla this is good. Merged! Thank you
Thanks Voult, glad you like it! I'm just working through my modlist and trying to clean any errors, saw the opportunity to do this and thought why not - noticed that you'd already some skeleton around the feature. I've not touched C# & .NET before so it was fun to play around :)
Description:
This pull request
Before:
1)
Outdated code for medicine defaults was superseded by core game functionality. Better Pawn Control has hidden/commented out a lot of this, however redundant legacy code remains within the project.
As seen in the image, we are now missing default medicine options that would be expected here. The core game implementation for medicine defaults is more hidden and may not be initially found by some users (myself included...)
Missing buttons example:
2)
Errors (Ideology compatibility)
After:
1)
Without Ideology
With Ideology
2)
Added logic for values related to slavery, checking for ideology DLC before using, no more errors.
No Errors (Ideology compatibility)