autonomy_state = {
	id = autonomy_dominion
	
	min_freedom_level = 0.8
	
	manpower_influence = 0.2
	
	rule = {
		desc = "RULE_DESC_IS_A_SUBJECT"
	
		can_not_declare_war = yes
		can_decline_call_to_war = no
		can_be_spymaster = yes
	}
	
	modifier = {
		autonomy_manpower_share = 0.0
		extra_trade_to_overlord_factor = 0.25
		overlord_trade_cost_factor = -0.25
		peace_score_ratio_transferred_to_overlord = 0.05
		lend_lease_tension_with_overlord = -0.1
	}
	
	ai_subject_wants_higher = {
		factor = 0.0
		modifier = {
			has_dlc = "Graveyard of Empires"
			original_tag = RAJ
			has_completed_focus = RAJ_red_in_the_shadows
			add = 10
		}
		modifier = {
			has_dlc = "Graveyard of Empires"
			original_tag = RAJ
			has_war = no
			date > 1947.8.5
			add = 10
		}
		modifier = {
			has_dlc = "Graveyard of Empires"
			original_tag = RAJ
			has_idea = idea_RAJ_the_long_goodbye
			add = 9999
		}
	}
	
	ai_overlord_wants_lower = {
		factor = 1.0
		modifier = {
			has_government = democratic
			has_war = no
			add = -1
		}
	}

	ai_overlord_wants_garrison = {
		always = no
	}

	allowed = {
		has_dlc = "Together for Victory"

		if = {
			limit = { has_dlc = "Death or Dishonor" }
			OVERLORD = { NOT = { has_government = fascism } }
		}

		if = {
			limit = {
				has_dlc = "Waking the Tiger"
			}

			NOT = {
				AND = {
					OVERLORD = { has_government = fascism } 
					OVERLORD = { tag = JAP } 
				}
				AND = {
					OVERLORD = { has_government = neutrality } 
					OVERLORD = { tag = JAP } 
				}
			}
		}

		if = {
			limit = {
				has_dlc = "No Compromise, No Surrender"
			}

			NOT = {
				AND = {
					OVERLORD = { has_government = fascism } 
					OVERLORD = { tag = CHI } 
				}
				AND = {
					OVERLORD = { has_government = neutrality } 
					OVERLORD = { tag = CHI } 
				}
			}
		}
	}
	
	can_take_level = {
		if = {
			limit = {
				original_tag = AST
			}
			OR = {
				has_completed_focus = AST_adopt_westminster
				has_completed_focus = AST_abandon_the_westminster_system
				has_completed_focus = AST_sever_ties_with_uk
			}
		}
		if = {
			limit = {
				original_tag = SAF
			}
			has_completed_focus = SAF_abandon_westminster
		}
		IF = {
			limit = {
				original_tag = COG
				has_dlc = "Gotterdammerung"			
			}
			has_completed_focus = CONGO_republic_of_congo
			NOT = {
				has_completed_focus = CONGO_dominion_of_congo
			}
		}
		IF = {
			limit = {
				original_tag = COG
				has_dlc = "Gotterdammerung"	
				is_historical_focus_on = yes		
			}
			NOT = {
				AND = {
					BEL = { is_ai = yes }
					COG = { is_ai = yes }
				}
			}
		}
		if = {
			limit = {
				original_tag = RAJ
				has_dlc = "Graveyard of Empires"
				NOT = { has_completed_focus = RAJ_his_majestys_loyal_government }
			}

			OR = {
				has_completed_focus = RAJ_a_secular_state
				has_completed_focus = RAJ_united_bengal
				has_completed_focus = RAJ_eastern_pakistan
				has_completed_focus = RAJ_red_in_the_shadows
				AND = {
					has_idea = idea_RAJ_the_long_goodbye
					has_completed_focus = RAJ_the_indian_parliament 
				}
			}
					
		}
		if = {
			limit = {
				is_ai = yes
				original_tag = RAJ
				has_dlc = "Graveyard of Empires"
				OR = {
					has_completed_focus = RAJ_united_bengal
					has_completed_focus = RAJ_eastern_pakistan
				}
			}
			has_completed_focus = RAJ_partition_preparation
		}
		if = {
			limit = {
				original_tag = RAJ
				has_dlc = "Graveyard of Empires"
				has_completed_focus = RAJ_his_majestys_loyal_government
				NOT = { has_idea = idea_RAJ_the_long_goodbye }
			}
			has_completed_focus = RAJ_the_dominion_of_india
			has_completed_focus = RAJ_keep_calm_and_carry_on
			has_completed_focus = RAJ_holding_the_gates_of_india
		}
		if = {
			limit = {
				original_tag = RAJ
				has_dlc = "Graveyard of Empires"
				has_completed_focus = RAJ_his_majestys_loyal_government
				has_idea = idea_RAJ_the_long_goodbye
			}
			has_idea = idea_RAJ_the_long_goodbye
		}
				
	}

	can_lose_level = {
		if = {
			limit = {
				OVERLORD = { original_tag = BEL } 
				original_tag = COG
				has_dlc = "Gotterdammerung"			
			}
			NOT = {
				has_completed_focus = CONGO_dominion_of_congo
			}
		}
	}
}