﻿INJECT:open_market = {
	possible = {
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}	
	}
}

INJECT:regime_change = {
	possible = {	
		conquer_unrecognized_permited = yes	
		conquer_china_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:ban_slavery = {
	possible = {
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:conquer_state = {
	possible = {	
		conquer_unrecognized_permited = yes	
		conquer_china_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:return_state = {
	possible = {
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:liberate_subject = {
	possible = {	
		conquer_china_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:liberate_country = {
	possible = {
		conquer_china_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:take_treaty_port = {
	possible = {
		scope:target_country = {
			NOT = { is_country_type = decentralized }
			NOT = { is_subject_of = root }
			is_country_type = unrecognized
			country_rank = rank_value:unrecognized_major_power
		}
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}		
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}		
	}
}

INJECT:make_tributary = {
	possible = {
		conquer_unrecognized_permited = yes	
		conquer_china_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:make_dominion = {
	possible = {
		conquer_unrecognized_permited = yes	
		conquer_china_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:make_protectorate = {
	possible = {
		conquer_china_permited = yes
		conquer_unrecognized_permited = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:transfer_subject = {
	possible = {
		scope:target_country = {
			NOT = { is_country_type = decentralized }
			is_subject = yes
			NOT = { is_subject_of = root }
			NOT = { is_subject_type = subject_type_personal_union }
		}
		conquer_unrecognized_permited = yes	
		conquer_china_permited = yes
		diplomatic_play_has_no_relations_blocker_with_overlord = yes
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}	
	}
}

INJECT:contain_threat = {
	possible = {
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			infamy >= infamy_threshold:pariah
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}
	}
}

INJECT:humiliation = {
	possible = {
		OR = {
			NOT = {has_modifier = perpetual_neutrality}
			scope:target_country = {
				is_country_type = unrecognized
			}
		}
		OR = {
			is_country_type = unrecognized
			scope:target_country = {
				NOT = {has_modifier = perpetual_neutrality}
			}
		}	
	}
}