sorry don't wanna rain on your mod, but just so peeps know, this will conflict with a fix Unofficial Patch did, though there is an alternative http://www.nexusmods.com/fallout4/mods/12430/?
- minimum chance is 2% (attackChanceBase), chance can not be lower than that - each unit of water and food increases the chance by 0.1% (attackChanceResourceMult) - each unit of safety lowers the chance by 1% (attackChanceSafetyMult) - each settler lowers the chance by 0.5% (attackChancePopulationMult)
7 comments
though there is an alternative
http://www.nexusmods.com/fallout4/mods/12430/?
the formula is:
float attackChance = attackChanceBase + attackChanceResourceMult * (foodRating + waterRating) - attackChanceSafetyMult * safety - attackChancePopulationMult * totalPopulation
with vanilla settings:
float attackChance = 0.02 + 0.001 * (foodRating + waterRating) - 0.01 * safety - 0.005 * totalPopulation
- each unit of water and food increases the chance by 0.1% (attackChanceResourceMult)
- each unit of safety lowers the chance by 1% (attackChanceSafetyMult)
- each settler lowers the chance by 0.5% (attackChancePopulationMult)
... i look into this later