leaders_school_country_category = {
	#Country Upgrades
#NORMAL
	science_school  = {
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scientist_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scientist_X}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost180
		cost = 	180
		days_remove = 20
#days20
		modifier = {
			research_speed_factor=-0.4
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				amount_research_slots>4
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scientist_IX
				}
				swap_ruler_traits = {
					remove =scientist_IX
					add =scientist_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VIII
				}
				swap_ruler_traits = {
					remove =scientist_VIII
					add =scientist_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VII
				}
				swap_ruler_traits = {
					remove =scientist_VII
					add =scientist_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VI
				}
				swap_ruler_traits = {
					remove =scientist_VI
					add =scientist_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_V
				}
				swap_ruler_traits = {
					remove =scientist_V
					add =scientist_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_IV
				}
				swap_ruler_traits = {
					remove =scientist_IV
					add =scientist_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_III
				}
				swap_ruler_traits = {
					remove =scientist_III
					add =scientist_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_II
				}
				swap_ruler_traits = {
					remove =scientist_II
					add =scientist_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_I
				}
				swap_ruler_traits = {
					remove =scientist_I
					add =scientist_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scientist_X}
				}
				add_country_leader_trait = scientist_I			
			}
			}
		}
	}
	industrial_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = productivity_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = productivity_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost160
		cost = 160
		days_remove = 60
#days80
		modifier = {
			industrial_capacity_dockyard = -0.3
			industrial_capacity_factory = -0.3
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = productivity_IV
				}
				swap_ruler_traits = {
					remove =productivity_IV
					add =productivity_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_III
				}
				swap_ruler_traits = {
					remove =productivity_III
					add =productivity_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_II
				}
				swap_ruler_traits = {
					remove =productivity_II
					add =productivity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_I
				}
				swap_ruler_traits = {
					remove =productivity_I
					add =productivity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = productivity_V}
				}
				add_country_leader_trait = productivity_I			
			}
			}
		}
	}
	engineer_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = engineer_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = engineer_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost140
		cost = 140
		days_remove = 60
#days60
		modifier = {		
			production_speed_buildings_factor		= -0.3
			industry_repair_factor  				= -0.3		
			political_power_gain=-0.2

		}

		ai_will_do = {
			base = 2
			modifier = {
				num_of_available_civilian_factories> 14
				add= 3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = engineer_IV
				}
				swap_ruler_traits = {
					remove =engineer_IV
					add =engineer_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_III
				}
				swap_ruler_traits = {
					remove =engineer_III
					add =engineer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_II
				}
				swap_ruler_traits = {
					remove =engineer_II
					add =engineer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_I
				}
				swap_ruler_traits = {
					remove =engineer_I
					add =engineer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = engineer_V}
				}
				add_country_leader_trait = engineer_I			
			}
			}
		}
	}
	train_persuasiveness  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = persuasiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = persuasiveness_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost120
		cost = 120
		days_remove = 40
#days40
		modifier = {
			political_power_factor=-0.2
			political_power_gain=-0.5
		
		}
		
		
		ai_will_do = {
			base = 4
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				political_power_daily <3
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_IV
				}
				swap_ruler_traits = {
					remove =persuasiveness_IV
					add =persuasiveness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_III
				}
				swap_ruler_traits = {
					remove =persuasiveness_III
					add =persuasiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_II
				}
				swap_ruler_traits = {
					remove =persuasiveness_II
					add =persuasiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_I
				}
				swap_ruler_traits = {
					remove =persuasiveness_I
					add =persuasiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = persuasiveness_V}
				}
				add_country_leader_trait = persuasiveness_I			
			}
			}
		}
	}
	ecology_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = ecologist_II}
		}

		visible = {
			NOT = {has_country_leader_with_trait = ecologist_II}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost100
		cost = 100
		days_remove = 50
#days50
		modifier = {
			consumer_goods_factor = 0.1
			political_power_gain=-0.2

		}

		ai_will_do = {
			base = 2
			modifier = {
				has_idea=tot_economic_mobilisation
				add=3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = ecologist_I
				}
				swap_ruler_traits = {
					remove =ecologist_I
					add =ecologist_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = ecologist_II}
				}
				add_country_leader_trait = ecologist_I			
			}
			}
		}
	}
	read_about_reliability  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = reliability_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = reliability_III}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost100
		cost = 100
		days_remove = 70
#days70
		modifier = {
			political_power_gain=-0.2
			stability_factor=-0.25

		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = communism	
				add = 2
			}
			modifier = {
				has_stability< 0.51
				add = 1
			}
			modifier = {
				has_stability< 0.26
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = reliability_II
				}
				swap_ruler_traits = {
					remove =reliability_II
					add =reliability_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = reliability_I
				}
				swap_ruler_traits = {
					remove =reliability_I
					add =reliability_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = reliability_III}
				}
				add_country_leader_trait = reliability_I			
			}
			}
		}
	}
	
	scrapper_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scrapping_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scrapping_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost90
		cost = 90
		days_remove = 40
#days40
		modifier = {
			production_lack_of_resource_penalty_factor = 0.4
			political_power_gain=-0.1			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scrapping_IV
				}
				swap_ruler_traits = {
					remove =scrapping_IV
					add =scrapping_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_III
				}
				swap_ruler_traits = {
					remove =scrapping_III
					add =scrapping_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_II
				}
				swap_ruler_traits = {
					remove =scrapping_II
					add =scrapping_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_I
				}
				swap_ruler_traits = {
					remove =scrapping_I
					add =scrapping_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scrapping_V}
				}
				add_country_leader_trait = scrapping_I			
			}
			}
		}
	}

	
	secureness_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = secureness_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = secureness_III}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost85
		cost = 85
		days_remove = 50
#days80
		modifier = {
			political_power_gain=-0.2
			war_support_factor=-0.25

		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = fascism	
				add = 2
			}
			modifier = {
				has_war_support< 0.52
				add = 1
			}
			modifier = {
				has_war_support< 0.17
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = secureness_II
				}
				swap_ruler_traits = {
					remove =secureness_II
					add =secureness_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = secureness_I
				}
				swap_ruler_traits = {
					remove =secureness_I
					add =secureness_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = secureness_III}
				}
				add_country_leader_trait = secureness_I			
			}
			}
		}
	}
	resources_school = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = quality_mining_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = quality_mining_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no


#cost80
		cost =  80
		days_remove = 40
#days80
		modifier = {			
			political_power_gain=-0.2
			state_resources_factor = -0.25	
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
			OR = {	
			any_state = {has_resources_amount = {
					resource = oil
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = aluminium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = tungsten
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = steel
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = chromium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = rubber
					amount < 1
			}}
				}
				add = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = quality_mining_IV
				}
				swap_ruler_traits = {
					remove =quality_mining_IV
					add =quality_mining_V
				} 				
			}	
				
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_III
				}
				swap_ruler_traits = {
					remove =quality_mining_III
					add =quality_mining_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_II
				}
				swap_ruler_traits = {
					remove =quality_mining_II
					add =quality_mining_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_I
				}
				swap_ruler_traits = {
					remove =quality_mining_I
					add =quality_mining_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = quality_mining_V}
				}
				add_country_leader_trait = quality_mining_I			
			}
			}
		}
	}
	endurance_training = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = endurance_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = endurance_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no


#cost80
		cost =  80
		days_remove = 50
#days80
		modifier = {
			surrender_limit=1
			max_surrender_limit_offset=0.40
			political_power_gain=-0.2
	
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
				any_country = {
					is_justifying_wargoal_against=ROOT
				}
				add=5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = endurance_III
				}
				swap_ruler_traits = {
					remove =endurance_III
					add =endurance_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_II
				}
				swap_ruler_traits = {
					remove =endurance_II
					add =endurance_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_I
				}
				swap_ruler_traits = {
					remove =endurance_I
					add =endurance_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = endurance_IV}
				}
				add_country_leader_trait = endurance_I			
			}
			}
		}
	}
	fertility_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fertility_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fertility_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost80
		cost = 80
		days_remove = 35
#days35
		modifier = {
			political_power_gain=-0.2
			monthly_population=-0.5

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_manpower <20000
				add = 2
			}
			modifier = {
				has_government = communism
				add = 2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fertility_III
				}
				swap_ruler_traits = {
					remove =fertility_III
					add =fertility_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_II
				}
				swap_ruler_traits = {
					remove =fertility_II
					add =fertility_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_I
				}
				swap_ruler_traits = {
					remove =fertility_I
					add =fertility_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fertility_IV}
				}
				add_country_leader_trait = fertility_I			
				}
			}
		}
	}
	puppet_master_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = puppet_master_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = puppet_master_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost80
		cost = 80
		days_remove = 30
#days30
		modifier = {
			subjects_autonomy_gain=5
			political_power_gain=-0.2
	
		}		
		
		ai_will_do = {
			base = 2
			modifier = {
			any_country = {
					is_puppet_of = ROOT
				}
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = puppet_master_IV
				}
				swap_ruler_traits = {
					remove =puppet_master_IV
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_III
				}
				swap_ruler_traits = {
					remove =puppet_master_III
					add =puppet_master_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_II
				}
				swap_ruler_traits = {
					remove =puppet_master_II
					add =puppet_master_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_I
				}
				swap_ruler_traits = {
					remove =puppet_master_I
					add =puppet_master_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = puppet_master_V}
				}
				add_country_leader_trait = puppet_master_I			
				}
			}
		}
	}
	play_tetris  = {

		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = compactness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = compactness_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost80
		cost = 80
		days_remove = 30
#days80
		modifier = {
			global_building_slots_factor=-0.2
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				any_owned_state = {
							free_building_slots = {
								size < 1
								include_locked = no
							}
				}				
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = compactness_IV
				}
				swap_ruler_traits = {
					remove =compactness_IV
					add =compactness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_III
				}
				swap_ruler_traits = {
					remove =compactness_III
					add =compactness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_II
				}
				swap_ruler_traits = {
					remove =compactness_II
					add =compactness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_I
				}
				swap_ruler_traits = {
					remove =compactness_I
					add =compactness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = compactness_V}
				}
				add_country_leader_trait = compactness_I			
			}
			}
		}
	}
	oil_tycoon_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = oil_magnate_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = oil_magnate_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost75
		cost = 75
		days_remove = 60
#days80
		modifier = {	
			base_fuel_gain_factor = -0.1
			max_fuel_factor = -0.2
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier= {
				has_government = neutrality
				add = 2
			}			
			modifier = {
				fuel_ratio > 1000
				add = 3
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_III
				}
				swap_ruler_traits = {
					remove =oil_magnate_III
					add =oil_magnate_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_II
				}
				swap_ruler_traits = {
					remove =oil_magnate_II
					add =oil_magnate_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_I
				}
				swap_ruler_traits = {
					remove =oil_magnate_I
					add =oil_magnate_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = oil_magnate_IV}
				}
				add_country_leader_trait = oil_magnate_I			
				}
			}
		}
	}
	
#NORMAL
####
#EASY
	science_school_easy = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scientist_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scientist_X}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost180
		cost = 	130
		days_remove = 20
#days20
		modifier = {
			research_speed_factor=-0.4
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				amount_research_slots>4
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scientist_IX
				}
				swap_ruler_traits = {
					remove =scientist_IX
					add =scientist_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VIII
				}
				swap_ruler_traits = {
					remove =scientist_VIII
					add =scientist_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VII
				}
				swap_ruler_traits = {
					remove =scientist_VII
					add =scientist_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VI
				}
				swap_ruler_traits = {
					remove =scientist_VI
					add =scientist_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_V
				}
				swap_ruler_traits = {
					remove =scientist_V
					add =scientist_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_IV
				}
				swap_ruler_traits = {
					remove =scientist_IV
					add =scientist_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_III
				}
				swap_ruler_traits = {
					remove =scientist_III
					add =scientist_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_II
				}
				swap_ruler_traits = {
					remove =scientist_II
					add =scientist_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_I
				}
				swap_ruler_traits = {
					remove =scientist_I
					add =scientist_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scientist_X}
				}
				add_country_leader_trait = scientist_I			
			}
			}
		}
	}
	industrial_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = productivity_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = productivity_V}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost160
		cost = 110
		days_remove = 20
#days80
		modifier = {
			industrial_capacity_dockyard = -0.3
			industrial_capacity_factory = -0.3
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = productivity_IV
				}
				swap_ruler_traits = {
					remove =productivity_IV
					add =productivity_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_III
				}
				swap_ruler_traits = {
					remove =productivity_III
					add =productivity_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_II
				}
				swap_ruler_traits = {
					remove =productivity_II
					add =productivity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_I
				}
				swap_ruler_traits = {
					remove =productivity_I
					add =productivity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = productivity_V}
				}
				add_country_leader_trait = productivity_I			
			}
			}
		}
	}
	engineer_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = engineer_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = engineer_V}
			has_country_flag = leaders_school_easy
		}


		fire_only_once = no
#cost140
		cost = 90
		days_remove = 20
#days60
		modifier = {		
			production_speed_buildings_factor		= -0.3
			industry_repair_factor  				= -0.3		
			political_power_gain=-0.2

		}

		ai_will_do = {
			base = 2
			modifier = {
				num_of_available_civilian_factories> 14
				add= 3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = engineer_IV
				}
				swap_ruler_traits = {
					remove =engineer_IV
					add =engineer_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_III
				}
				swap_ruler_traits = {
					remove =engineer_III
					add =engineer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_II
				}
				swap_ruler_traits = {
					remove =engineer_II
					add =engineer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_I
				}
				swap_ruler_traits = {
					remove =engineer_I
					add =engineer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = engineer_V}
				}
				add_country_leader_trait = engineer_I			
			}
			}
		}
	}
	train_persuasiveness_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = persuasiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = persuasiveness_V}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost120
		cost = 70
		days_remove = 20
#days40
		modifier = {
			political_power_factor=-0.2
			political_power_gain=-0.5
		
		}
		
		
		ai_will_do = {
			base = 4
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				political_power_daily <3
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_IV
				}
				swap_ruler_traits = {
					remove =persuasiveness_IV
					add =persuasiveness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_III
				}
				swap_ruler_traits = {
					remove =persuasiveness_III
					add =persuasiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_II
				}
				swap_ruler_traits = {
					remove =persuasiveness_II
					add =persuasiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_I
				}
				swap_ruler_traits = {
					remove =persuasiveness_I
					add =persuasiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = persuasiveness_V}
				}
				add_country_leader_trait = persuasiveness_I			
			}
			}
		}
	}
	ecology_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = ecologist_II}
		}

		visible = {
			NOT = {has_country_leader_with_trait = ecologist_II}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost100
		cost = 50
		days_remove = 20
#days50
		modifier = {
			consumer_goods_factor = 0.1
			political_power_gain=-0.2

		}

		ai_will_do = {
			base = 2
			modifier = {
				has_idea=tot_economic_mobilisation
				add=3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = ecologist_I
				}
				swap_ruler_traits = {
					remove =ecologist_I
					add =ecologist_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = ecologist_II}
				}
				add_country_leader_trait = ecologist_I			
			}
			}
		}
	}
	read_about_reliability_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = reliability_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = reliability_III}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost100
		cost = 50
		days_remove = 20
#days70
		modifier = {
			political_power_gain=-0.2
			stability_factor=-0.25

		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = communism	
				add = 2
			}
			modifier = {
				has_stability< 0.51
				add = 1
			}
			modifier = {
				has_stability< 0.26
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = reliability_II
				}
				swap_ruler_traits = {
					remove =reliability_II
					add =reliability_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = reliability_I
				}
				swap_ruler_traits = {
					remove =reliability_I
					add =reliability_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = reliability_III}
				}
				add_country_leader_trait = reliability_I			
			}
			}
		}
	}
	
	scrapper_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scrapping_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scrapping_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost40
		cost = 40
		days_remove = 20
#days20
		modifier = {
			production_lack_of_resource_penalty_factor = 0.4
			political_power_gain=-0.1			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scrapping_IV
				}
				swap_ruler_traits = {
					remove =scrapping_IV
					add =scrapping_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_III
				}
				swap_ruler_traits = {
					remove =scrapping_III
					add =scrapping_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_II
				}
				swap_ruler_traits = {
					remove =scrapping_II
					add =scrapping_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_I
				}
				swap_ruler_traits = {
					remove =scrapping_I
					add =scrapping_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scrapping_V}
				}
				add_country_leader_trait = scrapping_I			
			}
			}
		}
	}
	
	
	secureness_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = secureness_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = secureness_III}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost85
		cost = 35
		days_remove = 20
#days80
		modifier = {
			political_power_gain=-0.2
			war_support_factor=-0.25

		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = fascism	
				add = 2
			}
			modifier = {
				has_war_support< 0.52
				add = 1
			}
			modifier = {
				has_war_support< 0.17
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = secureness_II
				}
				swap_ruler_traits = {
					remove =secureness_II
					add =secureness_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = secureness_I
				}
				swap_ruler_traits = {
					remove =secureness_I
					add =secureness_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = secureness_III}
				}
				add_country_leader_trait = secureness_I			
			}
			}
		}
	}
	
	resources_school_easy = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = quality_mining_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = quality_mining_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no


#cost80
		cost =  30
		days_remove = 20
#days80
		modifier = {			
			political_power_gain=-0.2
			state_resources_factor = -0.25	
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
			OR = {	
				any_state = {has_resources_amount = {
					resource = oil
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = aluminium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = tungsten
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = steel
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = chromium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = rubber
					amount < 1
			}}
				}
				add = 6
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = quality_mining_IV
				}
				swap_ruler_traits = {
					remove =quality_mining_IV
					add =quality_mining_V
				} 				
			}	
				
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_III
				}
				swap_ruler_traits = {
					remove =quality_mining_III
					add =quality_mining_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_II
				}
				swap_ruler_traits = {
					remove =quality_mining_II
					add =quality_mining_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_I
				}
				swap_ruler_traits = {
					remove =quality_mining_I
					add =quality_mining_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = quality_mining_V}
				}
				add_country_leader_trait = quality_mining_I			
			}
			}
		}
	}
	endurance_training_easy = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = endurance_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = endurance_IV}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no


#cost80
		cost =  30
		days_remove = 20
#days80
		modifier = {
			surrender_limit=1
			max_surrender_limit_offset=0.40
			political_power_gain=-0.2
	
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
				any_country = {
					is_justifying_wargoal_against=ROOT
				}
				add=5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = endurance_III
				}
				swap_ruler_traits = {
					remove =endurance_III
					add =endurance_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_II
				}
				swap_ruler_traits = {
					remove =endurance_II
					add =endurance_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_I
				}
				swap_ruler_traits = {
					remove =endurance_I
					add =endurance_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = endurance_IV}
				}
				add_country_leader_trait = endurance_I			
			}
			}
		}
	}
	fertility_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fertility_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fertility_IV}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost80
		cost = 30
		days_remove = 20
#days35
		modifier = {
			political_power_gain=-0.2
			monthly_population=-0.5

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_manpower <20000
				add = 2
			}
			modifier = {
				has_government = communism
				add = 2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fertility_III
				}
				swap_ruler_traits = {
					remove =fertility_III
					add =fertility_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_II
				}
				swap_ruler_traits = {
					remove =fertility_II
					add =fertility_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_I
				}
				swap_ruler_traits = {
					remove =fertility_I
					add =fertility_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fertility_IV}
				}
				add_country_leader_trait = fertility_I			
				}
			}
		}
	}
	puppet_master_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = puppet_master_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = puppet_master_V}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost80
		cost = 30
		days_remove = 20
#days30
		modifier = {
			subjects_autonomy_gain=5
			political_power_gain=-0.2
	
		}		
		
		ai_will_do = {
			base = 2
			modifier = {
			any_country = {
					is_puppet_of = ROOT
				}
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = puppet_master_IV
				}
				swap_ruler_traits = {
					remove =puppet_master_IV
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_III
				}
				swap_ruler_traits = {
					remove =puppet_master_III
					add =puppet_master_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_II
				}
				swap_ruler_traits = {
					remove =puppet_master_II
					add =puppet_master_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_I
				}
				swap_ruler_traits = {
					remove =puppet_master_I
					add =puppet_master_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = puppet_master_V}
				}
				add_country_leader_trait = puppet_master_I			
				}
			}
		}
	}
	play_tetris_easy  = {

		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = compactness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = compactness_V}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost80
		cost = 30
		days_remove = 20
#days80
		modifier = {
			global_building_slots_factor=-0.2
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				any_owned_state = {
							free_building_slots = {
								size < 1
								include_locked = no
							}
				}				
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = compactness_IV
				}
				swap_ruler_traits = {
					remove =compactness_IV
					add =compactness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_III
				}
				swap_ruler_traits = {
					remove =compactness_III
					add =compactness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_II
				}
				swap_ruler_traits = {
					remove =compactness_II
					add =compactness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_I
				}
				swap_ruler_traits = {
					remove =compactness_I
					add =compactness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = compactness_V}
				}
				add_country_leader_trait = compactness_I			
			}
			}
		}
	}
	oil_tycoon_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = oil_magnate_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = oil_magnate_IV}
			has_country_flag = leaders_school_easy
		}

		fire_only_once = no
#cost75
		cost = 25
		days_remove = 20
#days80
		modifier = {	
			base_fuel_gain_factor = -0.1
			max_fuel_factor = -0.2
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier= {
				has_government = neutrality 
				add = 2
			}			
			modifier = {
				fuel_ratio > 1000
				add = 3
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_III
				}
				swap_ruler_traits = {
					remove =oil_magnate_III
					add =oil_magnate_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_II
				}
				swap_ruler_traits = {
					remove =oil_magnate_II
					add =oil_magnate_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_I
				}
				swap_ruler_traits = {
					remove =oil_magnate_I
					add =oil_magnate_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = oil_magnate_IV}
				}
				add_country_leader_trait = oil_magnate_I			
				}
			}
		}
	}
	
	
#EASY
####
#REALISTIC
	science_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scientist_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scientist_X}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost180
		cost = 	230
		days_remove = 30
#days20
		modifier = {
			research_speed_factor=-0.4
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				amount_research_slots>4
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scientist_IX
				}
				swap_ruler_traits = {
					remove =scientist_IX
					add =scientist_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VIII
				}
				swap_ruler_traits = {
					remove =scientist_VIII
					add =scientist_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VII
				}
				swap_ruler_traits = {
					remove =scientist_VII
					add =scientist_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VI
				}
				swap_ruler_traits = {
					remove =scientist_VI
					add =scientist_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_V
				}
				swap_ruler_traits = {
					remove =scientist_V
					add =scientist_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_IV
				}
				swap_ruler_traits = {
					remove =scientist_IV
					add =scientist_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_III
				}
				swap_ruler_traits = {
					remove =scientist_III
					add =scientist_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_II
				}
				swap_ruler_traits = {
					remove =scientist_II
					add =scientist_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_I
				}
				swap_ruler_traits = {
					remove =scientist_I
					add =scientist_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scientist_X}
				}
				add_country_leader_trait = scientist_I			
			}
			}
		}
	}
	industrial_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = productivity_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = productivity_V}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost160
		cost = 210
		days_remove = 70
