namespace = nhsextra_albtur_event

country_event = {
	id = nhsextra_albtur_event.1
	title = nhsextra_albtur_event.1.t
	desc = nhsextra_albtur_event.1.d
	picture = TRANSYLVANIAN_OTTOMAN_eventPicture

	fire_only_once = yes

	trigger = {
		nhs_check_all_elysian_tags = { CONDITION = tag }
		is_year = 1449
		AND = {
			has_country_flag = nhs_new_flight_taken_orhan
			has_country_flag = nhs_new_flight_taken_albanians
		}
	}

	option = {
		name = "nhsextra_albtur_event.1.a"
		ai_chance = {
			factor = 100
		}
		custom_tooltip = nhs_albanian_turkish_hate_tt
		custom_tooltip = nhs_new_line_tt
		capital_scope = {
			add_permanent_province_modifier = {
				name = "nhs_albanian_turkish_unrest"
				duration = -1
			}
		}
		country_event = { id = nhsextra_albtur_event.2 days = 200 }
	}
}

country_event = {
	id = nhsextra_albtur_event.2
	title = nhsextra_albtur_event.2.t
	desc = nhsextra_albtur_event.2.d
	picture = northamericagfx_ANGRY_MOB_eventPicture

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = "nhsextra_albtur_event.2.a"
		ai_chance = {
			factor = 100
		}
		custom_tooltip = nhs_albanian_turkish_riot_tt
		custom_tooltip = nhs_new_line_tt
		add_manpower = -0.004
		953 = {
			add_devastation = 5
		}
		country_event = { id = nhsextra_albtur_event.3 days = 30 }
	}
}

country_event = {
	id = nhsextra_albtur_event.3
	title = nhsextra_albtur_event.3.t
	desc = nhsextra_albtur_event.3.d
	picture = FEAST_eventPicture

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = "nhsextra_albtur_event.3.a"
		ai_chance = {
			factor = 100
		}
		custom_tooltip = nhs_albanian_turkish_feast_tt
		custom_tooltip = nhs_new_line_tt
		if = {
			limit = {
				has_government_mechanic = to_roman_janissary_mechanic
			}
			add_country_modifier = {
				name = "nhs_albanian_training"
				duration = -1
			}
		}
		country_event = { id = nhsextra_albtur_event.4 days = 170 }
	}
}

country_event = {
	id = nhsextra_albtur_event.4
	title = nhsextra_albtur_event.4.t
	desc = nhsextra_albtur_event.4.d
	picture = DIET_eventPicture

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = "nhsextra_albtur_event.4.a"
		ai_chance = {
			factor = 100
		}
		hidden_effect = {
			remove_province_modifier = nhs_albanian_turkish_unrest
		}
		custom_tooltip = nhs_albanian_trial_rome_tt
		custom_tooltip = nhs_new_line_tt
		capital_scope = {
			add_permanent_province_modifier = {
				name = "nhs2_albanian_turkish_unrest"
				duration = -1
			}
		}
		add_disaster_progress = {
			disaster = nhs_hcd_hellenic_crisis
			value = -5
		}
		add_manpower = -0.003
	}
}

country_event = {
	id = nhsextra_albtur_event.5
	title = nhsextra_albtur_event.5.t
	desc = nhsextra_albtur_event.5.d
	picture = USA_COLONIZATION_eventPicture

	fire_only_once = yes

	trigger = {
		nhs_check_all_elysian_tags = { CONDITION = tag }
		has_country_flag = nhs_new_flight_taken_orhan
		has_country_flag = nhs_new_flight_taken_albanians
		is_year = 1461
	}

	option = {
		name = "nhsextra_albtur_event.5.a"
		ai_chance = {
			factor = 100
		}
		custom_tooltip = nhs_albanian_turk_leave_tt
		custom_tooltip = nhs_new_line_tt
		add_manpower = -0.038
		remove_province_modifier = nhs2_albanian_turkish_unrest
	}
}