hre_incident_investiture_controversy_emperor = {
	potential = {
		has_dlc = "Emperor"
		is_emperor = yes
		religion = catholic
		has_global_flag = hre_incident_investiture_controversy_emperor
	}
	trigger = {
		is_emperor = yes
	}

	global_tax_income = 20
	imperial_authority = 0.15
	papal_influence = -5
	curia_treasury_contribution = -0.5
	church_influence_modifier = -0.1
	church_loyalty_modifier = -0.1
	curia_powers_cost = 0.2
}

hre_incident_investiture_controversy_emperor_own_rome = {
	potential = {
		has_dlc = "Emperor"
		is_emperor = yes
		has_global_flag = hre_incident_investiture_controversy_emperor
	}
	trigger = {
		owns = 118
		118 = {
			has_active_triggered_province_modifier = catholic_rome
		}
	}

	papal_influence = 10
	diplomatic_reputation = 1
}

hre_incident_investiture_controversy_emperor_subject_own_rome = {
	potential = {
		has_dlc = "Emperor"
		is_emperor = yes
		has_global_flag = hre_incident_investiture_controversy_emperor
	}
	trigger = {
		has_country_modifier = papal_subjugation
	}

	diplomatic_reputation = 2
}

hre_incident_investiture_controversy_neutral = {
	potential = {
		has_dlc = "Emperor"
		is_emperor = yes
		religion = catholic
		has_global_flag = hre_incident_investiture_controversy_neutral
	}
	trigger = {
		is_emperor = yes
	}

	papal_influence = -1
	church_loyalty_modifier = 0.05
	unrest_catholic_provinces = -2
}

hre_incident_investiture_controversy_pope = {
	potential = {
		has_dlc = "Emperor"
		is_emperor = yes
		religion = catholic
		has_global_flag = hre_incident_investiture_controversy_pope
	}
	trigger = {
		is_emperor = yes
	}

	imperial_authority = -0.2
	papal_influence = 5
	curia_treasury_contribution = 0.5
	church_influence_modifier = 0.1
	church_loyalty_modifier = 0.1
	curia_powers_cost = -0.1
}

hre_incident_peace_of_augsburg_harsh_emperor_triggered_modifier = {
	potential = {
		has_dlc = "Art of War"
		NOT = { has_global_flag = hre_peace_of_augsburg_ended }
		is_emperor = yes
		has_global_flag = hre_peace_of_augsburg_happened
		has_global_flag = hre_peace_of_augsburg_harsh
	}
	trigger = {
		is_emperor = yes
	}

	enforce_religion_cost = -0.5
	global_heretic_missionary_strength = 0.01
	tolerance_heretic = -2
	relation_with_heretics = -20
}

hre_incident_peace_of_augsburg_harsh_members_triggered_modifier = {
	potential = {
		has_dlc = "Art of War"
		NOT = { has_global_flag = hre_peace_of_augsburg_ended }
		is_part_of_hre = yes
		is_emperor = no
		has_global_flag = hre_peace_of_augsburg_happened
		has_global_flag = hre_peace_of_augsburg_harsh
	}
	trigger = {
		is_part_of_hre = yes
	}

	global_heretic_missionary_strength = 0.01
	tolerance_heretic = -2
	relation_with_heretics = -20
}

hre_incident_peace_of_augsburg_peace_emperor_triggered_modifier = {
	potential = {
		has_dlc = "Art of War"
		NOT = { has_global_flag = hre_peace_of_augsburg_ended }
		is_emperor = yes
		has_global_flag = hre_peace_of_augsburg_happened
		has_global_flag = hre_peace_of_augsburg_peace
	}
	trigger = {
		is_emperor = yes
	}

	imperial_authority = 0.05
	enforce_religion_cost = 1
	tolerance_heretic = 2
	relation_with_heretics = 20
}

hre_incident_peace_of_augsburg_peace_members_triggered_modifier = {
	potential = {
		has_dlc = "Art of War"
		NOT = { has_global_flag = hre_peace_of_augsburg_ended }
		is_part_of_hre = yes
		is_emperor = no
		has_global_flag = hre_peace_of_augsburg_happened
		has_global_flag = hre_peace_of_augsburg_peace
	}
	trigger = {
		is_part_of_hre = yes
	}

	tolerance_heretic = 2
	relation_with_heretics = 20
}

besseres_hrr_incident_the_hussite_question_hussite_hre = {
	potential = {
		capital_scope = {
			continent = europe
		}
		OR = {
			religion = catholic
			religion = protestant
			religion = reformed
			religion = hussite
		}
	}

	trigger = {
		religion = hussite
		hre_religion = hussite
		hre_religion_locked = yes
	}

	legitimacy = 0.25
	tolerance_own = 1
	global_missionary_strength = 0.01
	imperial_authority = 0.25
}