Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
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 not 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
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 2.6.0
support Reforged much better:
- do not screw perk tier anymore
- do not add perks not in bro's perk tree
- add Reforged perks
support Proper Necro
support Lone Chosen
added oathbreaker from Flesh and Faith Plus
adjust chances
Version 2.4
rebalance some chances
apply perks to starting Gladiators and Belly Dancers (the latter come from Heroic Scenario Pack)
improved compatibility with mods hooking .setStartValuesEx()
added hack MSU updater
Version 2.3
support Hackflow's Perks
warn about perks not found
put debug prints under a flag
expose giveFreePerks() function
improved docs: motivation and extension
stop breaking on unknown backgrounds
Version 2.2
many new rebalances, thx to Amgot's suggestions
fixed Gifted bug
comment out the rest of the logging
Version 2.1
everybody have a small chance to be Gifted, no other global things anymore
give less Resillent overall, so that effects will matter
many background specific adjustments
Version 2.0
added backgrounds from new DLCs
vary free perks more, chances readjusted
scale probability by time, later hires have higher chance to get free perks
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:
mod.queue(">mod_extra_bgs", ">mod_background_perks", function () { if (!::Hooks.hasMod("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.