#days80
		modifier = {
			industrial_capacity_dockyard = -0.3
			industrial_capacity_factory = -0.3
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = productivity_IV
				}
				swap_ruler_traits = {
					remove =productivity_IV
					add =productivity_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_III
				}
				swap_ruler_traits = {
					remove =productivity_III
					add =productivity_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_II
				}
				swap_ruler_traits = {
					remove =productivity_II
					add =productivity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_I
				}
				swap_ruler_traits = {
					remove =productivity_I
					add =productivity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = productivity_V}
				}
				add_country_leader_trait = productivity_I			
			}
			}
		}
	}
	engineer_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = engineer_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = engineer_V}
			has_country_flag = leaders_school_realistic
		}


		fire_only_once = no
#cost140
		cost = 190
		days_remove = 70
#days60
		modifier = {		
			production_speed_buildings_factor		= -0.3
			industry_repair_factor  				= -0.3		
			political_power_gain=-0.2

		}

		ai_will_do = {
			base = 2
			modifier = {
				num_of_available_civilian_factories> 14
				add= 3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = engineer_IV
				}
				swap_ruler_traits = {
					remove =engineer_IV
					add =engineer_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_III
				}
				swap_ruler_traits = {
					remove =engineer_III
					add =engineer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_II
				}
				swap_ruler_traits = {
					remove =engineer_II
					add =engineer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_I
				}
				swap_ruler_traits = {
					remove =engineer_I
					add =engineer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = engineer_V}
				}
				add_country_leader_trait = engineer_I			
			}
			}
		}
	}
	train_persuasiveness_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = persuasiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = persuasiveness_V}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost120
		cost = 170
		days_remove = 50
#days40
		modifier = {
			political_power_factor=-0.2
			political_power_gain=-0.5
		
		}
		
		
		ai_will_do = {
			base = 4
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				political_power_daily <3
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_IV
				}
				swap_ruler_traits = {
					remove =persuasiveness_IV
					add =persuasiveness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_III
				}
				swap_ruler_traits = {
					remove =persuasiveness_III
					add =persuasiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_II
				}
				swap_ruler_traits = {
					remove =persuasiveness_II
					add =persuasiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_I
				}
				swap_ruler_traits = {
					remove =persuasiveness_I
					add =persuasiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = persuasiveness_V}
				}
				add_country_leader_trait = persuasiveness_I			
			}
			}
		}
	}
	ecology_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = ecologist_II}
		}

		visible = {
			NOT = {has_country_leader_with_trait = ecologist_II}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost100
		cost = 150
		days_remove = 60
#days50
		modifier = {
			consumer_goods_factor = 0.1
			political_power_gain=-0.2

		}

		ai_will_do = {
			base = 2
			modifier = {
				has_idea=tot_economic_mobilisation
				add=3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = ecologist_I
				}
				swap_ruler_traits = {
					remove =ecologist_I
					add =ecologist_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = ecologist_II}
				}
				add_country_leader_trait = ecologist_I			
			}
			}
		}
	}
	read_about_reliability_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = reliability_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = reliability_III}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost100
		cost = 150
		days_remove = 80
#days70
		modifier = {
			political_power_gain=-0.2
			stability_factor=-0.25

		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = communism	
				add = 2
			}
			modifier = {
				has_stability< 0.51
				add = 1
			}
			modifier = {
				has_stability< 0.26
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = reliability_II
				}
				swap_ruler_traits = {
					remove =reliability_II
					add =reliability_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = reliability_I
				}
				swap_ruler_traits = {
					remove =reliability_I
					add =reliability_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = reliability_III}
				}
				add_country_leader_trait = reliability_I			
			}
			}
		}
	}
	
	scrapper_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scrapping_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scrapping_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost90
		cost = 140
		days_remove = 55
#days40
		modifier = {
			production_lack_of_resource_penalty_factor = 0.4
			political_power_gain=-0.1			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scrapping_IV
				}
				swap_ruler_traits = {
					remove =scrapping_IV
					add =scrapping_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_III
				}
				swap_ruler_traits = {
					remove =scrapping_III
					add =scrapping_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_II
				}
				swap_ruler_traits = {
					remove =scrapping_II
					add =scrapping_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_I
				}
				swap_ruler_traits = {
					remove =scrapping_I
					add =scrapping_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scrapping_V}
				}
				add_country_leader_trait = scrapping_I			
			}
			}
		}
	}
	
	secureness_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = secureness_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = secureness_III}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost85
		cost = 135
		days_remove = 60
#days80
		modifier = {
			political_power_gain=-0.2
			war_support_factor=-0.25

		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = fascism	
				add = 2
			}
			modifier = {
				has_war_support< 0.52
				add = 1
			}
			modifier = {
				has_war_support< 0.17
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = secureness_II
				}
				swap_ruler_traits = {
					remove =secureness_II
					add =secureness_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = secureness_I
				}
				swap_ruler_traits = {
					remove =secureness_I
					add =secureness_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = secureness_III}
				}
				add_country_leader_trait = secureness_I			
			}
			}
		}
	}
	
	
	resources_school_realistic = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = quality_mining_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = quality_mining_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no


#cost80
		cost =  130
		days_remove = 40
#days80
		modifier = {			
			political_power_gain=-0.2
			state_resources_factor = -0.25	
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
			OR = {	
				any_state = {has_resources_amount = {
					resource = oil
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = aluminium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = tungsten
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = steel
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = chromium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = rubber
					amount < 1
			}}
				}
				add = 6
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = quality_mining_IV
				}
				swap_ruler_traits = {
					remove =quality_mining_IV
					add =quality_mining_V
				} 				
			}	
				
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_III
				}
				swap_ruler_traits = {
					remove =quality_mining_III
					add =quality_mining_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_II
				}
				swap_ruler_traits = {
					remove =quality_mining_II
					add =quality_mining_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_I
				}
				swap_ruler_traits = {
					remove =quality_mining_I
					add =quality_mining_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = quality_mining_V}
				}
				add_country_leader_trait = quality_mining_I			
			}
			}
		}
	}
	endurance_training_realistic = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = endurance_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = endurance_IV}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no


#cost80
		cost =  130
		days_remove = 60
#days80
		modifier = {
			surrender_limit=1
			max_surrender_limit_offset=0.40
			political_power_gain=-0.2
	
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
				any_country = {
					is_justifying_wargoal_against=ROOT
				}
				add=5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = endurance_III
				}
				swap_ruler_traits = {
					remove =endurance_III
					add =endurance_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_II
				}
				swap_ruler_traits = {
					remove =endurance_II
					add =endurance_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_I
				}
				swap_ruler_traits = {
					remove =endurance_I
					add =endurance_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = endurance_IV}
				}
				add_country_leader_trait = endurance_I			
			}
			}
		}
	}
	fertility_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fertility_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fertility_IV}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost80
		cost = 130
		days_remove = 45
#days35
		modifier = {
			political_power_gain=-0.2
			monthly_population=-0.5

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_manpower <20000
				add = 2
			}
			modifier = {
				has_government = communism
				add = 2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fertility_III
				}
				swap_ruler_traits = {
					remove =fertility_III
					add =fertility_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_II
				}
				swap_ruler_traits = {
					remove =fertility_II
					add =fertility_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_I
				}
				swap_ruler_traits = {
					remove =fertility_I
					add =fertility_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fertility_IV}
				}
				add_country_leader_trait = fertility_I			
				}
			}
		}
	}
	puppet_master_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = puppet_master_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = puppet_master_V}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost80
		cost = 130
		days_remove = 40
#days30
		modifier = {
			subjects_autonomy_gain=5
			political_power_gain=-0.2
	
		}		
		
		ai_will_do = {
			base = 2
			modifier = {
			any_country = {
					is_puppet_of = ROOT
				}
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = puppet_master_IV
				}
				swap_ruler_traits = {
					remove =puppet_master_IV
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_III
				}
				swap_ruler_traits = {
					remove =puppet_master_III
					add =puppet_master_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_II
				}
				swap_ruler_traits = {
					remove =puppet_master_II
					add =puppet_master_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_I
				}
				swap_ruler_traits = {
					remove =puppet_master_I
					add =puppet_master_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = puppet_master_V}
				}
				add_country_leader_trait = puppet_master_I			
				}
			}
		}
	}
	play_tetris_realistic  = {

		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = compactness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = compactness_V}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost80
		cost = 130
		days_remove = 40
#days80
		modifier = {
			global_building_slots_factor=-0.2
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				any_owned_state = {
							free_building_slots = {
								size < 1
								include_locked = no
							}
				}				
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = compactness_IV
				}
				swap_ruler_traits = {
					remove =compactness_IV
					add =compactness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_III
				}
				swap_ruler_traits = {
					remove =compactness_III
					add =compactness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_II
				}
				swap_ruler_traits = {
					remove =compactness_II
					add =compactness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_I
				}
				swap_ruler_traits = {
					remove =compactness_I
					add =compactness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = compactness_V}
				}
				add_country_leader_trait = compactness_I			
			}
			}
		}
	}
	oil_tycoon_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = oil_magnate_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = oil_magnate_IV}
			has_country_flag = leaders_school_realistic
		}

		fire_only_once = no
#cost75
		cost = 125
		days_remove = 70
#days80
		modifier = {	
			base_fuel_gain_factor = -0.1
			max_fuel_factor = -0.2
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 2
			modifier= {
				has_government = neutrality 
				add = 2
			}			
			modifier = {
				fuel_ratio > 1000
				add = 3
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_III
				}
				swap_ruler_traits = {
					remove =oil_magnate_III
					add =oil_magnate_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_II
				}
				swap_ruler_traits = {
					remove =oil_magnate_II
					add =oil_magnate_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_I
				}
				swap_ruler_traits = {
					remove =oil_magnate_I
					add =oil_magnate_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = oil_magnate_IV}
				}
				add_country_leader_trait = oil_magnate_I			
				}
			}
		}
	}
	
#REALISTIC
###
#CHEATS
	science_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = scientist_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scientist_X}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost180
		cost = 	0
		days_remove = 0
#days20
		modifier = {			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				amount_research_slots>4
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scientist_IX
				}
				swap_ruler_traits = {
					remove =scientist_IX
					add =scientist_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VIII
				}
				swap_ruler_traits = {
					remove =scientist_VIII
					add =scientist_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VII
				}
				swap_ruler_traits = {
					remove =scientist_VII
					add =scientist_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VI
				}
				swap_ruler_traits = {
					remove =scientist_VI
					add =scientist_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_V
				}
				swap_ruler_traits = {
					remove =scientist_V
					add =scientist_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_IV
				}
				swap_ruler_traits = {
					remove =scientist_IV
					add =scientist_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_III
				}
				swap_ruler_traits = {
					remove =scientist_III
					add =scientist_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_II
				}
				swap_ruler_traits = {
					remove =scientist_II
					add =scientist_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_I
				}
				swap_ruler_traits = {
					remove =scientist_I
					add =scientist_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scientist_X}
				}
				add_country_leader_trait = scientist_I			
			}
			}
		}
	}
	industrial_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = productivity_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = productivity_V}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost160
		cost = 0
		days_remove = 0
#days80
		modifier = {			
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = productivity_IV
				}
				swap_ruler_traits = {
					remove =productivity_IV
					add =productivity_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_III
				}
				swap_ruler_traits = {
					remove =productivity_III
					add =productivity_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_II
				}
				swap_ruler_traits = {
					remove =productivity_II
					add =productivity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_I
				}
				swap_ruler_traits = {
					remove =productivity_I
					add =productivity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = productivity_V}
				}
				add_country_leader_trait = productivity_I			
			}
			}
		}
	}
	engineer_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = engineer_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = engineer_V}
			has_country_flag = leaders_school_cheats
		}


		fire_only_once = no
#cost140
		cost = 0
		days_remove = 0
#days60
		modifier = {	
		}

		ai_will_do = {
			base = 2
			modifier = {
				num_of_available_civilian_factories> 14
				add= 3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = engineer_IV
				}
				swap_ruler_traits = {
					remove =engineer_IV
					add =engineer_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_III
				}
				swap_ruler_traits = {
					remove =engineer_III
					add =engineer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_II
				}
				swap_ruler_traits = {
					remove =engineer_II
					add =engineer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_I
				}
				swap_ruler_traits = {
					remove =engineer_I
					add =engineer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = engineer_V}
				}
				add_country_leader_trait = engineer_I			
			}
			}
		}
	}
	train_persuasiveness_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = persuasiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = persuasiveness_V}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost120
		cost = 0
		days_remove = 0
#days40
		modifier = {		
		}
		
		
		ai_will_do = {
			base = 4
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				political_power_daily <3
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_IV
				}
				swap_ruler_traits = {
					remove =persuasiveness_IV
					add =persuasiveness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_III
				}
				swap_ruler_traits = {
					remove =persuasiveness_III
					add =persuasiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_II
				}
				swap_ruler_traits = {
					remove =persuasiveness_II
					add =persuasiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_I
				}
				swap_ruler_traits = {
					remove =persuasiveness_I
					add =persuasiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = persuasiveness_V}
				}
				add_country_leader_trait = persuasiveness_I			
			}
			}
		}
	}
	ecology_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = ecologist_II}
		}

		visible = {
			NOT = {has_country_leader_with_trait = ecologist_II}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost100
		cost = 0
		days_remove = 0
#days50
		modifier = {
		}

		ai_will_do = {
			base = 2
			modifier = {
				has_idea=tot_economic_mobilisation
				add=3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = ecologist_I
				}
				swap_ruler_traits = {
					remove =ecologist_I
					add =ecologist_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = ecologist_II}
				}
				add_country_leader_trait = ecologist_I			
			}
			}
		}
	}
	read_about_reliability_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = reliability_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = reliability_III}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost100
		cost = 0
		days_remove = 0
#days70
		modifier = {
		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = communism	
				add = 2
			}
			modifier = {
				has_stability< 0.51
				add = 1
			}
			modifier = {
				has_stability< 0.26
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = reliability_II
				}
				swap_ruler_traits = {
					remove =reliability_II
					add =reliability_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = reliability_I
				}
				swap_ruler_traits = {
					remove =reliability_I
					add =reliability_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = reliability_III}
				}
				add_country_leader_trait = reliability_I			
			}
			}
		}
	}
	
	scrapper_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scrapping_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scrapping_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days40
		modifier = {
			political_power_gain=0
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scrapping_IV
				}
				swap_ruler_traits = {
					remove =scrapping_IV
					add =scrapping_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_III
				}
				swap_ruler_traits = {
					remove =scrapping_III
					add =scrapping_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_II
				}
				swap_ruler_traits = {
					remove =scrapping_II
					add =scrapping_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_I
				}
				swap_ruler_traits = {
					remove =scrapping_I
					add =scrapping_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scrapping_V}
				}
				add_country_leader_trait = scrapping_I		
			}
			}
		}
	}
	
	
	secureness_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = secureness_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = secureness_III}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days80
		modifier = {
		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = fascism	
				add = 2
			}
			modifier = {
				has_war_support< 0.52
				add = 1
			}
			modifier = {
				has_war_support< 0.17
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = secureness_II
				}
				swap_ruler_traits = {
					remove =secureness_II
					add =secureness_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = secureness_I
				}
				swap_ruler_traits = {
					remove =secureness_I
					add =secureness_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = secureness_III}
				}
				add_country_leader_trait = secureness_I			
			}
			}
		}
	}
	
	
	resources_school_cheats = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = quality_mining_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = quality_mining_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no


#cost80
		cost =  0
		days_remove = 0
#days80
		modifier = {
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
			OR = {	
				any_state = {has_resources_amount = {
					resource = oil
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = aluminium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = tungsten
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = steel
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = chromium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = rubber
					amount < 1
			}}
				}
				add = 6
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = quality_mining_IV
				}
				swap_ruler_traits = {
					remove =quality_mining_IV
					add =quality_mining_V
				} 				
			}	
				
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_III
				}
				swap_ruler_traits = {
					remove =quality_mining_III
					add =quality_mining_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_II
				}
				swap_ruler_traits = {
					remove =quality_mining_II
					add =quality_mining_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_I
				}
				swap_ruler_traits = {
					remove =quality_mining_I
					add =quality_mining_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = quality_mining_V}
				}
				add_country_leader_trait = quality_mining_I			
			}
			}
		}
	}	
	endurance_training_cheats = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = endurance_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = endurance_IV}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no


#cost80
		cost =  0
		days_remove = 0
#days80
		modifier = {
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
				any_country = {
					is_justifying_wargoal_against=ROOT
				}
				add=5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = endurance_III
				}
				swap_ruler_traits = {
					remove =endurance_III
					add =endurance_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_II
				}
				swap_ruler_traits = {
					remove =endurance_II
					add =endurance_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_I
				}
				swap_ruler_traits = {
					remove =endurance_I
					add =endurance_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = endurance_IV}
				}
				add_country_leader_trait = endurance_I			
			}
			}
		}
	}
	fertility_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = fertility_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fertility_IV}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days35
		modifier = {
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_manpower <20000
				add = 2
			}
			modifier = {
				has_government = communism
				add = 2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fertility_III
				}
				swap_ruler_traits = {
					remove =fertility_III
					add =fertility_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_II
				}
				swap_ruler_traits = {
					remove =fertility_II
					add =fertility_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_I
				}
				swap_ruler_traits = {
					remove =fertility_I
					add =fertility_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fertility_IV}
				}
				add_country_leader_trait = fertility_I			
				}
			}
		}
	}
	puppet_master_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = puppet_master_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = puppet_master_V}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days30
		modifier = {
		}		
		
		ai_will_do = {
			base = 2
			modifier = {
			any_country = {
					is_puppet_of = ROOT
				}
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = puppet_master_IV
				}
				swap_ruler_traits = {
					remove =puppet_master_IV
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_III
				}
				swap_ruler_traits = {
					remove =puppet_master_III
					add =puppet_master_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_II
				}
				swap_ruler_traits = {
					remove =puppet_master_II
					add =puppet_master_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_I
				}
				swap_ruler_traits = {
					remove =puppet_master_I
					add =puppet_master_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = puppet_master_V}
				}
				add_country_leader_trait = puppet_master_I			
				}
			}
		}
	}
	play_tetris_cheats  = {

		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = compactness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = compactness_V}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days80
		modifier = {
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				any_owned_state = {
							free_building_slots = {
								size < 1
								include_locked = no
							}
				}				
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = compactness_IV
				}
				swap_ruler_traits = {
					remove =compactness_IV
					add =compactness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_III
				}
				swap_ruler_traits = {
					remove =compactness_III
					add =compactness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_II
				}
				swap_ruler_traits = {
					remove =compactness_II
					add =compactness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_I
				}
				swap_ruler_traits = {
					remove =compactness_I
					add =compactness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = compactness_V}
				}
				add_country_leader_trait = compactness_I			
			}
			}
		}
	}
	oil_tycoon_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = oil_magnate_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = oil_magnate_IV}
			has_country_flag = leaders_school_cheats
		}

		fire_only_once = no
#cost75
		cost = 0
		days_remove = 0
#days80
		modifier = {
		}
		
		
		ai_will_do = {
			base = 2
			modifier= {
				has_government = neutrality 
				add = 2
			}			
			modifier = {
				fuel_ratio > 1000
				add = 3
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_III
				}
				swap_ruler_traits = {
					remove =oil_magnate_III
					add =oil_magnate_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_II
				}
				swap_ruler_traits = {
					remove =oil_magnate_II
					add =oil_magnate_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_I
				}
				swap_ruler_traits = {
					remove =oil_magnate_I
					add =oil_magnate_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = oil_magnate_IV}
				}
				add_country_leader_trait = oil_magnate_I			
				}
			}
		}
	}
	
#CHEATS

#CHEATS_MAX

	science_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = scientist_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scientist_X}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost180
		cost = 	0
		days_remove = 0
#days20
		modifier = {		
			political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				amount_research_slots>4
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scientist_IX
				}
				swap_ruler_traits = {
					remove =scientist_IX
					add =scientist_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VIII
				}
				swap_ruler_traits = {
					remove =scientist_VIII
					add =scientist_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VII
				}
				swap_ruler_traits = {
					remove =scientist_VII
					add =scientist_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_VI
				}
				swap_ruler_traits = {
					remove =scientist_VI
					add =scientist_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_V
				}
				swap_ruler_traits = {
					remove =scientist_V
					add =scientist_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_IV
				}
				swap_ruler_traits = {
					remove =scientist_IV
					add =scientist_X
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_III
				}
				swap_ruler_traits = {
					remove =scientist_III
					add =scientist_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_II
				}
				swap_ruler_traits = {
					remove =scientist_II
					add =scientist_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scientist_I
				}
				swap_ruler_traits = {
					remove =scientist_I
					add =scientist_X
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scientist_X}
				}
				add_country_leader_trait = scientist_X			
			}
			}
		}
	}
	industrial_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = productivity_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = productivity_V}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost160
		cost = 0
		days_remove = 0
#days80
		modifier = {				
			political_power_gain=0
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = productivity_IV
				}
				swap_ruler_traits = {
					remove =productivity_IV
					add =productivity_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_III
				}
				swap_ruler_traits = {
					remove =productivity_III
					add =productivity_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_II
				}
				swap_ruler_traits = {
					remove =productivity_II
					add =productivity_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = productivity_I
				}
				swap_ruler_traits = {
					remove =productivity_I
					add =productivity_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = productivity_V}
				}
				add_country_leader_trait = productivity_V			
			}
			}
		}
	}
	engineer_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = engineer_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = engineer_V}
			has_country_flag = leaders_school_cheats_max
		}


		fire_only_once = no
#cost140
		cost = 0
		days_remove = 0
#days60
		modifier = {	
		political_power_gain=0
		}

		ai_will_do = {
			base = 2
			modifier = {
				num_of_available_civilian_factories> 14
				add= 3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = engineer_IV
				}
				swap_ruler_traits = {
					remove =engineer_IV
					add =engineer_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_III
				}
				swap_ruler_traits = {
					remove =engineer_III
					add =engineer_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_II
				}
				swap_ruler_traits = {
					remove =engineer_II
					add =engineer_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = engineer_I
				}
				swap_ruler_traits = {
					remove =engineer_I
					add =engineer_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = engineer_V}
				}
				add_country_leader_trait = engineer_V			
			}
			}
		}
	}
	train_persuasiveness_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = persuasiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = persuasiveness_V}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost120
		cost = 0
		days_remove = 0
