This mod prevents heroes in the player's clan from donating troops to settlement garrisons.
Permissions and credits
Credits and distribution permission
Other user's assetsThis author has not specified whether they have used assets from other authors or not
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is not opted-in to receive Donation Points
By default heroes will donate some troops to the garrison of a town or castle if the garrison is low when they visit. This can be frustrating if the hero gives high tier troops to their companions or relatives, which the AI then donates to towns of other clans (especially when those towns are starving and losing garrison troops). This mod will prevent heroes in the player's clan from donating troops to settlements.
This mod uses Harmony to patch the OnSettlementEntered method of GarrisonTroopsCampaignBehavion, so it may conflict with other mods that patch that method.
Note that this only disables donation of troops to the garrison. Prisoners will still be donated to the dungeon as normal.
The source is available on Github. Feel free to fork and modify it or incorporate it into a mod of your own if desired.