Rebels
Makes Rebels less annoying but more impactful by reducing rebel spawn rate and making the unrest itself damage you by increasing autonomy.
Static Modifiers:
friendly_regiments = {
local_unrest = -2.0 #-1% for each friendly regiment in the province.
}
unrest = {
regiment_recruit_speed = 0.2 #10% longer time to build troops for each rr
ship_recruit_speed = 0.2
local_autonomy = 0.05
local_state_maintenance_modifier = 0.02
supply_limit_modifier = -0.01
local_tax_modifier = -0.02
}
# For autonomy mechanics
autonomy_increased = {
local_unrest = -15
}
autonomy_decreased = {
local_unrest = 30
local_autonomy = -1.0
}
devastation = {
trade_goods_size_modifier = -2
supply_limit_modifier = -0.5
local_institution_spread = -2.0
local_development_cost = 0.2
local_manpower_modifier = -2.0
local_sailors_modifier = -2.0
local_hostile_movement_speed = -0.25
local_friendly_movement_speed = -0.25
regiment_recruit_speed = 1
local_defensiveness = -0.5
local_autonomy = 0.1
}
Defines:
–NDiplomacy
NDefines.NDiplomacy.AUTONOMY_WARSCORE_COST_MODIFIER = 1 — How much autonomy reduces score by (at 1, 50% autonomy = 50% reduction)
NDefines.NDiplomacy.SUPPORT_REBELS_EFFECT = 25
–NCountry
NDefines.NCountry.UNREST_REVOLT_FACTOR = 0.25 — How much does each point of unrest contribute to chance of revolt uprising increasing (base)
NDefines.NCountry.UPRISING_INCREASE = 10 — Number of percent that the progress increases
NDefines.NCountry.REVOLT_SIZE_DEVELOPMENT_MULTIPLIER = 0.8 — Multiplied with the province’s development
NDefines.NCountry.REVOLT_SIZE_BASE = 1
NDefines.NCountry.REVOLT_TECH_IMPACT = 0.01 — % each tech increases size of rebels by this percent.
NDefines.NCountry.REVOLT_TECH_MORALE = 0.02 — 1% per tech level