#days40
		modifier = {			
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 4
			modifier = {
				has_government = democratic
				add = 2
			}
			modifier = {
				political_power_daily <3
				add=3
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_IV
				}
				swap_ruler_traits = {
					remove =persuasiveness_IV
					add =persuasiveness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_III
				}
				swap_ruler_traits = {
					remove =persuasiveness_III
					add =persuasiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_II
				}
				swap_ruler_traits = {
					remove =persuasiveness_II
					add =persuasiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = persuasiveness_I
				}
				swap_ruler_traits = {
					remove =persuasiveness_I
					add =persuasiveness_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = persuasiveness_V}
				}
				add_country_leader_trait = persuasiveness_V			
			}
			}
		}
	}
	ecology_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = ecologist_II}
		}

		visible = {
			NOT = {has_country_leader_with_trait = ecologist_II}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost100
		cost = 0
		days_remove = 0
#days50
		modifier = {	
		political_power_gain=0
		}

		ai_will_do = {
			base = 2
			modifier = {
				has_idea=tot_economic_mobilisation
				add=3
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = ecologist_I
				}
				swap_ruler_traits = {
					remove =ecologist_I
					add =ecologist_II
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = ecologist_II}
				}
				add_country_leader_trait = ecologist_II			
			}
			}
		}
	}
	read_about_reliability_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = reliability_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = reliability_III}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost100
		cost = 0
		days_remove = 0
#days70
		modifier = {	
		political_power_gain=0
		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = communism	
				add = 2
			}
			modifier = {
				has_stability< 0.51
				add = 1
			}
			modifier = {
				has_stability< 0.26
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = reliability_II
				}
				swap_ruler_traits = {
					remove =reliability_II
					add =reliability_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = reliability_I
				}
				swap_ruler_traits = {
					remove =reliability_I
					add =reliability_III
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = reliability_III}
				}
				add_country_leader_trait = reliability_III			
			}
			}
		}
	}
	
	scrapper_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scrapping_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scrapping_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days40
		modifier = {
			political_power_gain=0
		}

		ai_will_do = {
			factor = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scrapping_IV
				}
				swap_ruler_traits = {
					remove =scrapping_IV
					add =scrapping_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_III
				}
				swap_ruler_traits = {
					remove =scrapping_III
					add =scrapping_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_II
				}
				swap_ruler_traits = {
					remove =scrapping_II
					add =scrapping_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scrapping_I
				}
				swap_ruler_traits = {
					remove =scrapping_I
					add =scrapping_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scrapping_V}
				}
				add_country_leader_trait = scrapping_V			
			}
			}
		}
	}
	
	secureness_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = secureness_III}
		}

		visible = {
			NOT = {has_country_leader_with_trait = secureness_III}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days80
		modifier = {	
		political_power_gain=0
		}

		ai_will_do = {
			base = 2
			modifier = {				
				has_government = fascism	
				add = 2
			}
			modifier = {
				has_war_support< 0.52
				add = 1
			}
			modifier = {
				has_war_support< 0.17
				add = 2
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = secureness_II
				}
				swap_ruler_traits = {
					remove =secureness_II
					add =secureness_III
				}				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = secureness_I
				}
				swap_ruler_traits = {
					remove =secureness_I
					add =secureness_III
				}				
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = secureness_III}
				}
				add_country_leader_trait = secureness_III			
			}
			}
		}
	}
	
	
	resources_school_cheats_max = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = quality_mining_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = quality_mining_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no


#cost80
		cost =  0
		days_remove = 0
#days80
		modifier = {	
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
			OR = {	
				any_state = {has_resources_amount = {
					resource = oil
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = aluminium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = tungsten
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = steel
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = chromium
					amount < 1
			}}
				any_state = {has_resources_amount = {
					resource = rubber
					amount < 1
			}}
				}
				add = 6
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = quality_mining_IV
				}
				swap_ruler_traits = {
					remove =quality_mining_IV
					add =quality_mining_V
				} 				
			}	
				
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_III
				}
				swap_ruler_traits = {
					remove =quality_mining_III
					add =quality_mining_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_II
				}
				swap_ruler_traits = {
					remove =quality_mining_II
					add =quality_mining_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = quality_mining_I
				}
				swap_ruler_traits = {
					remove =quality_mining_I
					add =quality_mining_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = quality_mining_V}
				}
				add_country_leader_trait = quality_mining_V			
			}
			}
		}
	}	
	endurance_training_cheats_max = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = endurance_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = endurance_IV}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no


#cost80
		cost =  0
		days_remove = 0
#days80
		modifier = {	
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 1				
			modifier= {
				any_country = {
					is_justifying_wargoal_against=ROOT
				}
				add=5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = endurance_III
				}
				swap_ruler_traits = {
					remove =endurance_III
					add =endurance_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_II
				}
				swap_ruler_traits = {
					remove =endurance_II
					add =endurance_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = endurance_I
				}
				swap_ruler_traits = {
					remove =endurance_I
					add =endurance_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = endurance_IV}
				}
				add_country_leader_trait = endurance_IV			
			}
			}
		}
	}
	fertility_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = fertility_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fertility_IV}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days35
		modifier = {	
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_manpower <20000
				add = 2
			}
			modifier = {
				has_government = communism
				add = 2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fertility_III
				}
				swap_ruler_traits = {
					remove =fertility_III
					add =fertility_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_II
				}
				swap_ruler_traits = {
					remove =fertility_II
					add =fertility_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fertility_I
				}
				swap_ruler_traits = {
					remove =fertility_I
					add =fertility_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fertility_IV}
				}
				add_country_leader_trait = fertility_IV			
				}
			}
		}
	}
	puppet_master_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = puppet_master_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = puppet_master_V}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days30
		modifier = {	
		political_power_gain=0
		}		
		
		ai_will_do = {
			base = 2
			modifier = {
			any_country = {
					is_puppet_of = ROOT
				}
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = puppet_master_IV
				}
				swap_ruler_traits = {
					remove =puppet_master_IV
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_III
				}
				swap_ruler_traits = {
					remove =puppet_master_III
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_II
				}
				swap_ruler_traits = {
					remove =puppet_master_II
					add =puppet_master_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = puppet_master_I
				}
				swap_ruler_traits = {
					remove =puppet_master_I
					add =puppet_master_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = puppet_master_V}
				}
				add_country_leader_trait = puppet_master_V			
				}
			}
		}
	}
	play_tetris_cheats_max  = {

		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = compactness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = compactness_V}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days80
		modifier = {	
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				any_owned_state = {
							free_building_slots = {
								size < 1
								include_locked = no
							}
				}				
				add = 4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = compactness_IV
				}
				swap_ruler_traits = {
					remove =compactness_IV
					add =compactness_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_III
				}
				swap_ruler_traits = {
					remove =compactness_III
					add =compactness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_II
				}
				swap_ruler_traits = {
					remove =compactness_II
					add =compactness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = compactness_I
				}
				swap_ruler_traits = {
					remove =compactness_I
					add =compactness_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = compactness_V}
				}
				add_country_leader_trait = compactness_V			
			}
			}
		}
	}
	oil_tycoon_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = oil_magnate_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = oil_magnate_IV}
			has_country_flag = leaders_school_cheats_max
		}

		fire_only_once = no
#cost75
		cost = 0
		days_remove = 0
#days80
		modifier = {	
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 2
			modifier= {
				has_government = neutrality 
				add = 2
			}			
			modifier = {
				fuel_ratio > 1000
				add = 3
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_III
				}
				swap_ruler_traits = {
					remove =oil_magnate_III
					add =oil_magnate_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_II
				}
				swap_ruler_traits = {
					remove =oil_magnate_II
					add =oil_magnate_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = oil_magnate_I
				}
				swap_ruler_traits = {
					remove =oil_magnate_I
					add =oil_magnate_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = oil_magnate_IV}
				}
				add_country_leader_trait = oil_magnate_IV			
				}
			}
		}
	}


#CHEATS_MAX
}

leaders_school_warfare_category = {
	#Warfare Upgrades
#NORMAL
	warmonger_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = warmonger_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = warmonger_VI}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost150
		cost = 150
		days_remove = 50
#days50
		modifier = {
			enemy_justify_war_goal_time=-0.8	
			justify_war_goal_time=0.6
			generate_wargoal_tension=0.4			
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = warmonger_V
				}
				swap_ruler_traits = {
					remove =warmonger_V
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_IV
				}
				swap_ruler_traits = {
					remove =warmonger_IV
					add =warmonger_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_III
				}
				swap_ruler_traits = {
					remove =warmonger_III
					add =warmonger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_II
				}
				swap_ruler_traits = {
					remove =warmonger_II
					add =warmonger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_I
				}
				swap_ruler_traits = {
					remove =warmonger_I
					add =warmonger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = warmonger_VI}
				}
				add_country_leader_trait = warmonger_I			
			}
			}
		}
	}
	recruiter_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = recruiter_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = recruiter_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost130
		cost = 130
		days_remove = 75
#days75
		modifier = {
			conscription_factor=-0.1			
			political_power_gain=-0.2
		
		}		
		
		ai_will_do = {
			base = 1
			modifier= {
				has_manpower< 30000				
			add=1
			}
			modifier= {
				has_manpower< 10000				
			add=4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = recruiter_IV
				}
				swap_ruler_traits = {
					remove =recruiter_IV
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_III
				}
				swap_ruler_traits = {
					remove =recruiter_III
					add =recruiter_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_II
				}
				swap_ruler_traits = {
					remove =recruiter_II
					add =recruiter_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_I
				}
				swap_ruler_traits = {
					remove =recruiter_I
					add =recruiter_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = recruiter_V}
				}
				add_country_leader_trait = recruiter_I			
				}
			}
		}
	}
	scavenger_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scavenger_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scavenger_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost110
		cost =110 
		days_remove = 60
#days80
		modifier = {
			equipment_capture=-0.8	
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scavenger_III
				}
				swap_ruler_traits = {
					remove =scavenger_III
					add =scavenger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_II
				}
				swap_ruler_traits = {
					remove =scavenger_II
					add =scavenger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_I
				}
				swap_ruler_traits = {
					remove =scavenger_I
					add =scavenger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scavenger_IV}
				}
				add_country_leader_trait = scavenger_I			
				}
			}
		}
	}
	inventor_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = inventor_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = inventor_X}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost90
		cost = 90
		days_remove = 35
#days50
		modifier = {
			equipment_upgrade_xp_cost=0.6
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				OR= {
					has_army_experience > 600
					has_air_experience > 400
					has_navy_experience > 400
				}
				add = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = inventor_IX
				}
				swap_ruler_traits = {
					remove =inventor_IX
					add =inventor_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VIII
				}
				swap_ruler_traits = {
					remove =inventor_VIII
					add =inventor_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VII
				}
				swap_ruler_traits = {
					remove =inventor_VII
					add =inventor_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VI
				}
				swap_ruler_traits = {
					remove =inventor_VI
					add =inventor_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_V
				}
				swap_ruler_traits = {
					remove =inventor_V
					add =inventor_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_IV
				}
				swap_ruler_traits = {
					remove =inventor_IV
					add =inventor_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_III
				}
				swap_ruler_traits = {
					remove =inventor_III
					add =inventor_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_II
				}
				swap_ruler_traits = {
					remove =inventor_II
					add =inventor_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_I
				}
				swap_ruler_traits = {
					remove =inventor_I
					add =inventor_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = inventor_X}
				}
				add_country_leader_trait = inventor_I			
			}
			}
		}
	}
	commander_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = commander_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = commander_VI}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost60
		cost = 60
		days_remove = 25
#days25
		modifier = {
			command_power_gain_mult=-0.6
			political_power_gain=-0.2				
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				command_power_daily<1.1				
			add=1
			}			
			modifier = {
				command_power_daily<0.6
			add=2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = commander_V
				}
				swap_ruler_traits = {
					remove =commander_V
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_IV
				}
				swap_ruler_traits = {
					remove =commander_IV
					add =commander_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_III
				}
				swap_ruler_traits = {
					remove =commander_III
					add =commander_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_II
				}
				swap_ruler_traits = {
					remove =commander_II
					add =commander_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_I
				}
				swap_ruler_traits = {
					remove =commander_I
					add =commander_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = commander_VI}
				}
				add_country_leader_trait = commander_I			
			}
			}
		}
	}
	helper_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = helper_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = helper_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost60
		cost = 60
		days_remove = 20
#days20
		modifier = {
			send_volunteer_factor=-0.6			
			send_volunteers_tension=0.2	
			air_volunteer_cap=-100			
			political_power_gain=-0.2	
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = helper_III
				}
				swap_ruler_traits = {
					remove =helper_III
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_II
				}
				swap_ruler_traits = {
					remove =helper_II
					add =helper_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_I
				}
				swap_ruler_traits = {
					remove =helper_I
					add =helper_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = helper_IV}
				}
				add_country_leader_trait = helper_I			
				}
			}
		}
	}
#NORMAL
####
#EASY
	warmonger_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = warmonger_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = warmonger_VI}
			has_country_flag= leaders_school_easy
		}

		fire_only_once = no
#cost150
		cost = 100
		days_remove = 20
#days50
		modifier = {
			enemy_justify_war_goal_time=-0.8	
			justify_war_goal_time=0.6
			generate_wargoal_tension=0.4			
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = warmonger_V
				}
				swap_ruler_traits = {
					remove =warmonger_V
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_IV
				}
				swap_ruler_traits = {
					remove =warmonger_IV
					add =warmonger_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_III
				}
				swap_ruler_traits = {
					remove =warmonger_III
					add =warmonger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_II
				}
				swap_ruler_traits = {
					remove =warmonger_II
					add =warmonger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_I
				}
				swap_ruler_traits = {
					remove =warmonger_I
					add =warmonger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = warmonger_VI}
				}
				add_country_leader_trait = warmonger_I			
			}
			}
		}
	}
	recruiter_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = recruiter_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = recruiter_V}
			has_country_flag= leaders_school_easy
		}

		fire_only_once = no
#cost130
		cost = 80
		days_remove = 20
#days75
		modifier = {
			conscription_factor=-0.1			
			political_power_gain=-0.2
		
		}		
		
		ai_will_do = {
			base = 1
			modifier= {
				has_manpower< 30000				
			add=1
			}
			modifier= {
				has_manpower< 10000				
			add=4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = recruiter_IV
				}
				swap_ruler_traits = {
					remove =recruiter_IV
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_III
				}
				swap_ruler_traits = {
					remove =recruiter_III
					add =recruiter_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_II
				}
				swap_ruler_traits = {
					remove =recruiter_II
					add =recruiter_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_I
				}
				swap_ruler_traits = {
					remove =recruiter_I
					add =recruiter_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = recruiter_V}
				}
				add_country_leader_trait = recruiter_I			
				}
			}
		}
	}
	scavenger_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scavenger_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scavenger_IV}
			has_country_flag= leaders_school_easy
		}

		fire_only_once = no
#cost110
		cost =60 
		days_remove = 20
#days80
		modifier = {
			equipment_capture=-0.8	
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scavenger_III
				}
				swap_ruler_traits = {
					remove =scavenger_III
					add =scavenger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_II
				}
				swap_ruler_traits = {
					remove =scavenger_II
					add =scavenger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_I
				}
				swap_ruler_traits = {
					remove =scavenger_I
					add =scavenger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scavenger_IV}
				}
				add_country_leader_trait = scavenger_I			
				}
			}
		}
	}
	inventor_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = inventor_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = inventor_X}
			has_country_flag= leaders_school_easy
		}

		fire_only_once = no
#cost90
		cost = 40
		days_remove = 20
#days50
		modifier = {
			equipment_upgrade_xp_cost=0.6
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				OR= {
					has_army_experience > 600
					has_air_experience > 400
					has_navy_experience > 400
				}
				add = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = inventor_IX
				}
				swap_ruler_traits = {
					remove =inventor_IX
					add =inventor_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VIII
				}
				swap_ruler_traits = {
					remove =inventor_VIII
					add =inventor_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VII
				}
				swap_ruler_traits = {
					remove =inventor_VII
					add =inventor_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VI
				}
				swap_ruler_traits = {
					remove =inventor_VI
					add =inventor_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_V
				}
				swap_ruler_traits = {
					remove =inventor_V
					add =inventor_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_IV
				}
				swap_ruler_traits = {
					remove =inventor_IV
					add =inventor_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_III
				}
				swap_ruler_traits = {
					remove =inventor_III
					add =inventor_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_II
				}
				swap_ruler_traits = {
					remove =inventor_II
					add =inventor_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_I
				}
				swap_ruler_traits = {
					remove =inventor_I
					add =inventor_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = inventor_X}
				}
				add_country_leader_trait = inventor_I			
			}
			}
		}
	}
	commander_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = commander_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = commander_VI}
			has_country_flag= leaders_school_easy
		}

		fire_only_once = no
#cost60
		cost = 10
		days_remove = 20
#days25
		modifier = {
			command_power_gain_mult=-0.6
			political_power_gain=-0.2				
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				command_power_daily<1.1				
			add=1
			}			
			modifier = {
				command_power_daily<0.6
			add=2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = commander_V
				}
				swap_ruler_traits = {
					remove =commander_V
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_IV
				}
				swap_ruler_traits = {
					remove =commander_IV
					add =commander_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_III
				}
				swap_ruler_traits = {
					remove =commander_III
					add =commander_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_II
				}
				swap_ruler_traits = {
					remove =commander_II
					add =commander_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_I
				}
				swap_ruler_traits = {
					remove =commander_I
					add =commander_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = commander_VI}
				}
				add_country_leader_trait = commander_I			
			}
			}
		}
	}
	helper_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = helper_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = helper_IV}
			has_country_flag= leaders_school_easy
		}

		fire_only_once = no
#cost60
		cost = 10
		days_remove = 20
#days20
		modifier = {
			send_volunteer_factor=-0.6			
			send_volunteers_tension=0.2	
			air_volunteer_cap=-100			
			political_power_gain=-0.2	
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = helper_III
				}
				swap_ruler_traits = {
					remove =helper_III
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_II
				}
				swap_ruler_traits = {
					remove =helper_II
					add =helper_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_I
				}
				swap_ruler_traits = {
					remove =helper_I
					add =helper_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = helper_IV}
				}
				add_country_leader_trait = helper_I			
				}
			}
		}
	}
#EASY
####
#REALISTIC
	warmonger_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = warmonger_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = warmonger_VI}
			has_country_flag= leaders_school_realistic
		}

		fire_only_once = no
#cost150
		cost = 200
		days_remove = 60
#days50
		modifier = {
			enemy_justify_war_goal_time=-0.8	
			justify_war_goal_time=0.6
			generate_wargoal_tension=0.4			
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = warmonger_V
				}
				swap_ruler_traits = {
					remove =warmonger_V
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_IV
				}
				swap_ruler_traits = {
					remove =warmonger_IV
					add =warmonger_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_III
				}
				swap_ruler_traits = {
					remove =warmonger_III
					add =warmonger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_II
				}
				swap_ruler_traits = {
					remove =warmonger_II
					add =warmonger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_I
				}
				swap_ruler_traits = {
					remove =warmonger_I
					add =warmonger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = warmonger_VI}
				}
				add_country_leader_trait = warmonger_I			
			}
			}
		}
	}
	recruiter_school_realistic = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = recruiter_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = recruiter_V}
			has_country_flag= leaders_school_realistic
		}

		fire_only_once = no
#cost130
		cost = 180
		days_remove = 85
#days75
		modifier = {
			conscription_factor=-0.1			
			political_power_gain=-0.2
		
		}		
		
		ai_will_do = {
			base = 1
			modifier= {
				has_manpower< 30000				
			add=1
			}
			modifier= {
				has_manpower< 10000				
			add=4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = recruiter_IV
				}
				swap_ruler_traits = {
					remove =recruiter_IV
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_III
				}
				swap_ruler_traits = {
					remove =recruiter_III
					add =recruiter_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_II
				}
				swap_ruler_traits = {
					remove =recruiter_II
					add =recruiter_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_I
				}
				swap_ruler_traits = {
					remove =recruiter_I
					add =recruiter_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = recruiter_V}
				}
				add_country_leader_trait = recruiter_I			
				}
			}
		}
	}
	scavenger_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = scavenger_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scavenger_IV}
			has_country_flag= leaders_school_realistic
		}

		fire_only_once = no
#cost110
		cost =160 
		days_remove = 70
#days80
		modifier = {
			equipment_capture=-0.8	
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scavenger_III
				}
				swap_ruler_traits = {
					remove =scavenger_III
					add =scavenger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_II
				}
				swap_ruler_traits = {
					remove =scavenger_II
					add =scavenger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_I
				}
				swap_ruler_traits = {
					remove =scavenger_I
					add =scavenger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scavenger_IV}
				}
				add_country_leader_trait = scavenger_I			
				}
			}
		}
	}
	inventor_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = inventor_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = inventor_X}
			has_country_flag= leaders_school_realistic
		}

		fire_only_once = no
#cost90
		cost = 140
		days_remove = 45
#days50
		modifier = {
			equipment_upgrade_xp_cost=0.6
			political_power_gain=-0.2

			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				OR= {
					has_army_experience > 600
					has_air_experience > 400
					has_navy_experience > 400
				}
				add = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = inventor_IX
				}
				swap_ruler_traits = {
					remove =inventor_IX
					add =inventor_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VIII
				}
				swap_ruler_traits = {
					remove =inventor_VIII
					add =inventor_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VII
				}
				swap_ruler_traits = {
					remove =inventor_VII
					add =inventor_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VI
				}
				swap_ruler_traits = {
					remove =inventor_VI
					add =inventor_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_V
				}
				swap_ruler_traits = {
					remove =inventor_V
					add =inventor_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_IV
				}
				swap_ruler_traits = {
					remove =inventor_IV
					add =inventor_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_III
				}
				swap_ruler_traits = {
					remove =inventor_III
					add =inventor_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_II
				}
				swap_ruler_traits = {
					remove =inventor_II
					add =inventor_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_I
				}
				swap_ruler_traits = {
					remove =inventor_I
					add =inventor_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = inventor_X}
				}
				add_country_leader_trait = inventor_I			
			}
			}
		}
	}
	commander_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = commander_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = commander_VI}
			has_country_flag= leaders_school_realistic
		}

		fire_only_once = no
#cost60
		cost = 110
		days_remove = 35
#days25
		modifier = {
			command_power_gain_mult=-0.6
			political_power_gain=-0.2				
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				command_power_daily<1.1				
			add=1
			}			
			modifier = {
				command_power_daily<0.6
			add=2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = commander_V
				}
				swap_ruler_traits = {
					remove =commander_V
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_IV
				}
				swap_ruler_traits = {
					remove =commander_IV
					add =commander_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_III
				}
				swap_ruler_traits = {
					remove =commander_III
					add =commander_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_II
				}
				swap_ruler_traits = {
					remove =commander_II
					add =commander_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_I
				}
				swap_ruler_traits = {
					remove =commander_I
					add =commander_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = commander_VI}
				}
				add_country_leader_trait = commander_I			
			}
			}
		}
	}
	helper_school_realistic = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = helper_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = helper_IV}
			has_country_flag= leaders_school_realistic
		}

		fire_only_once = no
#cost60
		cost = 110
		days_remove = 30
#days20
		modifier = {
			send_volunteer_factor=-0.6			
			send_volunteers_tension=0.2	
			air_volunteer_cap=-100			
			political_power_gain=-0.2	
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = helper_III
				}
				swap_ruler_traits = {
					remove =helper_III
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_II
				}
				swap_ruler_traits = {
					remove =helper_II
					add =helper_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_I
				}
				swap_ruler_traits = {
					remove =helper_I
					add =helper_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = helper_IV}
				}
				add_country_leader_trait = helper_I			
				}
			}
		}
	}
