sukhothai_missions_1 = {
	slot = 1
	generic = no
	ai = yes
	potential = {
		tag = SUK
	}
	has_country_shield = yes
	
	suk_the_first_thai_crown_mission = {
		icon = mission_upper_burma_campaign
		required_missions = {  }
		position = 1
		trigger = {
			prestige = 50
			legitimacy = 80
			has_regency = no
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_sukhothai_dynastic_ties"
				duration = 10950
			}
		}
	}
	suk_pho_khun_mission = {
		icon = mission_taksin_the_great
		required_missions = { suk_the_first_thai_crown_mission }
		position = 2
		trigger = {
			stability = 3
			NOT = { average_unrest = 3 }
			NOT = { num_of_rebel_armies = 1 }
			NOT = { num_of_rebel_controlled_provinces = 1 }
		}
		effect = {
			add_legitimacy = 50
			country_event = {
				id = mmetr_SUK_mission_events.1
			}
		}
	}
	suk_royal_elephants_mission = {
		icon = mission_mnd_siam_royal_duel
		required_missions = { suk_pho_khun_mission }
		position = 3
		trigger = {
			cavalry_fraction = 0.15
			army_tradition = 65
			is_monarch_leader = yes
		}
		effect = {
			country_event = {
				id = mmetr_SUK_mission_events.2
			}
			add_country_modifier = {
				name = "me_suk_war_elephants"
				duration = 10950
			}
		}
	}
	suk_expand_the_mandala_mission = {
		icon = mission_a_great_mandala
		required_missions = {  }
		position = 4
		trigger = {
			calc_true_if = {
				all_subject_country = {
					has_opinion = {
						who = ROOT
						value = 150
					}
				}
				amount = 2
			}
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_expanded_mandala"
				duration = 14600
			}
		}
	}
	suk_secure_tribute_mission = {
		icon = mission_chinese_merchant
		required_missions = { suk_expand_the_mandala_mission suk_unite_the_mueang_mission }
		position = 5
		trigger = {
			calc_true_if = {
				all_subject_country = {
					is_subject_of_type_with_overlord = { 
						who = ROOT
						type = tributary_state 
					}
				}
				amount = 3
			}
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_tribute_to_sukhothai"
				duration = 10950
			}
		}
	}
	suk_contest_the_cham_mission = {
		icon = mission_mnd_khm_protect_the_cham
		required_missions = { suk_challenge_the_empire_mission }
		position = 6
		provinces_to_highlight = {
			area = champa_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			champa_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			if  = {
				limit = {
					any_country = {
						is_free_or_tributary_trigger = yes
						OR = {
							primary_culture = vietnamese
							primary_culture = vietnamese_new
						}
					}
				}
				every_country = {
					limit = {
						is_free_or_tributary_trigger = yes
						OR = {
							primary_culture = vietnamese
							primary_culture = vietnamese_new
						}
					}
					reverse_add_casus_belli = {
						target = ROOT
						type = cb_vassalize_mission
						months = 120
					}
				}
			}
			else = {
				vietnam_area = {
					limit = {
						NOT = { is_core = ROOT }
						NOT = { is_permanent_claim = ROOT }
					}
					add_permanent_claim = ROOT
				}
				red_river_delta_area = {
					limit = {
						NOT = { is_core = ROOT }
						NOT = { is_permanent_claim = ROOT }
					}
					add_permanent_claim = ROOT
				}
			}
		}
	}
	suk_viet_diplomacy_mission = {
		icon = mission_mnd_siam_subjugate_vietnam
		required_missions = { suk_contest_the_cham_mission suk_hegemonize_the_khmer_mission }
		position = 7
		provinces_to_highlight = {
			OR = {
				area = vietnam_area
				area = red_river_delta_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			OR = {
				any_country = {
					OR = {
						primary_culture = vietnamese
						primary_culture = vietnamese_new
					}
					has_opinion = {
						who = ROOT
						value = 100
					}
				}
				AND = {
					vietnam_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
					red_river_delta_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					any_country = {
						OR = {
							primary_culture = vietnamese
							primary_culture = vietnamese_new
						}
						has_opinion = {
							who = ROOT
							value = 100
						}
					}
				}
				add_dip_power = 100
			}
			if = {
				limit = {
					vietnam_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
					red_river_delta_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
				}
				add_army_tradition = 20
			}
		}
	}
	suk_imperial_ambitions_mission = {
		icon = mission_seize_the_dragon_throne
		required_missions = { suk_viet_diplomacy_mission }
		position = 8
		provinces_to_highlight = {
			if = {
				limit = {
					any_country = {
						is_emperor_of_china = yes
						NOT = { tag = ROOT }
					}
				}
				owner = {
					is_emperor_of_china = yes
				}
			}
			else = {
				superregion = china_superregion
				NOT = {
					country_or_non_sovereign_subject_holds = ROOT
				}
			}
		}
		trigger = {
			if = {
				limit = {
					has_dlc = "Mandate of Heaven"
				}
				OR = {
					NOT = {
						any_country = {
							is_emperor_of_china = yes
						}
					}
					is_emperor_of_china = yes
				}
			}
			calc_true_if = {
				amount = 50
				all_province = {
					superregion = china_superregion
					country_or_non_sovereign_subject_holds = ROOT
				}
			}
		}
		effect = {
			if = {
				limit = {
					has_dlc = "Mandate of Heaven"
					is_emperor_of_china = yes
				}
				add_country_modifier = {
					name = siam_mandate_modifier
					duration = -1
				}
			}
			else = {
				add_adm_power = 100
				add_dip_power = 100
				add_mil_power = 100
				add_prestige = 50
			}
		}
	}
	suk_a_thai_silk_road_mission = {
		icon = mission_chinese_market
		required_missions = { suk_imperial_ambitions_mission suk_control_the_spice_trade_mission }
		position = 10
		provinces_to_highlight = {
			if = {
				limit = {
					ROOT = {
						NOT = { silk = 8 }
					}
				}
				trade_goods = silk
				has_discovered = ROOT
			}
			else = {
				always = no
			}
		}
		trigger = {
			production_leader = {
				trade_goods = silk
			}
			silk = 8
		}
		effect = {
			add_country_modifier = {
				name = "silk_road_modifier"
				duration = 10950
			}
			add_mercantilism = 2
			add_prestige = 10
		}
	}
}

