CRI_sevastopol_autonomy_category = {
	CRI_convince_deputies = {
		icon = generic_tank
		fire_only_once = no
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			country_exists = SEV
		}
		custom_cost_trigger = {
			command_power > 14
		}
		custom_cost_text = decision_cost_CP_15
		complete_effect = {
			add_command_power = -15
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_integrated_puppet
					}
				}
				country_event = {
					id = sevastopol.001
					days = 2
				}
			}
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_puppet
					}
				}
				set_autonomy = {
					target = SEV
					autonomous_state = autonomy_integrated_puppet
					freedom_level = 0.5
				}
			}
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_colony
					}
				}
				set_autonomy = {
					target = SEV
					autonomous_state = autonomy_puppet
					freedom_level = 0.5
				}
			}
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_dominion
					}
				}
				set_autonomy = {
					target = SEV
					autonomous_state = autonomy_colony
					freedom_level = 0.5
				}
			}
		}
	}
	CRI_make_concessions = {
		icon = generic_naval
		fire_only_once = no
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			country_exists = SEV
		}
		cost = 50
		#custom_cost_text = decision_cost_CP_15
		complete_effect = {
			#add_command_power = -15
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_dominion
					}
				}
				country_event = {
					id = sevastopol.002
					days = 2
				}
			}

			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_colony
					}
				}
				set_autonomy = {
					target = SEV
					autonomous_state = autonomy_dominion
					freedom_level = 0.5
				}
			}
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_puppet
					}
				}
				set_autonomy = {
					target = SEV
					autonomous_state = autonomy_colony
					freedom_level = 0.5
				}
			}
			if = {
				limit = {
					SEV = {
						has_autonomy_state = autonomy_integrated_puppet
					}
				}
				set_autonomy = {
					target = SEV
					autonomous_state = autonomy_puppet
					freedom_level = 0.5
				}
			}
		}
	}
}
CRI_balance_category = {
	CRI_draft_exemptions = {
		icon = generic_naval
		fire_only_once = yes
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			OR = {
				has_idea = extensive_conscription
				has_idea = service_by_requirement 
				has_idea = all_adults_serve 
				has_idea = scraping_the_barrel 
			}
		}
		cost = 150
		#custom_cost_text = decision_cost_CP_15
		complete_effect = {
			add_power_balance_value = {
				id = CRI_sevastopol_balance
				value = -0.1
			}
			if = {
				limit = {
					has_idea = extensive_conscription
				}
				swap_ideas = {
					remove_idea = extensive_conscription
					add_idea = limited_conscription
				}
			}
			if = {
				limit = {
					has_idea = service_by_requirement
				}
				swap_ideas = {
					remove_idea = service_by_requirement
					add_idea = extensive_conscription
				}
			}
			if = {
				limit = {
					has_idea = all_adults_serve
				}
				swap_ideas = {
					remove_idea = all_adults_serve
					add_idea = service_by_requirement
				}
			}
			if = {
				limit = {
					has_idea = scraping_the_barrel
				}
				swap_ideas = {
					remove_idea = scraping_the_barrel
					add_idea = all_adults_serve
				}
			}	
		}
	}
	CRI_draft_increase = {
		icon = generic_tank
		fire_only_once = yes
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			OR = {
				has_idea = limited_conscription
				has_idea = extensive_conscription
				has_idea = service_by_requirement 
				has_idea = all_adults_serve 	
			}
		}
		cost = 150
		#custom_cost_text = decision_cost_CP_15
		complete_effect = {
			add_power_balance_value = {
				id = CRI_sevastopol_balance
				value = 0.1
			}
			if = {
				limit = {
					has_idea = all_adults_serve
				}
				swap_ideas = {
					remove_idea = all_adults_serve
					add_idea = scraping_the_barrel
				}
			}	
			if = {
				limit = {
					has_idea = service_by_requirement
				}
				swap_ideas = {
					remove_idea = service_by_requirement
					add_idea = all_adults_serve
				}
			}
			if = {
				limit = {
					has_idea = extensive_conscription
				}
				swap_ideas = {
					remove_idea = extensive_conscription
					add_idea = service_by_requirement
				}
			}
			if = {
				limit = {
					has_idea = limited_conscription
				}
				swap_ideas = {
					remove_idea = limited_conscription
					add_idea = extensive_conscription
				}
			}	
		}
	}
	CRI_concessions_fiolent = {
		icon = generic_naval
		fire_only_once = yes
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			owns_state = 972
			num_of_civilian_factories_available_for_projects > 4
		}
		cost = 150
		#custom_cost_text = decision_cost_CP_15
		modifier = {
			civilian_factory_use = 5
		}
		days_remove = 60
		remove_effect = {
			add_power_balance_value = {
				id = CRI_sevastopol_balance
				value = -0.1
			}
			972 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}	
		}
	}
	CRI_concessions_foton= {
		icon = generic_tank
		fire_only_once = yes
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			owns_state = 137
			num_of_civilian_factories_available_for_projects > 4
		}
		cost = 150
		#custom_cost_text = decision_cost_CP_15
		modifier = {
			civilian_factory_use = 5
		}
		days_remove = 60
		remove_effect = {
			add_power_balance_value = {
				id = CRI_sevastopol_balance
				value = -0.1
			}
			137 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}	
		}
	}
	CRI_convince_admirals = {
		icon = generic_tank
		fire_only_once = no
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			owns_state = 972
			#country_exists = SEV
		}
		custom_cost_trigger = {
			command_power > 14
		}
		custom_cost_text = decision_cost_CP_15
		complete_effect = {
			add_command_power = -15
			add_power_balance_value = {
				id = CRI_sevastopol_balance
				value = 0.05
			}
			add_ideas = {naval_academy_scholarships_spirit }
			remove_ideas = {best_of_the_best_naval_academy_spirit }
		}
	}
	CRI_free_admirals = {
		icon = generic_naval
		fire_only_once = no
		ai_will_do = {
			base = 50
		}
		available = {
			original_tag = CRI
			owns_state = 972
			#country_exists = SEV
		}
		cost = 50
		#custom_cost_text = decision_cost_CP_15
		complete_effect = {
			#add_command_power = -15
			add_power_balance_value = {
				id = CRI_sevastopol_balance
				value = -0.05
			}
			remove_ideas = {naval_academy_scholarships_spirit }
			add_ideas = {best_of_the_best_naval_academy_spirit }
		}
	}
}