#REALISTIC
###
#CHEATS
	warmonger_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = warmonger_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = warmonger_VI}
			has_country_flag= leaders_school_cheats
		}

		fire_only_once = no
#cost150
		cost = 0
		days_remove = 0
#days50
		modifier = {
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = warmonger_V
				}
				swap_ruler_traits = {
					remove =warmonger_V
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_IV
				}
				swap_ruler_traits = {
					remove =warmonger_IV
					add =warmonger_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_III
				}
				swap_ruler_traits = {
					remove =warmonger_III
					add =warmonger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_II
				}
				swap_ruler_traits = {
					remove =warmonger_II
					add =warmonger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_I
				}
				swap_ruler_traits = {
					remove =warmonger_I
					add =warmonger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = warmonger_VI}
				}
				add_country_leader_trait = warmonger_I			
			}
			}
		}
	}
	recruiter_school_cheats = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = recruiter_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = recruiter_V}
			has_country_flag= leaders_school_cheats
		}

		fire_only_once = no
#cost130
		cost = 0
		days_remove = 0
#days75
		modifier = {
		}		
		
		ai_will_do = {
			base = 1
			modifier= {
				has_manpower< 30000				
			add=1
			}
			modifier= {
				has_manpower< 10000				
			add=4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = recruiter_IV
				}
				swap_ruler_traits = {
					remove =recruiter_IV
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_III
				}
				swap_ruler_traits = {
					remove =recruiter_III
					add =recruiter_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_II
				}
				swap_ruler_traits = {
					remove =recruiter_II
					add =recruiter_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_I
				}
				swap_ruler_traits = {
					remove =recruiter_I
					add =recruiter_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = recruiter_V}
				}
				add_country_leader_trait = recruiter_I			
				}
			}
		}
	}
	scavenger_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = scavenger_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scavenger_IV}
			has_country_flag= leaders_school_cheats
		}

		fire_only_once = no
#cost110
		cost = 0
		days_remove = 0
#days80
		modifier = {			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scavenger_III
				}
				swap_ruler_traits = {
					remove =scavenger_III
					add =scavenger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_II
				}
				swap_ruler_traits = {
					remove =scavenger_II
					add =scavenger_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_I
				}
				swap_ruler_traits = {
					remove =scavenger_I
					add =scavenger_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scavenger_IV}
				}
				add_country_leader_trait = scavenger_I			
				}
			}
		}
	}
	inventor_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = inventor_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = inventor_X}
			has_country_flag= leaders_school_cheats
		}

		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days50
		modifier = {		
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				OR= {
					has_army_experience > 600
					has_air_experience > 400
					has_navy_experience > 400
				}
				add = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = inventor_IX
				}
				swap_ruler_traits = {
					remove =inventor_IX
					add =inventor_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VIII
				}
				swap_ruler_traits = {
					remove =inventor_VIII
					add =inventor_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VII
				}
				swap_ruler_traits = {
					remove =inventor_VII
					add =inventor_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VI
				}
				swap_ruler_traits = {
					remove =inventor_VI
					add =inventor_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_V
				}
				swap_ruler_traits = {
					remove =inventor_V
					add =inventor_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_IV
				}
				swap_ruler_traits = {
					remove =inventor_IV
					add =inventor_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_III
				}
				swap_ruler_traits = {
					remove =inventor_III
					add =inventor_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_II
				}
				swap_ruler_traits = {
					remove =inventor_II
					add =inventor_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_I
				}
				swap_ruler_traits = {
					remove =inventor_I
					add =inventor_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = inventor_X}
				}
				add_country_leader_trait = inventor_I			
			}
			}
		}
	}
	commander_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = commander_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = commander_VI}
			has_country_flag= leaders_school_cheats
		}

		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days25
		modifier = {				
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				command_power_daily<1.1				
			add=1
			}			
			modifier = {
				command_power_daily<0.6
			add=2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = commander_V
				}
				swap_ruler_traits = {
					remove =commander_V
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_IV
				}
				swap_ruler_traits = {
					remove =commander_IV
					add =commander_V
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_III
				}
				swap_ruler_traits = {
					remove =commander_III
					add =commander_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_II
				}
				swap_ruler_traits = {
					remove =commander_II
					add =commander_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_I
				}
				swap_ruler_traits = {
					remove =commander_I
					add =commander_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = commander_VI}
				}
				add_country_leader_trait = commander_I			
			}
			}
		}
	}
	helper_school_cheats = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = helper_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = helper_IV}
			has_country_flag= leaders_school_cheats
		}

		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days20
		modifier = {
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = helper_III
				}
				swap_ruler_traits = {
					remove =helper_III
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_II
				}
				swap_ruler_traits = {
					remove =helper_II
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_I
				}
				swap_ruler_traits = {
					remove =helper_I
					add =helper_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = helper_IV}
				}
				add_country_leader_trait = helper_I			
				}
			}
		}
	}
#CHEATS

#CHEATS_MAX
	warmonger_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = warmonger_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = warmonger_VI}
			has_country_flag= leaders_school_cheats_max
		}

		fire_only_once = no
#cost150
		cost = 0
		days_remove = 0
#days50
		modifier = {
		political_power_gain=0
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating 
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = warmonger_V
				}
				swap_ruler_traits = {
					remove =warmonger_V
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_IV
				}
				swap_ruler_traits = {
					remove =warmonger_IV
					add =warmonger_VI
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_III
				}
				swap_ruler_traits = {
					remove =warmonger_III
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_II
				}
				swap_ruler_traits = {
					remove =warmonger_II
					add =warmonger_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = warmonger_I
				}
				swap_ruler_traits = {
					remove =warmonger_I
					add =warmonger_VI
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = warmonger_VI}
				}
				add_country_leader_trait = warmonger_VI			
			}
			}
		}
	}
	recruiter_school_cheats_max = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = recruiter_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = recruiter_V}
			has_country_flag= leaders_school_cheats_max
		}

		fire_only_once = no
#cost130
		cost = 0
		days_remove = 0
#days75
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			base = 1
			modifier= {
				has_manpower< 30000				
			add=1
			}
			modifier= {
				has_manpower< 10000				
			add=4
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = recruiter_IV
				}
				swap_ruler_traits = {
					remove =recruiter_IV
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_III
				}
				swap_ruler_traits = {
					remove =recruiter_III
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_II
				}
				swap_ruler_traits = {
					remove =recruiter_II
					add =recruiter_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = recruiter_I
				}
				swap_ruler_traits = {
					remove =recruiter_I
					add =recruiter_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = recruiter_V}
				}
				add_country_leader_trait = recruiter_V			
				}
			}
		}
	}
	scavenger_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = scavenger_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = scavenger_IV}
			has_country_flag= leaders_school_cheats_max
		}

		fire_only_once = no
#cost110
		cost = 0
		days_remove = 0
#days80
		modifier = {	
		political_power_gain=0		
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = scavenger_III
				}
				swap_ruler_traits = {
					remove =scavenger_III
					add =scavenger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_II
				}
				swap_ruler_traits = {
					remove =scavenger_II
					add =scavenger_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = scavenger_I
				}
				swap_ruler_traits = {
					remove =scavenger_I
					add =scavenger_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = scavenger_IV}
				}
				add_country_leader_trait = scavenger_IV			
				}
			}
		}
	}
	inventor_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = inventor_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = inventor_X}
			has_country_flag= leaders_school_cheats_max
		}

		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days50
		modifier = {	
		political_power_gain=0	
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				OR= {
					has_army_experience > 600
					has_air_experience > 400
					has_navy_experience > 400
				}
				add = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = inventor_IX
				}
				swap_ruler_traits = {
					remove =inventor_IX
					add =inventor_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VIII
				}
				swap_ruler_traits = {
					remove =inventor_VIII
					add =inventor_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VII
				}
				swap_ruler_traits = {
					remove =inventor_VII
					add =inventor_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_VI
				}
				swap_ruler_traits = {
					remove =inventor_VI
					add =inventor_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_V
				}
				swap_ruler_traits = {
					remove =inventor_V
					add =inventor_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_IV
				}
				swap_ruler_traits = {
					remove =inventor_IV
					add =inventor_X
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_III
				}
				swap_ruler_traits = {
					remove =inventor_III
					add =inventor_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_II
				}
				swap_ruler_traits = {
					remove =inventor_II
					add =inventor_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = inventor_I
				}
				swap_ruler_traits = {
					remove =inventor_I
					add =inventor_X
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = inventor_X}
				}
				add_country_leader_trait = inventor_X			
			}
			}
		}
	}
	commander_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = commander_VI}
		}

		visible = {
			NOT = {has_country_leader_with_trait = commander_VI}
			has_country_flag= leaders_school_cheats_max
		}

		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days25
		modifier = {	
		political_power_gain=0			
		}
		
		
		ai_will_do = {
			base = 1
			modifier = {
				command_power_daily<1.1				
			add=1
			}			
			modifier = {
				command_power_daily<0.6
			add=2
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = commander_V
				}
				swap_ruler_traits = {
					remove =commander_V
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_IV
				}
				swap_ruler_traits = {
					remove =commander_IV
					add =commander_VI
				} 
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_III
				}
				swap_ruler_traits = {
					remove =commander_III
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_II
				}
				swap_ruler_traits = {
					remove =commander_II
					add =commander_VI
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = commander_I
				}
				swap_ruler_traits = {
					remove =commander_I
					add =commander_VI
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = commander_VI}
				}
				add_country_leader_trait = commander_VI			
			}
			}
		}
	}
	helper_school_cheats_max = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = helper_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = helper_IV}
			has_country_flag= leaders_school_cheats_max
		}

		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days20
		modifier = {
		political_power_gain=0
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = helper_III
				}
				swap_ruler_traits = {
					remove =helper_III
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_II
				}
				swap_ruler_traits = {
					remove =helper_II
					add =helper_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = helper_I
				}
				swap_ruler_traits = {
					remove =helper_I
					add =helper_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = helper_IV}
				}
				add_country_leader_trait = helper_IV			
				}
			}
		}
	}
#CHEATS_MAX
}

leaders_school_army_category = {
	#Army Upgrades
#NORMAL
	aggressiveness_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = aggressiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aggressiveness_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost175
		cost = 175
		days_remove = 90
#days90
		modifier = {
			army_attack_factor=-0.3
			political_power_gain=-0.2	
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_IV
				}
				swap_ruler_traits = {
					remove =aggressiveness_IV
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_III
				}
				swap_ruler_traits = {
					remove =aggressiveness_III
					add =aggressiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_II
				}
				swap_ruler_traits = {
					remove =aggressiveness_II
					add =aggressiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_I
				}
				swap_ruler_traits = {
					remove =aggressiveness_I
					add =aggressiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aggressiveness_V}
				}
				add_country_leader_trait = aggressiveness_I			
				}
			}
		}
	}
	defensiveness_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = defensiveness_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = defensiveness_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost165
		cost = 165
		days_remove = 70
#days70
		modifier = {
			army_defence_factor=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = defensiveness_III
				}
				swap_ruler_traits = {
					remove =defensiveness_III
					add =defensiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_II
				}
				swap_ruler_traits = {
					remove =defensiveness_II
					add =defensiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_I
				}
				swap_ruler_traits = {
					remove =defensiveness_I
					add =defensiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = defensiveness_IV}
				}
				add_country_leader_trait = defensiveness_I			
				}
			}
		}
	}
	army_psychology_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = army_psychology_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_psychology_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost155
		cost = 155
		days_remove = 80
#days100
		modifier = {
			army_morale_factor=-0.4
			army_org_regain=-0.6
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_psychology_III
				}
				swap_ruler_traits = {
					remove =army_psychology_III
					add =army_psychology_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_II
				}
				swap_ruler_traits = {
					remove =army_psychology_II
					add =army_psychology_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_I
				}
				swap_ruler_traits = {
					remove =army_psychology_I
					add =army_psychology_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_psychology_IV}
				}
				add_country_leader_trait = army_psychology_I			
				}
			}
		}
	}
	adaptability_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = adaptability_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = adaptability_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost145
		cost = 145
		days_remove = 65
#days65
		modifier = {
			attrition=0.2
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = adaptability_IV
				}
				swap_ruler_traits = {
					remove =adaptability_IV
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_III
				}
				swap_ruler_traits = {
					remove =adaptability_III
					add =adaptability_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_II
				}
				swap_ruler_traits = {
					remove =adaptability_II
					add =adaptability_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_I
				}
				swap_ruler_traits = {
					remove =adaptability_I
					add =adaptability_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = adaptability_V}
				}
				add_country_leader_trait = adaptability_I			
				}
			}
		}
	}
	anti_separatism_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = anti_separatism_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = anti_separatism_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost135
		cost = 135
		days_remove = 70
#days75
		modifier = {
			resistance_growth=0.3
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_IV
				}
				swap_ruler_traits = {
					remove =anti_separatism_IV
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_III
				}
				swap_ruler_traits = {
					remove =anti_separatism_III
					add =anti_separatism_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_II
				}
				swap_ruler_traits = {
					remove =anti_separatism_II
					add =anti_separatism_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_I
				}
				swap_ruler_traits = {
					remove =anti_separatism_I
					add =anti_separatism_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = anti_separatism_V}
				}
				add_country_leader_trait = anti_separatism_I			
				}
			}
		}
	}
	army_trainer_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = army_trainer_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_trainer_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost135
		cost = 135
		days_remove = 35
#days35
		modifier = {
			experience_loss_factor=0.25
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_trainer_III
				}
				swap_ruler_traits = {
					remove =army_trainer_III
					add =army_trainer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_II
				}
				swap_ruler_traits = {
					remove =army_trainer_II
					add =army_trainer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_I
				}
				swap_ruler_traits = {
					remove =army_trainer_I
					add =army_trainer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_trainer_IV}
				}
				add_country_leader_trait = army_trainer_I			
				}
			}
		}
	}
	homeland_knowledge_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = homeland_knowledge_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost125
		cost = 125
		days_remove = 50
#days55
		modifier = {
			army_core_attack_factor=-0.2
			army_core_defence_factor=-0.3
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 1
				modifier = {
					any_state = {
							is_core_of=ROOT
					}
					add=1
				}
				modifier= {
					any_country = {
						has_wargoal_against=ROOT
					}
					add=3
				}
				modifier= {
					any_country = {
						is_justifying_wargoal_against=ROOT
					}
					add=2
				}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_III
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_III
					add =homeland_knowledge_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_II
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_II
					add =homeland_knowledge_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_I
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_I
					add =homeland_knowledge_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
				}
				add_country_leader_trait = homeland_knowledge_I			
				}
			}
		}
	}
	specialization_focus_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = specialization_focus_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = specialization_focus_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost95
		cost = 95
		days_remove = 55
#days55
		modifier = {
			special_forces_training_time_factor=0.6
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=mountaineers
					ai_has_role_template=marines
					ai_has_role_template=paratrooper
				}
				add=5
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_IV
				}
				swap_ruler_traits = {
					remove =specialization_focus_IV
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_III
				}
				swap_ruler_traits = {
					remove =specialization_focus_III
					add =specialization_focus_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_II
				}
				swap_ruler_traits = {
					remove =specialization_focus_II
					add =specialization_focus_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_I
				}
				swap_ruler_traits = {
					remove =specialization_focus_I
					add =specialization_focus_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = specialization_focus_V}
				}
				add_country_leader_trait = specialization_focus_I			
				}
			}
		}
	}	
	land_air_education_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = land_air_education_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = land_air_education_IV}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost85
		cost = 85
		days_remove =45
#days45
		modifier = {
			air_superiority_bonus_in_combat=-0.35
			cas_damage_reduction=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_deployed_air_force_size = {
					size >0
				}
				add = 1
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = land_air_education_III
				}
				swap_ruler_traits = {
					remove =land_air_education_III
					add =land_air_education_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_II
				}
				swap_ruler_traits = {
					remove =land_air_education_II
					add =land_air_education_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_I
				}
				swap_ruler_traits = {
					remove =land_air_education_I
					add =land_air_education_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = land_air_education_IV}
				}
				add_country_leader_trait = land_air_education_I			
				}
			}
		}
	}
#DODLAT modifier

	supplier_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = supplier_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = supplier_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost70
		cost = 80
		days_remove = 50
#days50
		modifier = {
			political_power_gain=-0.2
			supply_factor=-0.15
		}		
		
		ai_will_do = {
			base = 4			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = supplier_IV
				}
				swap_ruler_traits = {
					remove =supplier_IV
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_III
				}
				swap_ruler_traits = {
					remove =supplier_III
					add =supplier_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_II
				}
				swap_ruler_traits = {
					remove =supplier_II
					add =supplier_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_I
				}
				swap_ruler_traits = {
					remove =supplier_I
					add =supplier_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = supplier_V}
				}
				add_country_leader_trait = supplier_I			
				}
			}
		}
	}


	amphibious_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = amphibious_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = amphibious_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost75
		cost = 75
		days_remove = 35
#days35
		modifier = {
			political_power_gain=-0.2
			invasion_preparation =0.5
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=marines
				}
				add=6
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = amphibious_IV
				}
				swap_ruler_traits = {
					remove =amphibious_IV
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_III
				}
				swap_ruler_traits = {
					remove =amphibious_III
					add =amphibious_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_II
				}
				swap_ruler_traits = {
					remove =amphibious_II
					add =amphibious_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_I
				}
				swap_ruler_traits = {
					remove =amphibious_I
					add =amphibious_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = amphibious_V}
				}
				add_country_leader_trait = amphibious_I			
				}
			}
		}
	}	

#NORMAL
####
#EASY
	aggressiveness_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = aggressiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aggressiveness_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost175
		cost = 125
		days_remove = 20
#days90
		modifier = {
			army_attack_factor=-0.3
			political_power_gain=-0.2	
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_IV
				}
				swap_ruler_traits = {
					remove =aggressiveness_IV
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_III
				}
				swap_ruler_traits = {
					remove =aggressiveness_III
					add =aggressiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_II
				}
				swap_ruler_traits = {
					remove =aggressiveness_II
					add =aggressiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_I
				}
				swap_ruler_traits = {
					remove =aggressiveness_I
					add =aggressiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aggressiveness_V}
				}
				add_country_leader_trait = aggressiveness_I			
				}
			}
		}
	}
	defensiveness_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = defensiveness_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = defensiveness_IV}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost165
		cost = 115
		days_remove = 20
#days70
		modifier = {
			army_defence_factor=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = defensiveness_III
				}
				swap_ruler_traits = {
					remove =defensiveness_III
					add =defensiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_II
				}
				swap_ruler_traits = {
					remove =defensiveness_II
					add =defensiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_I
				}
				swap_ruler_traits = {
					remove =defensiveness_I
					add =defensiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = defensiveness_IV}
				}
				add_country_leader_trait = defensiveness_I			
				}
			}
		}
	}
	army_psychology_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = army_psychology_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_psychology_IV}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost155
		cost = 105
		days_remove = 20
#days100
		modifier = {
			army_morale_factor=-0.4
			army_org_regain=-0.6
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_psychology_III
				}
				swap_ruler_traits = {
					remove =army_psychology_III
					add =army_psychology_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_II
				}
				swap_ruler_traits = {
					remove =army_psychology_II
					add =army_psychology_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_I
				}
				swap_ruler_traits = {
					remove =army_psychology_I
					add =army_psychology_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_psychology_IV}
				}
				add_country_leader_trait = army_psychology_I			
				}
			}
		}
	}
	adaptability_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = adaptability_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = adaptability_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost145
		cost = 95
		days_remove = 20
#days65
		modifier = {
			attrition=0.2
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = adaptability_IV
				}
				swap_ruler_traits = {
					remove =adaptability_IV
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_III
				}
				swap_ruler_traits = {
					remove =adaptability_III
					add =adaptability_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_II
				}
				swap_ruler_traits = {
					remove =adaptability_II
					add =adaptability_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_I
				}
				swap_ruler_traits = {
					remove =adaptability_I
					add =adaptability_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = adaptability_V}
				}
				add_country_leader_trait = adaptability_I			
				}
			}
		}
	}
	anti_separatism_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = anti_separatism_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = anti_separatism_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost135
		cost = 85
		days_remove = 20
#days75
		modifier = {
			resistance_growth=0.3
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_IV
				}
				swap_ruler_traits = {
					remove =anti_separatism_IV
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_III
				}
				swap_ruler_traits = {
					remove =anti_separatism_III
					add =anti_separatism_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_II
				}
				swap_ruler_traits = {
					remove =anti_separatism_II
					add =anti_separatism_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_I
				}
				swap_ruler_traits = {
					remove =anti_separatism_I
					add =anti_separatism_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = anti_separatism_V}
				}
				add_country_leader_trait = anti_separatism_I			
				}
			}
		}
	}
	army_trainer_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = army_trainer_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_trainer_IV}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost135
		cost = 85
		days_remove = 20
#days35
		modifier = {
			experience_loss_factor=0.25
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_trainer_III
				}
				swap_ruler_traits = {
					remove =army_trainer_III
					add =army_trainer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_II
				}
				swap_ruler_traits = {
					remove =army_trainer_II
					add =army_trainer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_I
				}
				swap_ruler_traits = {
					remove =army_trainer_I
					add =army_trainer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_trainer_IV}
				}
				add_country_leader_trait = army_trainer_I			
				}
			}
		}
	}
	homeland_knowledge_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = homeland_knowledge_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost125
		cost = 75
		days_remove = 20
#days55
		modifier = {
			army_core_attack_factor=-0.2
			army_core_defence_factor=-0.3
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 1
				modifier = {
					any_state = {
							is_core_of=ROOT
					}
					add=1
				}
				modifier= {
					any_country = {
						has_wargoal_against=ROOT
					}
					add=3
				}
				modifier= {
					any_country = {
						is_justifying_wargoal_against=ROOT
					}
					add=2
				}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_III
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_III
					add =homeland_knowledge_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_II
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_II
					add =homeland_knowledge_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_I
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_I
					add =homeland_knowledge_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
				}
				add_country_leader_trait = homeland_knowledge_I			
				}
			}
		}
	}
	specialization_focus_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = specialization_focus_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = specialization_focus_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost95
		cost = 45
		days_remove = 20
#days55
		modifier = {
			special_forces_training_time_factor=0.6
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=mountaineers
					ai_has_role_template=marines
					ai_has_role_template=paratrooper
				}
				add=5
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_IV
				}
				swap_ruler_traits = {
					remove =specialization_focus_IV
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_III
				}
				swap_ruler_traits = {
					remove =specialization_focus_III
					add =specialization_focus_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_II
				}
				swap_ruler_traits = {
					remove =specialization_focus_II
					add =specialization_focus_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_I
				}
				swap_ruler_traits = {
					remove =specialization_focus_I
					add =specialization_focus_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = specialization_focus_V}
				}
				add_country_leader_trait = specialization_focus_I			
				}
			}
		}
	}	
	land_air_education_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = land_air_education_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = land_air_education_IV}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost85
		cost = 35
		days_remove =20
