Skip to content

Custom Settlement Types Compatibility Patch - #189

Open
slelyukh wants to merge 2 commits into
R-Vaccari:mainfrom
slelyukh:main
Open

Custom Settlement Types Compatibility Patch#189
slelyukh wants to merge 2 commits into
R-Vaccari:mainfrom
slelyukh:main

Conversation

@slelyukh

Copy link
Copy Markdown

This pull request adds conditionals in the beginning of many Banner Kings functions that involve settlements. This conditional prevents Banner Kings functions from running on settlements that are not one of the base game settlement types (Village, Town, Castle, Hideout or RetirementSettlement).

My mod defines a custom settlement type called "Minor Faction Hideouts" that can work with this patch. This also allows Banner Kings to be compatible with any other mod that also defines a custom settlement type.

No original functionality is changed as this only affects custom settlement types and Banner Kings only works with base game settlement types.

[https://www.nexusmods.com/mountandblade2bannerlord/mods/6771/?tab=description&jump_to_comment=138548328](Nexus Mods Link)

slelyukh added 2 commits May 23, 2024 01:03
Added a ton of if statements to not run functions when in non-base game settlements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant