Battle Brothers
0 of 0

File information

Last updated

Original upload

Created by

hackflow

Uploaded by

hackflow

Virus scan

Safe to use

Tags for this mod

About this mod

This mod gives brothers a chance to have certain perks unlocked from start depending on their background

Requirements
Permissions and credits
Changelogs
Based on Starting Perks by Background. Changes from the base mod:

  • added backgrounds from new DLCs
  • vary free perks more, chances readjusted
  • scale probability by time, later hires have higher chance to get free perks
  • added a way to extend this, see below
  • integrates with Hackflow's Perks mod if both are installed, i.e. gives a chance to receive perks from there
  • fixed The Gifted bug

This mod is more about fun, but also makes some weaker backgrounds more appealing, might need to hire and fire several to get one with the desired perks though.

Scaling works stronger on low chances, i.e. 1% turns into 4%, 5% to 13%, 25% to 40% and 50% only to 62% on day 100, which is the end of the scale. This in part meant to compensate for rare hires later in the game. This is up for rebalancing, as well as perk chances.

Perks given, their chances, scaling and overall are for discussion. Please create a post if you have ideas.

Starting perks for non-vanilla backgrounds

If you are creating a mod with new backgrounds or even if you want to add this for backgrounds from some other mod you play then it is possible to do so. For this I expose ::BgPerks.chances table, which might be complemented like this:

::mods_queue("mod_extra_bgs", ">mod_background_perks", function () {
if (!::mods_getRegisteredMod("mod_background_perks")) return;

::BgPerks.chances.skirmisher <- {
"mastery.axe": 15
"mastery.throwing": 15  // 15% chance of having each rolled indepently
}
::BgPerks.chances.master_archer <- {
"mastery.bow": 100  // will always have this at start
"bulls_eye": 50
}

// Or these might be put to a dedicated file with
::include("extra_bgs/background_perks");
})

Note that a key in ::BgPerks.chances is the background ID with "background." prefix stripped.

P.S. Code is on Github, possible perks and their chances can be seen here. The screenshots above are mostly quite lucky, but some perks have high chance like 50% Crippling Strikes for Anatomist or even guaranteed like Student for Apprentice.