
change_cities_names_sov = {
	###################################RUSSIA##########################################
	change_stalingrad_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 217 #stalingrad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalingrad_volgograd
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalingrad_volgograd
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalingrad_tsaritsyn
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalingrad_tsaritsyn
				}
            }
		
			set_province_name = { id = 3529 name = "Stalingrad" }
			217 = { set_state_name = "Stalingrad" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 10
				has_government = communism
				NOT = {
					OR = {
						has_completed_focus = SOV_the_left_opposition
						has_completed_focus = SOV_the_right_opposition
					}
				}
			}
		}
	}
	
	change_stalingrad_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 217 #stalingrad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalingrad_tsaritsyn
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalingrad_tsaritsyn
				}
            }
		
			set_province_name = { id = 3529 name = "Volgograd" }
			217 = { set_state_name = "Volgograd" }
			
			set_country_flag = dscr_russia_stalingrad_volgograd
			
		}

		ai_will_do = {
			base = 0
			modifier = {
				factor = 10
				has_government = communism
				OR = {
					has_completed_focus = SOV_the_left_opposition
					has_completed_focus = SOV_the_right_opposition
				}
			}
		}
	}
	
	change_stalingrad_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 217 #stalingrad
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalingrad_tsaritsyn
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalingrad_tsaritsyn
				}
            }
		
			set_province_name = { id = 3529 name = "Volgograd" }
			217 = { set_state_name = "Volgograd" }
			
			set_country_flag = dscr_russia_stalingrad_volgograd	
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	change_stalingrad_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 217 #stalingrad
			has_government = fascism
		}
		
		fire_only_once = no
		
		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalingrad_tsaritsyn
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalingrad_tsaritsyn
				}
            }
		
			set_province_name = { id = 3529 name = "Volgograd" }
			217 = { set_state_name = "Volgograd" }
			
			set_country_flag = dscr_russia_stalingrad_volgograd	
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_stalingrad_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 217 #stalingrad
			has_government = neutrality
		}
		
		fire_only_once = no
		
		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalingrad_volgograd
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalingrad_volgograd
				}
            }
		
			set_province_name = { id = 3529 name = "Tsaritsyn" }
			217 = { set_state_name = "Tsaritsyn" }
			
			set_country_flag = dscr_russia_stalingrad_tsaritsyn	
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	### LENINGRAD ###
	
	change_leningrad_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 195 #leningrad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_leningrad_petersburg
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_leningrad_petersburg
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_leningrad_petrograd
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_leningrad_petrograd
				}
            }
		
			set_province_name = { id = 3151 name = "Leningrad" }
			195 = { set_state_name = "Leningrad" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_leningrad_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 195 #leningrad
			has_government = democratic
		}
		
		fire_only_once = no
	
		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = neutrality
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_leningrad_petrograd
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_leningrad_petrograd
				}
            }
		
			set_province_name = { id = 3151 name = "Sankt-Peterburg" }
			195 = { set_state_name = "Sankt-Peterburg" }
			
			set_country_flag = dscr_russia_leningrad_petersburg
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	change_leningrad_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 195 #leningrad
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_leningrad_petrograd
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_leningrad_petrograd
				}
            }
		
			set_province_name = { id = 3151 name = "Sankt-Peterburg" }
			195 = { set_state_name = "Sankt-Peterburg" }
			
			set_country_flag = dscr_russia_leningrad_petersburg
			
		}
		
		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_leningrad_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 195 #leningrad
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = neutrality
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_leningrad_petersburg
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_leningrad_petersburg
				}
            }
		 
			set_province_name = { id = 3151 name = "Petrograd" }
			195 = { set_state_name = "Petrograd" }
			
			set_country_flag = dscr_russia_leningrad_petrograd
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	### STALINABAD ###
	
	change_stalinabad_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 742 #stalinabad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalinabad_dushanbe
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalinabad_dushanbe
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalinabad_dyushambe
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalinabad_dyushambe
				}
            }
		
			set_province_name = { id = 1384 name = "Stalinabad" }
			742 = { set_state_name = "Stalinabad" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_stalinabad_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 742 #stalinabad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalinabad_dyushambe
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalinabad_dyushambe
				}
            }
		
			set_province_name = { id = 1384 name = "Dushanbe" }
			742 = { set_state_name = "Dushanbe" }
			
			set_country_flag = dscr_russia_stalinabad_dushanbe
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 10
				has_government = communism
				NOT = {
					has_country_leader = {
						name = SOV_iosif_stalin
						ruling_only = yes
					}
				}
			}
		}
	}
	
	change_stalinabad_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 742 #stalinabad
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalinabad_dushanbe
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalinabad_dushanbe
				}
            }
		
			set_province_name = { id = 1384 name = "Dyushambe" }
			742 = { set_state_name = "Dyushambe" }
			
			set_country_flag = dscr_russia_stalinabad_dyushambe
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_stalinabad_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 742 #stalinabad
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalinabad_dyushambe
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalinabad_dyushambe
				}
            }
			
			set_province_name = { id = 1384 name = "Dushanbe" }
			742 = { set_state_name = "Dushanbe" }
			
			set_country_flag = dscr_russia_stalinabad_dushanbe
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	change_stalinabad_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 742 #stalinabad
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalinabad_dushanbe
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalinabad_dushanbe
				}
            }
		
			set_province_name = { id = 1384 name = "Dyushambe" }
			742 = { set_state_name = "Dyushambe" }
			
			set_country_flag = dscr_russia_stalinabad_dyushambe
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	### FRUNZE ###
	
	change_frunze_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 732 #frunze
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_frunze_bishkek
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_frunze_bishkek
				}
            }
		
			set_province_name = { id = 12583 name = "Frunze" }
			732 = { set_state_name = "Pamir" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_frunze_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 732 #frunze
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			set_province_name = { id = 12583 name = "Bishkek" }
			732 = { set_state_name = "Pamir" }
			
			set_country_flag = dscr_russia_frunze_bishkek
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
				NOT = {
					has_country_leader = {
						name = SOV_iosif_stalin
						ruling_only = yes
					}
				}
			}
		}
	}
	
	change_frunze_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 732 #frunze
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			set_province_name = { id = 12583 name = "Bishkek" }
			732 = { set_state_name = "Pamir" }
			
			set_country_flag = dscr_russia_frunze_bishkek
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_frunze_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 732 #frunze
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = democratic
			}
		}

		complete_effect = {
			set_province_name = { id = 12583 name = "Bishkek" }
			732 = { set_state_name = "Pamir" }
			
			set_country_flag = dscr_russia_frunze_bishkek
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_frunze_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 732 #frunze
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 12583 name = "Bishkek" }
			732 = { set_state_name = "Pamir" }
			
			set_country_flag = dscr_russia_frunze_bishkek
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	### KALININ ###
	
	change_kalinin_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 247 #kalinin
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kalinin_tver
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kalinin_tver
				}
            }
		
			set_province_name = { id = 6245 name = "Kalinin" }
			247 = { set_state_name = "Kalinin" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_kalinin_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 247 #kalinin
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 6245 name = "Tver" }
			247 = { set_state_name = "Tver" }
			
			set_country_flag = dscr_russia_kalinin_tver
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
				NOT = {
					has_country_leader = {
						name = SOV_iosif_stalin
						ruling_only = yes
					}
				}
			}
		}
	}
	
	change_kalinin_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 247 #kalinin
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 6245 name = "Tver" }
			247 = { set_state_name = "Tver" }
			
			set_country_flag = dscr_russia_kalinin_tver
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_kalinin_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 247 #kalinin
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 6245 name = "Tver" }
			247 = { set_state_name = "Tver" }
			
			set_country_flag = dscr_russia_kalinin_tver
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_kalinin_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 247 #kalinin
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 6245 name = "Tver" }
			247 = { set_state_name = "Tver" }
			
			set_country_flag = dscr_russia_kalinin_tver
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	### ENGELS-MARKS ###
	
	change_engels_marks_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 829 #engels_marks
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_engelsmarks_pokrovsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_engelsmarks_pokrovsk
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_engelsmarks_kosakenstadt
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_engelsmarks_kosakenstadt
				}
            }
		
			set_province_name = { id = 11523 name = "Engels" }
			set_province_name = { id = 9432 name = "Marks" }
			829 = { set_state_name = "Engels-Marks" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_engels_marks_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 829 #engels_marks
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
		    if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_engelsmarks_kosakenstadt
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_engelsmarks_kosakenstadt
				}
            }
		
			set_province_name = { id = 11523 name = "Pokrovsk" }
			set_province_name = { id = 9432 name = "Baronsk" }
			829 = { set_state_name = "Pokrovsk-Baronsk" }
			
			set_country_flag = dscr_russia_engelsmarks_pokrovsk
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_engels_marks_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 829 #engels_marks
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_engelsmarks_pokrovsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_engelsmarks_pokrovsk
				}
            }
		
			set_province_name = { id = 11523 name = "Kosakenstadt" }
			set_province_name = { id = 9432 name = "Yekaterinograd" }
			829 = { set_state_name = "Kosakenstadt-Yekaterinograd" }
			
			set_country_flag = dscr_russia_engelsmarks_kosakenstadt
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_engels_marks_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 829 #engels_marks
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = neutrality
			    has_government = fascism
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_engelsmarks_kosakenstadt
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_engelsmarks_kosakenstadt
				}
            }
		
			set_province_name = { id = 11523 name = "Pokrovsk" }
			set_province_name = { id = 9432 name = "Baronsk" }
			829 = { set_state_name = "Pokrovsk-Baronsk" }
			
			set_country_flag = dscr_russia_engelsmarks_pokrovsk
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	### KIROV ### 
	
	change_kirov_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 400 #kirov
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kirov_vyatka
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kirov_vyatka
				}
            }
		
			set_province_name = { id = 6124 name = "Kirov" }
			400 = { set_state_name = "Kirov" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_kirov_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 400 #kirov
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 6124 name = "Vyatka" }
			400 = { set_state_name = "Vyatka" }
			
			set_country_flag = dscr_russia_kirov_vyatka
			
		}

		ai_will_do = {
			base = 0
			modifier = {
				factor = 0
				has_government = fascism
			}
		}
	}
	
	change_kirov_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 400 #kirov
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 6124 name = "Vyatka" }
			400 = { set_state_name = "Vyatka" }
			
			set_country_flag = dscr_russia_kirov_vyatka
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_kirov_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 400 #kirov
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 6124 name = "Vyatka" }
			400 = { set_state_name = "Vyatka" }
			
			set_country_flag = dscr_russia_kirov_vyatka
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_kirov_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 400 #kirov
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = neutrality
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 6124 name = "Vyatka" }
			400 = { set_state_name = "Vyatka" }
			
			set_country_flag = dscr_russia_kirov_vyatka
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	### GORKY ###
	
	change_gorky_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 252 #gorky
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_gorky_novgorod
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_gorky_novgorod
				}
            }
		
			set_province_name = { id = 11375 name = "Gorky" }
			252 = { set_state_name = "Gorky" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_gorky_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 252 #gorky
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 11375 name = "Nizhny Novgorod" }
			252 = { set_state_name = "Nizhny Novgorod" }
			
			set_country_flag = dscr_russia_gorky_novgorod
			
		}

		ai_will_do = {
			base = 0
			modifier = {
				factor = 0
				has_government = communism
			}
		}
	}
	
	change_gorky_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 252 #gorky
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 11375 name = "Nizhny Novgorod" }
			252 = { set_state_name = "Nizhny Novgorod" }
			
			set_country_flag = dscr_russia_gorky_novgorod
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_gorky_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 252 #gorky
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = fascism
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 11375 name = "Nizhny Novgorod" }
			252 = { set_state_name = "Nizhny Novgorod" }
			
			set_country_flag = dscr_russia_gorky_novgorod
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_gorky_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 252 #gorky
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 11375 name = "Nizhny Novgorod" }
			252 = { set_state_name = "Nizhny Novgorod" }
			
			set_country_flag = dscr_russia_gorky_novgorod
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	### ORDZHONIKIDZE ###
	
	change_ordzhonikidze_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 828 #ordzhonikidze
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_osetiya_vladikavkaz
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_osetiya_vladikavkaz
				}
            }
		
			set_province_name = { id = 9628 name = "Ordzhonikidze" }
			828 = { set_state_name = "Severnaya Osetiya-Alaniya" }
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}
	}
	
	change_ordzhonikidze_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 828 #ordzhonikidze
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			set_province_name = { id = 9628 name = "Vladikavkaz" }
			828 = { set_state_name = "Severnaya Osetiya-Alaniya" }
			
			set_country_flag = dscr_russia_osetiya_vladikavkaz
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
				NOT = {
					has_country_leader = {
						character = SOV_iosif_stalin
						ruling_only = yes
					}
				}
			}
		}
	}
	
	change_ordzhonikidze_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 828 #ordzhonikidze
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			set_province_name = { id = 9628 name = "Vladikavkaz" }
			828 = { set_state_name = "Severnaya Osetiya-Alaniya" }
			
			set_country_flag = dscr_russia_osetiya_vladikavkaz
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}
	}
	
	change_ordzhonikidze_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 828 #ordzhonikidze
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = democratic
			}
		}

		complete_effect = {
			set_province_name = { id = 9628 name = "Vladikavkaz" }
			828 = { set_state_name = "Severnaya Osetiya-Alaniya" }
			
			set_country_flag = dscr_russia_osetiya_vladikavkaz
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}
	}
	
	change_ordzhonikidze_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 828 #ordzhonikidze
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 9628 name = "Vladikavkaz" }
			828 = { set_state_name = "Severnaya Osetiya-Alaniya" }
			
			set_country_flag = dscr_russia_osetiya_vladikavkaz
			
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}
	}
	
	### YOSHKAR-OLA ###
	
	change_yoshkarola_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 833 #yoskharola
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mariyel_krasnokokshaysk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mariyel_krasnokokshaysk
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
				}
            }
		
		
			set_province_name = { id = 9402 name = "Yoshkar-Ola" }
			833 = { set_state_name = "Mariy El" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_yoshkarola_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 833 #yoskharola
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
				}
            }
		
			set_province_name = { id = 9402 name = "Krasnokokshaysk" }
			833 = { set_state_name = "Mariy El" }
			
			set_country_flag = dscr_russia_mariyel_krasnokokshaysk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_yoshkarola_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 833 #yoskharola
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mariyel_krasnokokshaysk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mariyel_krasnokokshaysk
				}
            }
		
			set_province_name = { id = 9402 name = "Tsaryovokokshaysk" }
			833 = { set_state_name = "Mariy El" }		
			
			set_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_yoshkarola_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 833 #yoskharola
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
				}
            }
		
			set_province_name = { id = 9402 name = "Krasnokokshaysk" }
			833 = { set_state_name = "Mariy El" }
			
			set_country_flag = dscr_russia_mariyel_krasnokokshaysk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_yoshkarola_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 833 #yoskharola
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = neutrality
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mariyel_tsaryovokokshaysk
				}
            }
		
			set_province_name = { id = 9402 name = "Krasnokokshaysk" }
			833 = { set_state_name = "Mariy El" }
			
			set_country_flag = dscr_russia_mariyel_krasnokokshaysk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### KYZIL ###
	
	change_kyzil_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 329 #kyzil
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_khembeldir
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_khembeldir
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_belotsarsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_belotsarsk
				}
            }
			
			set_province_name = { id = 10627 name = "Kızıl" }
			329 = { set_state_name = "Uryankhay Krai" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kyzil_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 329 #kyzil
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_belotsarsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_belotsarsk
				}
            }
		
			set_province_name = { id = 10627 name = "Khem-Beldir" }
			329 = { set_state_name = "Uryankhay Krai" }
			
			set_country_flag = dscr_russia_tannutuva_khembeldir
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kyzil_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 329 #kyzil
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_khembeldir
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_khembeldir
				}
            }
		
			set_province_name = { id = 10627 name = "Belotsarsk" }
			329 = { set_state_name = "Uryankhay Krai" }
			
			set_country_flag = dscr_russia_tannutuva_belotsarsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kyzil_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 329 #kyzil
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = fascism
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_khembeldir
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_khembeldir
				}
            }
		
			set_province_name = { id = 10627 name = "Belotsarsk" }
			329 = { set_state_name = "Uryankhay Krai" }
			
			set_country_flag = dscr_russia_tannutuva_belotsarsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kyzil_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 329 #kyzil
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_khembeldir
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_khembeldir
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tannutuva_belotsarsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tannutuva_belotsarsk
				}
            }
		
			set_province_name = { id = 10627 name = "Kızıl" }
			329 = { set_state_name = "Uryankhay Krai" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### MAKHACHKALA ###
	
	change_makhachkala_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 232 #makhachkala
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskport
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskport
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskoye
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskoye
				}
            }
		
			set_province_name = { id = 6701 name = "Makhachkala" }
			232 = { set_state_name = "Dagestan" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_makhachkala_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 232 #makhachkala
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskoye
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskoye
				}
            }
		
			set_province_name = { id = 6701 name = "Petrovsk-Port" }
			232 = { set_state_name = "Dagestan" }
			
			set_country_flag = dscr_russia_dagestan_petrovskport
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_makhachkala_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 232 #makhachkala
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskport
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskport
				}
            }
		
			set_province_name = { id = 6701 name = "Petrovskoye" }
			232 = { set_state_name = "Dagestan" }
			
			set_country_flag = dscr_russia_dagestan_petrovskoye
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_makhachkala_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 232 #makhachkala
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = democratic
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskport
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskport
				}
            }
		
			set_province_name = { id = 6701 name = "Petrovskoye" }
			232 = { set_state_name = "Dagestan" }
			
			set_country_flag = dscr_russia_dagestan_petrovskoye
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_makhachkala_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 232 #makhachkala
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskport
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskport
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dagestan_petrovskoye
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dagestan_petrovskoye
				}
            }
		
			set_province_name = { id = 6701 name = "Makhachkala" }
			232 = { set_state_name = "Dagestan" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### SVERDLOVSK ###
	
	change_sverdlovsk_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 653 #sverdlovsk
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_sverdlovsk_yekaterinburg
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_sverdlovsk_yekaterinburg
				}
            }
		
			set_province_name = { id = 1821 name = "Sverdlovsk" }
			653 = { set_state_name = "Sverdlovsk" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_sverdlovsk_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 653 #sverdlovsk
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 1821 name = "Yekaterinburg" }
			653 = { set_state_name = "Yekaterinburg" }
			
			set_country_flag = dscr_russia_sverdlovsk_yekaterinburg
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_sverdlovsk_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 653 #sverdlovsk
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 1821 name = "Yekaterinburg" }
			653 = { set_state_name = "Yekaterinburg" }
			
			set_country_flag = dscr_russia_sverdlovsk_yekaterinburg
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_sverdlovsk_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 653 #sverdlovsk
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = democratic
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 1821 name = "Yekaterinburg" }
			653 = { set_state_name = "Yekaterinburg" }
			
			set_country_flag = dscr_russia_sverdlovsk_yekaterinburg
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_sverdlovsk_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 653 #sverdlovsk
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = neutrality
			    has_government = communism
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 1821 name = "Yekaterinburg" }
			653 = { set_state_name = "Yekaterinburg" }
			
			set_country_flag = dscr_russia_sverdlovsk_yekaterinburg
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### CHUKOTKA ###
	
	change_chukotka_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 822 #chukotka
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_chukotka_novomarinsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_chukotka_novomarinsk
				}
            }
		
			set_province_name = { id = 13063 name = "Anadyr" }
			822 = { set_state_name = "Chukotka" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_chukotka_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 822 #chukotka
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 13063 name = "Novo-Mariinsk" }
			822 = { set_state_name = "Chukotka" }
			
			set_country_flag = dscr_russia_chukotka_novomarinsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_chukotka_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 822 #chukotka
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = fascism
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 13063 name = "Novo-Mariinsk" }
			822 = { set_state_name = "Chukotka" }
			
			set_country_flag = dscr_russia_chukotka_novomarinsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_chukotka_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 822 #chukotka
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_chukotka_novomarinsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_chukotka_novomarinsk
				}
            }
		
			set_province_name = { id = 13063 name = "Anadyr" }
			822 = { set_state_name = "Chukotka" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### KALININGRAD (KONIGSBERG) ###
	
	change_kaliningrad_default = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 763 #Kyonigsberg
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_kaliningrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_kaliningrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nevskygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nevskygrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nikolaygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nikolaygrad
				}
            }
		
			set_province_name = { id = 6332 name = "Kyonigsberg" }
			763 = { set_state_name = "Kyonigsberg" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kaliningrad_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 763 #kaliningrad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nevskygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nevskygrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nikolaygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nikolaygrad
				}
            }
		
			set_province_name = { id = 6332 name = "Kaliningrad" }
			763 = { set_state_name = "Kaliningrad" }
			
			set_country_flag = dscr_russia_kyonigsberg_kaliningrad
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kaliningrad_com_destalination = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 763 #kaliningrad
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_kaliningrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_kaliningrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nikolaygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nikolaygrad
				}
            }
		
			set_province_name = { id = 6332 name = "Nevskygrad" }
			763 = { set_state_name = "Nevskygrad" }
			
			set_country_flag = dscr_russia_kyonigsberg_nevskygrad
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kaliningrad_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 763 #kaliningrad
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_kaliningrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_kaliningrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nikolaygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nikolaygrad
				}
            }
		
			set_province_name = { id = 6332 name = "Nevskygrad" }
			763 = { set_state_name = "Nevskygrad" }
			
			set_country_flag = dscr_russia_kyonigsberg_nevskygrad
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kaliningrad_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 763 #kaliningrad
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = fascism
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_kaliningrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_kaliningrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nevskygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nevskygrad
				}
            }
		
			set_province_name = { id = 6332 name = "Nikolaygrad" }
			763 = { set_state_name = "Nikolaygrad" }
			
			set_country_flag = dscr_russia_kyonigsberg_nikolaygrad
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kaliningrad_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 763 #kaliningrad
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_kaliningrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_kaliningrad
				}
            }
		
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kyonigsberg_nikolaygrad
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kyonigsberg_nikolaygrad
				}
            }
		
			set_province_name = { id = 6332 name = "Nevskygrad" }
			763 = { set_state_name = "Nevskygrad" }
			
			set_country_flag = dscr_russia_kyonigsberg_nevskygrad
		}
		

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### NOVOSIBIRSK ###
	
	change_novosibirsk_com = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 570 #novosibirsk
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = neutrality
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_novosibirsk_novonikolayevsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_novosibirsk_novonikolayevsk
				}
            }
		
			set_province_name = { id = 7274 name = "Novosibirsk" }
			570 = { set_state_name = "Novosibirsk" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_novosibirsk_neu = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 570 #novosibirsk
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 7274 name = "Novonikolayevsk" }
			570 = { set_state_name = "Novonikolayevsk" }
			
			set_country_flag = dscr_russia_novosibirsk_novonikolayevsk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_novosibirsk_dem = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 570 #novosibirsk
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_novosibirsk_novonikolayevsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_novosibirsk_novonikolayevsk
				}
            }
		
			set_province_name = { id = 7274 name = "Novosibirsk" }
			570 = { set_state_name = "Novosibirsk" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_novosibirsk_fas = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 570 #novosibirsk
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 7274 name = "Novonikolayevsk" }
			570 = { set_state_name = "Novonikolayevsk" }
			
			set_country_flag = dscr_russia_novosibirsk_novonikolayevsk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	#### MURMANSK ####
	
	change_murmansk_default = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 213 #murmansk	
		}
		
		fire_only_once = no

		visible = {

		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_murmansk_romanov
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_murmansk_romanov
				}
            }
		
			set_province_name = { id = 3134 name = "Murmansk" }
			set_province_name = { id = 6181 name = "Kandalaksha" }
			213 = { set_state_name = "Murmansk" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_murmansk_romanov = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 213 #murmansk
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			has_government = neutrality
		}

		complete_effect = {
		
			set_province_name = { id = 3134 name = "Romanov-na-Murmane" }
			set_province_name = { id = 6181 name = "Kandalaksha" }
			213 = { set_state_name = "Romanov-na-Murmane" }
			
			set_country_flag = dscr_russia_murmansk_romanov
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	#### Kuybyshev ####
	
	change_kuybyshev_default = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 251 #kuybyshev
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = fascism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuybyshev_samara
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuybyshev_samara
				}
            }
		
			set_province_name = { id = 11225 name = "Kuybyshev" }
			251 = { set_state_name = "Kuybyshev" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kuybyshev_alternative = {
		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 251 #kuybyshev
			OR = {
				has_government = fascism
			    has_government = democratic
				has_government = neutrality
			}
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			    has_government = democratic
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			}
		}

		complete_effect = {
		
			set_province_name = { id = 11225 name = "Samara" }
			251 = { set_state_name = "Samara" }
			
			set_country_flag =  dscr_russia_kuybyshev_samara
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
}