#days45
		modifier = {
			air_superiority_bonus_in_combat=-0.35
			cas_damage_reduction=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_deployed_air_force_size = {
					size >0
				}
				add = 1
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = land_air_education_III
				}
				swap_ruler_traits = {
					remove =land_air_education_III
					add =land_air_education_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_II
				}
				swap_ruler_traits = {
					remove =land_air_education_II
					add =land_air_education_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_I
				}
				swap_ruler_traits = {
					remove =land_air_education_I
					add =land_air_education_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = land_air_education_IV}
				}
				add_country_leader_trait = land_air_education_I			
				}
			}
		}
	}
	
	supplier_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = supplier_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = supplier_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost70
		cost = 50
		days_remove = 30
#days50
		modifier = {
			political_power_gain=-0.2
			supply_factor=-0.1
		}		
		
		ai_will_do = {
			base = 4			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = supplier_IV
				}
				swap_ruler_traits = {
					remove =supplier_IV
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_III
				}
				swap_ruler_traits = {
					remove =supplier_III
					add =supplier_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_II
				}
				swap_ruler_traits = {
					remove =supplier_II
					add =supplier_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_I
				}
				swap_ruler_traits = {
					remove =supplier_I
					add =supplier_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = supplier_V}
				}
				add_country_leader_trait = supplier_I			
				}
			}
		}
	}
	
	amphibious_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = amphibious_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = amphibious_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost75
		cost = 45
		days_remove = 25
#days35
		modifier = {
			political_power_gain=-0.1
			invasion_preparation =0.25
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=marines
				}
				add=6
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = amphibious_IV
				}
				swap_ruler_traits = {
					remove =amphibious_IV
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_III
				}
				swap_ruler_traits = {
					remove =amphibious_III
					add =amphibious_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_II
				}
				swap_ruler_traits = {
					remove =amphibious_II
					add =amphibious_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_I
				}
				swap_ruler_traits = {
					remove =amphibious_I
					add =amphibious_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = amphibious_V}
				}
				add_country_leader_trait = amphibious_I			
				}
			}
		}
	}	

	
#EASY
####
#REALISTIC
	aggressiveness_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = aggressiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aggressiveness_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost175
		cost = 225
		days_remove = 100
#days90
		modifier = {
			army_attack_factor=-0.3
			political_power_gain=-0.2	
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_IV
				}
				swap_ruler_traits = {
					remove =aggressiveness_IV
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_III
				}
				swap_ruler_traits = {
					remove =aggressiveness_III
					add =aggressiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_II
				}
				swap_ruler_traits = {
					remove =aggressiveness_II
					add =aggressiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_I
				}
				swap_ruler_traits = {
					remove =aggressiveness_I
					add =aggressiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aggressiveness_V}
				}
				add_country_leader_trait = aggressiveness_I			
				}
			}
		}
	}
	defensiveness_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = defensiveness_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = defensiveness_IV}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost165
		cost = 215
		days_remove = 80
#days70
		modifier = {
			army_defence_factor=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = defensiveness_III
				}
				swap_ruler_traits = {
					remove =defensiveness_III
					add =defensiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_II
				}
				swap_ruler_traits = {
					remove =defensiveness_II
					add =defensiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_I
				}
				swap_ruler_traits = {
					remove =defensiveness_I
					add =defensiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = defensiveness_IV}
				}
				add_country_leader_trait = defensiveness_I			
				}
			}
		}
	}
	army_psychology_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = army_psychology_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_psychology_IV}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost155
		cost = 205
		days_remove = 90
#days100
		modifier = {
			army_morale_factor=-0.4
			army_org_regain=-0.6
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_psychology_III
				}
				swap_ruler_traits = {
					remove =army_psychology_III
					add =army_psychology_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_II
				}
				swap_ruler_traits = {
					remove =army_psychology_II
					add =army_psychology_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_I
				}
				swap_ruler_traits = {
					remove =army_psychology_I
					add =army_psychology_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_psychology_IV}
				}
				add_country_leader_trait = army_psychology_I			
				}
			}
		}
	}
	adaptability_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = adaptability_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = adaptability_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost145
		cost = 195
		days_remove = 75
#days65
		modifier = {
			attrition=0.2
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = adaptability_IV
				}
				swap_ruler_traits = {
					remove =adaptability_IV
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_III
				}
				swap_ruler_traits = {
					remove =adaptability_III
					add =adaptability_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_II
				}
				swap_ruler_traits = {
					remove =adaptability_II
					add =adaptability_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_I
				}
				swap_ruler_traits = {
					remove =adaptability_I
					add =adaptability_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = adaptability_V}
				}
				add_country_leader_trait = adaptability_I			
				}
			}
		}
	}
	anti_separatism_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = anti_separatism_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = anti_separatism_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost135
		cost = 185
		days_remove = 80
#days75
		modifier = {
			resistance_growth=0.3
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_IV
				}
				swap_ruler_traits = {
					remove =anti_separatism_IV
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_III
				}
				swap_ruler_traits = {
					remove =anti_separatism_III
					add =anti_separatism_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_II
				}
				swap_ruler_traits = {
					remove =anti_separatism_II
					add =anti_separatism_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_I
				}
				swap_ruler_traits = {
					remove =anti_separatism_I
					add =anti_separatism_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = anti_separatism_V}
				}
				add_country_leader_trait = anti_separatism_I			
				}
			}
		}
	}
	army_trainer_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = army_trainer_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_trainer_IV}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost135
		cost = 185
		days_remove = 45
#days35
		modifier = {
			experience_loss_factor=0.25
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_trainer_III
				}
				swap_ruler_traits = {
					remove =army_trainer_III
					add =army_trainer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_II
				}
				swap_ruler_traits = {
					remove =army_trainer_II
					add =army_trainer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_I
				}
				swap_ruler_traits = {
					remove =army_trainer_I
					add =army_trainer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_trainer_IV}
				}
				add_country_leader_trait = army_trainer_I			
				}
			}
		}
	}
	homeland_knowledge_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = homeland_knowledge_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost125
		cost = 175
		days_remove = 60
#days55
		modifier = {
			army_core_attack_factor=-0.2
			army_core_defence_factor=-0.3
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 1
				modifier = {
					any_state = {
							is_core_of=ROOT
					}
					add=1
				}
				modifier= {
					any_country = {
						has_wargoal_against=ROOT
					}
					add=3
				}
				modifier= {
					any_country = {
						is_justifying_wargoal_against=ROOT
					}
					add=2
				}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_III
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_III
					add =homeland_knowledge_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_II
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_II
					add =homeland_knowledge_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_I
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_I
					add =homeland_knowledge_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
				}
				add_country_leader_trait = homeland_knowledge_I			
				}
			}
		}
	}
	specialization_focus_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = specialization_focus_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = specialization_focus_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost95
		cost = 145
		days_remove = 65
#days55
		modifier = {
			special_forces_training_time_factor=0.6
			political_power_gain=-0.2
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=mountaineers
					ai_has_role_template=marines
					ai_has_role_template=paratrooper
				}
				add=5
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_IV
				}
				swap_ruler_traits = {
					remove =specialization_focus_IV
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_III
				}
				swap_ruler_traits = {
					remove =specialization_focus_III
					add =specialization_focus_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_II
				}
				swap_ruler_traits = {
					remove =specialization_focus_II
					add =specialization_focus_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_I
				}
				swap_ruler_traits = {
					remove =specialization_focus_I
					add =specialization_focus_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = specialization_focus_V}
				}
				add_country_leader_trait = specialization_focus_I			
				}
			}
		}
	}	
	land_air_education_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = land_air_education_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = land_air_education_IV}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost85
		cost = 135
		days_remove =55
#days45
		modifier = {
			air_superiority_bonus_in_combat=-0.35
			cas_damage_reduction=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_deployed_air_force_size = {
					size >0
				}
				add = 1
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = land_air_education_III
				}
				swap_ruler_traits = {
					remove =land_air_education_III
					add =land_air_education_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_II
				}
				swap_ruler_traits = {
					remove =land_air_education_II
					add =land_air_education_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_I
				}
				swap_ruler_traits = {
					remove =land_air_education_I
					add =land_air_education_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = land_air_education_IV}
				}
				add_country_leader_trait = land_air_education_I			
				}
			}
		}
	}
	
	supplier_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = supplier_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = supplier_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost80
		cost = 125
		days_remove = 70
#days50
		modifier = {
			political_power_gain=-0.2
			supply_factor=-0.18
		}		
		
		ai_will_do = {
			base = 4			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = supplier_IV
				}
				swap_ruler_traits = {
					remove =supplier_IV
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_III
				}
				swap_ruler_traits = {
					remove =supplier_III
					add =supplier_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_II
				}
				swap_ruler_traits = {
					remove =supplier_II
					add =supplier_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_I
				}
				swap_ruler_traits = {
					remove =supplier_I
					add =supplier_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = supplier_V}
				}
				add_country_leader_trait = supplier_I			
				}
			}
		}
	}

	
			amphibious_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = amphibious_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = amphibious_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost75
		cost = 115
		days_remove = 55
#days35
		modifier = {
			political_power_gain=-0.3
			invasion_preparation =0.7
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=marines
				}
				add=6
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = amphibious_IV
				}
				swap_ruler_traits = {
					remove =amphibious_IV
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_III
				}
				swap_ruler_traits = {
					remove =amphibious_III
					add =amphibious_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_II
				}
				swap_ruler_traits = {
					remove =amphibious_II
					add =amphibious_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_I
				}
				swap_ruler_traits = {
					remove =amphibious_I
					add =amphibious_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = amphibious_V}
				}
				add_country_leader_trait = amphibious_I			
				}
			}
		}
	}	

#REALISTIC
###
#CHEATS
	aggressiveness_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = aggressiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aggressiveness_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost175
		cost = 0
		days_remove = 0
#days90
		modifier = {
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_IV
				}
				swap_ruler_traits = {
					remove =aggressiveness_IV
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_III
				}
				swap_ruler_traits = {
					remove =aggressiveness_III
					add =aggressiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_II
				}
				swap_ruler_traits = {
					remove =aggressiveness_II
					add =aggressiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_I
				}
				swap_ruler_traits = {
					remove =aggressiveness_I
					add =aggressiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aggressiveness_V}
				}
				add_country_leader_trait = aggressiveness_I			
				}
			}
		}
	}
	defensiveness_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = defensiveness_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = defensiveness_IV}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost165
		cost = 0
		days_remove = 0
#days70
		modifier = {			
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = defensiveness_III
				}
				swap_ruler_traits = {
					remove =defensiveness_III
					add =defensiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_II
				}
				swap_ruler_traits = {
					remove =defensiveness_II
					add =defensiveness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_I
				}
				swap_ruler_traits = {
					remove =defensiveness_I
					add =defensiveness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = defensiveness_IV}
				}
				add_country_leader_trait = defensiveness_I			
				}
			}
		}
	}
	army_psychology_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = army_psychology_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_psychology_IV}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost155
		cost = 0
		days_remove = 0
#days100
		modifier = {
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_psychology_III
				}
				swap_ruler_traits = {
					remove =army_psychology_III
					add =army_psychology_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_II
				}
				swap_ruler_traits = {
					remove =army_psychology_II
					add =army_psychology_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_I
				}
				swap_ruler_traits = {
					remove =army_psychology_I
					add =army_psychology_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_psychology_IV}
				}
				add_country_leader_trait = army_psychology_I			
				}
			}
		}
	}
	adaptability_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = adaptability_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = adaptability_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost145
		cost = 0
		days_remove = 0
#days65
		modifier = {
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = adaptability_IV
				}
				swap_ruler_traits = {
					remove =adaptability_IV
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_III
				}
				swap_ruler_traits = {
					remove =adaptability_III
					add =adaptability_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_II
				}
				swap_ruler_traits = {
					remove =adaptability_II
					add =adaptability_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_I
				}
				swap_ruler_traits = {
					remove =adaptability_I
					add =adaptability_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = adaptability_V}
				}
				add_country_leader_trait = adaptability_I			
				}
			}
		}
	}
	anti_separatism_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = anti_separatism_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = anti_separatism_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost135
		cost = 0
		days_remove = 0
#days75
		modifier = {
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_IV
				}
				swap_ruler_traits = {
					remove =anti_separatism_IV
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_III
				}
				swap_ruler_traits = {
					remove =anti_separatism_III
					add =anti_separatism_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_II
				}
				swap_ruler_traits = {
					remove =anti_separatism_II
					add =anti_separatism_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_I
				}
				swap_ruler_traits = {
					remove =anti_separatism_I
					add =anti_separatism_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = anti_separatism_V}
				}
				add_country_leader_trait = anti_separatism_I			
				}
			}
		}
	}
	army_trainer_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = army_trainer_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_trainer_IV}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost135
		cost = 0
		days_remove = 0
#days35
		modifier = {
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_trainer_III
				}
				swap_ruler_traits = {
					remove =army_trainer_III
					add =army_trainer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_II
				}
				swap_ruler_traits = {
					remove =army_trainer_II
					add =army_trainer_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_I
				}
				swap_ruler_traits = {
					remove =army_trainer_I
					add =army_trainer_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_trainer_IV}
				}
				add_country_leader_trait = army_trainer_I			
				}
			}
		}
	}
	homeland_knowledge_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = homeland_knowledge_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost125
		cost = 0
		days_remove = 0
#days55
		modifier = {
		}
		
		
		ai_will_do = {
			base = 1
				modifier = {
					any_state = {
							is_core_of=ROOT
					}
					add=1
				}
				modifier= {
					any_country = {
						has_wargoal_against=ROOT
					}
					add=3
				}
				modifier= {
					any_country = {
						is_justifying_wargoal_against=ROOT
					}
					add=2
				}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_III
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_III
					add =homeland_knowledge_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_II
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_II
					add =homeland_knowledge_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_I
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_I
					add =homeland_knowledge_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
				}
				add_country_leader_trait = homeland_knowledge_I			
				}
			}
		}
	}
	specialization_focus_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = specialization_focus_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = specialization_focus_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost95
		cost = 0
		days_remove = 0
#days55
		modifier = {
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=mountaineers
					ai_has_role_template=marines
					ai_has_role_template=paratrooper
				}
				add=5
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_IV
				}
				swap_ruler_traits = {
					remove =specialization_focus_IV
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_III
				}
				swap_ruler_traits = {
					remove =specialization_focus_III
					add =specialization_focus_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_II
				}
				swap_ruler_traits = {
					remove =specialization_focus_II
					add =specialization_focus_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_I
				}
				swap_ruler_traits = {
					remove =specialization_focus_I
					add =specialization_focus_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = specialization_focus_V}
				}
				add_country_leader_trait = specialization_focus_I			
				}
			}
		}
	}	
	land_air_education_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = land_air_education_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = land_air_education_IV}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days45
		modifier = {			
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_deployed_air_force_size = {
					size >0
				}
				add = 1
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = land_air_education_III
				}
				swap_ruler_traits = {
					remove =land_air_education_III
					add =land_air_education_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_II
				}
				swap_ruler_traits = {
					remove =land_air_education_II
					add =land_air_education_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_I
				}
				swap_ruler_traits = {
					remove =land_air_education_I
					add =land_air_education_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = land_air_education_IV}
				}
				add_country_leader_trait = land_air_education_I			
				}
			}
		}
	}
	
	supplier_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = supplier_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = supplier_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost75
		cost = 0
		days_remove = 0
#days35
		modifier = {
		}		
		
		ai_will_do = {
			base = 4			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = supplier_IV
				}
				swap_ruler_traits = {
					remove =supplier_IV
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_III
				}
				swap_ruler_traits = {
					remove =supplier_III
					add =supplier_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_II
				}
				swap_ruler_traits = {
					remove =supplier_II
					add =supplier_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_I
				}
				swap_ruler_traits = {
					remove =supplier_I
					add =supplier_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = supplier_V}
				}
				add_country_leader_trait = supplier_I			
				}
			}
		}
	}
	
	
		amphibious_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = amphibious_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = amphibious_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost75
		cost = 0
		days_remove = 0
#days35
		modifier = {
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=marines
				}
				add=6
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = amphibious_IV
				}
				swap_ruler_traits = {
					remove =amphibious_IV
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_III
				}
				swap_ruler_traits = {
					remove =amphibious_III
					add =amphibious_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_II
				}
				swap_ruler_traits = {
					remove =amphibious_II
					add =amphibious_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_I
				}
				swap_ruler_traits = {
					remove =amphibious_I
					add =amphibious_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = amphibious_V}
				}
				add_country_leader_trait = amphibious_I			
				}
			}
		}
	}	

#CHEATS

#CHEATS_MAX
	aggressiveness_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = aggressiveness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aggressiveness_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost175
		cost = 0
		days_remove = 0
#days90
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_IV
				}
				swap_ruler_traits = {
					remove =aggressiveness_IV
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_III
				}
				swap_ruler_traits = {
					remove =aggressiveness_III
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_II
				}
				swap_ruler_traits = {
					remove =aggressiveness_II
					add =aggressiveness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aggressiveness_I
				}
				swap_ruler_traits = {
					remove =aggressiveness_I
					add =aggressiveness_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aggressiveness_V}
				}
				add_country_leader_trait = aggressiveness_V			
				}
			}
		}
	}
	defensiveness_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = defensiveness_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = defensiveness_IV}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost165
		cost = 0
		days_remove = 0
#days70
		modifier = {	
		political_power_gain=0		
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = defensiveness_III
				}
				swap_ruler_traits = {
					remove =defensiveness_III
					add =defensiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_II
				}
				swap_ruler_traits = {
					remove =defensiveness_II
					add =defensiveness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = defensiveness_I
				}
				swap_ruler_traits = {
					remove =defensiveness_I
					add =defensiveness_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = defensiveness_IV}
				}
				add_country_leader_trait = defensiveness_IV			
				}
			}
		}
	}
	army_psychology_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = army_psychology_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_psychology_IV}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost155
		cost = 0
		days_remove = 0
#days100
		modifier = {
		political_power_gain=0
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_psychology_III
				}
				swap_ruler_traits = {
					remove =army_psychology_III
					add =army_psychology_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_II
				}
				swap_ruler_traits = {
					remove =army_psychology_II
					add =army_psychology_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_psychology_I
				}
				swap_ruler_traits = {
					remove =army_psychology_I
					add =army_psychology_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_psychology_IV}
				}
				add_country_leader_trait = army_psychology_IV			
				}
			}
		}
	}
	adaptability_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = adaptability_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = adaptability_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost145
		cost = 0
		days_remove = 0
#days65
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = adaptability_IV
				}
				swap_ruler_traits = {
					remove =adaptability_IV
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_III
				}
				swap_ruler_traits = {
					remove =adaptability_III
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_II
				}
				swap_ruler_traits = {
					remove =adaptability_II
					add =adaptability_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = adaptability_I
				}
				swap_ruler_traits = {
					remove =adaptability_I
					add =adaptability_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = adaptability_V}
				}
				add_country_leader_trait = adaptability_V			
				}
			}
		}
	}
	anti_separatism_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = anti_separatism_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = anti_separatism_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost135
		cost = 0
		days_remove = 0
#days75
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_IV
				}
				swap_ruler_traits = {
					remove =anti_separatism_IV
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_III
				}
				swap_ruler_traits = {
					remove =anti_separatism_III
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_II
				}
				swap_ruler_traits = {
					remove =anti_separatism_II
					add =anti_separatism_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = anti_separatism_I
				}
				swap_ruler_traits = {
					remove =anti_separatism_I
					add =anti_separatism_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = anti_separatism_V}
				}
				add_country_leader_trait = anti_separatism_V			
				}
			}
		}
	}
	army_trainer_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = army_trainer_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = army_trainer_IV}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost135
		cost = 0
		days_remove = 0
#days35
		modifier = {
		political_power_gain=0
		}
		
		
		ai_will_do = {
			factor = 1
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = army_trainer_III
				}
				swap_ruler_traits = {
					remove =army_trainer_III
					add =army_trainer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_II
				}
				swap_ruler_traits = {
					remove =army_trainer_II
					add =army_trainer_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = army_trainer_I
				}
				swap_ruler_traits = {
					remove =army_trainer_I
					add =army_trainer_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = army_trainer_IV}
				}
				add_country_leader_trait = army_trainer_IV			
				}
			}
		}
	}
	homeland_knowledge_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = homeland_knowledge_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost125
		cost = 0
		days_remove = 0
#days55
		modifier = {
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 1
				modifier = {
					any_state = {
							is_core_of=ROOT
					}
					add=1
				}
				modifier= {
					any_country = {
						has_wargoal_against=ROOT
					}
					add=3
				}
				modifier= {
					any_country = {
						is_justifying_wargoal_against=ROOT
					}
					add=2
				}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_III
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_III
					add =homeland_knowledge_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_II
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_II
					add =homeland_knowledge_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = homeland_knowledge_I
				}
				swap_ruler_traits = {
					remove =homeland_knowledge_I
					add =homeland_knowledge_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = homeland_knowledge_IV}
				}
				add_country_leader_trait = homeland_knowledge_IV			
				}
			}
		}
	}
	specialization_focus_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = specialization_focus_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = specialization_focus_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost95
		cost = 0
		days_remove = 0
#days55
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=mountaineers
					ai_has_role_template=marines
					ai_has_role_template=paratrooper
				}
				add=5
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_IV
				}
				swap_ruler_traits = {
					remove =specialization_focus_IV
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_III
				}
				swap_ruler_traits = {
					remove =specialization_focus_III
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_II
				}
				swap_ruler_traits = {
					remove =specialization_focus_II
					add =specialization_focus_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = specialization_focus_I
				}
				swap_ruler_traits = {
					remove =specialization_focus_I
					add =specialization_focus_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = specialization_focus_V}
				}
				add_country_leader_trait = specialization_focus_V			
				}
			}
		}
	}	
	land_air_education_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = land_air_education_IV}
		}

		visible = {
			NOT = {has_country_leader_with_trait = land_air_education_IV}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days45
		modifier = {	
		political_power_gain=0		
		}
		
		
		ai_will_do = {
			base = 2
			modifier = {
				has_deployed_air_force_size = {
					size >0
				}
				add = 1
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = land_air_education_III
				}
				swap_ruler_traits = {
					remove =land_air_education_III
					add =land_air_education_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_II
				}
				swap_ruler_traits = {
					remove =land_air_education_II
					add =land_air_education_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = land_air_education_I
				}
				swap_ruler_traits = {
					remove =land_air_education_I
					add =land_air_education_IV
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = land_air_education_IV}
				}
				add_country_leader_trait = land_air_education_IV			
				}
			}
		}
	}
	
	supplier_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = supplier_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = supplier_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost75
		cost = 0
		days_remove = 0
