# Categories:
ct_ANY_category = {
	ANY_statehood = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.09	}
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			}
			NOT = { 
				original_tag = GRE			
				original_tag = ENG
				original_tag = JAP
				original_tag = SPR				
				original_tag = FRA
				original_tag = ITA	
				original_tag = USA
				original_tag = AST		
			}
			any_owned_state = {
				NOT = { is_core_of = ROOT }    
				is_in_home_area = yes
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 1
		days_remove = 50
		cost = 50
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.1	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	is_core_of = ROOT }  
					is_in_home_area = yes
				}
				add_core_of = ROOT
			}	
		}
	}
	USA_statehood = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.04	}
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			}
			original_tag = USA	
			any_owned_state = {
				NOT = { is_core_of = ROOT } 
				state_population > 49999
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 1
		days_remove = 50
		cost = 25
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.05	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					state_population > 49999
					NOT = {	
						is_core_of = ROOT 
					}  
				}
				add_core_of = ROOT
			}	
		}
	}
	ENG_statehood_anglosphere = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.01	}
		visible = {
			OR = {
				has_country_flag = ENG_full_AST_integration
				has_country_flag = ENG_full_NZL_integration
				has_country_flag = ENG_full_CAN_integration
			}
			OR = {
				is_subject = no
				is_ai = no
			}
			original_tag = ENG
			any_owned_state = {
				NOT = { 
					is_core_of = ROOT 
					is_on_continent = africa
					is_on_continent = middle_east
					is_on_continent = south_america
				} 
				state_population > 39999
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 1
		days_remove = 30
		cost = 25
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.02	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = { 
						is_core_of = ROOT 
						is_on_continent = africa
						is_on_continent = middle_east
						is_on_continent = south_america
					} 
					state_population > 39999 
				}
				add_core_of = ROOT
			}	
		}
	}
	ENG_statehood = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.04	}
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			}
			OR = {
				original_tag = ITA
				original_tag = SPR
				original_tag = FRA
				original_tag = ENG							
			}
			any_owned_state = {
				NOT = { is_core_of = ROOT }    
				is_on_continent = europe
				state_population > 29999
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 1
		days_remove = 50
		cost = 50
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.05	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					state_population > 29999
					NOT = {	is_core_of = ROOT }  
					is_on_continent = europe
				}
				add_core_of = ROOT
			}	
		}
	}
	EU_statehood = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.04	}
		visible = {
			has_country_flag = ct_formed_eu
			any_owned_state = {
				NOT = { is_core_of = ROOT }    
				is_on_continent = europe
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 3
		days_remove = 30
		cost = 10
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.05	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	is_core_of = ROOT }  
					is_on_continent = europe
				}
				add_core_of = ROOT
			}	
		}
	}
	ITA_statehood = {
		icon = generic_form_nation
		available = {	
			political_power_daily > 0.01
			has_completed_focus = ITA_roman_resurgance	
		}
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			}
			has_completed_focus = ITA_roman_resurgance	
			original_tag = ITA
			any_owned_state = {
				NOT = { is_core_of = ROOT } 
				OR = { 
					is_on_continent = europe
					is_on_continent = africa
					is_on_continent = middle_east
				}   
				state_population > 19999
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 3
		days_remove = 60
		cost = 25
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.02	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	is_core_of = ROOT }  
					OR = { 
						is_on_continent = europe
						is_on_continent = africa
						is_on_continent = middle_east
					} 
					state_population > 19999
				}
				add_core_of = ROOT
			}	
		}
	}
	JAP_statehood = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.09	}
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			}
			OR = {
				original_tag = JAP
				original_tag = AST
			}
			any_owned_state = {
				NOT = { is_core_of = ROOT }  
				OR = {
					is_on_continent = asia
					is_on_continent = australia
				}
				state_population > 60000
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 3
		days_remove = 60
		cost = 75	#cost is higher than most other nations because of the murder, rape, and general brutality demonstrated in China.
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.1	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	is_core_of = ROOT }  
					OR = {
						is_on_continent = asia
						is_on_continent = australia
					}
					state_population > 60000
				}
				add_core_of = ROOT
			}	
		}
	}
	JAP_statehood_pan_nationalism = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.04	}
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			}
			has_country_flag = ct_jap_supercore
			original_tag = JAP
			any_owned_state = {
				NOT = { is_core_of = ROOT }  
				OR = {
					is_on_continent = asia
					is_on_continent = australia
				}
				state_population > 60000
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {	is_historical_focus_on = yes	factor = 0	}
		}
		days_re_enable = 1
		days_remove = 45
		cost = 35
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.05	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	is_core_of = ROOT }  
					OR = {
						is_on_continent = asia
						is_on_continent = australia
					}
					state_population > 60000
				}
				add_core_of = ROOT
			}	
		}
	}
	ANY_statehood_colony = {
		icon = generic_form_nation
		available = {
			political_power_daily > 0.5
		} 
		visible = {
			OR = {
				is_subject = no
				is_ai = no
			} 
			any_owned_state = {
				NOT = { 
					is_core_of = ROOT
					is_in_home_area = yes
				}    

			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		days_re_enable = 1
		days_remove = 200
		cost = 250
		highlight_states = { state = PREV }
		modifier = {
			political_power_gain = -0.5
		}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	
						is_core_of = ROOT 
						is_in_home_area = yes				
					}  
				}
				add_core_of = ROOT
			}	
		}
	}	
	FRA_spirit_statehood = {
		icon = generic_form_nation
		available = {	political_power_daily > 0.04	}
		visible = {
			OR = {	is_subject = no	is_ai = no	}
			has_country_flag = ct_supercore
			any_owned_state = {
				NOT = { is_core_of = ROOT }    
				is_on_continent = europe
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {	is_historical_focus_on = yes	factor = 0	}
		}
		days_re_enable = 1
		days_remove = 70
		cost = 30
		highlight_states = { state = PREV }
		modifier = { political_power_gain = -0.05	}
		remove_effect = {
			random_owned_state = {
				limit = {  
					NOT = {	is_core_of = ROOT }  
					is_on_continent = europe
				}
				add_core_of = ROOT
			}	
		}
	}
}