# All global modifiers are here.  They are applied from certain game-features.
#
# Effects are fully scriptable here.
#these names can NOT be removed or changed, as the code uses them....

# Global Static Modifiers
base_values = {
	country_weekly_innovation_add = 50
	country_weekly_innovation_max_add = 50
	country_tech_spread_add = 25
	
	country_loan_interest_rate_add = 0.2
	
	country_legitimacy_govt_total_clout_add = 1
	country_legitimacy_govt_size_add = -20
	
	country_bureaucracy_add = 100
	country_authority_add = 100
	country_influence_add = 100

	country_revolution_secession_speed_add = 0.1
	
	state_education_access_wealth_add = 0.02
	
	country_minting_add = 250

	state_tax_capacity_add = 100
	state_infrastructure_add = 3
	
	state_poor_expected_sol = 5
	state_middle_expected_sol = 10
	state_rich_expected_sol = 15
	state_expected_sol_from_literacy = 5
	
	character_health_add = 1
	
	country_construction_add = 5
	
	building_mobilization_cost_mult = 0.6
	
	building_economy_of_scale_level_cap_add = 20
}

discrimination = {
	state_political_strength_from_discrimination_mult = -0.9
}

coastal_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_positive.dds
	state_infrastructure_add = 2
}

working_conditions = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	building_group_bg_mining_laborers_mortality_mult = 0.2
	building_group_bg_mining_machinists_mortality_mult = 0.1
	building_group_bg_mining_engineers_mortality_mult = 0.05
	
	building_group_bg_manufacturing_laborers_mortality_mult = 0.2
	building_group_bg_manufacturing_machinists_mortality_mult = 0.1
	building_group_bg_manufacturing_engineers_mortality_mult = 0.05
}

malnourishment = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_fire_negative.dds
	state_birth_rate_mult = -0.02	# per level below equilibrium
}

commander_battle_end_victory = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	character_popularity_add = 1	# scaled by a positive define
}

commander_battle_end_loss = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_negative.dds
	character_popularity_add = 1	# scaled by a negative define
}

in_default = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	building_throughput_mult = -0.5
	unit_offense_mult = -0.5
	unit_defense_mult = -0.5
}

declared_bankruptcy = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	country_prestige_mult = -0.5
	country_loan_interest_rate_mult = 0.5
	unit_offense_mult = -0.5
	unit_defense_mult = -0.5
	state_construction_mult = -0.5
}

incorporated_state = {
}

unincorporated_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	state_infrastructure_mult = -0.25
	state_conscription_rate_mult = -0.5
}

market_capital_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_positive.dds
	state_migration_pull_mult = 0.25
	state_infrastructure_mult = 0.25
}

capital_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_positive.dds
	state_pop_pol_str_mult = 0.25
	state_tax_capacity_mult = 0.25
}

moved_capital_recently = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_negative.dds
	country_bureaucracy_mult = -0.1
	country_influence_mult = -0.1
	country_authority_mult = -0.1
}

moved_market_capital_recently = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	building_throughput_mult = -0.1
}

tax_modifier_very_low = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_fist_positive.dds
	country_legitimacy_base_add = 10
	state_radicals_from_sol_change_mult = -0.2
}

tax_modifier_low = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_fist_positive.dds
	country_legitimacy_base_add = 5
	state_radicals_from_sol_change_mult = -0.1
}	

tax_modifier_medium = {
}	

tax_modifier_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_fist_negative.dds
	country_legitimacy_base_add = -5
	state_radicals_from_sol_change_mult = 0.25
}	

tax_modifier_very_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_fist_negative.dds
	country_legitimacy_base_add = -10
	state_radicals_from_sol_change_mult = 0.5
}	

government_wages_very_low = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_positive.dds
	country_government_wages_mult = -0.3
	interest_group_ig_intelligentsia_approval_add = -5
	interest_group_ig_petty_bourgeoisie_approval_add = -5
	country_prestige_mult = -0.2
}

