namespace = Excommunier
######################################
####### Vatican				   #######
######################################
character_event = {
    id = Excommunier.1
    desc = EVTDESC_Excommunier_1
	picture = GFX_evt_bad_news
	border = GFX_event_normal_frame_religion
	is_triggered_only = yes
	option = { # je suis excommunié...
		name = EVTOPTA38022 
		add_trait = excommunicated
		piety = -50
		prestige = -50
		k_papal_state = {
			holder_scope = {
				save_event_target_as = pope_opinion_Excommunier
			}
		}
		if = {
			limit = {
				NOT = {
					has_opinion_modifier = {
						who = event_target:pope_opinion_Excommunier
						modifier = opinion_excommunier
					}
				}
			}
			opinion = {
				who = event_target:pope_opinion_Excommunier
				modifier = opinion_excommunier
				years = 500
			}
		}
		clr_character_flag = Excommunier_flag
	}
}