﻿add_namespace = ctyug

country_event = {
	id = ctyug.1
	title = ctyug.1.t
	desc = ctyug.1.d
	picture = GFX_report_event_funeral
	fire_only_once = yes		
	trigger = {
		tag = YUG
		AND = {
			date > 1934.10.8
			NOT = { has_country_flag = ct_dead_alex1 }
		}
	}
	mean_time_to_happen = { days = 1 }
	option = {
		name = ctyug.1.o1
		set_country_flag = ct_dead_alex1
		create_country_leader = {
			name = "Prince Paul"
			desc = "POLITICS_PRINCE_PAUL_DESC"
			picture = "Portrait_Yugoslavia_Prince_Paul.dds"
			expire = "1965.1.1"
			ideology = despotism
			traits = {
				#
			}
		}
		ITA = { country_event = { id = ctyug.2 days = 1 } }
	}
}

country_event = { #word reached ITA about King Alexander Assasinated. How do we respond? 1. LOL, 2. so sad, 3. Claim responsibility
	id = ctyug.2
	title = ctyug.2.t
	desc = ctyug.2.d
	picture = GFX_report_event_funeral
	is_triggered_only = yes
	option = {
		name = ctyug.2.o1
		ai_chance = {	base = 0	}
	}
	option = {
		name = ctyug.2.o2
		ai_chance = {	base = 10	}
	}
	option = {
		name = ctyug.2.o3
		ai_chance = {	base = 0	}
		YUG = {	country_event = { id = ctyug.3 days = 1 }	}
	}	
}

country_event = { #yug learns about response
	id = ctyug.3
	title = ctyug.3.t
	desc = ctyug.3.d
	picture = GFX_report_event_funeral
	is_triggered_only = yes
	option = {
		name = ctyug.3.o1
		YUG = {
			declare_war_on = {
				target = ITA
				type = annex_everything
			}
		}
	}	
}