government_wages_low = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_positive.dds
	country_government_wages_mult = -0.15
	interest_group_ig_intelligentsia_approval_add = -2
	interest_group_ig_petty_bourgeoisie_approval_add = -2
	country_prestige_mult = -0.1
}

government_wages_medium = {
}

government_wages_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	country_government_wages_mult = 0.15
	interest_group_ig_intelligentsia_approval_add = 2	
	interest_group_ig_petty_bourgeoisie_approval_add = 2
}

government_wages_very_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	country_government_wages_mult = 0.3
	interest_group_ig_intelligentsia_approval_add = 5
	interest_group_ig_petty_bourgeoisie_approval_add = 5
}

military_wages_very_low = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_positive.dds
	country_military_wages_mult = -0.3
	interest_group_ig_armed_forces_approval_add = -5	
	building_training_rate_mult = -1.0
}

military_wages_low = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_positive.dds
	country_military_wages_mult = -0.15
	interest_group_ig_armed_forces_approval_add = -2
	building_training_rate_mult = -0.5
}

military_wages_medium = {
}

military_wages_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	country_military_wages_mult = 0.15
	interest_group_ig_armed_forces_approval_add = 2
}

military_wages_very_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	country_military_wages_mult = 0.3
	interest_group_ig_armed_forces_approval_add = 5	
}

insurrectionary_ig = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	interest_group_approval_add = -1
}

ruler_left_interest_group = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	interest_group_approval_add = -5
}

uprising_conscription = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	state_conscription_rate_mult = 1.0
}

revolution_lost_ig = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	interest_group_pol_str_factor = -1.0
}

secession_lost_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_fist_positive.dds
	state_radicals_from_discrimination_mult = -0.25
}

debug_ig_approval = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_positive.dds
	interest_group_approval_add = 1
}

debug_ig_clout = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_positive.dds
	interest_group_pol_str_mult = 1.0
}

economy_of_scale = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_positive.dds
	building_throughput_mult = 0.01
}

pm_retooling = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_negative.dds
	#building_throughput_mult = -0.5
}

pm_offense_defense_readjustment = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_negative.dds
	unit_offense_mult = -0.75
	unit_defense_mult = -0.75
}

insufficient_urbanization = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	building_throughput_mult = -0.05
}

# Excess BUR increases construction speed by +10% at 2x production to usage
efficient_bureaucracy = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_positive.dds
	state_construction_mult = 0.10
}

# Insufficient BUR reduces tax collected by 100% at 2x usage to production
administrative_overburden = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	state_tax_waste_add = 1
}

# Excess AUT reduces enactment time by -25% at 2x production to usage
legislative_efficiency = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_positive.dds
	country_law_enactment_time_mult = -0.25
}

# Insufficent AUT reduces opposition Interest Groups' Approval by -10 at 2x usage to production
political_dysfunction = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	country_opposition_ig_approval_add = -10
}

# Excess DIP increases Infamy decay by up to 25% at 2x production to usage
diplomatic_mitigation = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_positive.dds
	country_infamy_decay_mult = 0.25
}

# Insufficient DIP reduces prestige by up to 50% at 2x usage to production
diplomatic_overreach = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_statue_negative.dds
	country_prestige_mult = -0.5
}

battle_army_offense = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_army_offense_add = 1.0
}

battle_navy_offense = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_navy_offense_add = 1.0
}

battle_army_defense = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_army_defense_add = 1.0
}

battle_navy_defense = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_navy_defense_add = 1.0
}

battle_army_average_morale_damage = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_morale_damage_mult = 1.0
}

battle_army_average_morale_protection = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_morale_protection_mult = 1.0
}

battle_navy_average_morale_damage = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_morale_damage_mult = 1.0
}

battle_navy_average_morale_protection = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_morale_protection_mult = 1.0
}

battle_army_average_recovery_rate = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_recovery_rate_add = 1.0
}

battle_navy_average_recovery_rate = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_recovery_rate_add = 1.0
}