#days35
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			base = 4			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = supplier_IV
				}
				swap_ruler_traits = {
					remove =supplier_IV
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_III
				}
				swap_ruler_traits = {
					remove =supplier_III
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_II
				}
				swap_ruler_traits = {
					remove =supplier_II
					add =supplier_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = supplier_I
				}
				swap_ruler_traits = {
					remove =supplier_I
					add =supplier_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = supplier_V}
				}
				add_country_leader_trait = supplier_V			
				}
			}
		}
	}
	
	
		amphibious_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = amphibious_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = amphibious_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost75
		cost = 0
		days_remove = 0
#days35
		modifier = {
		political_power_gain=0
		}		
		
		ai_will_do = {
			base = 0
			modifier ={
				OR = {
					ai_has_role_template=marines
				}
				add=6
			}			
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = amphibious_IV
				}
				swap_ruler_traits = {
					remove =amphibious_IV
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_III
				}
				swap_ruler_traits = {
					remove =amphibious_III
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_II
				}
				swap_ruler_traits = {
					remove =amphibious_II
					add =amphibious_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = amphibious_I
				}
				swap_ruler_traits = {
					remove =amphibious_I
					add =amphibious_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = amphibious_V}
				}
				add_country_leader_trait = amphibious_V			
				}
			}
		}
	}	

#CHEATS_MAX

}

leaders_school_agency_category = {
	#Agency Upgrades
#NORMAL
	agents_quantity_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = agents_quantity_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_quantity_X}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost175
		cost = 175
		days_remove = 65
#days65
		modifier = {
			agency_upgrade_time=0.6
			new_operative_slot_bonus=-4			
			political_power_gain=-0.2			
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no	
				factor = 0
			}
			modifier = {
				num_operative_slots <1
				factor = 5
			}
		}
		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IX
				}
				swap_ruler_traits = {
					remove =agents_quantity_IX
					add =agents_quantity_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VIII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VIII
					add =agents_quantity_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VII
					add =agents_quantity_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VI
				}
				swap_ruler_traits = {
					remove =agents_quantity_VI
					add =agents_quantity_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_V
				}
				swap_ruler_traits = {
					remove =agents_quantity_V
					add =agents_quantity_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IV
				}
				swap_ruler_traits = {
					remove =agents_quantity_IV
					add =agents_quantity_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_III
				}
				swap_ruler_traits = {
					remove =agents_quantity_III
					add =agents_quantity_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_II
				}
				swap_ruler_traits = {
					remove =agents_quantity_II
					add =agents_quantity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_I
				}
				swap_ruler_traits = {
					remove =agents_quantity_I
					add =agents_quantity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_quantity_X}
				}
				add_country_leader_trait = agents_quantity_I			
			}
			}
		}
	}
	cryptography_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = cryptography_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = cryptography_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost140
		cost = 140
		days_remove = 40
#days40
		modifier = {
			decryption_factor=-0.2
			encryption_factor=-0.2
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			base = 1
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				has_done_agency_upgrade = form_department
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = cryptography_IV
				}
				swap_ruler_traits = {
					remove =cryptography_IV
					add =cryptography_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_III
				}
				swap_ruler_traits = {
					remove =cryptography_III
					add =cryptography_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_II
				}
				swap_ruler_traits = {
					remove =cryptography_II
					add =cryptography_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_I
				}
				swap_ruler_traits = {
					remove =cryptography_I
					add =cryptography_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = cryptography_V}
				}
				add_country_leader_trait = cryptography_I			
			}
			}
		}
	}
	agents_training_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = agents_training_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_training_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost130
		cost = 130
		days_remove = 40
#days40
		modifier = {
			subversive_activites_upkeep=0.5
			own_operative_detection_chance_factor=0.5
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}

		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_training_IV
				}
				swap_ruler_traits = {
					remove =agents_training_IV
					add =agents_training_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_III
				}
				swap_ruler_traits = {
					remove =agents_training_III
					add =agents_training_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_II
				}
				swap_ruler_traits = {
					remove =agents_training_II
					add =agents_training_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_I
				}
				swap_ruler_traits = {
					remove =agents_training_I
					add =agents_training_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_training_V}
				}
				add_country_leader_trait = agents_training_I			
			}
			}
		}
	}
	operations_quality_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = operations_quality_VIII}
		}

		visible = {
			NOT = {has_country_leader_with_trait = operations_quality_VIII}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost120
		cost = 120
		days_remove = 50
#days50
		modifier = {
			operation_cost=1
			operation_outcome=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VII
				}
				swap_ruler_traits = {
					remove =operations_quality_VII
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VI
				}
				swap_ruler_traits = {
					remove =operations_quality_VI
					add =operations_quality_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_V
				}
				swap_ruler_traits = {
					remove =operations_quality_V
					add =operations_quality_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_IV
				}
				swap_ruler_traits = {
					remove =operations_quality_IV
					add =operations_quality_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_III
				}
				swap_ruler_traits = {
					remove =operations_quality_III
					add =operations_quality_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_II
				}
				swap_ruler_traits = {
					remove =operations_quality_II
					add =operations_quality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_I
				}
				swap_ruler_traits = {
					remove =operations_quality_I
					add =operations_quality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = operations_quality_VIII}
				}
				add_country_leader_trait = operations_quality_I			
			}
			}
		}
	}
	counter_agency_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = counter_agency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = counter_agency_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost115
		cost = 115
		days_remove =55
#days55
		modifier = {
			enemy_operative_detection_chance_factor=-0.5
			foreign_subversive_activites=0.5
			political_power_gain=-0.2			
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = counter_agency_IV
				}
				swap_ruler_traits = {
					remove =counter_agency_IV
					add =counter_agency_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_III
				}
				swap_ruler_traits = {
					remove =counter_agency_III
					add =counter_agency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_II
				}
				swap_ruler_traits = {
					remove =counter_agency_II
					add =counter_agency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_I
				}
				swap_ruler_traits = {
					remove =counter_agency_I
					add =counter_agency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = counter_agency_V}
				}
				add_country_leader_trait = counter_agency_I			
			}
			}
		}
	}
	iron_curtain_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = iron_curtain_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = iron_curtain_V}
			has_country_flag=leaders_school_normal
		}

		fire_only_once = no
#cost110
		cost = 110
		days_remove = 25
#days25
		modifier = {		
			airforce_intel_to_others=20
			civilian_intel_to_others=20
			navy_intel_to_others=20
			political_power_gain=-0.2	

			
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_IV
				}
				swap_ruler_traits = {
					remove =iron_curtain_IV
					add =iron_curtain_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_III
				}
				swap_ruler_traits = {
					remove =iron_curtain_III
					add =iron_curtain_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_II
				}
				swap_ruler_traits = {
					remove =iron_curtain_II
					add =iron_curtain_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_I
				}
				swap_ruler_traits = {
					remove =iron_curtain_I
					add =iron_curtain_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = iron_curtain_V}
				}
				add_country_leader_trait = iron_curtain_I			
			}
			}
		}
	}
#NORMAL
####
#EASY
	agents_quantity_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = agents_quantity_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_quantity_X}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost175
		cost = 125
		days_remove = 20
#days65
		modifier = {
			agency_upgrade_time=0.6
			new_operative_slot_bonus=-4			
			political_power_gain=-0.2			
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no	
				factor = 0
			}
			modifier = {
				num_operative_slots <1
				factor = 5
			}
		}	
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IX
				}
				swap_ruler_traits = {
					remove =agents_quantity_IX
					add =agents_quantity_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VIII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VIII
					add =agents_quantity_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VII
					add =agents_quantity_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VI
				}
				swap_ruler_traits = {
					remove =agents_quantity_VI
					add =agents_quantity_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_V
				}
				swap_ruler_traits = {
					remove =agents_quantity_V
					add =agents_quantity_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IV
				}
				swap_ruler_traits = {
					remove =agents_quantity_IV
					add =agents_quantity_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_III
				}
				swap_ruler_traits = {
					remove =agents_quantity_III
					add =agents_quantity_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_II
				}
				swap_ruler_traits = {
					remove =agents_quantity_II
					add =agents_quantity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_I
				}
				swap_ruler_traits = {
					remove =agents_quantity_I
					add =agents_quantity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_quantity_X}
				}
				add_country_leader_trait = agents_quantity_I			
			}
			}
		}
	}
	cryptography_school_easy   = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = cryptography_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = cryptography_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost140
		cost = 90
		days_remove = 20
#days40
		modifier = {
			decryption_factor=-0.2
			encryption_factor=-0.2
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			base = 1
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				has_done_agency_upgrade = form_department
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = cryptography_IV
				}
				swap_ruler_traits = {
					remove =cryptography_IV
					add =cryptography_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_III
				}
				swap_ruler_traits = {
					remove =cryptography_III
					add =cryptography_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_II
				}
				swap_ruler_traits = {
					remove =cryptography_II
					add =cryptography_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_I
				}
				swap_ruler_traits = {
					remove =cryptography_I
					add =cryptography_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = cryptography_V}
				}
				add_country_leader_trait = cryptography_I			
			}
			}
		}
	}
	agents_training_school_easy   = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = agents_training_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_training_V}
			has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost130
		cost = 80
		days_remove = 20
#days40
		modifier = {
			subversive_activites_upkeep=0.5
			own_operative_detection_chance_factor=0.5
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_training_IV
				}
				swap_ruler_traits = {
					remove =agents_training_IV
					add =agents_training_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_III
				}
				swap_ruler_traits = {
					remove =agents_training_III
					add =agents_training_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_II
				}
				swap_ruler_traits = {
					remove =agents_training_II
					add =agents_training_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_I
				}
				swap_ruler_traits = {
					remove =agents_training_I
					add =agents_training_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_training_V}
				}
				add_country_leader_trait = agents_training_I			
			}
			}
		}
	}
	operations_quality_school_easy   = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = operations_quality_VIII}
		}

		visible = {
			NOT = {has_country_leader_with_trait = operations_quality_VIII}
		has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost120
		cost = 70
		days_remove = 20
#days50
		modifier = {
			operation_cost=1
			operation_outcome=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}		
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VII
				}
				swap_ruler_traits = {
					remove =operations_quality_VII
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VI
				}
				swap_ruler_traits = {
					remove =operations_quality_VI
					add =operations_quality_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_V
				}
				swap_ruler_traits = {
					remove =operations_quality_V
					add =operations_quality_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_IV
				}
				swap_ruler_traits = {
					remove =operations_quality_IV
					add =operations_quality_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_III
				}
				swap_ruler_traits = {
					remove =operations_quality_III
					add =operations_quality_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_II
				}
				swap_ruler_traits = {
					remove =operations_quality_II
					add =operations_quality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_I
				}
				swap_ruler_traits = {
					remove =operations_quality_I
					add =operations_quality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = operations_quality_VIII}
				}
				add_country_leader_trait = operations_quality_I			
			}
			}
		}
	}
	counter_agency_school_easy   = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = counter_agency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = counter_agency_V}
		has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost115
		cost = 65
		days_remove =20
#days55
		modifier = {
			enemy_operative_detection_chance_factor=-0.5
			foreign_subversive_activites=0.5
			political_power_gain=-0.2			
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = counter_agency_IV
				}
				swap_ruler_traits = {
					remove =counter_agency_IV
					add =counter_agency_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_III
				}
				swap_ruler_traits = {
					remove =counter_agency_III
					add =counter_agency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_II
				}
				swap_ruler_traits = {
					remove =counter_agency_II
					add =counter_agency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_I
				}
				swap_ruler_traits = {
					remove =counter_agency_I
					add =counter_agency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = counter_agency_V}
				}
				add_country_leader_trait = counter_agency_I			
			}
			}
		}
	}
	iron_curtain_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = iron_curtain_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = iron_curtain_V}
		has_country_flag=leaders_school_easy
		}

		fire_only_once = no
#cost110
		cost = 60
		days_remove = 20
#days25
		modifier = {		
			airforce_intel_to_others=20
			civilian_intel_to_others=20
			navy_intel_to_others=20
			political_power_gain=-0.2	

			
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_IV
				}
				swap_ruler_traits = {
					remove =iron_curtain_IV
					add =iron_curtain_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_III
				}
				swap_ruler_traits = {
					remove =iron_curtain_III
					add =iron_curtain_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_II
				}
				swap_ruler_traits = {
					remove =iron_curtain_II
					add =iron_curtain_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_I
				}
				swap_ruler_traits = {
					remove =iron_curtain_I
					add =iron_curtain_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = iron_curtain_V}
				}
				add_country_leader_trait = iron_curtain_I			
			}
			}
		}
	}
#EASY
####
#REALISTIC
	agents_quantity_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = agents_quantity_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_quantity_X}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost175
		cost = 225
		days_remove = 75
#days65
		modifier = {
			agency_upgrade_time=0.6
			new_operative_slot_bonus=-4			
			political_power_gain=-0.2			
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no	
				factor = 0
			}
			modifier = {
				num_operative_slots <1
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IX
				}
				swap_ruler_traits = {
					remove =agents_quantity_IX
					add =agents_quantity_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VIII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VIII
					add =agents_quantity_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VII
					add =agents_quantity_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VI
				}
				swap_ruler_traits = {
					remove =agents_quantity_VI
					add =agents_quantity_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_V
				}
				swap_ruler_traits = {
					remove =agents_quantity_V
					add =agents_quantity_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IV
				}
				swap_ruler_traits = {
					remove =agents_quantity_IV
					add =agents_quantity_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_III
				}
				swap_ruler_traits = {
					remove =agents_quantity_III
					add =agents_quantity_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_II
				}
				swap_ruler_traits = {
					remove =agents_quantity_II
					add =agents_quantity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_I
				}
				swap_ruler_traits = {
					remove =agents_quantity_I
					add =agents_quantity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_quantity_X}
				}
				add_country_leader_trait = agents_quantity_I			
			}
			}
		}
	}
	cryptography_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = cryptography_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = cryptography_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost140
		cost = 190
		days_remove = 50
#days40
		modifier = {
			decryption_factor=-0.2
			encryption_factor=-0.2
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			base = 1
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				has_done_agency_upgrade = form_department
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = cryptography_IV
				}
				swap_ruler_traits = {
					remove =cryptography_IV
					add =cryptography_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_III
				}
				swap_ruler_traits = {
					remove =cryptography_III
					add =cryptography_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_II
				}
				swap_ruler_traits = {
					remove =cryptography_II
					add =cryptography_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_I
				}
				swap_ruler_traits = {
					remove =cryptography_I
					add =cryptography_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = cryptography_V}
				}
				add_country_leader_trait = cryptography_I			
			}
			}
		}
	}
	agents_training_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = agents_training_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_training_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost130
		cost = 180
		days_remove = 50
#days40
		modifier = {
			subversive_activites_upkeep=0.5
			own_operative_detection_chance_factor=0.5
			political_power_gain=-0.2
			
		}

		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_training_IV
				}
				swap_ruler_traits = {
					remove =agents_training_IV
					add =agents_training_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_III
				}
				swap_ruler_traits = {
					remove =agents_training_III
					add =agents_training_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_II
				}
				swap_ruler_traits = {
					remove =agents_training_II
					add =agents_training_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_I
				}
				swap_ruler_traits = {
					remove =agents_training_I
					add =agents_training_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_training_V}
				}
				add_country_leader_trait = agents_training_I			
			}
			}
		}
	}
	operations_quality_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = operations_quality_VIII}
		}

		visible = {
			NOT = {has_country_leader_with_trait = operations_quality_VIII}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost120
		cost = 170
		days_remove = 60
#days50
		modifier = {
			operation_cost=1
			operation_outcome=-0.2
			political_power_gain=-0.2
			
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VII
				}
				swap_ruler_traits = {
					remove =operations_quality_VII
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VI
				}
				swap_ruler_traits = {
					remove =operations_quality_VI
					add =operations_quality_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_V
				}
				swap_ruler_traits = {
					remove =operations_quality_V
					add =operations_quality_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_IV
				}
				swap_ruler_traits = {
					remove =operations_quality_IV
					add =operations_quality_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_III
				}
				swap_ruler_traits = {
					remove =operations_quality_III
					add =operations_quality_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_II
				}
				swap_ruler_traits = {
					remove =operations_quality_II
					add =operations_quality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_I
				}
				swap_ruler_traits = {
					remove =operations_quality_I
					add =operations_quality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = operations_quality_VIII}
				}
				add_country_leader_trait = operations_quality_I			
			}
			}
		}
	}
	counter_agency_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = counter_agency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = counter_agency_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost115
		cost = 165
		days_remove =65
#days55
		modifier = {
			enemy_operative_detection_chance_factor=-0.5
			foreign_subversive_activites=0.5
			political_power_gain=-0.2			
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = counter_agency_IV
				}
				swap_ruler_traits = {
					remove =counter_agency_IV
					add =counter_agency_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_III
				}
				swap_ruler_traits = {
					remove =counter_agency_III
					add =counter_agency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_II
				}
				swap_ruler_traits = {
					remove =counter_agency_II
					add =counter_agency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_I
				}
				swap_ruler_traits = {
					remove =counter_agency_I
					add =counter_agency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = counter_agency_V}
				}
				add_country_leader_trait = counter_agency_I			
			}
			}
		}
	}
	iron_curtain_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = iron_curtain_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = iron_curtain_V}
			has_country_flag=leaders_school_realistic
		}

		fire_only_once = no
#cost110
		cost = 160
		days_remove = 35
#days25
		modifier = {		
			airforce_intel_to_others=20
			civilian_intel_to_others=20
			navy_intel_to_others=20
			political_power_gain=-0.2	

			
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_IV
				}
				swap_ruler_traits = {
					remove =iron_curtain_IV
					add =iron_curtain_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_III
				}
				swap_ruler_traits = {
					remove =iron_curtain_III
					add =iron_curtain_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_II
				}
				swap_ruler_traits = {
					remove =iron_curtain_II
					add =iron_curtain_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_I
				}
				swap_ruler_traits = {
					remove =iron_curtain_I
					add =iron_curtain_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = iron_curtain_V}
				}
				add_country_leader_trait = iron_curtain_I			
			}
			}
		}
	}
#REALISTIC
###
#CHEATS
	agents_quantity_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = agents_quantity_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_quantity_X}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost175
		cost = 0
		days_remove = 0
#days65
		modifier = {		
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no	
				factor = 0
			}
			modifier = {
				num_operative_slots <1
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IX
				}
				swap_ruler_traits = {
					remove =agents_quantity_IX
					add =agents_quantity_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VIII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VIII
					add =agents_quantity_IX
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VII
					add =agents_quantity_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VI
				}
				swap_ruler_traits = {
					remove =agents_quantity_VI
					add =agents_quantity_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_V
				}
				swap_ruler_traits = {
					remove =agents_quantity_V
					add =agents_quantity_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IV
				}
				swap_ruler_traits = {
					remove =agents_quantity_IV
					add =agents_quantity_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_III
				}
				swap_ruler_traits = {
					remove =agents_quantity_III
					add =agents_quantity_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_II
				}
				swap_ruler_traits = {
					remove =agents_quantity_II
					add =agents_quantity_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_I
				}
				swap_ruler_traits = {
					remove =agents_quantity_I
					add =agents_quantity_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_quantity_X}
				}
				add_country_leader_trait = agents_quantity_I			
			}
			}
		}
	}
	cryptography_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = cryptography_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = cryptography_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost140
		cost = 0
		days_remove = 0
#days40
		modifier = {
		}

		ai_will_do = {
			base = 1
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				has_done_agency_upgrade = form_department
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = cryptography_IV
				}
				swap_ruler_traits = {
					remove =cryptography_IV
					add =cryptography_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_III
				}
				swap_ruler_traits = {
					remove =cryptography_III
					add =cryptography_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_II
				}
				swap_ruler_traits = {
					remove =cryptography_II
					add =cryptography_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_I
				}
				swap_ruler_traits = {
					remove =cryptography_I
					add =cryptography_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = cryptography_V}
				}
				add_country_leader_trait = cryptography_I			
			}
			}
		}
	}
	agents_training_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = agents_training_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_training_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost130
		cost = 0
		days_remove = 0
#days40
		modifier = {
		}

		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_training_IV
				}
				swap_ruler_traits = {
					remove =agents_training_IV
					add =agents_training_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_III
				}
				swap_ruler_traits = {
					remove =agents_training_III
					add =agents_training_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_II
				}
				swap_ruler_traits = {
					remove =agents_training_II
					add =agents_training_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_I
				}
				swap_ruler_traits = {
					remove =agents_training_I
					add =agents_training_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_training_V}
				}
				add_country_leader_trait = agents_training_I			
			}
			}
		}
	}
	operations_quality_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = operations_quality_VIII}
		}

		visible = {
			NOT = {has_country_leader_with_trait = operations_quality_VIII}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost120
		cost = 0
		days_remove = 0
#days50
		modifier = {
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VII
				}
				swap_ruler_traits = {
					remove =operations_quality_VII
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VI
				}
				swap_ruler_traits = {
					remove =operations_quality_VI
					add =operations_quality_VII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_V
				}
				swap_ruler_traits = {
					remove =operations_quality_V
					add =operations_quality_VI
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_IV
				}
				swap_ruler_traits = {
					remove =operations_quality_IV
					add =operations_quality_V
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_III
				}
				swap_ruler_traits = {
					remove =operations_quality_III
					add =operations_quality_IV
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_II
				}
				swap_ruler_traits = {
					remove =operations_quality_II
					add =operations_quality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_I
				}
				swap_ruler_traits = {
					remove =operations_quality_I
					add =operations_quality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = operations_quality_VIII}
				}
				add_country_leader_trait = operations_quality_I			
			}
			}
		}
	}
	counter_agency_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = counter_agency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = counter_agency_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost115
		cost = 0
		days_remove = 0
#days55
		modifier = {		
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = counter_agency_IV
				}
				swap_ruler_traits = {
					remove =counter_agency_IV
					add =counter_agency_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_III
				}
				swap_ruler_traits = {
					remove =counter_agency_III
					add =counter_agency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_II
				}
				swap_ruler_traits = {
					remove =counter_agency_II
					add =counter_agency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_I
				}
				swap_ruler_traits = {
					remove =counter_agency_I
					add =counter_agency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = counter_agency_V}
				}
				add_country_leader_trait = counter_agency_I			
			}
			}
		}
	}
	iron_curtain_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = iron_curtain_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = iron_curtain_V}
			has_country_flag=leaders_school_cheats
		}

		fire_only_once = no
#cost110
		cost = 0
		days_remove = 0
#days25
		modifier = {
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_IV
				}
				swap_ruler_traits = {
					remove =iron_curtain_IV
					add =iron_curtain_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_III
				}
				swap_ruler_traits = {
					remove =iron_curtain_III
					add =iron_curtain_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_II
				}
				swap_ruler_traits = {
					remove =iron_curtain_II
					add =iron_curtain_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_I
				}
				swap_ruler_traits = {
					remove =iron_curtain_I
					add =iron_curtain_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = iron_curtain_V}
				}
				add_country_leader_trait = iron_curtain_I			
			}
			}
		}
	}
