Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

Snah79

Uploaded by

Snah79

Virus scan

Safe to use

About this mod

Bank functionality, caravan and fiefs administration.

Requirements
Permissions and credits
Translations
  • Turkish
  • Mandarin
Bank simulation mod.

The goal of this mode is for me to learn how to do mods in Bannerlord by adding at the same time some value t ocommunity, not to make money on it. Thats why I publish now even source code for this mode. Anyone is free to use this code, as long its origin is stated, and develope own mode.

If you like this mode then check my mode for auto sorting tropps in party view Troop Sorting

If you want to get access to all tabs change "Cheat" flag in config file from "false" to "true".

Mod supports configuration merge between mod versions support. One config for each used version. If no previous configs are availed the mod will create default one. Support for one previous version only.

Features
  • Account (unlocks at start) ctrl+1, ctrl+a,
  • Put money with interest
  • Borrow money with rent
  • Withdraw money with "-" before the amount, ex: -500)
  • Interest is modifying your trading skills with formula "interest / 10 * BankLevel", max 5000 per day. 
  • Transaction (unlocks at 100 001) ctrl+2, ctrl+t
  • Send money to Lord
  • Meet lord who you ahve already met (at 1 000 001 meet all lords is enabled)
  • Filter lords by writing name or keywords (supported keywords are: "kings", "leaders”, "goldunder xx", "goldover xx", "relationunder xx", relationover xx")
  • Choose clan from own kingdom and you will be able to transfer influence from it to you (cost 10.000 per 1 influence point. Money goes to clans leader)
  • Rise / Lower influence of any clan from other kingdoms then yours (12.000(for lower) and 8000 (for rise) per 1 influence point 
  • Caravans (unlocks at 500 001) ctrl+3, ctrl+c
  • Change leader
  • Change destination
  • Change troops
  • Change items
  • Give / take money from caravan
  • Check distanse to target city
  • See last visited town
  • Change home settlement
  • Buy free passage for certain amount of days
  • Fiefs (unlocks at 1 000 001) ctrl+4, ctrl+f
  • See and change gold (changes relation with notables amount / 1000 for input and amount / 500 for withdraw)
  • Visit
  • See if there are avaible recruits
  • Give away fiefs to other clans
  • Filter owned fiefs by writing free text or using some of keywords (supported keywords are: "castles", "towns", "recruits")
  • Change culture of controlled fief (troops will be changed AFTER 24h tick as the recalculation of troops is done in private function in core code).
  • Insure one village at time or all villages at once for certain amount of time.
  • See if there is quest, tournament and current amount of troops in settlements.
  • Aurum Fodiens (unlocks at 5 000 001) ctrls+5, ctrl+r
  • Lower loyality (15.000 per percent). This action adds militia in order amount / 100. This is needed for rebelltion to start.
  • Rise loyality (10.000 per percent)
  • Possibility to be discovered resulting in relation rise or lower
  • Lists
  • On right click all childs are expanded. On another right click they get collapsed. If list is in mixed state, then first right click expands all childs.
  • Perk
  • Bank perk added. Different bank level will produce skill xp, on daily basis, to Trade skill according to this formula: Rent amount / 1000 * bank level. So if you have more coins in account you will get more xp.

Planned future changes:
  • Waiting for any tips.

Patch 1.2.9.0 Core1.2.9
  • Fixes for 1.2.9
Previous versions
Spoiler:  
Show

Patch 1.2.8.2 Core1.2.8
  • Text fix for bank name in finaciall model.
  • Bug fix for crash after meeting with a lord and then waiting in settlement.


Patch 1.2.8.1 Core1.2.8
  • Fixes for 1.2.8

Patch 1.2.7.1 Core1.2.7
  • Fixes for 1.2.7

Patch 1.2.6.1 Core1.2.6
  • Bug fixes due to Taleworlds late beta update

Patch 1.2.4.3 Core1.2.5
  • Bug fixes due to Taleworlds late beta update

Patch 1.2.4.2 Core1.2.4
  • Added links to some texts for settlements and leaders.
  • Remade popups so they can support translations.
  • Fixed item names in caravan inventory list.
  • Translation support for all Yes/No texts.
  • Encyclopedia page for bank is remade (under concept, divided in several navigational sections)

Patch 1.2.4.1 Core1.2.4
  • Combability check with 1.2.4.1
  • Raiding village fix with notification
  • Lowered Hearth restore from 40% to 1% after each raid
  • Bank trait level notification fix
  • Added bank to castle menu.

Patch 1.2.3.1 Core1.2.3
  • Bug fixes

Patch 1.2.0.1 Core1.2.0
  • Combability check with 1.2.0
  • Restore Hearth of insured villages by 40%

Patch 1.1.6.1 Core1.1.6
  • Combability check with 1.1.6

Patch 1.1.5.1 Core1.1.5
  • Combability check with 1.1.5

Patch 1.1.4.2 Core1.1.4
  • Bug fix when shortcuts could navigate you to not allowed tabs of bank

Patch 1.1.4.1 Core1.1.4
  • Combability check with 1.1.4
  • Trading skill change for money putted in bank(new calculation and result view) Interest / 10 * BankeLevel ( MAX 5000 skill points)
  • Bug fixes
  • Change fief culture to any wished 

Patch 1.1.3.1 Core1.1.3
  • Combability check with 1.1.3

Patch 1.1.2.5 Core1.1.2
  • Filter function bug fixes.
  • New config handling.

Patch 1.1.2.2 Core1.1.2
  • Assembly bux fix while using TroopSort.
  • Fixed not working translations (all).

Patch 1.1.2.2 Core1.1.2
  • New configuration file support.

Patch 1.1.2.1 Core1.1.2
  • Verified changes for 1.1.1.

Patch 1.1.1.1 Core1.1.1
  • Verified changes for 1.1.1.

Patch 1.1.0.10 Core1.1.0
  • Aligned version number with taleworlds.
  • Can change culture to any culture from game.
  • Bug fixes for 1.1.0

Patch 1.5.2.0 Beta 1.1.0
  • Influence transfer, rise and lower

Patch 1.5.1.0 Beta 1.1.0
  • Fixed combability issues for 1.1.0 

Patch 1.4.2.0 v1.0.3
  • Support for 1.0.3

Patch 1.4.1.2 v1.0.2
  • Fixed steam bug "Insured villages restore immediately and the raiding party turns right around and raids it again. When used in conjuction with Diplomacy this generates war exhaustion.". Added "RaidRestorationProtectionTimeInHouers" to config with default of 48. During this period of time raided, insured village will have Target Score calculated to 0.001f which means AI should pick up other targets rather then reraiding same village.

Patch 1.4.0.2 v1.0.1
  • Fixed support for 1.0.1
  • Verified support for 1.0.2

Patch 1.4.0.1 v1.0.0
  • Fixed crash on meeting leaders who are army leaders.

Patch 1.4.0.0 v1.0.0
  • Verified compability with v1.0.0
Patch 1.3.6.1 Core 1.8.1
  • Added cheat flag (false as default) to enable all tabs.
  • Lowered riseloyality to 5000 and lowerloyality to 10000 per %.
  • Verified compability with 1.8.1

Patch 1.3.7.0 Beta 1.9.0
  • Verified compability with Beta 1.9.0.
  • Changed version number in config xml

Patch 1.3.5.6 Core 1.8.0
  • Added filewatcher for config file, so any change to it will result in settings reload in game.
  • Added notification on when the isured object(s) are canceled due to end time.
  • Bug fix for reinsuring objects (settlements and caravans) after long time.

Patch 1.3.4.2 Core 1.7.2
  • Fix for latest Taleworlds update.

Patch 1.3.5.5 Beta 1.8.0
  • Fix after latest update from Taleworlds on core 1.8.0
  • Bank calculation is done now at 9, slighty before game gold calculation.

Patch 1.3.5.4 Beta 1.8.0
  • Bank perk system added.
  • Bank level adds now xp to Trader skill.

Patch 1.3.5.3 Beta 1.8.0
  • Fix for crash on done with meeting lords.

Patch 1.3.5.2 Beta 1.8.0
  • Fix for 1.3.5.1 known issue with teleportating

Patch 1.3.5.1 Beta 1.8.0
  • Fix for gameshortcut 
  • Known issue: Visiting castles and cities teleportates you to them instead to just visit them. Villages works as previous. Im looking into this issue as its enoying specially for castles. If workaround needed, I could enable the bank even for castles.

Patch 1.3.5.0 Beta 1.8.0
  • Fix for latest Taleworlds update.
  • KNOWN ISSUE: if you write gameshortcut letter in any textbox you will be moved to that shortcut page (ex "p" will get you to party view). Working on fixing this.
  • WALKAROUND for now is to hold "shift" while writing in textbox.

Patch 1.3.3.0 works with Core 1.7.1
  • Changed information notification on raided village from popup to map notification.
  • Puting money into settlements increase relation with notables with amount / 1000
  • Taking out money from settlements decrease relation with notables with amount / 500
  • Minor bug with amount textbox in settlement view.

Patch 1.3.4.1 Beta 1.7.2
  • Fix for a bug on companions with no template for character object. Possible Taleworlds / save file bug.

Patch 1.3.4.0 Beta 1.7.2
  • Changed information notification on raided village from popup to map notification.
  • Puting money into settlements increase relation with notables with amount / 1000
  • Taking out money from settlements decrease relation with notables with amount / 500
  • Minor bug with amount textbox in settlement view.

Patch 1.3.2.9 works with Core 1.7.0 and Beta 1.7.1
  • Changed name of mode from "Birke" to "SimpleBank". Delete "Birke" folder from module folder. In game starters mod selection window choose "SimpleBank" mode. Make sure tosave old save file in case there would be problems with money saved in your account. Make sure you dont run BOTH "Birke" and "SimpleBank" at the same time!
  • Fixed a bug due to new save/load handling.
  • Layout changes in Caravan view (added icons to ware list)
  • Layout changes in Fief view (replaced -T- with icon, replaced -I- with icon)

Patch 1.3.2.7 works with Core 1.7.0 and Beta 1.7.1
  • Bug fix for starting new game

Patch 1.3.2.7 works with Beta 1.7.0
  • Validation and fixes for beta 1.7.0

Patch 1.3.2.6 works with core: 1.6.3, 1.6.4, 1.6.5
  • Shorcuts for Aurum Fodiens
  • Validation and fixes for 1.6.3, 1.6.4, 1.6.5

Patch 1.3.2.5 works with 1.6.2 Core
  • Implemented logic for insured settlements on owner change.
  • CaravanInsurancePeriods and SettlementInsurancePeriods moved to config file
  • Right click features for list, one click expands all childs, another click folds all childs. In mixed mode first click expands all.
  • Change caravan leader implemented again
  • Fix for updating caravan values on selected one.
  • Added PercentCostToRiseLoyality (10.000) and PercentCostToLowerLoyality (15.000) to config
  • Aurum Fodiens implementation (support rebellions). Över 5000000 in account to access.
  • Fix for filter from .StartsWith to .Contains

Patch 1.3.2.4 works with 1.6.1 Core
  • Fixed brush for input textboxes.

Patch 1.3.2.3 works with 1.6.1 Beta
  • Fixes for beta version.
  • Added insure village to chosen village. 
  • Added button for insure all owned villages.
  • Added I (quest), T (tournament) and troop count to settlements name in settlement list.
  • Fix for resetting payment box.
  • Added 16 and 64 weeks to insurance periods.

Patch 1.3.2.2 works with 1.6.0 Core
  • Fixes for beta version
  • Added change culture to save. 
  • Change culture changes even troop

Patch 1.3.1.5 works with 1.5.10 Beta
  • Fixes for beta version

Patch 1.3.1.4 works with 1.5.9 Core
  • Filter for fiefs tab.
  • Visit village enabled again.
  • New filter features for lords tab.
  • Added current date to overview.

Patch 1.3.1.3 works with 1.5.9 Beta
  • Compability check with 1.5.9 Beta (as for 2020-04-05, this will be validated on daily core  updates).
  • Fixed bug when using game shortcuts (i, l, k and so on) moved you away from Bank.
  • Fixed filter textbox for filtering lords (keywords to get all leaders is "leaders" and kings is "kings").
  • Added -K- in front of kings.
  • Added -L- in front of clan leaders.
  • Saving last viewed lord and filter.

Patch 1.3.1.2 works with 1.5.9 Beta
  • Compability check with 1.5.9 Beta (as for 2020-03-23, this will be validated on daily core  updates)
  • Fixed bug when mod run on old save created without this mod.

Patch 1.3.1.1 works with 1.5.9 Beta I
  • Compability check with 1.5.9 Beta (as for 2020-03-17, this will be validated on daily core  updates)
  • Fixed visit town

Patch 1.3.1.0 works with 1.5.9 Beta
  • Compability check with 1.5.9 Beta (as for 2020-03-14, this will be validated on daily core  updates)
  • Added change culture on fief (still doent work whole way)
  • Removed Visit town button (With current core code its not possible, feature is still there in case it will be possible in future)
  • Bug fixes (take out coins from caravan,  fixed meet lord button)
  •  Unable to change caravan leader by button (it doesnt do a thing)

Patch 1.3.0.5 works with 1.5.8
  • Compability check with 1.5.8 Beta (as for 2020-02-23, this will be validated on daily core  updates)
  • Fixed 2 bugs (removal of mode and going above int.Max value on bank account)
  • Give away fiefs to other clans
  • Make home fief (seams core code from Taleworlds doesnt do what it should. Im leaving it as is. Maybe taleworlds will fix it in comming releases)

Patch 1.3.0.4 works with 1.5.8 
  • Compability check with 1.5.8 Beta (as for 2020-02-06, this will be validated on daily core  updates)
  • New tab for fiefs (Administrate gold, see if there are recruits, insta visit towns and castles [ coudn't make it work for villages yet])

Patch 1.3.0.3 works with 1.5.7 
  • Compability check with 1.5.7 Beta (as for 2020-01-21, this will be validated on daily core  updates)
  • Buy free passage for caravans 

Patch 1.3.0.1 works with 1.5.6
  • Compability check with 1.5.6
  • New features for caravan tab.

Patch 1.3.0.2 works with 1.5.7 
  • Compability check with 1.5.7 Beta
  • New features for caravan tab: See and change home settlement, see last visited location, better distance calculation (based on path)

Patch 1.3.0.0 Beta
  • Compability check with 1.5.6
  • Added Caravan tab (beta). I hope for some feedback on what is missing and how it should work.

Patch 1.2.9.6 Beta
  • Compability check with 1.5.4 
  • Added Polish translation
  • Fixed bug with crash after speaking to besieged character
  • Added Gold level (Access to all lords in game, not just met one)

Patch 1.2.9.5 Works only with 1.5.2 . 
  • Inproved language handling. No need to copy files anymore. Just choose spanish in "options" in game.
  • Looking for translation help to other demanded languages

Patch 1.2.9.4 Works only with 1.4.3

Patch 1.2.9.3 Works only with 1.4.3 
  • Added google translate to spanish (copy content of "..\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\Birke\ModuleData\module_strings_Es "to "module_strings")

Patch 1.2.9.2 Works only with 1.4.3 
  • Fix errors for 1.4.3 meeting system

Patch 1.2.8 & 1.2.9 Works only with 1.4.3 
  • Fix errors for 1.4.3

Patch 1.2.7
  • Meeting with lord.
  • Disable meeting with inprisoned lords.

Patch 1.2.6
  • Graphic fix for changing tabs.
  • Fix for changing relation bug.
  • Compability fixes with newest core versions.

Patch 1.2.5
  • Bug fix.
  • New graphic
  • Customer level
  • Possibility to make fast translations by changing strings in module_strings

Patch 1.2.4
  • Bug fix.

Patch 1.2.3
  • Bug fix for getting negative amount after 2 bilions.
  • Interest is lower to 0.001 per day by default.

Patch 1.2.2
  • Bug fix for sharing bank saldo when starting new campaign after loading a file with game account (illegal wealth transfer)
  • Interest is added now to saldo instead to purse (can be changed in config dfile PutInterestIntoAccount)

Patch 1.2.1
  • Bug fix

Patch 1.2.0
  • New layout (old can be accessed by setting UseNewLayout flag to "false" in config file.

Patch 1.1.4.2
  • Bug fixes

Patch 1.1.4.1
  • Bug fix

Patch 1.1.4
  • Added documentation to module files (all .cs files \Documentation).
  • Balance weakest nation 
  • Changed encyclopedia for balancing.
  • Popups disabled as default.
  • Bank future change displayed as tooltip of current money icon (predicted changes tooltip)
  • Remove pdb debug file.
  • Crash fix for sending coins to lord with 0 amount.

Patch 1.1.3
  • Changed game menu
  • Added encyclopedia entry for bank

Patch 1.1.2
  • Fix for always disabled market

Patch 1.1.1
  • Removed assembly fiels
  • Added configuration.xml (main folder of my mode)
  • Daily popups can be disabled by config