# Triggered modifiers are here.
# these are checked for each countries once/month and then applied.
#
# Effects are fully scriptable here.
###########################################
# Revenge
###########################################
fote_revanchism = {
	potential = {
		NOT = {
			had_country_flag = {
				flag = revanchism
				days = 7300
			}
		}
		had_country_flag = {
			flag = revanchism
		}
	}
	
	trigger = {
		NOT = {
			had_country_flag = {
				flag = revanchism
				days = 7300
			}
		}
		had_country_flag = {
			flag = revanchism
		}
	}
	
	global_unrest = -2
	global_tax_modifier = 0.20
	production_efficiency = 0.20
	global_trade_power = 0.20
	defensiveness = 0.20
}

###########################################
# Offensive War
###########################################
fote_offensive_war = {
	potential = {
		always = yes
	}
	
	trigger = {
		is_in_war = {
			attacker_leader = ROOT
		}
	}
	
	war_exhaustion = 0.05
	land_morale = -0.05
	morale_damage_received = 0.05
}
###########################################
# Defensive War
###########################################
fote_defensive_war = {
	potential = {
		always = yes
	}
	
	trigger = {
		is_in_war = {
			defender_leader = ROOT
		}
	}
	
	war_exhaustion = -0.05
	land_morale = 0.05
	morale_damage_received = -0.20
	max_hostile_attrition = 2
	hostile_attrition = 2
	global_manpower_modifier = 0.20
	land_forcelimit_modifier = 0.20
	manpower_recovery_speed = 0.25
}
###########################################
# Optimistic
###########################################
fote_optimistic = {
	potential = {
		prestige = 0
	}
	
	trigger = {
		prestige = 75
	}
	
	legitimacy = 0.20
	republican_tradition = 0.20
	army_morale = 0.10
	morale_damage_received = -0.10
	enemy_core_creation = 0.25
	global_manpower_modifier = 0.25
	land_forcelimit_modifier = 0.25
	core_creation = -0.10
	ae_impact = -0.10
	war_exhaustion_cost = -0.50
	war_exhaustion = -0.03
}

###########################################
# Nihilism
###########################################
fote_nihilism = {
	potential = {
		NOT = { prestige = -40 }
	}
	
	trigger = {
		NOT = { prestige = -40 }
	}
	
	prestige = -1
	legitimacy = -1
	republican_tradition = -0.25
	army_morale = -0.10
	morale_damage_received = 0.10
	all_power_cost = 0.10
	global_unrest = 2
	enemy_core_creation = -0.50
	global_manpower_modifier = -0.25
	stability_cost_modifier = 0.25
}

###########################################
# High ADM skill
###########################################
fote_high_adm = {
	potential = {
		adm = 5
	}
	
	trigger = {
		adm = 5
	}
	
	governing_capacity_modifier = 0.1
	global_unrest = -1
	stability_cost_modifier = -0.25
	administrative_efficiency = 0.05
	core_creation = -0.10
	development_cost = -0.10
	adm_tech_cost_modifier = -0.10
	production_efficiency = 0.10
	all_estate_loyalty_equilibrium = 0.05
	prestige = 0.25
}

###########################################
# High DIP skill
###########################################
fote_high_dip = {
	potential = {
		dip = 5
	}
	
	trigger = {
		dip = 5
	}
	
	governing_capacity_modifier = 0.1
	global_trade_power = 0.2
	liberty_desire = -10
	ae_impact = -0.10
	diplomatic_reputation = 1
	diplomatic_upkeep = 1
	development_cost = -0.10
	naval_morale = 0.20
	dip_tech_cost_modifier = -0.10
	all_estate_loyalty_equilibrium = 0.05
	prestige = 0.25
	improve_relation_modifier = 0.30
}
###########################################
# High MIL skill
###########################################
fote_high_mil = {
	potential = {
			mil = 5
	}
	
	trigger = {
		mil = 5
	}
	
	governing_capacity_modifier = 0.1
	discipline = 0.05
	development_cost = -0.10
	army_morale = 0.10
	mil_tech_cost_modifier = -0.10
	global_manpower_modifier = 0.20
	infantry_power = 0.05
	morale_damage_received = -0.10
	all_estate_loyalty_equilibrium = 0.05
	prestige = 0.25
	yearly_army_professionalism = 0.01
}