change_cities_names_sov_ukr = {
	###################################UKRAINE##########################################
	change_stalino_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 227 #stalino
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalino_donetsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalino_donetsk
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalino_hughevska
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalino_hughevska
				}
            }
		
			set_province_name = { id = 6474 name = "Stalino" }
			227 = { set_state_name = "Stalino" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_stalino_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 227 #stalino
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalino_hughevska
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalino_hughevska
				}
            }
		
			set_province_name = { id = 6474 name = "Donetsk" }
			227 = { set_state_name = "Donetsk" }
			
			set_country_flag = dscr_russia_stalino_donetsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_stalino_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 227 #stalino
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalino_hughevska
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalino_hughevska
				}
            }
		
			set_province_name = { id = 6474 name = "Donetsk" }
			227 = { set_state_name = "Donetsk" }
			
			set_country_flag = dscr_russia_stalino_donetsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_stalino_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 227 #stalino
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalino_hughevska
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalino_hughevska
				}
            }
		
			set_province_name = { id = 6474 name = "Donetsk" }
			227 = { set_state_name = "Donetsk" }
			
			set_country_flag = dscr_russia_stalino_donetsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_stalino_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 227 #stalino
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_stalino_donetsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_stalino_donetsk
				}
            }
		
			set_province_name = { id = 6474 name = "Hughesovka" }
			227 = { set_state_name = "Hughesovka" }
			
			set_country_flag = dscr_russia_stalino_hughevska
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	##### VOROSHILOVGRAD LUHANSK	####
	
	change_luhansk_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 228 #luhansk
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_voroshilovgrad_lugansk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_voroshilovgrad_lugansk
				}
            }
		
			set_province_name = { id = 9461 name = "Voroshilovgrad" }
			228 = { set_state_name = "Voroshilovgrad" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_luhansk_com_destalination = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 228 #Lugansk
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 9461 name = "Lugansk" }
			228 = { set_state_name = "Lugansk" }
			
			set_country_flag = dscr_russia_voroshilovgrad_lugansk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_luhansk_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 228 #Lugansk
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 6474 name = "Lugansk" }
			228 = { set_state_name = "Lugansk" }
			
			set_country_flag = dscr_russia_voroshilovgrad_lugansk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_luhansk_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 228 #Lugansk
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 9461 name = "Lugansk" }
			228 = { set_state_name = "Lugansk" }
			
			set_country_flag = dscr_russia_voroshilovgrad_lugansk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_luhansk_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 228 #Lugansk
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 9461 name = "Lugansk" }
			228 = { set_state_name = "Lugansk" }
			
			set_country_flag = dscr_russia_voroshilovgrad_lugansk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	####### ZAPORIZHZHIA #######
	
	change_zaporizhia_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 200 #zaporizhia
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_zaporozhe_aleksandrovsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_zaporozhe_aleksandrovsk
				}
            }
		
			set_province_name = { id = 11405 name = "Zaporozhe" }
			200 = { set_state_name = "Zaporozhe" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_zaporizhia_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 200 #zaporizhia
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = fascism
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_zaporozhe_aleksandrovsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_zaporozhe_aleksandrovsk
				}
            }
			
			set_province_name = { id = 11405 name = "Zaporozhe" }
			200 = { set_state_name = "Zaporozhe" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_zaporizhia_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 200 #zaporizhia
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 11405 name = "Aleksandrovsk" }
			200 = { set_state_name = "Aleksandrovsk" }
			
			set_country_flag = dscr_russia_zaporozhe_aleksandrovsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_zaporizhia_fas_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 200 #zaporizhia
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_zaporozhe_aleksandrovsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_zaporozhe_aleksandrovsk
				}
            }
		
			set_province_name = { id = 11405 name = "Zaporozhe" }
			200 = { set_state_name = "Zaporozhe" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_zaporizhia_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 200 #zaporizhia
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 11405 name = "Aleksandrovsk" }
			200 = { set_state_name = "Aleksandrovsk" }
			
			set_country_flag = dscr_russia_zaporozhe_aleksandrovsk
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### DNIPRO ###
	
	change_dnipro_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 226 #dnipro
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dnipro_yekaterinoslav
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dnipro_yekaterinoslav
				}
            }
		
			set_province_name = { id = 11437 name = "Dnipropetrovsk" }
			set_province_name = { id = 11561 name = "Krivoy Rog" }
			226 = { set_state_name = "Dnipropetrovsk" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_dnipro_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 226 #dnipro
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 11437 name = "Yekaterinoslav" }
			set_province_name = { id = 11561 name = "Krivoy Rog" }
			226 = { set_state_name = "Yekaterinoslav" }
			
			set_country_flag = dscr_russia_dnipro_yekaterinoslav
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_dnipro_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 226 #dnipro
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = fascism
			    has_government = neutrality
				has_government = communism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_dnipro_yekaterinoslav
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_dnipro_yekaterinoslav
				}
            }
		
			set_province_name = { id = 11437 name = "Dnipropetrovsk" }
			set_province_name = { id = 11561 name = "Krivoy Rog" }
			226 = { set_state_name = "Dnipropetrovsk" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_dnipro_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 226 #dnipro
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = fascism
			    has_government = democratic
				has_government = communism
			}
		}

		complete_effect = {
			set_province_name = { id = 11437 name = "Yekaterinoslav" }
			set_province_name = { id = 11561 name = "Krivoy Rog" }
			226 = { set_state_name = "Yekaterinoslav" }
			
			set_country_flag = dscr_russia_dnipro_yekaterinoslav
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### MYKOLAIV ###
	
	change_mykolaiv_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 197 #mykolaiv
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_vernoleninsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_vernoleninsk
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_nikolaevsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_nikolaevsk
				}
            }
		
			set_province_name = { id = 11683 name = "Mykolaiv" }
			197 = { set_state_name = "Mykolaiv" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_mykolaiv_com_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 197 #mykolaiv
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {

			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_nikolaevsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_nikolaevsk
				}
            }
		
			set_province_name = { id = 11683 name = "Vernoleninsk" }
			197 = { set_state_name = "Vernoleninsk" }
			
			set_country_flag = dscr_russia_mykolaiv_vernoleninsk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_mykolaiv_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 197 #mykolaiv
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_vernoleninsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_vernoleninsk
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_nikolaevsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_nikolaevsk
				}
            }
		
			set_province_name = { id = 11683 name = "Mykolaiv" }
			197 = { set_state_name = "Mykolaiv" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_mykolaiv_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 197 #mykolaiv
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_vernoleninsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_vernoleninsk
				}
            }
		
			set_province_name = { id = 11683 name = "Nikolaev" }
			197 = { set_state_name = "Nikolaev" }
			
			set_country_flag = dscr_russia_mykolaiv_nikolaevsk
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_mykolaiv_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 197 #mykolaiv
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_vernoleninsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_vernoleninsk
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_mykolaiv_nikolaevsk
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_mykolaiv_nikolaevsk
				}
            }
		
			set_province_name = { id = 11683 name = "Mykolaiv" }
			197 = { set_state_name = "Mykolaiv" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### KHMELNYTSKYI ###
	
	change_khmelnytskyi_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 199 #khmelnytskyi
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_khmelnytskyi_proskurov
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_khmelnytskyi_proskurov
				}
            }
		
			set_province_name = { id = 3457 name = "Khmelnytskyi" }
			199 = { set_state_name = "Khmelnytskyi" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_khmelnytskyi_com_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 199 #khmelnytskyi
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 3457 name = "Proskurov" }
			199 = { set_state_name = "Proskurov" }
			
			set_country_flag = dscr_russia_khmelnytskyi_proskurov
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_khmelnytskyi_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 199 #khmelnytskyi
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_khmelnytskyi_proskurov
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_khmelnytskyi_proskurov
				}
            }
		
			set_province_name = { id = 3457 name = "Khmelnytskyi" }
			199 = { set_state_name = "Khmelnytskyi" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_khmelnytskyi_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 199 #khmelnytskyi
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 3457 name = "Proskurov" }
			199 = { set_state_name = "Proskurov" }
			
			set_country_flag = dscr_russia_khmelnytskyi_proskurov
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_khmelnytskyi_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 199 #khmelnytskyi
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 3457 name = "Proskurov" }
			199 = { set_state_name = "Proskurov" }
			
			set_country_flag = dscr_russia_khmelnytskyi_proskurov
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### BILHOROD-DNISTROVSKY ###
	
	change_bilhorod_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 766 #bilhorod
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_bilhorod_akkerman
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_bilhorod_akkerman
				}
            }
		
			set_province_name = { id = 6727 name = "Belgorod-Dnestrovskiy" }
			766 = { set_state_name = "Yuzhnaya Bessarabia" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_bilhorod_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 766 #bilhorod
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_bilhorod_akkerman
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_bilhorod_akkerman
				}
            }
		
			set_province_name = { id = 6727 name = "Belgorod-Dnestrovskiy" }
			766 = { set_state_name = "Yuzhnaya Bessarabia" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_bilhorod_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 766 #bilhorod
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 6727 name = "Akkerman" }
			766 = { set_state_name = "Yuzhnaya Bessarabia" }
			
			set_country_flag = dscr_russia_bilhorod_akkerman
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_bilhorod_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 766 #bilhorod
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 6727 name = "Akkerman" }
			766 = { set_state_name = "Yuzhnaya Bessarabia" }
			
			set_country_flag = dscr_russia_bilhorod_akkerman
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

