Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

Clockwork

Uploaded by

1clockwork

Virus scan

Safe to use

About this mod

Adds a customizable cooldown between wars of kingdoms, so that they don't constantly make peace and immediatly declare war again.
With this mod two kingdoms have a truce of 30(edit in settings.xml) days after making peace before declaring war again.

Permissions and credits
Hello, this is my first mod, but it should be clean and stackable with other mods.
I made it, because in my current game i have my own kingdom and every other kingdom constantly declares war on me and after i make peace with them, they just declare war on me again after some days. This mod gives you a little bit of time to rest between the constant wars.

Currently the mod will do that if 2 kingdoms make peace, they can't declare war on each other again for the next 30 ingame days(adjustable in the settings).
If they would decide to do so, they would instantly make peace again.

While the player's kingdom is at peace with another kingdom and has war cooldown, the player can also not raid villages, but the player can still attack villagers and caravans without being declared war on afterwards, because i couldn't prevent it without the game crashing so far. So that's a thing i might fix in the future, so that it's not exploitable anymore.

The mod modifies your save file to store the cooldowns, so it's always better to make a backup first :)

Tested with the newest version e1.8.0 of the game.

Settings:
- the first option warCooldownInDays is the number of days for the cooldown before the next war after two kingdoms made peace. the default is "30"
- doOnlyApplyCooldownToPlayerKingdom set to "true" means that only the players kingdom will have the warcooldown with other kingdoms and not the ai kingdoms with each other. the default is "false"
- doStartWarCooldownsForOldSaves set to "true" will make all kingdoms make peace with each other when loading an older save(from when this mod was not installed). if you want this behaviour, you have to enable this option before you save the game with this mod installed, otherwise it will not work. the default is "false"
- doIngameLog if log messages should be written to the bottom left of the screen
- doWriteLog if log messages should be written to a log file in the module folder

Changelog:
2.0.0:
- updated some version tags
1.1.5:
- updated for current version e1.8.0
1.1.4:
- updated for new beta branch e1.5.10
- fixed crashes because the mod was build for older versions

1.1.3:
-hopefully fixed for the new game versions

1.1.2:
-fixed initial savegame load for new branches 1.4 and beta 1.4.1

1.1.1:
-fixed a bug when enabling both doOnlyApplyCooldownToPlayerKingdom and doStartWarCooldownsForOldSaves did not work

1.1.0:
- added new config values and fixed old config values
- you can now enable the war cooldown only for the players kingdom and not between other ai kingdoms
- you can now enable that each kingdom will make peace when loading an old save

1.0.1:
- better exception handeling

1.0.0:
-initial release