sukhothai_missions_2 = {
	slot = 2
	generic = no
	ai = yes
	potential = {
		tag = SUK
	}
	has_country_shield = yes
	
	suk_control_the_mae_nam_mission = {
		icon = mission_advance_to_the_dnieper
		required_missions = { suk_cultivate_sukhothai_mission suk_the_first_thai_crown_mission }
		position = 2
		provinces_to_highlight = {
			OR = {
				AND = {
					province_id = 1365	#Gulf of Siam trade node
					NOT = { is_strongest_trade_power = ROOT }
				}
				AND = {
					province_id = 600	#Ayutthaya
					NOT = { 
						owned_by = ROOT
						is_core = ROOT
					}
				}
				AND = {
					province_id = 4831	#Bangkok
					NOT = { 
						owned_by = ROOT
						is_core = ROOT
						OR = {
							has_building = marketplace
							has_building = trade_post
							has_building = trade_depot
						}
					}
				}
			}
			has_discovered = ROOT
		}
		trigger = {
			owns_core_province =  600	#Ayutthaya
			owns_core_province = 4831	#Bangkok
			1365 = {
				is_strongest_trade_power = ROOT
			}
			4831 = {
				OR = {
					has_building = marketplace
					has_building = trade_post
					has_building = trade_depot
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_chao_phraya_trade"
				duration = -1
			}
		}
	}
	suk_thai_silk_mission = {
		icon = mission_son_own_develop_clothes_and_salt
		required_missions = { suk_control_the_mae_nam_mission suk_chinese_diplomacy_mission }
		position = 3
		provinces_to_highlight = {
			trade_goods = silk
			OR = {
				owned_by = ROOT
			}
		}
		trigger = {
			any_owned_province = {
				trade_goods = silk
			}
			any_owned_province = {
				trade_goods = silk
				base_production = 7
			}
		}
		effect = {
			country_event = {
				id = mmetr_SUK_mission_events.8
			}
			tooltip = {
				add_country_modifier = {
					name = "me_suk_thai_silk"
					duration = 10950
				}
			}
		}
	}
	suk_unite_the_mueang_mission = {
		icon = mission_rajput_mansabdars
		required_missions = { }
		position = 4
		trigger = {
			OR = {
				estate_loyalty = {
					estate = estate_nobles
					loyalty = 80
				}
				num_of_estate_agendas_completed = {
					estate = estate_nobles
					value = 4
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_loyal_mueang"
				duration = 10950
			}
		}
	}
	suk_challenge_the_empire_mission = {
		icon = mission_angkor_wat
		required_missions = { suk_thai_liberation_mission }
		position = 5
		provinces_to_highlight = {
			province_id = 609
			NOT = {
				owned_by = ROOT
				is_core = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			owns_core_province = 609	#Angkor
		}
		effect = {
			country_event = {
				id = mmetr_SUK_mission_events.7
			}
			add_prestige = 20
			angkor_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
			cambodia_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
		}
	}
	suk_hegemonize_the_khmer_mission = {
		icon = mission_mnd_khm_resurgence
		required_missions = { suk_challenge_the_empire_mission }
		position = 6
		provinces_to_highlight = {
			OR = {
				area = angkor_area
				area = cambodia_area
				area = mekong_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			angkor_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			cambodia_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			mekong_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			if = {
				limit = {
					num_of_subjects = 1
				}
				every_subject_country = {
					add_liberty_desire = -20
				}
				add_prestige = 20
			}
			else = {
				add_prestige = 20
			}
		}
	}
	suk_control_the_spice_trade_mission = {
		icon = mission_dominate_persian_gulf
		required_missions = { suk_secure_malacca_ports_mission }
		position = 9
		provinces_to_highlight = {
			OR = {
				AND = {
					province_id = 1361
					NOT = { is_strongest_trade_power = ROOT }
				}
				AND = {
					NOT = { country_or_non_sovereign_subject_holds = ROOT }
					province_has_center_of_trade_of_level = 1
					region = malaya_region
				}
			}
		}
		trigger = {
			trading_bonus = {
				trade_goods = spices
				value = yes
			}
			1361 = {
				is_strongest_trade_power = ROOT
			}
			calc_true_if = {
				amount = 4
				all_province = {
					country_or_non_sovereign_subject_holds = ROOT
					province_has_center_of_trade_of_level = 1
					region = malaya_region
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "siam_trade"
				duration = -1
			}
			every_province = {
				limit = {
					region = indonesia_region
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
					NOT = { country_or_non_sovereign_subject_holds = ROOT }
					province_has_center_of_trade_of_level = 1
				}
				add_permanent_claim = ROOT
			}			
		}
	}
}

sukhothai_missions_3 = {
	slot = 3
	generic = no
	ai = yes
	potential = {
		tag = SUK
	}
	has_country_shield = yes
	
	suk_cultivate_sukhothai_mission = {
		icon = mission_mnd_khm_avenge_angkor
		required_missions = {  }
		position = 1
		provinces_to_highlight = {
			province_id = 601	#Sukhothai
			NOT = {
				num_of_times_improved_by_owner = 3
				num_of_buildings_in_province = 2
			}
			has_discovered = ROOT
		}
		trigger = {
			601 = {
				is_capital_of = ROOT
			}
			601 = {
				num_of_times_improved_by_owner = 3
			}
			601 = {
				num_of_buildings_in_province = 2
			}
		}
		effect = {
			add_prestige = 15
			601 = {
				add_province_modifier = {
					name = "me_suk_thriving_capital"
					duration = 10950
				}
			}
		}
	}
	suk_chinese_diplomacy_mission = {
		icon = mission_chinese_warlords_alliance
		required_missions = { suk_cultivate_sukhothai_mission }
		position = 2
		trigger = {
			OR = {
				any_country = {	
					is_emperor_of_china = yes
					has_opinion = {
						who = ROOT
						value = 100
					}
				}
				any_country = {	
					capital_scope = {
						superregion = china_superregion
					}
					has_opinion = {
						who = ROOT
						value = 100
					}
				}
				custom_trigger_tooltip = {		#Bypassed if conditions met
					tooltip = suk_chinese_diplomacy_mission.tt
					NOT = {
						any_country = {	
							is_emperor_of_china = yes
						}
						any_country = {	
							capital_scope = {
								superregion = china_superregion
							}
						}
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					OR = {
						any_country = {	
							is_emperor_of_china = yes
						}
						any_country = {	
							capital_scope = {
								superregion = china_superregion
							}
						}
					}
				}
				country_event = {
					id = mmetr_SUK_mission_events.9
				}
			}
			if = {
				limit = {
					NOT = {
						any_country = {	
							is_emperor_of_china = yes
						}
						any_country = {	
							capital_scope = {
								superregion = china_superregion
							}
						}
					}
				}
				#no effect - bypassed
			}
		}
	}
	suk_one_million_rice_fields_mission = {
		icon = mission_a_million_rice_fields
		required_missions = { suk_thai_liberation_mission }
		position = 5
		provinces_to_highlight = {
			area = northern_thai_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			northern_thai_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_country_modifier = {
				name = "million_rice_fields"
				duration = 7300
			}
			if = {
				limit = {
					NOT = { exists = LNA }
				}
				country_event = {
					id = mmetr_SUK_mission_events.4
				}
			}
		}
	}
	suk_rule_the_tanao_si_mission = {
		icon = mission_hills_of_gondwana
		required_missions = { suk_march_to_lopburi_mission }
		position = 7
		provinces_to_highlight = {
			OR = {
				area = north_tenasserim_area
				
				#tenasserim_area that is NOT the Andaman islands!
				province_id = 593
				province_id = 2390
				province_id = 2391
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			north_tenasserim_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			
			#tenasserim_area that is NOT the Andaman islands!
			owns_or_non_sovereign_subject_of = 593
			owns_or_non_sovereign_subject_of = 2390
			owns_or_non_sovereign_subject_of = 2391
		}
		effect = {
			north_tenasserim_area = {
				limit = {
					country_or_non_sovereign_subject_holds = ROOT
				}
				add_province_modifier = {
					name = "me_suk_jungle_outposts"
					duration = 10950
				}
			}
			tenasserim_area = {
				limit = {
					country_or_non_sovereign_subject_holds = ROOT
				}
				add_province_modifier = {
					name = "me_suk_jungle_outposts"
					duration = 10950
				}
			}
		}
	}
	suk_secure_malacca_ports_mission = {
		icon = mission_cromandel_coast
		required_missions = { suk_rule_the_tanao_si_mission }
		position = 8
		provinces_to_highlight = {
			OR = {
				area = malacca_area
				area = johor_area
			}
			NOT = {
				OR = {
					country_or_non_sovereign_subject_holds = ROOT
					is_empty = yes
				}
			}
			has_discovered = ROOT
		}
		trigger = {
			malacca_area = {
				type = all
				OR = {
					country_or_non_sovereign_subject_holds = ROOT
					is_empty = yes
				}
			}
			johor_area = {
				type = all
				OR = {
					country_or_non_sovereign_subject_holds = ROOT
					is_empty = yes
				}
			}
		}
		effect = {
			add_navy_tradition = 20
			add_country_modifier = {
				name = "me_suk_merchants_of_malacca"
				duration = -1
			}
		}
	}
	suk_a_grand_thai_navy_mission = {
		icon = mission_khmer_galleys
		required_missions = { suk_secure_malacca_ports_mission suk_launggyet_kingdom_mission }
		position = 10
		trigger = {
			num_of_admirals = 1
			OR = {
				num_of_heavy_ship = 3
				num_of_galley = 10
			}
			num_of_light_ship = 10
		}
		effect = {
			add_yearly_sailors = 1
			add_navy_tradition = 10
			add_country_modifier = {
				name = "me_suk_royal_thai_navy"
				duration = 10950
			}
		}
	}
}

sukhothai_missions_4 = {
	slot = 4
	generic = no
	ai = yes
	potential = {
		tag = SUK
	}
	has_country_shield = yes
	
	suk_monks_of_the_dharma_mission = {
		icon = mission_buddhist_monk_praying
		required_missions = { suk_cultivate_sukhothai_mission suk_sponsor_thai_wat_mission }
		position = 2
		trigger = {
			num_of_estate_agendas_completed = {
				estate = estate_church
				value = 3
			}
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_monastic_support"
				duration = 10950
			}
		}
	}
	suk_protector_of_buddhism_mission = {
		icon = mission_dharma_mission_religious_harmony
		required_missions = { suk_monks_of_the_dharma_mission }
		position = 3
		trigger = {
			religion_group = buddhic
			karma = 30
			calc_true_if = {
				all_subject_country = {
					religion_group = buddhic
				}
				amount = 3
			}
		}
		effect = {
			add_karma = 25
			if = {
				limit = {
					num_of_subjects = 1
				}
				every_subject_country = {
					limit = {
						religion_group = buddhic
					}
					add_liberty_desire = -20
				}
			}
		}
	}
	suk_thai_liberation_mission = {
		icon = mission_conquer_burma
		required_missions = {  }
		position = 4
		trigger = {
			is_monarch_leader = yes
			num_of_generals = 1
			army_size_percentage = 1.0
		}
		effect = {
			add_country_modifier = {
				name = "oma_buildforces_mod"
				duration = 5475
			}
			northern_thai_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
			central_thai_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500	#influences ai likelihood to focus
		}
	}
	suk_march_to_lopburi_mission = {
		icon = mission_conquer_siam
		required_missions = { suk_thai_liberation_mission }
		position = 6
		provinces_to_highlight = {
			area = central_thai_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			central_thai_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_accepted_culture_or_dip_power = { culture = central_thai }
			country_event = {
				id = mmetr_SUK_mission_events.5
			}
			north_tenasserim_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
			lower_burma_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
		}
	}
	suk_mon_tribute_mission = {
		icon = mission_kowtow
		required_missions = { suk_march_to_lopburi_mission }
		position = 7
		provinces_to_highlight = {
			OR = {
				area = lower_burma_area
				culture = mon
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			lower_burma_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			calc_true_if = {
				amount = 3
				all_province = {
					country_or_non_sovereign_subject_holds = ROOT
					culture = mon
				}
			}
		}
		effect = {
			if = {
				limit = {
					OR = {
						NOT = { exists = PEG }	#Pegu
						PEG = {
							is_subject_of = ROOT
						}
					}
				}
				country_event = {
					id = mmetr_SUK_mission_events.10
				}
			}
			upper_burma_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
			central_burma_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
		}
	}
	suk_burmese_opposition_mission = {
		icon = mission_restore_the_pagan_kingdom
		required_missions = { suk_mon_tribute_mission }
		position = 8
		provinces_to_highlight = {
			OR = {
				area = upper_burma_area
				area = central_burma_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			upper_burma_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			central_burma_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_army_tradition = 20
		}
	}
	suk_launggyet_kingdom_mission = {
		icon = mission_end_arakan_piracy
		required_missions = { suk_burmese_opposition_mission }
		position = 9
		provinces_to_highlight = {
			area = arakan_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			OR = {
				arakan_area = {
					type = all
					country_or_non_sovereign_subject_holds = ROOT
				}
				ARK = {
					is_subject_of = ROOT
				}
				ARK = {
					alliance_with = ROOT
					has_opinion = {
						who = ROOT
						value = 140
					}
				}
			}
		}
		effect = {
			add_navy_tradition = 15
			create_admiral = { tradition = 80 }
		}
	}
	suk_bengal_campaign_mission = {
		icon = mission_conquer_bengal_dlh
		required_missions = { suk_launggyet_kingdom_mission }
		position = 10
		provinces_to_highlight = {
			OR = {
				area = east_bengal_area
				area = west_bengal_area
				area = north_bengal_area
				area = gaur_area
				area = tripura_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			east_bengal_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT	
			}
			west_bengal_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT	
			}
			north_bengal_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT	
			}
			gaur_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT	
			}
			tripura_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_army_tradition = 15
			add_country_modifier = {
				name = "me_suk_expanding_empire"
				duration = -1
			}
		}
	}
}

sukhothai_missions_5 = {
	slot = 5
	generic = no
	ai = yes
	potential = {
		tag = SUK
	}
	has_country_shield = yes
	
	suk_sponsor_thai_wat_mission = {
		icon = mission_mnd_khm_city_of_temples
		required_missions = {  }
		position = 1
		provinces_to_highlight = {
			province_id = 601	#Sukhothai
			NOT = { 
				has_building = temple
			}
			has_discovered = ROOT
		}
		trigger = {
			temple = 10
			owns_core_province = 601
			601 = {
				has_building = temple
			}
			religious_unity = 0.9
		}
		effect = {
			add_karma = 30
			country_event = {
				id = mmetr_SUK_mission_events.3
			}
			tooltip = {
				601 = {
					add_province_modifier = {
						name = "me_suk_wat_mahathat"
						duration = -1
					}
				}
			}
		}
	}
	suk_land_of_gold_mission = {
		icon = mission_entrepot_of_india
		required_missions = { suk_monks_of_the_dharma_mission }
		position = 3
		trigger = {
			religion_group = buddhic
			grown_by_development = 50
			religious_unity = 0.98
			years_of_income = 2.0
		}
		effect = {
			add_karma = 10
			add_country_modifier = {
				name = "me_suk_suvarnabhumi"
				duration = -1
			}
		}
	}
	suk_xieng_dong_xieng_thong_mission = {
		icon = mission_southeast_asian_wat
		required_missions = { suk_thai_liberation_mission }
		position = 5
		provinces_to_highlight = {
			OR = {
				province_id = 615	#Luang Prabang
				province_id = 614	#Vientiane
			}
		}
		trigger = {
			owns_or_non_sovereign_subject_of = 615
			owns_or_non_sovereign_subject_of = 614
		}
		effect = {
			champasak_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
			vientiane_area = {
				limit = {
					NOT = { is_permanent_claim = ROOT	}
					NOT = { is_core = ROOT	}
				}
				add_permanent_claim = ROOT
			}
		}
	}
	suk_subjugate_the_lao_mission = {
		icon = mission_a_million_elephants
		required_missions = { suk_xieng_dong_xieng_thong_mission }
		position = 6
		provinces_to_highlight = {
			OR = {
				area = north_laos_area
				area = champasak_area
				area = vientiane_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			north_laos_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			champasak_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			vientiane_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			country_event = {
				id = mmetr_SUK_mission_events.6
			}
		}
	}
	suk_tais_of_the_shan_mission = {
		icon = mission_suppress_the_saophasa
		required_missions = { suk_mon_tribute_mission }
		position = 8
		provinces_to_highlight = {
			OR = {
				area = shan_hill_area
				area = karenni_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			has_discovered = ROOT
		}
		trigger = {
			shan_hill_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			karenni_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_country_modifier = {
				name = "me_suk_tai_suzerainty"
				duration = -1
			}
		}
	}
	suk_unite_the_tai_people_mission = {
		icon = mission_chakravarti
		required_missions = { suk_tais_of_the_shan_mission }
		position = 9
		provinces_to_highlight = {
			culture_group = thai_group
			NOT = { owned_by = ROOT }
			has_discovered = ROOT
		}
		trigger = {
			custom_trigger_tooltip = {
				tooltip = suk_unite_the_tai_people_mission.tt
				NOT = {
					any_province = {
						culture_group = thai_group
						NOT = { owned_by = ROOT }
					}
				}
			}
		}
		effect = {
			add_prestige = 50
			add_dip_power = 100
			add_country_modifier = {
				name = "me_suk_kingdom_of_the_tais"
				duration = -1
			}
		}
	}
	suk_defend_lankan_buddhism_mission = {
		icon = mission_protect_lankan_buddhism
		required_missions = { suk_launggyet_kingdom_mission }
		position = 10
		provinces_to_highlight = {
			OR = {
				area = lanka_area
				area = south_lanka_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			religion_group = buddhic
			lanka_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
				religion = ROOT
			}
			south_lanka_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
				religion = ROOT
			}
		}
		effect = {
			add_country_modifier = {
				name = "tau_buddhist_defender"
				duration = -1
			}
		}
	}
}