voult2 / BetterPawnControl

A RimWorld mod that allows bulk assignment of animals to zones and colonists to outfits (or drugs) in one single action
MIT License
20 stars 21 forks source link

Medical UI and ideology compatibility #52

Closed DomBarber closed 1 month ago

DomBarber commented 1 month ago

Description:

This pull request

Before:

1)

Missing buttons example:

BPC_Before1

2)

Errors (Ideology compatibility)

BPC_Before2

After:

1)

Without Ideology

BPC_After1

With Ideology

BPC_After2

2)

Added logic for values related to slavery, checking for ideology DLC before using, no more errors.

No Errors (Ideology compatibility)

BPC_After3

voult2 commented 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

DomBarber commented 1 month ago

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 :)