iroquoians_1 = {
	slot = 1
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Leviathan"
	}
	potential = {
		is_iroquois = yes
		has_dlc = "Leviathan"
		capital_scope = {
			NOT = { continent = new_world }
		}
	}
	has_country_shield = yes
	
	iroquois_the_great_peacemaker = {
		icon = mission_iroquois_the_great_peacemaker
		required_missions = {	}
		provinces_to_highlight = {
			owned_by = ROOT
		}
		position = 1
		
		trigger = {
			all_owned_province = {
				OR = {
					has_building = courthouse
					has_building = native_longhouse
				}
				NOT = { local_autonomy = 30 }
			}
		}
		
		effect = {
			add_dip_power = 50
			if = {
				limit = { 
					NOT = { is_year = 1500 }
				}
				define_advisor = {
					type = theologian
					name = "The Great Peacemaker"
					discount = yes
					culture = iroquois
					religion = totemism
					skill = 3
				}
			}
			else = {
				define_advisor = {
					type = commandant
					name = "00000"
					discount = yes
					culture = iroquois
					religion = totemism
					skill = 2
				}
			}
		}
	}
	
	iroquois_haudenosaunee = {
		icon = mission_iroquois_haudenosaunee
		required_missions = { iroquois_the_great_peacemaker }
		provinces_to_highlight = {	}
		position = 2
		trigger = {
			if = {
				limit = {
					any_country = {
						religion = totemism 
					}
				}
				num_of_allies = 2
				any_ally = {
					religion = totemism
					has_opinion = {
						who = ROOT
						value = 150
					}
				}
				any_ally = {
					religion = totemism
					has_opinion = {
						who = ROOT
						value = 150
					}
				}
			}
			else = {
				num_of_allies = 2
				any_ally = {
					technology_group = north_american
					has_opinion = {
						who = ROOT
						value = 150
					}
				}
				any_ally = {
					technology_group = north_american
					has_opinion = {
						who = ROOT
						value = 150
					}
				}
			}
		}
		
		effect = {
			958 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			959 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			960 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			961 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			964 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
		}
	}
	
	iroquois_first_confederacy = {
		icon = mission_che_principal_peole
		required_missions = { iroquois_haudenosaunee }
		provinces_to_highlight = {	}
		position = 3
		trigger = {
			federation_size = 5
			is_federation_leader = yes
		}
		
		effect = {
			add_dip_power = 100
		}
	}
	
	iroquois_keepers_of_the_eastern_door = {
		icon = mission_impaled_soldies
		required_missions = { iroquois_first_confederacy }
		provinces_to_highlight = {
			continent = north_america
			owned_by = FRA
		}
		position = 4
		trigger = {
			NOT = {
				current_age = age_of_discovery
			}
			total_development = 100
			custom_trigger_tooltip = {
				tooltip = remove_french_tooltip
				capital_scope = {
					region_for_scope_province = {
						type = all
						NOT = {
							owner = {
								tag = FRA
							}
						}
					}
				}
			}
		}
		effect = {
			add_mil_power = 125
			add_country_modifier = {
				name = "iroquois_door_closed"
				duration = 7300
			}
		}
	}
}

iroquoians_2 = {
	slot = 2
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Leviathan"
	}
	potential = {
		is_iroquois = yes
		has_dlc = "Leviathan"
		capital_scope = {
			NOT = { continent = new_world }
		}
	}
	has_country_shield = yes
	
	iroquois_the_three_sisters = {
		icon = mission_iroquois_the_three_sisters
		required_missions = {	}
		provinces_to_highlight = {
			owned_by = ROOT
			NOT = { unrest = 2 }
		}
		position = 1
		
		trigger = {
			stability = 3
			NOT = { average_unrest = 2 }
			NOT = { corruption = 1 }
		}
		
		effect = {
			add_country_modifier = {
				name = "iroquois_blessing_of_the_sisters"
				duration = 7300
			}
			northeast_america_region = {
				limit = {
					owned_by = ROOT
				}
				add_unrest = -1
			}
		}
	}
	
	iroquois_food_surplus = {
		icon = mission_iroquois_food_surplus
		required_missions = { iroquois_the_three_sisters }
		provinces_to_highlight = {
			owned_by = ROOT
			trade_goods = grain
			NOT = { has_building = workshop }
			NOT = { has_building = native_storehouse }
		}
		position = 2
		
		trigger = {
			all_owned_province = {
				OR = {
					has_building = workshop
					has_building = native_storehouse
				}
			}
			trade_goods_produced_amount = {
				trade_goods = grain
				amount = 5
			}
		}
		
		effect = {
			add_mercantilism = 3
		}
	}
	
	iroquois_the_five_nations = {
		icon = mission_iroquois_the_five_nations
		required_missions = { iroquois_haudenosaunee }
		position = 3
		provinces_to_highlight = {
			OR = {
				province_id = 958
				province_id = 959
				province_id = 960
				province_id = 961
				province_id = 964
				province_id = 968
			}
		}
		trigger = {
			968 = {
				owned_by = ROOT
				is_core = ROOT
			}
			959 = {
				owned_by = ROOT
				is_core = ROOT
			}
			960 = {
				owned_by = ROOT
				is_core = ROOT
			}
			958 = {
				owned_by = ROOT
				is_core = ROOT
			}
			961 = {
				owned_by = ROOT
				is_core = ROOT
			}
			964 = {
				owned_by = ROOT
				is_core = ROOT
			}
		}
		
		effect = {
			add_country_modifier = {
				name = "iroquois_one_nation"
				duration = 9125
			}
		}
	}
}