#CHEATS

#CHEATS_MAX
	agents_quantity_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = agents_quantity_X}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_quantity_X}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost175
		cost = 0
		days_remove = 0
#days65
		modifier = {	
		political_power_gain=0	
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no	
				factor = 0
			}
			modifier = {
				num_operative_slots <1
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IX
				}
				swap_ruler_traits = {
					remove =agents_quantity_IX
					add =agents_quantity_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VIII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VIII
					add =agents_quantity_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VII
				}
				swap_ruler_traits = {
					remove =agents_quantity_VII
					add =agents_quantity_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_VI
				}
				swap_ruler_traits = {
					remove =agents_quantity_VI
					add =agents_quantity_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_V
				}
				swap_ruler_traits = {
					remove =agents_quantity_V
					add =agents_quantity_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_IV
				}
				swap_ruler_traits = {
					remove =agents_quantity_IV
					add =agents_quantity_X
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_III
				}
				swap_ruler_traits = {
					remove =agents_quantity_III
					add =agents_quantity_X
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_II
				}
				swap_ruler_traits = {
					remove =agents_quantity_II
					add =agents_quantity_X
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_quantity_I
				}
				swap_ruler_traits = {
					remove =agents_quantity_I
					add =agents_quantity_X
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_quantity_X}
				}
				add_country_leader_trait = agents_quantity_X			
			}
			}
		}
	}
	cryptography_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = cryptography_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = cryptography_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost140
		cost = 0
		days_remove = 0
#days40
		modifier = {
		political_power_gain=0
		}

		ai_will_do = {
			base = 1
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				has_done_agency_upgrade = form_department
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = cryptography_IV
				}
				swap_ruler_traits = {
					remove =cryptography_IV
					add =cryptography_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_III
				}
				swap_ruler_traits = {
					remove =cryptography_III
					add =cryptography_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_II
				}
				swap_ruler_traits = {
					remove =cryptography_II
					add =cryptography_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = cryptography_I
				}
				swap_ruler_traits = {
					remove =cryptography_I
					add =cryptography_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = cryptography_V}
				}
				add_country_leader_trait = cryptography_V			
			}
			}
		}
	}
	agents_training_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = agents_training_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = agents_training_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost130
		cost = 0
		days_remove = 0
#days40
		modifier = {
		political_power_gain=0
		}

		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = agents_training_IV
				}
				swap_ruler_traits = {
					remove =agents_training_IV
					add =agents_training_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_III
				}
				swap_ruler_traits = {
					remove =agents_training_III
					add =agents_training_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_II
				}
				swap_ruler_traits = {
					remove =agents_training_II
					add =agents_training_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = agents_training_I
				}
				swap_ruler_traits = {
					remove =agents_training_I
					add =agents_training_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = agents_training_V}
				}
				add_country_leader_trait = agents_training_V			
			}
			}
		}
	}
	operations_quality_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = operations_quality_VIII}
		}

		visible = {
			NOT = {has_country_leader_with_trait = operations_quality_VIII}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost120
		cost = 0
		days_remove = 0
#days50
		modifier = {
		political_power_gain=0
		}
		
		
		ai_will_do = {
			base = 1			
			modifier = {
				has_intelligence_agency = no				
				factor = 0
			}
			modifier = {
				num_of_operatives >0
				factor = 5
			}
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VII
				}
				swap_ruler_traits = {
					remove =operations_quality_VII
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_VI
				}
				swap_ruler_traits = {
					remove =operations_quality_VI
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_V
				}
				swap_ruler_traits = {
					remove =operations_quality_V
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_IV
				}
				swap_ruler_traits = {
					remove =operations_quality_IV
					add =operations_quality_VIII
				} 				
				
			}	
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_III
				}
				swap_ruler_traits = {
					remove =operations_quality_III
					add =operations_quality_VIII
				} 				
				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_II
				}
				swap_ruler_traits = {
					remove =operations_quality_II
					add =operations_quality_VIII
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = operations_quality_I
				}
				swap_ruler_traits = {
					remove =operations_quality_I
					add =operations_quality_VIII
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = operations_quality_VIII}
				}
				add_country_leader_trait = operations_quality_VIII			
			}
			}
		}
	}
	counter_agency_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = counter_agency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = counter_agency_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost115
		cost = 0
		days_remove = 0
#days55
		modifier = {	
		political_power_gain=0	
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = counter_agency_IV
				}
				swap_ruler_traits = {
					remove =counter_agency_IV
					add =counter_agency_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_III
				}
				swap_ruler_traits = {
					remove =counter_agency_III
					add =counter_agency_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_II
				}
				swap_ruler_traits = {
					remove =counter_agency_II
					add =counter_agency_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = counter_agency_I
				}
				swap_ruler_traits = {
					remove =counter_agency_I
					add =counter_agency_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = counter_agency_V}
				}
				add_country_leader_trait = counter_agency_V			
			}
			}
		}
	}
	iron_curtain_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {
		}

		available = {
			NOT = { has_country_leader_with_trait = iron_curtain_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = iron_curtain_V}
			has_country_flag=leaders_school_cheats_max
		}

		fire_only_once = no
#cost110
		cost = 0
		days_remove = 0
#days25
		modifier = {
		political_power_gain=0
		}

		ai_will_do = {
			base = 3
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_IV
				}
				swap_ruler_traits = {
					remove =iron_curtain_IV
					add =iron_curtain_V
				} 	
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_III
				}
				swap_ruler_traits = {
					remove =iron_curtain_III
					add =iron_curtain_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_II
				}
				swap_ruler_traits = {
					remove =iron_curtain_II
					add =iron_curtain_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = iron_curtain_I
				}
				swap_ruler_traits = {
					remove =iron_curtain_I
					add =iron_curtain_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = iron_curtain_V}
				}
				add_country_leader_trait = iron_curtain_V			
			}
			}
		}
	}
#CHEATS_MAX
}

leaders_school_air_category = {
########################### AIR
#DODLAT ai_will_do
#NORMAL
	aviation_alloy_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = aviation_alloy_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aviation_alloy_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost115
		cost = 115
		days_remove = 50
#days50
		modifier = {			
			political_power_gain=-0.2
			air_agility_factor=-0.4
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_IV
				}
				swap_ruler_traits = {
					remove =aviation_alloy_IV
					add =aviation_alloy_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_III
				}
				swap_ruler_traits = {
					remove =aviation_alloy_III
					add =aviation_alloy_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_II
				}
				swap_ruler_traits = {
					remove =aviation_alloy_II
					add =aviation_alloy_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_I
				}
				swap_ruler_traits = {
					remove =aviation_alloy_I
					add =aviation_alloy_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aviation_alloy_V}
				}
				add_country_leader_trait = aviation_alloy_I			
			}
			}
		}
	}
	flying_carefulness_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = flying_carefulness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = flying_carefulness_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost90
		cost = 90
		days_remove = 40
#days40
		modifier = {			
			political_power_gain=-0.3
			air_night_penalty =0.2
			air_weather_penalty =0.3 
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_IV
				}
				swap_ruler_traits = {
					remove =flying_carefulness_IV
					add =flying_carefulness_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_III
				}
				swap_ruler_traits = {
					remove =flying_carefulness_III
					add =flying_carefulness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_II
				}
				swap_ruler_traits = {
					remove =flying_carefulness_II
					add =flying_carefulness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_I
				}
				swap_ruler_traits = {
					remove =flying_carefulness_I
					add =flying_carefulness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = flying_carefulness_V}
				}
				add_country_leader_trait = flying_carefulness_I			
			}
			}
		}
	}
	avgas_efficiency_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = avgas_efficiency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = avgas_efficiency_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost80
		cost = 80
		days_remove = 40
#days40
		modifier = {			
			political_power_gain=-0.4
			air_fuel_consumption_factor =0.3
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_IV
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_IV
					add =avgas_efficiency_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_III
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_III
					add =avgas_efficiency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_II
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_II
					add =avgas_efficiency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_I
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_I
					add =avgas_efficiency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = avgas_efficiency_V}
				}
				add_country_leader_trait = avgas_efficiency_I			
			}
			}
		}
	}
	bomber_precision_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = bomber_precision_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = bomber_precision_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost70
		cost = 70
		days_remove = 50
#days50
		modifier = {			
			political_power_gain=-0.2
			air_bombing_targetting=-0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_IV
				}
				swap_ruler_traits = {
					remove =bomber_precision_IV
					add =bomber_precision_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_III
				}
				swap_ruler_traits = {
					remove =bomber_precision_III
					add =bomber_precision_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_II
				}
				swap_ruler_traits = {
					remove =bomber_precision_II
					add =bomber_precision_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_I
				}
				swap_ruler_traits = {
					remove =bomber_precision_I
					add =bomber_precision_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = bomber_precision_V}
				}
				add_country_leader_trait = bomber_precision_I			
			}
			}
		}
	}
#NORMAL

#EASY
	aviation_alloy_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = aviation_alloy_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aviation_alloy_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost115
		cost = 65
		days_remove = 20
#days50
		modifier = {			
			political_power_gain=-0.1
			air_agility_factor=-0.3
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_IV
				}
				swap_ruler_traits = {
					remove =aviation_alloy_IV
					add =aviation_alloy_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_III
				}
				swap_ruler_traits = {
					remove =aviation_alloy_III
					add =aviation_alloy_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_II
				}
				swap_ruler_traits = {
					remove =aviation_alloy_II
					add =aviation_alloy_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_I
				}
				swap_ruler_traits = {
					remove =aviation_alloy_I
					add =aviation_alloy_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aviation_alloy_V}
				}
				add_country_leader_trait = aviation_alloy_I			
			}
			}
		}
	}
	flying_carefulness_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = flying_carefulness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = flying_carefulness_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost90
		cost = 40
		days_remove = 20
#days40
		modifier = {			
			political_power_gain=-0.15
			air_night_penalty =0.1
			air_weather_penalty =0.15
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_IV
				}
				swap_ruler_traits = {
					remove =flying_carefulness_IV
					add =flying_carefulness_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_III
				}
				swap_ruler_traits = {
					remove =flying_carefulness_III
					add =flying_carefulness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_II
				}
				swap_ruler_traits = {
					remove =flying_carefulness_II
					add =flying_carefulness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_I
				}
				swap_ruler_traits = {
					remove =flying_carefulness_I
					add =flying_carefulness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = flying_carefulness_V}
				}
				add_country_leader_trait = flying_carefulness_I			
			}
			}
		}
	}
	avgas_efficiency_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = avgas_efficiency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = avgas_efficiency_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost80
		cost = 30
		days_remove = 20
#days40
		modifier = {			
			political_power_gain=-0.2
			air_fuel_consumption_factor =0.2
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_IV
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_IV
					add =avgas_efficiency_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_III
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_III
					add =avgas_efficiency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_II
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_II
					add =avgas_efficiency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_I
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_I
					add =avgas_efficiency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = avgas_efficiency_V}
				}
				add_country_leader_trait = avgas_efficiency_I			
			}
			}
		}
	}
	bomber_precision_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = bomber_precision_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = bomber_precision_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost70
		cost = 25
		days_remove = 20
#days50
		modifier = {			
			political_power_gain=-0.1
			air_bombing_targetting=-0.25
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_IV
				}
				swap_ruler_traits = {
					remove =bomber_precision_IV
					add =bomber_precision_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_III
				}
				swap_ruler_traits = {
					remove =bomber_precision_III
					add =bomber_precision_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_II
				}
				swap_ruler_traits = {
					remove =bomber_precision_II
					add =bomber_precision_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_I
				}
				swap_ruler_traits = {
					remove =bomber_precision_I
					add =bomber_precision_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = bomber_precision_V}
				}
				add_country_leader_trait = bomber_precision_I			
			}
			}
		}
	}
#EASY

#REALISTIC
	aviation_alloy_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = aviation_alloy_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aviation_alloy_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost115
		cost = 165
		days_remove = 70
#days50
		modifier = {			
			political_power_gain=-0.4
			air_agility_factor=-0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_IV
				}
				swap_ruler_traits = {
					remove =aviation_alloy_IV
					add =aviation_alloy_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_III
				}
				swap_ruler_traits = {
					remove =aviation_alloy_III
					add =aviation_alloy_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_II
				}
				swap_ruler_traits = {
					remove =aviation_alloy_II
					add =aviation_alloy_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_I
				}
				swap_ruler_traits = {
					remove =aviation_alloy_I
					add =aviation_alloy_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aviation_alloy_V}
				}
				add_country_leader_trait = aviation_alloy_I			
			}
			}
		}
	}
	flying_carefulness_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = flying_carefulness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = flying_carefulness_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost90
		cost = 140
		days_remove = 70
#days40
		modifier = {			
			political_power_gain=-0.45
			air_night_penalty =0.35
			air_weather_penalty =0.45
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_IV
				}
				swap_ruler_traits = {
					remove =flying_carefulness_IV
					add =flying_carefulness_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_III
				}
				swap_ruler_traits = {
					remove =flying_carefulness_III
					add =flying_carefulness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_II
				}
				swap_ruler_traits = {
					remove =flying_carefulness_II
					add =flying_carefulness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_I
				}
				swap_ruler_traits = {
					remove =flying_carefulness_I
					add =flying_carefulness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = flying_carefulness_V}
				}
				add_country_leader_trait = flying_carefulness_I			
			}
			}
		}
	}
	avgas_efficiency_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = avgas_efficiency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = avgas_efficiency_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost80
		cost = 130
		days_remove = 70
#days40
		modifier = {			
			political_power_gain=-0.5
			air_fuel_consumption_factor =0.4
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_IV
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_IV
					add =avgas_efficiency_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_III
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_III
					add =avgas_efficiency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_II
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_II
					add =avgas_efficiency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_I
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_I
					add =avgas_efficiency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = avgas_efficiency_V}
				}
				add_country_leader_trait = avgas_efficiency_I			
			}
			}
		}
	}
	bomber_precision_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = bomber_precision_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = bomber_precision_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost70
		cost = 130
		days_remove = 80
#days50
		modifier = {			
			political_power_gain=-0.3
			air_bombing_targetting=-0.6
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_IV
				}
				swap_ruler_traits = {
					remove =bomber_precision_IV
					add =bomber_precision_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_III
				}
				swap_ruler_traits = {
					remove =bomber_precision_III
					add =bomber_precision_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_II
				}
				swap_ruler_traits = {
					remove =bomber_precision_II
					add =bomber_precision_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_I
				}
				swap_ruler_traits = {
					remove =bomber_precision_I
					add =bomber_precision_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = bomber_precision_V}
				}
				add_country_leader_trait = bomber_precision_I			
			}
			}
		}
	}
#REALISTIC

#CHEATS
	aviation_alloy_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = aviation_alloy_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aviation_alloy_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost115
		cost = 0
		days_remove = 0
#days50
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_IV
				}
				swap_ruler_traits = {
					remove =aviation_alloy_IV
					add =aviation_alloy_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_III
				}
				swap_ruler_traits = {
					remove =aviation_alloy_III
					add =aviation_alloy_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_II
				}
				swap_ruler_traits = {
					remove =aviation_alloy_II
					add =aviation_alloy_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_I
				}
				swap_ruler_traits = {
					remove =aviation_alloy_I
					add =aviation_alloy_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aviation_alloy_V}
				}
				add_country_leader_trait = aviation_alloy_I			
			}
			}
		}
	}
	flying_carefulness_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = flying_carefulness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = flying_carefulness_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days40
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_IV
				}
				swap_ruler_traits = {
					remove =flying_carefulness_IV
					add =flying_carefulness_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_III
				}
				swap_ruler_traits = {
					remove =flying_carefulness_III
					add =flying_carefulness_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_II
				}
				swap_ruler_traits = {
					remove =flying_carefulness_II
					add =flying_carefulness_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_I
				}
				swap_ruler_traits = {
					remove =flying_carefulness_I
					add =flying_carefulness_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = flying_carefulness_V}
				}
				add_country_leader_trait = flying_carefulness_I			
			}
			}
		}
	}
	avgas_efficiency_school_cheats = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = avgas_efficiency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = avgas_efficiency_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days40
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_IV
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_IV
					add =avgas_efficiency_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_III
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_III
					add =avgas_efficiency_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_II
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_II
					add =avgas_efficiency_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_I
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_I
					add =avgas_efficiency_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = avgas_efficiency_V}
				}
				add_country_leader_trait = avgas_efficiency_I			
			}
			}
		}
	}
	bomber_precision_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = bomber_precision_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = bomber_precision_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost70
		cost = 0
		days_remove = 0
#days50
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_IV
				}
				swap_ruler_traits = {
					remove =bomber_precision_IV
					add =bomber_precision_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_III
				}
				swap_ruler_traits = {
					remove =bomber_precision_III
					add =bomber_precision_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_II
				}
				swap_ruler_traits = {
					remove =bomber_precision_II
					add =bomber_precision_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_I
				}
				swap_ruler_traits = {
					remove =bomber_precision_I
					add =bomber_precision_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = bomber_precision_V}
				}
				add_country_leader_trait = bomber_precision_I			
			}
			}
		}
	}
#CHEATS

#CHEATS_MAX
	aviation_alloy_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = aviation_alloy_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = aviation_alloy_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost115
		cost = 0
		days_remove = 0
#days50
		modifier = {
		political_power_gain=0			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_IV
				}
				swap_ruler_traits = {
					remove =aviation_alloy_IV
					add =aviation_alloy_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_III
				}
				swap_ruler_traits = {
					remove =aviation_alloy_III
					add =aviation_alloy_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_II
				}
				swap_ruler_traits = {
					remove =aviation_alloy_II
					add =aviation_alloy_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = aviation_alloy_I
				}
				swap_ruler_traits = {
					remove =aviation_alloy_I
					add =aviation_alloy_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = aviation_alloy_V}
				}
				add_country_leader_trait = aviation_alloy_V			
			}
			}
		}
	}
	flying_carefulness_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = flying_carefulness_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = flying_carefulness_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days40
		modifier = {	
		political_power_gain=0		
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_IV
				}
				swap_ruler_traits = {
					remove =flying_carefulness_IV
					add =flying_carefulness_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_III
				}
				swap_ruler_traits = {
					remove =flying_carefulness_III
					add =flying_carefulness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_II
				}
				swap_ruler_traits = {
					remove =flying_carefulness_II
					add =flying_carefulness_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = flying_carefulness_I
				}
				swap_ruler_traits = {
					remove =flying_carefulness_I
					add =flying_carefulness_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = flying_carefulness_V}
				}
				add_country_leader_trait = flying_carefulness_V			
			}
			}
		}
	}
	avgas_efficiency_school_cheats_max = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = avgas_efficiency_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = avgas_efficiency_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost80
		cost = 0
		days_remove = 0
#days40
		modifier = {	
		political_power_gain=0		
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_IV
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_IV
					add =avgas_efficiency_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_III
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_III
					add =avgas_efficiency_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_II
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_II
					add =avgas_efficiency_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = avgas_efficiency_I
				}
				swap_ruler_traits = {
					remove =avgas_efficiency_I
					add =avgas_efficiency_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = avgas_efficiency_V}
				}
				add_country_leader_trait = avgas_efficiency_V			
			}
			}
		}
	}
	bomber_precision_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = bomber_precision_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = bomber_precision_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost70
		cost = 0
		days_remove = 0
#days50
		modifier = {	
		political_power_gain=0		
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_IV
				}
				swap_ruler_traits = {
					remove =bomber_precision_IV
					add =bomber_precision_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_III
				}
				swap_ruler_traits = {
					remove =bomber_precision_III
					add =bomber_precision_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_II
				}
				swap_ruler_traits = {
					remove =bomber_precision_II
					add =bomber_precision_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = bomber_precision_I
				}
				swap_ruler_traits = {
					remove =bomber_precision_I
					add =bomber_precision_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = bomber_precision_V}
				}
				add_country_leader_trait = bomber_precision_V			
			}
			}
		}
	}
#CHEATS_MAX

}

leaders_school_naval_category = {
############################# NAVAL

#DODLAT ai_will_do
#NORMAL
	floating_airport_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = floating_airport_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = floating_airport_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost110
		cost = 110
		days_remove = 60
#days60
		modifier = {			
			political_power_gain=-0.2
			carrier_capacity_penalty_reduction=0.5 
			navy_carrier_air_agility_factor =-0.4
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = floating_airport_IV
				}
				swap_ruler_traits = {
					remove =floating_airport_IV
					add =floating_airport_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_III
				}
				swap_ruler_traits = {
					remove =floating_airport_III
					add =floating_airport_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_II
				}
				swap_ruler_traits = {
					remove =floating_airport_II
					add =floating_airport_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_I
				}
				swap_ruler_traits = {
					remove =floating_airport_I
					add =floating_airport_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = floating_airport_V}
				}
				add_country_leader_trait = floating_airport_I			
			}
			}
		}
	}
	consolidated_fleet_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = consolidated_fleet_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = consolidated_fleet_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost90
		cost = 90
		days_remove = 70
#days70
		modifier = {			
			political_power_gain=-0.2
			naval_morale_factor=-0.3
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_IV
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_IV
					add =consolidated_fleet_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_III
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_III
					add =consolidated_fleet_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_II
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_II
					add =consolidated_fleet_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_I
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_I
					add =consolidated_fleet_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = consolidated_fleet_V}
				}
				add_country_leader_trait = consolidated_fleet_I			
			}
			}
		}
	}
	navy_engineers_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = navy_engineers_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = navy_engineers_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost85
		cost = 85
		days_remove = 65
#days65
		modifier = {			
			political_power_gain=-0.2
			naval_attrition=0.35
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_IV
				}
				swap_ruler_traits = {
					remove =navy_engineers_IV
					add =navy_engineers_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_III
				}
				swap_ruler_traits = {
					remove =navy_engineers_III
					add =navy_engineers_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_II
				}
				swap_ruler_traits = {
					remove =navy_engineers_II
					add =navy_engineers_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_I
				}
				swap_ruler_traits = {
					remove =navy_engineers_I
					add =navy_engineers_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = navy_engineers_V}
				}
				add_country_leader_trait = navy_engineers_I			
			}
			}
		}
	}
	
		fleets_diligence_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fleets_diligence_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fleets_diligence_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost85
		cost = 85
		days_remove = 55
#days55
		modifier = {			
			political_power_gain=-0.25
			naval_accidents_chance=0.6
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_IV
				}
				swap_ruler_traits = {
					remove =fleets_diligence_IV
					add =fleets_diligence_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_III
				}
				swap_ruler_traits = {
					remove =fleets_diligence_III
					add =fleets_diligence_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_II
				}
				swap_ruler_traits = {
					remove =fleets_diligence_II
					add =fleets_diligence_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_I
				}
				swap_ruler_traits = {
					remove =fleets_diligence_I
					add =fleets_diligence_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fleets_diligence_V}
				}
				add_country_leader_trait = fleets_diligence_I			
			}
			}
		}
	}

promptitude_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = promptitude_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = promptitude_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost70
		cost = 70
		days_remove = 40