###########################################
# Low ADM skill
###########################################
fote_low_adm = {
	potential = {
		NOT = {
			adm = 2
		}	
	}
	
	trigger = {
		NOT = {
			adm = 2
		}
	}
	
	governing_capacity_modifier = -0.10
	global_unrest = 2
	stability_cost_modifier = 0.25
	administrative_efficiency = -0.10
	core_creation = 0.20
	development_cost = 0.10
	adm_advisor_cost = 0.5
	adm_tech_cost_modifier = 0.10
	yearly_corruption = 0.10
	production_efficiency = -0.10
	all_estate_loyalty_equilibrium = -0.15
	prestige = -0.50
	yearly_corruption = 0.15
}

###########################################
# Low DIP skill
###########################################
fote_low_dip = {
	potential = {
		NOT = {
			dip = 2
		}	
	}
	
	trigger = {
		NOT = {
			dip = 2
		}
	}
	
	governing_capacity_modifier = -0.10
	global_trade_power = -0.2
	liberty_desire = 20
	ae_impact = 0.10
	diplomatic_reputation = -1
	diplomatic_upkeep = -1
	development_cost = 0.10
	dip_advisor_cost = 0.5
	naval_morale = -0.20
	dip_tech_cost_modifier = 0.10
	yearly_corruption = 0.10
	all_estate_loyalty_equilibrium = -0.15
	prestige = -0.50
	improve_relation_modifier = -0.25
	yearly_corruption = 0.15
}
###########################################
# Low MIL skill
###########################################
fote_low_mil = {
	potential = {
		NOT = {
			mil = 2
		}	
	}
	
	trigger = {
		NOT = {
			mil = 2
		}
	}
	
	governing_capacity_modifier = -0.10
	discipline = -0.05
	development_cost = 0.10
	mil_advisor_cost = 0.5
	army_morale = -0.10
	mil_tech_cost_modifier = 0.10
	global_manpower_modifier = -0.20
	infantry_power = -0.10
	morale_damage_received = 0.20
	yearly_corruption = 0.10
	all_estate_loyalty_equilibrium = -0.15
	prestige = -0.50
	yearly_army_professionalism = -0.01
	yearly_corruption = 0.15
}


###########################################
# Rising Empire
###########################################	
fote_rising_empire = {
	potential = {
		num_of_owned_provinces_with = {
			value = 1
		}
	}
	
	trigger = {
		num_of_owned_provinces_with = {
			value = 1
		}
		NOT = {
			num_of_owned_provinces_with = {
				value = 75
			}
		}
		
		OR = {
			NOT = { tag = MNG }
			is_year = 1500
		}
	}

	governing_capacity_modifier = 0.1
	ae_impact = -0.10
	all_power_cost = -0.05
	administrative_efficiency = 0.1
	yearly_corruption = -0.10
	defensiveness = 0.25
	hostile_attrition = 1
	max_hostile_attrition = 1
	own_territory_dice_roll_bonus = 1
	recover_army_morale_speed = 0.10
	movement_speed = 0.10
	army_tradition = 0.2
	global_manpower_modifier = 0.20
	siege_ability = 0.10
	religious_unity = 0.10
	global_unrest = -1
}

###########################################
# AI Assistance
###########################################
fote_ai_assist = {
	potential = {
		ai = yes
	}
	
	trigger = {
		ai = yes
	}
	global_unrest = -3
	all_estate_loyalty_equilibrium = 0.10
}