change_cities_names_sov_baltic = {
	###################################BALTIC##########################################

	### VIRUMAA ###
	
	change_virumaa_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 813 #virumaa
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_virumaa_rugodiv
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_virumaa_rugodiv
				}
            }
		
			set_province_name = { id = 11127 name = "Rakvere" }
			set_province_name = { id = 4640 name = "Narva" }
			813 = { set_state_name = "Viru" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
		
		change_virumaa_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 813 #virumaa
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_virumaa_rugodiv
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_virumaa_rugodiv
				}
            }
		
			set_province_name = { id = 11127 name = "Rakvere" }
			set_province_name = { id = 4640 name = "Narva" }
			813 = { set_state_name = "Viru" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_virumaa_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 813 #virumaa
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_virumaa_rugodiv
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_virumaa_rugodiv
				}
            }
		
			set_province_name = { id = 11127 name = "Rakvere" }
			set_province_name = { id = 4640 name = "Narva" }
			813 = { set_state_name = "Viru" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_virumaa_neu_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 813 #virumaa
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}

		complete_effect = {
			set_province_name = { id = 11127 name = "Rakvere" }
			set_province_name = { id = 4640 name = "Rugodiv" }
			813 = { set_state_name = "Viru" }
			
			set_country_flag = dscr_russia_virumaa_rugodiv
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_virumaa_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 813 #virumaa
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_virumaa_rugodiv
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_virumaa_rugodiv
				}
            }
		
			set_province_name = { id = 11127 name = "Rakvere" }
			set_province_name = { id = 4640 name = "Narva" }
			813 = { set_state_name = "Viru" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_virumaa_fas_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 813 #virumaa
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}

		complete_effect = {
			set_province_name = { id = 11127 name = "Rakvere" }
			set_province_name = { id = 4640 name = "Rugodiv" }
			813 = { set_state_name = "Viru" }
			
			set_country_flag = dscr_russia_virumaa_rugodiv
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### TARTU ###
	
	change_tartu_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 191 #tartu
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_derpt_yuriev
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_derpt_yuriev
				}
            }
		
			set_province_name = { id = 9221 name = "Derpt" }
			set_province_name = { id = 592 name = "Vyru" }
			191 = { set_state_name = "Derpt" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tartu_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 191 #tartu
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_derpt_yuriev
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_derpt_yuriev
				}
            }
		
			set_province_name = { id = 9221 name = "Derpt" }
			set_province_name = { id = 592 name = "Vyru" }
			191 = { set_state_name = "Derpt" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tartu_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 191 #tartu
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_derpt_yuriev
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_derpt_yuriev
				}
            }
		
			set_province_name = { id = 9221 name = "Derpt" }
			set_province_name = { id = 592 name = "Vyru" }
			191 = { set_state_name = "Derpt" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tartu_neu_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 191 #tartu
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}
	

		complete_effect = {
			set_province_name = { id = 9221 name = "Yuriev" }
			set_province_name = { id = 592 name = "Vyru" }
			191 = { set_state_name = "Yuriev" }
			
			set_country_flag = dscr_russia_derpt_yuriev
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tartu_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 191 #tartu
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_derpt_yuriev
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_derpt_yuriev
				}
            }
		
			set_province_name = { id = 9221 name = "Derpt" }
			set_province_name = { id = 592 name = "Vyru" }
			191 = { set_state_name = "Derpt" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tartu_fas_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 191 #tartu
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}
	

		complete_effect = {
			set_province_name = { id = 9221 name = "Yuriev" }
			set_province_name = { id = 592 name = "Vyru" }
			191 = { set_state_name = "Yuriev" }
			
			set_country_flag = dscr_russia_derpt_yuriev
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### TALLINN ###
	
	change_tallinn_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 812 #tallinn
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tallin_revel
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tallin_revel
				}
            }
		
			set_province_name = { id = 3152 name = "Tallin" }
			812 = { set_state_name = "Harju" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tallinn_com_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 812 #tallinn
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			set_province_name = { id = 3152 name = "Revel" }
			812 = { set_state_name = "Revel" }
			
			set_country_flag = dscr_russia_tallin_revel
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tallinn_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 812 #tallinn
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_tallin_revel
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_tallin_revel
				}
            }
		
			set_province_name = { id = 3152 name = "Tallin" }
			812 = { set_state_name = "Harju" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tallinn_dem_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 812 #tallinn
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			set_province_name = { id = 3152 name = "Revel" }
			812 = { set_state_name = "Revel" }
			
			set_country_flag = dscr_russia_tallin_revel
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tallinn_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 812 #tallinn
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}
	

		complete_effect = {
			set_province_name = { id = 3152 name = "Revel" }
			812 = { set_state_name = "Revel" }
			
			set_country_flag = dscr_russia_tallin_revel
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_tallinn_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 812 #tallinn
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}
	

		complete_effect = {
			set_province_name = { id = 3152 name = "Revel" }
			812 = { set_state_name = "Revel" }
			
			set_country_flag = dscr_russia_tallin_revel
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### KURESSAARE ###
	
	change_kuressaare_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 811 #kuressaare
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_kingissipa
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_kingissipa
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_arensburg
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_arensburg
				}
            }
		
			set_province_name = { id = 185 name = "Kuressaare" }
			811 = { set_state_name = "Saaremaa" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kuressaare_com_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 811 #kuressaare
			has_government = communism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_arensburg
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_arensburg
				}
            }
		
			set_province_name = { id = 185 name = "Kingissepa" }
			811 = { set_state_name = "Saaremaa" }
			
			
			set_country_flag = dscr_russia_kuressaare_kingissipa
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kuressaare_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 811 #kuressaare
			has_government = democratic
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_kingissipa
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_kingissipa
				}
            }
			
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_arensburg
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_arensburg
				}
            }
		
			set_province_name = { id = 185 name = "Kuressaare" }
			811 = { set_state_name = "Saaremaa" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kuressaare_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 811 #kuressaare
			has_government = neutrality
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_kingissipa
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_kingissipa
				}
            }
		
			set_province_name = { id = 185 name = "Arensburg" }
			811 = { set_state_name = "Saaremaa" }
			
			set_country_flag = dscr_russia_kuressaare_arensburg
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_kuressaare_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 811 #kuressaare
			has_government = fascism
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_kuressaare_kingissipa
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_kuressaare_kingissipa
				}
            }
		
			set_province_name = { id = 185 name = "Arensburg" }
			811 = { set_state_name = "Saaremaa" }
			
			set_country_flag = dscr_russia_kuressaare_arensburg
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	### VILNIUS ###
	
	change_vilnius_com = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 784 #vilnius
			has_government = communism
		}
		
		fire_only_once = no
		
		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = communism
			}
		}

		visible = {
			OR = {
				has_government = communism
			}
			NOT = {
			    has_government = democratic
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_vilnus_vilna
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_vilnus_vilna
				}
            }
		
			set_province_name = { id = 3320 name = "Vilnus" }
			784 = { set_state_name = "Vilnus" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_vilnius_dem = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 784 #vilnius
			has_government = democratic
		}
		
		fire_only_once = no
		
		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = democratic
			}
		}

		visible = {
			OR = {
				has_government = democratic
			}
			NOT = {
			    has_government = communism
			    has_government = neutrality
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_vilnus_vilna
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_vilnus_vilna
				}
            }
		
			set_province_name = { id = 3320 name = "Vilnus" }
			784 = { set_state_name = "Vilnus" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_vilnius_neu = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 784 #vilnius
			has_government = neutrality
		}
		
		ai_will_do = {
			base = 0
			modifier = {
				factor = 0
				has_government = neutrality
			}
		}
		
		fire_only_once = no

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_vilnus_vilna
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_vilnus_vilna
				}
            }
		
			set_province_name = { id = 3320 name = "Vilnus" }
			784 = { set_state_name = "Vilnus" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_vilnius_neu_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 784 #vilnius
			has_government = neutrality
		}
		
		fire_only_once = no
		
		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = neutrality
			}
		}

		visible = {
			OR = {
				has_government = neutrality
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = fascism
			}
		}
	

		complete_effect = {
			set_province_name = { id = 3320 name = "Vilna" }
			784 = { set_state_name = "Vilna" }
			
			set_country_flag = dscr_russia_vilnus_vilna
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_vilnius_fas = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 784 #vilnius
			has_government = fascism
		}
		
		fire_only_once = no
		
		ai_will_do = {
			base = 0
			modifier = {
				factor = 0
				has_government = fascism
			}
		}

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}
	

		complete_effect = {
			if = {
			    limit = {
				    SOV = {
					    has_country_flag = dscr_russia_vilnus_vilna
					}
				}
				SOV = { 
				    clr_country_flag = dscr_russia_vilnus_vilna
				}
            }
		
			set_province_name = { id = 3320 name = "Vilnus" }
			784 = { set_state_name = "Vilnus" }
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
	
	change_vilnius_fas_other = {

		icon = generic_form_nation

		allowed = {
			OR = {
			    original_tag = SOV
			}
		}

		available = {
			controls_state = 784 #vilnius
			has_government = fascism
		}
		
		fire_only_once = no
		
		ai_will_do = {
			base = 10
			modifier = {
				factor = 1
				has_government = fascism
			}
		}

		visible = {
			OR = {
				has_government = fascism
			}
			NOT = {
			    has_government = communism
			    has_government = democratic
				has_government = neutrality
			}
		}
	

		complete_effect = {
			set_province_name = { id = 3320 name = "Vilna" }
			784 = { set_state_name = "Vilna" }
			
			set_country_flag = dscr_russia_vilnus_vilna
			
		}

		ai_will_do = {
			factor = 0
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}