battle_army_average_kill_rate = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_kill_rate_add = 1.0
}

battle_navy_average_kill_rate = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_positive.dds
	unit_kill_rate_add = 1.0
}

# Scales with how much population is under low pop threshold
low_pop_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_positive.dds
	state_accepted_birth_rate_mult = 0.25
	state_migration_pull_mult = 1.0
}

high_pop_state = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	state_birth_rate_mult = -0.25
	state_migration_pull_mult = -1.0
}

country_rivalry = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_statue_positive.dds
	country_influence_add = 200
}

# Infamy modifiers, applied from current infamy level
infamy_reputable = {}

infamy_infamous = {
	country_radicals_from_conquest_mult = 0.25
}

infamy_notorious = {
	country_radicals_from_conquest_mult = 0.5
}

infamy_pariah = {
	country_radicals_from_conquest_mult = 1.0
}

# Scales with devastation level
state_region_devastation = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	state_infrastructure_mult = -1.0
	state_mortality_mult = 1.0
	state_migration_pull_mult = -1.0
}

# Scales with deficiency in tax capacity
insufficient_tax_capacity = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	state_tax_collection_mult = -1
}

# Applied if state is above 'in turmoil' threshold
state_turmoil = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	state_tax_waste_add = 0.25
	state_migration_pull_mult = -0.5
}

# Applied if state is above 'high turmoil' threshold
state_turmoil_high = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	state_tax_waste_add = 0.5
	state_migration_pull_mult = -0.75
}

# Applied if state is above 'extreme turmoil' threshold
state_turmoil_extreme = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	state_tax_waste_add = 1.0
	state_migration_pull_mult = -1.0
}

# Scales with country GDP / COUNTRY_GDP_MODIFIER_DIVISOR
country_gdp = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_positive.dds
	country_minting_add = 0.5
}

# Scales with country literacy rate
country_literacy_rate = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_lightbulb_positive.dds
	country_weekly_innovation_max_add = 150
	country_tech_spread_add = 75
}

# Scales with number of excess innovation points
excess_innovation = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_lightbulb_positive.dds
	country_tech_spread_add = 0.2
}

# Scales with admiral convoy raiding strength
convoy_raiding = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_negative.dds
	country_convoys_capacity_add = -1
}

# an intercepted naval invasion force gives penalty in land combat depending on naval battle outcome
battle_naval_invasion_beachhead_penalty = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_negative.dds
	unit_offense_mult = -1
}

# a naval invasion force without Landing Craft gives a flat penalty in land combat
battle_naval_invasion_landing_penalty = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_rifle_negative.dds
	unit_offense_mult = -0.25
}

country_humiliated = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_statue_negative.dds
	country_prestige_mult = -0.25
}

forced_market_opening = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_statue_negative.dds
	country_prestige_mult = -0.25
}

forced_slavery_ban = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_statue_negative.dds
	country_prestige_mult = -0.25
}

modifier_tangena_ordeal = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_gear_negative.dds
	state_mortality_mult = 0.1
}

modifier_french_independence_payments = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	country_prestige_mult = -0.25
	country_expenses_add = 2000
}

modifier_haitian_independence_payments = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_positive.dds
	country_prestige_mult = 0.05
	country_tax_income_add = 2000
}

law_enactment_chance = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_positive.dds
	country_law_enactment_success_add = 1
}

repudiated_obligation = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	country_prestige_mult = -0.25
	country_infamy_decay_mult = -0.25
}

# Scaled by building_mobilization_cost_mult
mobilized_battalion_consumption = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_coins_negative.dds
	building_input_mult = 1.0
}

retired_commander_interest_group_impact = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_statue_positive.dds
	interest_group_approval_add = -1
}

forced_regime_change = {
	icon = gfx/interface/icons/timed_modifier_icons/modifier_flag_negative.dds
	interest_group_in_government_approval_add = 5
	country_prestige_mult = -0.25
}