﻿namespace = ai_events


#at the game starting great power
ai_events.1 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:great_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power
		}
		ai_chance = {
			base = 100										
		}		
	}
}

#at the game starting major power
ai_events.2 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		ai_chance = {
			base = 100										
		}		
	}
}

#at the game starting minor power
ai_events.3 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:minor_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		ai_chance = {
			base = 100										
		}		
	}
}


#at the game starting insignificant power
ai_events.4 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:insignificant_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_insignificant_power
		}
		ai_chance = {
			base = 100										
		}		
	}
}

#at the game starting unrecognized major power
ai_events.5 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:unrecognized_major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_major_power
		}
		ai_chance = {
			base = 100										
		}		
	}
}

#at the game starting unrecognized regional power
ai_events.6 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:unrecognized_regional_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_regional_power
		}
		ai_chance = {
			base = 100										
		}		
	}
}

#at the game starting unrecognized power
ai_events.7 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		NOT = {
				has_modifier = ai_construction_great_power 
				has_modifier = ai_construction_major_power
				has_modifier = ai_construction_minor_power
				has_modifier = ai_construction_insignificant_power
				has_modifier = ai_construction_unrecognized_major_power
				has_modifier = ai_construction_unrecognized_regional_power
				has_modifier = ai_construction_unrecognized_power	
		}
		country_rank = rank_value:unrecognized_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_power	
		}
		ai_chance = {
			base = 100										
		}		
	}
}


########################################################################

#Great-> major
ai_events.8 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_great_power
		country_rank = rank_value:major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		remove_modifier = ai_construction_great_power
		ai_chance = {
			base = 100										
		}		
	}
}

#great -> minor
ai_events.9 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_great_power
		country_rank = rank_value:minor_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		remove_modifier = ai_construction_great_power
		ai_chance = {
			base = 100										
		}		
	}
}

#great -> insignificant
ai_events.10 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_great_power
		country_rank = rank_value:insignificant_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = insignificant_power
		}
		remove_modifier = ai_construction_great_power
		ai_chance = {
			base = 100										
		}		
	}
}

#major -> great
ai_events.11 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_major_power
		country_rank = rank_value:great_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power
		}
		remove_modifier = ai_construction_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

#major -> minor
ai_events.12 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_major_power
		country_rank = rank_value:minor_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		remove_modifier = ai_construction_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

#major -> insignificant
ai_events.13 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_major_power
		country_rank = rank_value:insignificant_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_insignificant_power
		}
		remove_modifier = ai_construction_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

#minor -> great
ai_events.14 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_minor_power
		country_rank = rank_value:great_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power
		}
		remove_modifier = ai_construction_minor_power
		ai_chance = {
			base = 100										
		}		
	}
}

#minor -> major
ai_events.15 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_minor_power
		country_rank = rank_value:major_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		remove_modifier = ai_construction_minor_power
		ai_chance = {
			base = 100										
		}		
	}
}

#minor -> insignificant
ai_events.16 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_minor_power
		country_rank = rank_value:insignificant_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_insignificant_power
		}
		remove_modifier = ai_construction_minor_power
		ai_chance = {
			base = 100										
		}		
	}
}

#insignificant -> great
ai_events.17 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_insignificant_power
		country_rank = rank_value:great_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power
		}
		remove_modifier = ai_construction_insignificant_power
		ai_chance = {
			base = 100										
		}		
	}
}

#insignificant -> major
ai_events.18 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_insignificant_power
		country_rank = rank_value:major_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		remove_modifier = ai_construction_insignificant_power
		ai_chance = {
			base = 100										
		}		
	}
}

#insignificant -> minor
ai_events.19 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_insignificant_power
		country_rank = rank_value:minor_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		remove_modifier = ai_construction_insignificant_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_major_power -> great_power
ai_events.20 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_major_power
		country_rank = rank_value:great_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power
		}
		remove_modifier = ai_construction_unrecognized_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_major_power -> major_power
ai_events.21 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_major_power
		country_rank = rank_value:major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		remove_modifier = ai_construction_unrecognized_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_major_power -> minor_power
ai_events.22 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_major_power
		country_rank = rank_value:minor_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		remove_modifier = ai_construction_unrecognized_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_major_power -> insignificant_power
ai_events.23 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_major_power
		country_rank = rank_value:insignificant_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_insignificant_power
		}
		remove_modifier = ai_construction_unrecognized_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_major_power -> unrecognized_regional_power
ai_events.24 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_major_power
		country_rank = rank_value:unrecognized_regional_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_regional_power
		}
		remove_modifier = ai_construction_unrecognized_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_major_power -> unrecognized_power
ai_events.25 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_major_power
		country_rank = rank_value:unrecognized_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_power
		}
		remove_modifier = ai_construction_unrecognized_major_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_regional_power -> great_power 
ai_events.26 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_regional_power
		country_rank = rank_value:great_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power 
		}
		remove_modifier = ai_construction_unrecognized_regional_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_regional_power -> major_power
ai_events.27 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_regional_power
		country_rank = rank_value:major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		remove_modifier = ai_construction_unrecognized_regional_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_regional_power -> minor_power
ai_events.28 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_regional_power
		country_rank = rank_value:minor_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		remove_modifier = ai_construction_unrecognized_regional_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_regional_power -> insignificant_power
ai_events.29 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_regional_power
		country_rank = rank_value:insignificant_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_insignificant_power
		}
		remove_modifier = ai_construction_unrecognized_regional_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_regional_power -> unrecognized_major_power
ai_events.30 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_regional_power
		country_rank = rank_value:unrecognized_major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_major_power
		}
		remove_modifier = ai_construction_unrecognized_regional_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_regional_power -> unrecognized_power
ai_events.31 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_regional_power
		country_rank = rank_value:unrecognized_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_power
		}
		remove_modifier = ai_construction_unrecognized_regional_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_power -> great_power 
ai_events.32 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_power
		country_rank = rank_value:great_power 
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_great_power 
		}
		remove_modifier = ai_construction_unrecognized_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_power -> major_power
ai_events.33 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_power
		country_rank = rank_value:major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_major_power
		}
		remove_modifier = ai_construction_unrecognized_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_power -> minor_power
ai_events.34 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_power
		country_rank = rank_value:minor_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_minor_power
		}
		remove_modifier = ai_construction_unrecognized_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_power -> insignificant_power
ai_events.35 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_power
		country_rank = rank_value:insignificant_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_insignificant_power
		}
		remove_modifier = ai_construction_unrecognized_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_power -> unrecognized_major_power
ai_events.36 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_power
		country_rank = rank_value:unrecognized_major_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_major_power
		}
		remove_modifier = ai_construction_unrecognized_power
		ai_chance = {
			base = 100										
		}		
	}
}

# unrecognized_power -> unrecognized_regional_power
ai_events.37 = {
	type = country_event
	event_image = {
		video = "gfx/event_pictures/middleeast_courtroom_upheaval.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/middleeast/courtroom_upheaval"

	icon = "gfx/interface/icons/event_icons/event_default.dds"

	title = diplomatic_events.1.t
	desc = diplomatic_events.1.d
	flavor = diplomatic_events.1.f

	duration = 3
	
	trigger = {
		has_modifier = ai_construction_unrecognized_power
		country_rank = rank_value:unrecognized_regional_power
		game_date >= 1836.1.1
		is_ai = yes
				
	}
	

	option = {
		name = ai.1.a
		default_option = yes
		add_modifier = {
			name = ai_construction_unrecognized_regional_power
		}
		remove_modifier = ai_construction_unrecognized_power
		ai_chance = {
			base = 100										
		}		
	}
}