﻿default_auto_expand_rule = {
	is_under_construction = no				
	occupancy >= 1
	building_has_goods_shortage = no
	weekly_profit > {
		value = 200
		multiply = level
		#state = { is_incorporated = yes } #çalışmıyor error veriyor
	}
	state.market_access >= 0.8
}

countries_are_valid_rivals = {
	has_overlapping_interests = scope:target_country
	
	trigger_if = {
		limit = {
			country_rank = rank_value:great_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:great_power
				country_rank = rank_value:major_power
				country_rank = rank_value:unrecognized_major_power
			}
		}		
	}
	
	trigger_if = {
		limit = {
			country_rank = rank_value:major_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:great_power
				country_rank = rank_value:major_power
				country_rank = rank_value:unrecognized_major_power
				country_rank = rank_value:minor_power
				country_rank = rank_value:unrecognized_regional_power
			}
		}		
	}

	trigger_if = {
		limit = {
			country_rank = rank_value:minor_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:major_power
				country_rank = rank_value:unrecognized_major_power
				country_rank = rank_value:minor_power
				country_rank = rank_value:unrecognized_regional_power
				country_rank = rank_value:insignificant_power
				country_rank = rank_value:unrecognized_power
			}
		}		
	}

	trigger_if = {
		limit = {
			country_rank = rank_value:insignificant_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:minor_power
				country_rank = rank_value:unrecognized_regional_power
				country_rank = rank_value:insignificant_power
				country_rank = rank_value:unrecognized_power
			}
		}		
	}

	trigger_if = {
		limit = {
			country_rank = rank_value:unrecognized_major_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:great_power
				country_rank = rank_value:major_power
				country_rank = rank_value:unrecognized_major_power
				country_rank = rank_value:minor_power
				country_rank = rank_value:unrecognized_regional_power
			}
		}		
	}

	trigger_if = {
		limit = {
			country_rank = rank_value:unrecognized_regional_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:major_power
				country_rank = rank_value:unrecognized_major_power
				country_rank = rank_value:minor_power
				country_rank = rank_value:unrecognized_regional_power
				country_rank = rank_value:insignificant_power
				country_rank = rank_value:unrecognized_power
			}
		}		
	}

	trigger_if = {
		limit = {
			country_rank = rank_value:unrecognized_power
		}
		scope:target_country = { 
			OR = {
				country_rank = rank_value:minor_power
				country_rank = rank_value:unrecognized_regional_power
				country_rank = rank_value:insignificant_power
				country_rank = rank_value:unrecognized_power
			}
		}		
	}			
}