#days40
		modifier = {			
			political_power_gain=-0.15
			naval_speed_factor=-0.4
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = promptitude_IV
				}
				swap_ruler_traits = {
					remove =promptitude_IV
					add =promptitude_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_III
				}
				swap_ruler_traits = {
					remove =promptitude_III
					add =promptitude_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_II
				}
				swap_ruler_traits = {
					remove =promptitude_II
					add =promptitude_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_I
				}
				swap_ruler_traits = {
					remove =promptitude_I
					add =promptitude_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = promptitude_V}
				}
				add_country_leader_trait = promptitude_I			
			}
			}
		}
	}
	
	convoys_practicality_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = convoys_practicality_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = convoys_practicality_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost60
		cost = 60
		days_remove = 80
#days80
		modifier = {			
			political_power_gain=-0.2
			transport_capacity=0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_IV
				}
				swap_ruler_traits = {
					remove =convoys_practicality_IV
					add =convoys_practicality_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_III
				}
				swap_ruler_traits = {
					remove =convoys_practicality_III
					add =convoys_practicality_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_II
				}
				swap_ruler_traits = {
					remove =convoys_practicality_II
					add =convoys_practicality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_I
				}
				swap_ruler_traits = {
					remove =convoys_practicality_I
					add =convoys_practicality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = convoys_practicality_V}
				}
				add_country_leader_trait = convoys_practicality_I			
			}
			}
		}
	}
	mine_usage_school  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = mine_usage_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = mine_usage_V}
			has_country_flag=leaders_school_normal
		}


		fire_only_once = no
#cost60
		cost = 60
		days_remove = 40
#days40
		modifier = {			
			political_power_gain=-0.2
			naval_accidents_chance=0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = mine_usage_IV
				}
				swap_ruler_traits = {
					remove =mine_usage_IV
					add =mine_usage_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_III
				}
				swap_ruler_traits = {
					remove =mine_usage_III
					add =mine_usage_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_II
				}
				swap_ruler_traits = {
					remove =mine_usage_II
					add =mine_usage_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_I
				}
				swap_ruler_traits = {
					remove =mine_usage_I
					add =mine_usage_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = mine_usage_V}
				}
				add_country_leader_trait = mine_usage_I			
			}
			}
		}
	}


#NORMAL

#EASY
	floating_airport_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = floating_airport_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = floating_airport_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost110
		cost = 60
		days_remove = 30
#days60
		modifier = {			
			political_power_gain=-0.1
			carrier_capacity_penalty_reduction=0.25 
			navy_carrier_air_agility_factor =-0.2
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = floating_airport_IV
				}
				swap_ruler_traits = {
					remove =floating_airport_IV
					add =floating_airport_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_III
				}
				swap_ruler_traits = {
					remove =floating_airport_III
					add =floating_airport_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_II
				}
				swap_ruler_traits = {
					remove =floating_airport_II
					add =floating_airport_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_I
				}
				swap_ruler_traits = {
					remove =floating_airport_I
					add =floating_airport_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = floating_airport_V}
				}
				add_country_leader_trait = floating_airport_I			
			}
			}
		}
	}
	consolidated_fleet_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = consolidated_fleet_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = consolidated_fleet_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost90
		cost = 40
		days_remove = 40
#days70
		modifier = {			
			political_power_gain=-0.1
			naval_morale_factor=-0.15
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_IV
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_IV
					add =consolidated_fleet_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_III
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_III
					add =consolidated_fleet_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_II
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_II
					add =consolidated_fleet_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_I
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_I
					add =consolidated_fleet_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = consolidated_fleet_V}
				}
				add_country_leader_trait = consolidated_fleet_I			
			}
			}
		}
	}
	navy_engineers_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = navy_engineers_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = navy_engineers_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost85
		cost = 35
		days_remove = 35
#days65
		modifier = {			
			political_power_gain=-0.15
			naval_attrition=0.2
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_IV
				}
				swap_ruler_traits = {
					remove =navy_engineers_IV
					add =navy_engineers_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_III
				}
				swap_ruler_traits = {
					remove =navy_engineers_III
					add =navy_engineers_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_II
				}
				swap_ruler_traits = {
					remove =navy_engineers_II
					add =navy_engineers_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_I
				}
				swap_ruler_traits = {
					remove =navy_engineers_I
					add =navy_engineers_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = navy_engineers_V}
				}
				add_country_leader_trait = navy_engineers_I			
			}
			}
		}
	}
	
		fleets_diligence_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fleets_diligence_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fleets_diligence_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost85
		cost = 35
		days_remove = 25
#days55
		modifier = {			
			political_power_gain=-0.2
			naval_accidents_chance=0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_IV
				}
				swap_ruler_traits = {
					remove =fleets_diligence_IV
					add =fleets_diligence_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_III
				}
				swap_ruler_traits = {
					remove =fleets_diligence_III
					add =fleets_diligence_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_II
				}
				swap_ruler_traits = {
					remove =fleets_diligence_II
					add =fleets_diligence_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_I
				}
				swap_ruler_traits = {
					remove =fleets_diligence_I
					add =fleets_diligence_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fleets_diligence_V}
				}
				add_country_leader_trait = fleets_diligence_I			
			}
			}
		}
	}

	promptitude_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = promptitude_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = promptitude_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost70
		cost = 20
		days_remove = 20
#days40
		modifier = {			
			political_power_gain=-0.1
			naval_speed_factor=-0.4
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = promptitude_IV
				}
				swap_ruler_traits = {
					remove =promptitude_IV
					add =promptitude_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_III
				}
				swap_ruler_traits = {
					remove =promptitude_III
					add =promptitude_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_II
				}
				swap_ruler_traits = {
					remove =promptitude_II
					add =promptitude_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_I
				}
				swap_ruler_traits = {
					remove =promptitude_I
					add =promptitude_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = promptitude_V}
				}
				add_country_leader_trait = promptitude_I			
			}
			}
		}
	}
	
	
	
	convoys_practicality_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = convoys_practicality_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = convoys_practicality_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost60
		cost = 20
		days_remove = 50
#days80
		modifier = {			
			political_power_gain=-0.15
			transport_capacity=0.35
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_IV
				}
				swap_ruler_traits = {
					remove =convoys_practicality_IV
					add =convoys_practicality_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_III
				}
				swap_ruler_traits = {
					remove =convoys_practicality_III
					add =convoys_practicality_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_II
				}
				swap_ruler_traits = {
					remove =convoys_practicality_II
					add =convoys_practicality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_I
				}
				swap_ruler_traits = {
					remove =convoys_practicality_I
					add =convoys_practicality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = convoys_practicality_V}
				}
				add_country_leader_trait = convoys_practicality_I			
			}
			}
		}
	}
	mine_usage_school_easy  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = mine_usage_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = mine_usage_V}
			has_country_flag=leaders_school_easy
		}


		fire_only_once = no
#cost60
		cost = 20
		days_remove = 20
#days40
		modifier = {			
			political_power_gain=-0.1
			naval_accidents_chance=0.3
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = mine_usage_IV
				}
				swap_ruler_traits = {
					remove =mine_usage_IV
					add =mine_usage_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_III
				}
				swap_ruler_traits = {
					remove =mine_usage_III
					add =mine_usage_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_II
				}
				swap_ruler_traits = {
					remove =mine_usage_II
					add =mine_usage_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_I
				}
				swap_ruler_traits = {
					remove =mine_usage_I
					add =mine_usage_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = mine_usage_V}
				}
				add_country_leader_trait = mine_usage_I			
			}
			}
		}
	}

#EASY

#REALISTIC
	floating_airport_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = floating_airport_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = floating_airport_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost110
		cost = 160
		days_remove = 70
#days60
		modifier = {			
			political_power_gain=-0.3
			carrier_capacity_penalty_reduction=0.6
			navy_carrier_air_agility_factor =-0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = floating_airport_IV
				}
				swap_ruler_traits = {
					remove =floating_airport_IV
					add =floating_airport_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_III
				}
				swap_ruler_traits = {
					remove =floating_airport_III
					add =floating_airport_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_II
				}
				swap_ruler_traits = {
					remove =floating_airport_II
					add =floating_airport_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_I
				}
				swap_ruler_traits = {
					remove =floating_airport_I
					add =floating_airport_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = floating_airport_V}
				}
				add_country_leader_trait = floating_airport_I			
			}
			}
		}
	}
	consolidated_fleet_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = consolidated_fleet_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = consolidated_fleet_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost90
		cost = 140
		days_remove = 80
#days70
		modifier = {			
			political_power_gain=-0.3
			naval_morale_factor=-0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_IV
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_IV
					add =consolidated_fleet_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_III
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_III
					add =consolidated_fleet_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_II
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_II
					add =consolidated_fleet_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_I
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_I
					add =consolidated_fleet_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = consolidated_fleet_V}
				}
				add_country_leader_trait = consolidated_fleet_I			
			}
			}
		}
	}
	navy_engineers_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = navy_engineers_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = navy_engineers_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost85
		cost = 135
		days_remove = 85
#days65
		modifier = {			
			political_power_gain=-0.35
			naval_attrition=0.5
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_IV
				}
				swap_ruler_traits = {
					remove =navy_engineers_IV
					add =navy_engineers_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_III
				}
				swap_ruler_traits = {
					remove =navy_engineers_III
					add =navy_engineers_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_II
				}
				swap_ruler_traits = {
					remove =navy_engineers_II
					add =navy_engineers_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_I
				}
				swap_ruler_traits = {
					remove =navy_engineers_I
					add =navy_engineers_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = navy_engineers_V}
				}
				add_country_leader_trait = navy_engineers_I			
			}
			}
		}
	}
	
		fleets_diligence_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fleets_diligence_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fleets_diligence_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost85
		cost = 135
		days_remove = 80
#days55
		modifier = {			
			political_power_gain=-0.3
			naval_accidents_chance=0.6
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_IV
				}
				swap_ruler_traits = {
					remove =fleets_diligence_IV
					add =fleets_diligence_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_III
				}
				swap_ruler_traits = {
					remove =fleets_diligence_III
					add =fleets_diligence_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_II
				}
				swap_ruler_traits = {
					remove =fleets_diligence_II
					add =fleets_diligence_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_I
				}
				swap_ruler_traits = {
					remove =fleets_diligence_I
					add =fleets_diligence_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fleets_diligence_V}
				}
				add_country_leader_trait = fleets_diligence_I			
			}
			}
		}
	}

promptitude_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = promptitude_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = promptitude_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost70
		cost = 120
		days_remove = 80
#days40
		modifier = {			
			political_power_gain=-0.25
			naval_speed_factor=-0.4
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = promptitude_IV
				}
				swap_ruler_traits = {
					remove =promptitude_IV
					add =promptitude_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_III
				}
				swap_ruler_traits = {
					remove =promptitude_III
					add =promptitude_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_II
				}
				swap_ruler_traits = {
					remove =promptitude_II
					add =promptitude_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_I
				}
				swap_ruler_traits = {
					remove =promptitude_I
					add =promptitude_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = promptitude_V}
				}
				add_country_leader_trait = promptitude_I			
			}
			}
		}
	}
	
	convoys_practicality_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = convoys_practicality_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = convoys_practicality_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost60
		cost = 110
		days_remove = 90
#days80
		modifier = {			
			political_power_gain=-0.3
			transport_capacity=0.7
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_IV
				}
				swap_ruler_traits = {
					remove =convoys_practicality_IV
					add =convoys_practicality_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_III
				}
				swap_ruler_traits = {
					remove =convoys_practicality_III
					add =convoys_practicality_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_II
				}
				swap_ruler_traits = {
					remove =convoys_practicality_II
					add =convoys_practicality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_I
				}
				swap_ruler_traits = {
					remove =convoys_practicality_I
					add =convoys_practicality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = convoys_practicality_V}
				}
				add_country_leader_trait = convoys_practicality_I			
			}
			}
		}
	}
	mine_usage_school_realistic  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = mine_usage_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = mine_usage_V}
			has_country_flag=leaders_school_realistic
		}


		fire_only_once = no
#cost60
		cost = 110
		days_remove = 60
#days40
		modifier = {			
			political_power_gain=-0.3
			naval_accidents_chance=0.6
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = mine_usage_IV
				}
				swap_ruler_traits = {
					remove =mine_usage_IV
					add =mine_usage_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_III
				}
				swap_ruler_traits = {
					remove =mine_usage_III
					add =mine_usage_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_II
				}
				swap_ruler_traits = {
					remove =mine_usage_II
					add =mine_usage_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_I
				}
				swap_ruler_traits = {
					remove =mine_usage_I
					add =mine_usage_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = mine_usage_V}
				}
				add_country_leader_trait = mine_usage_I			
			}
			}
		}
	}
	
#REALISTIC

#CHEATS
	floating_airport_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {			
			NOT = { has_country_leader_with_trait = floating_airport_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = floating_airport_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost110
		cost = 0
		days_remove = 0
#days60
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = floating_airport_IV
				}
				swap_ruler_traits = {
					remove =floating_airport_IV
					add =floating_airport_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_III
				}
				swap_ruler_traits = {
					remove =floating_airport_III
					add =floating_airport_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_II
				}
				swap_ruler_traits = {
					remove =floating_airport_II
					add =floating_airport_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_I
				}
				swap_ruler_traits = {
					remove =floating_airport_I
					add =floating_airport_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = floating_airport_V}
				}
				add_country_leader_trait = floating_airport_I			
			}
			}
		}
	}
	consolidated_fleet_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = consolidated_fleet_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = consolidated_fleet_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days70
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_IV
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_IV
					add =consolidated_fleet_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_III
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_III
					add =consolidated_fleet_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_II
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_II
					add =consolidated_fleet_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_I
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_I
					add =consolidated_fleet_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = consolidated_fleet_V}
				}
				add_country_leader_trait = consolidated_fleet_I			
			}
			}
		}
	}
	navy_engineers_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = navy_engineers_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = navy_engineers_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days65
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_IV
				}
				swap_ruler_traits = {
					remove =navy_engineers_IV
					add =navy_engineers_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_III
				}
				swap_ruler_traits = {
					remove =navy_engineers_III
					add =navy_engineers_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_II
				}
				swap_ruler_traits = {
					remove =navy_engineers_II
					add =navy_engineers_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_I
				}
				swap_ruler_traits = {
					remove =navy_engineers_I
					add =navy_engineers_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = navy_engineers_V}
				}
				add_country_leader_trait = navy_engineers_I			
			}
			}
		}
	}
	
		fleets_diligence_school_cheats = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fleets_diligence_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fleets_diligence_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days55
		modifier = {			
			political_power_gain=0
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_IV
				}
				swap_ruler_traits = {
					remove =fleets_diligence_IV
					add =fleets_diligence_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_III
				}
				swap_ruler_traits = {
					remove =fleets_diligence_III
					add =fleets_diligence_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_II
				}
				swap_ruler_traits = {
					remove =fleets_diligence_II
					add =fleets_diligence_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_I
				}
				swap_ruler_traits = {
					remove =fleets_diligence_I
					add =fleets_diligence_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fleets_diligence_V}
				}
				add_country_leader_trait = fleets_diligence_I			
			}
			}
		}
	}

promptitude_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = promptitude_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = promptitude_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost70
		cost = 0
		days_remove = 0
#days40
		modifier = {			
			political_power_gain=0
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = promptitude_IV
				}
				swap_ruler_traits = {
					remove =promptitude_IV
					add =promptitude_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_III
				}
				swap_ruler_traits = {
					remove =promptitude_III
					add =promptitude_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_II
				}
				swap_ruler_traits = {
					remove =promptitude_II
					add =promptitude_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_I
				}
				swap_ruler_traits = {
					remove =promptitude_I
					add =promptitude_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = promptitude_V}
				}
				add_country_leader_trait = promptitude_I			
			}
			}
		}
	}
	
	
	convoys_practicality_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = convoys_practicality_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = convoys_practicality_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days80
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_IV
				}
				swap_ruler_traits = {
					remove =convoys_practicality_IV
					add =convoys_practicality_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_III
				}
				swap_ruler_traits = {
					remove =convoys_practicality_III
					add =convoys_practicality_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_II
				}
				swap_ruler_traits = {
					remove =convoys_practicality_II
					add =convoys_practicality_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_I
				}
				swap_ruler_traits = {
					remove =convoys_practicality_I
					add =convoys_practicality_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = convoys_practicality_V}
				}
				add_country_leader_trait = convoys_practicality_I			
			}
			}
		}
	}
	mine_usage_school_cheats  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = mine_usage_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = mine_usage_V}
			has_country_flag=leaders_school_cheats
		}


		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days40
		modifier = {			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = mine_usage_IV
				}
				swap_ruler_traits = {
					remove =mine_usage_IV
					add =mine_usage_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_III
				}
				swap_ruler_traits = {
					remove =mine_usage_III
					add =mine_usage_IV
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_II
				}
				swap_ruler_traits = {
					remove =mine_usage_II
					add =mine_usage_III
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_I
				}
				swap_ruler_traits = {
					remove =mine_usage_I
					add =mine_usage_II
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = mine_usage_V}
				}
				add_country_leader_trait = mine_usage_I			
			}
			}
		}
	}
	
	
#CHEATS

#CHEATS_MAX
	floating_airport_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {			
			NOT = { has_country_leader_with_trait = floating_airport_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = floating_airport_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost110
		cost = 0
		days_remove = 0
#days60
		modifier = {		
		political_power_gain=0	
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = floating_airport_IV
				}
				swap_ruler_traits = {
					remove =floating_airport_IV
					add =floating_airport_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_III
				}
				swap_ruler_traits = {
					remove =floating_airport_III
					add =floating_airport_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_II
				}
				swap_ruler_traits = {
					remove =floating_airport_II
					add =floating_airport_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = floating_airport_I
				}
				swap_ruler_traits = {
					remove =floating_airport_I
					add =floating_airport_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = floating_airport_V}
				}
				add_country_leader_trait = floating_airport_V			
			}
			}
		}
	}
	consolidated_fleet_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = consolidated_fleet_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = consolidated_fleet_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost90
		cost = 0
		days_remove = 0
#days70
		modifier = {		
		political_power_gain=0	
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_IV
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_IV
					add =consolidated_fleet_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_III
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_III
					add =consolidated_fleet_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_II
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_II
					add =consolidated_fleet_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = consolidated_fleet_I
				}
				swap_ruler_traits = {
					remove =consolidated_fleet_I
					add =consolidated_fleet_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = consolidated_fleet_V}
				}
				add_country_leader_trait = consolidated_fleet_V			
			}
			}
		}
	}
	navy_engineers_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = navy_engineers_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = navy_engineers_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days65
		modifier = {	
		political_power_gain=0		
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_IV
				}
				swap_ruler_traits = {
					remove =navy_engineers_IV
					add =navy_engineers_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_III
				}
				swap_ruler_traits = {
					remove =navy_engineers_III
					add =navy_engineers_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_II
				}
				swap_ruler_traits = {
					remove =navy_engineers_II
					add =navy_engineers_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = navy_engineers_I
				}
				swap_ruler_traits = {
					remove =navy_engineers_I
					add =navy_engineers_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = navy_engineers_V}
				}
				add_country_leader_trait = navy_engineers_V			
			}
			}
		}
	}
	
		fleets_diligence_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = fleets_diligence_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = fleets_diligence_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost85
		cost = 0
		days_remove = 0
#days55
		modifier = {			
			political_power_gain=0
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_IV
				}
				swap_ruler_traits = {
					remove =fleets_diligence_IV
					add =fleets_diligence_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_III
				}
				swap_ruler_traits = {
					remove =fleets_diligence_III
					add =fleets_diligence_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_II
				}
				swap_ruler_traits = {
					remove =fleets_diligence_II
					add =fleets_diligence_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = fleets_diligence_I
				}
				swap_ruler_traits = {
					remove =fleets_diligence_I
					add =fleets_diligence_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = fleets_diligence_V}
				}
				add_country_leader_trait = fleets_diligence_V			
			}
			}
		}
	}

	promptitude_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_flag = leaders_school_educating}
			NOT = { has_country_leader_with_trait = promptitude_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = promptitude_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost70
		cost = 0
		days_remove = 0
#days40
		modifier = {			
			political_power_gain=0
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = promptitude_IV
				}
				swap_ruler_traits = {
					remove =promptitude_IV
					add =promptitude_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_III
				}
				swap_ruler_traits = {
					remove =promptitude_III
					add =promptitude_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_II
				}
				swap_ruler_traits = {
					remove =promptitude_II
					add =promptitude_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = promptitude_I
				}
				swap_ruler_traits = {
					remove =promptitude_I
					add =promptitude_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = promptitude_V}
				}
				add_country_leader_trait = promptitude_V			
			}
			}
		}
	}
	
	
	convoys_practicality_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = convoys_practicality_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = convoys_practicality_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days80
		modifier = {
		political_power_gain=0			
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_IV
				}
				swap_ruler_traits = {
					remove =convoys_practicality_IV
					add =convoys_practicality_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_III
				}
				swap_ruler_traits = {
					remove =convoys_practicality_III
					add =convoys_practicality_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_II
				}
				swap_ruler_traits = {
					remove =convoys_practicality_II
					add =convoys_practicality_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = convoys_practicality_I
				}
				swap_ruler_traits = {
					remove =convoys_practicality_I
					add =convoys_practicality_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = convoys_practicality_V}
				}
				add_country_leader_trait = convoys_practicality_V			
			}
			}
		}
	}
	mine_usage_school_cheats_max  = {
		
		icon = GFX_decision_icon_default

		allowed = {			
		}

		available = {
			NOT = { has_country_leader_with_trait = mine_usage_V}
		}

		visible = {
			NOT = {has_country_leader_with_trait = mine_usage_V}
			has_country_flag=leaders_school_cheats_max
		}


		fire_only_once = no
#cost60
		cost = 0
		days_remove = 0
#days40
		modifier = {	
		political_power_gain=0		
		}

		ai_will_do = {
			base = 2
		}
		complete_effect = {
			set_country_flag = leaders_school_educating
		}
		
		remove_effect = {
			clr_country_flag = leaders_school_educating
			ROOT = {if ={limit = {has_country_flag=leaders_school_notify}country_event = leaders_school.9}}
			FROM = {
			if = {
				limit = {
					has_country_leader_with_trait = mine_usage_IV
				}
				swap_ruler_traits = {
					remove =mine_usage_IV
					add =mine_usage_V
				} 		
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_III
				}
				swap_ruler_traits = {
					remove =mine_usage_III
					add =mine_usage_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_II
				}
				swap_ruler_traits = {
					remove =mine_usage_II
					add =mine_usage_V
				} 				
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = mine_usage_I
				}
				swap_ruler_traits = {
					remove =mine_usage_I
					add =mine_usage_V
				} 		
			}
			
			else_if = {
				limit = {
					NOT = {has_country_leader_with_trait = mine_usage_V}
				}
				add_country_leader_trait = mine_usage_V			
			}
			}
		}
	}
	

#CHEATS_MAX


}