namespace = subjects_expanded_papal_sanctuary_subject_events

country_event = {
	id = subjects_expanded_papal_sanctuary_subject_events.1
	title = subjects_expanded_papal_sanctuary_subject_events.EVTNAME1
	desc = subjects_expanded_papal_sanctuary_subject_events.EVTDESC1
	picture = BAD_WITH_MONARCH_eventPicture

	is_triggered_only = yes

	option = {
		name = subjects_expanded_papal_sanctuary_subject_events1.EVTOPT1

		ai_chance = { factor = 100 }

		tooltip = {
			FROM = {
				grant_independence = yes
				custom_tooltip = FORMER_PAPAL_SANCTUARY_SUBJECT_GETS_EXCOMMUNICATED
			}
			add_truce_with = FROM
		}
	}
}

country_event = {
	id = subjects_expanded_papal_sanctuary_subject_events.2
	title = subjects_expanded_papal_sanctuary_subject_events.EVTNAME2
	desc = subjects_expanded_papal_sanctuary_subject_events.EVTDESC2
	picture = DIPLOMACY_eventPicture

	hidden = yes
	is_triggered_only = yes

	trigger = {
		is_subject = yes
		is_subject_of_type = papal_sanctuary_subject
		overlord = {
			NOT = { can_be_overlord = papal_sanctuary_subject }
		}
	}

	immediate = {
		hidden_effect = {
			overlord = {
				ROOT = { grant_independence = yes }
			}
		}
	}

	option = {
		name = subjects_expanded_papal_sanctuary_subject_events2.EVTOPT1

		ai_chance = { factor = 100 }
	}
}