country_decisions = {
	release_trade_outpost_in_south_china = {
		potential = {
			OR = {
				AND = {
					NOT = { has_dlc = "Wealth of Nations" }
					NOT = { has_dlc = "Dharma" }
				}
				ai = no
			}
			can_be_overlord = trade_outpost
			south_china_region = {
				has_discovered = ROOT
				range = ROOT
			}
			NOT = { has_any_trade_outpost_region_or_area_selected = yes }
			OR = {
				REB = {
					NOT = { check_variable = { which = num_of_autonomy_civil_wars value = 100 } }
				}
				south_china_region = {
					owned_by = ROOT
					has_port = yes
					development = 30
					any_core_country = {
						exists = no
					}
				}
			}
		}
		allow = {
			is_at_war = no
			treasury = 3000
			south_china_region = {
				owned_by = ROOT
				has_port = yes
				development = 30
			}
		}
		effect = {
			set_selected_trade_outpost_region_or_area = { region = yes name = south_china_region }
			country_event = { id = subjects_expanded_trade_outpost_events.1 days = 5 }
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0
				any_subject_country = {
					is_subject_of_type = trade_outpost
					capital_scope = {
						region = south_china_region
					}
				}
			}
		}
	}

	release_trade_outpost_in_north_china = {
		potential = {
			OR = {
				AND = {
					NOT = { has_dlc = "Wealth of Nations" }
					NOT = { has_dlc = "Dharma" }
				}
				ai = no
			}
			can_be_overlord = trade_outpost
			north_china_region = {
				has_discovered = ROOT
				range = ROOT
			}
			NOT = { has_any_trade_outpost_region_or_area_selected = yes }
			OR = {
				REB = {
					NOT = { check_variable = { which = num_of_autonomy_civil_wars value = 100 } }
				}
				north_china_region = {
					owned_by = ROOT
					has_port = yes
					development = 30
					any_core_country = {
						exists = no
					}
				}
			}
		}
		allow = {
			is_at_war = no
			treasury = 3000
			north_china_region = {
				owned_by = ROOT
				has_port = yes
				development = 30
			}
		}
		effect = {
			set_selected_trade_outpost_region_or_area = { region = yes name = north_china_region }
			country_event = { id = subjects_expanded_trade_outpost_events.1 days = 5 }
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0
				any_subject_country = {
					is_subject_of_type = trade_outpost
					capital_scope = {
						region = north_china_region
					}
				}
			}
		}
	}

	release_trade_outpost_in_korea = {
		potential = {
			can_be_overlord = trade_outpost
			korea_region = {
				has_discovered = ROOT
				range = ROOT
			}
			NOT = { has_any_trade_outpost_region_or_area_selected = yes }
			OR = {
				REB = {
					NOT = { check_variable = { which = num_of_autonomy_civil_wars value = 100 } }
				}
				korea_region = {
					owned_by = ROOT
					has_port = yes
					development = 30
					any_core_country = {
						exists = no
					}
				}
			}
		}
		allow = {
			is_at_war = no
			treasury = 3000
			korea_region = {
				owned_by = ROOT
				has_port = yes
				development = 30
			}
		}
		effect = {
			set_selected_trade_outpost_region_or_area = { region = yes name = korea_region }
			country_event = { id = subjects_expanded_trade_outpost_events.1 days = 5 }
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0
				any_subject_country = {
					is_subject_of_type = trade_outpost
					capital_scope = {
						region = korea_region
					}
				}
			}
		}
	}

	release_trade_outpost_in_japan = {
		potential = {
			can_be_overlord = trade_outpost
			japan_region = {
				has_discovered = ROOT
				range = ROOT
			}
			NOT = { has_any_trade_outpost_region_or_area_selected = yes }
			OR = {
				REB = {
					NOT = { check_variable = { which = num_of_autonomy_civil_wars value = 100 } }
				}
				japan_region = {
					owned_by = ROOT
					has_port = yes
					development = 30
					any_core_country = {
						exists = no
					}
				}
			}
		}
		allow = {
			is_at_war = no
			treasury = 3000
			japan_region = {
				owned_by = ROOT
				has_port = yes
				development = 30
			}
		}
		effect = {
			set_selected_trade_outpost_region_or_area = { region = yes name = japan_region }
			country_event = { id = subjects_expanded_trade_outpost_events.1 days = 5 }
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0
				any_subject_country = {
					is_subject_of_type = trade_outpost
					capital_scope = {
						region = japan_region
					}
				}
			}
		}
	}

	release_trade_outpost_in_liaoning = {
		potential = {
			OR = {
				AND = {
					NOT = { has_dlc = "Wealth of Nations" }
					NOT = { has_dlc = "Dharma" }
				}
				ai = no
			}
			can_be_overlord = trade_outpost
			liaoning_area = {
				has_discovered = ROOT
				range = ROOT
			}
			NOT = { has_any_trade_outpost_region_or_area_selected = yes }
			OR = {
				REB = {
					NOT = { check_variable = { which = num_of_autonomy_civil_wars value = 100 } }
				}
				liaoning_area = {
					owned_by = ROOT
					has_port = yes
					development = 30
					any_core_country = {
						exists = no
					}
				}
			}
		}
		allow = {
			is_at_war = no
			treasury = 3000
			liaoning_area = {
				owned_by = ROOT
				has_port = yes
				development = 30
			}
		}
		effect = {
			set_selected_trade_outpost_region_or_area = { area = yes name = liaoning_area }
			country_event = { id = subjects_expanded_trade_outpost_events.1 days = 5 }
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0
				any_subject_country = {
					is_subject_of_type = trade_outpost
					capital_scope = {
						area = liaoning_area
					}
				}
			}
		}
	}
}