defined_text = {
	name = getWarRegionSelected
	text = {
		trigger = {
			has_country_flag = war_moskowien_open_flag
		}
		localization_key = "getWarRegionSelected_moskowien"
	}
	text = {
		trigger = {
			has_country_flag = war_ukraine_open_flag
		}
		localization_key = "getWarRegionSelected_ukraine"
	}
	text = {
		trigger = {
			has_country_flag = war_ostland_open_flag
		}
		localization_key = "getWarRegionSelected_ostland"
	}
	text = {
		trigger = {
			has_country_flag = war_kaukasien_open_flag
		}
		localization_key = "getWarRegionSelected_kaukasien"
	}
	text = {
		trigger = {
			has_country_flag = war_kazakhstan_open_flag
		}
		localization_key = "getWarRegionSelected_kazakhstan"
	}
	text = {
		trigger = {
			has_country_flag = war_west_russia_open_flag
		}
		localization_key = "getWarRegionSelected_west_russia"
	}
}

defined_text = {
	name = WAR_get_control_moskow
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 219 }
			}
		}
		localization_key = "GFX_capital_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 219 }
				}
			}
		}
		localization_key = "GFX_capital_control_red"
	}
}

defined_text = {
	name = WAR_get_control_kiev
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 202 }
			}
		}
		localization_key = "GFX_capital_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 202 }
				}
			}
		}
		localization_key = "GFX_capital_control_red"
	}
}

defined_text = {
	name = WAR_get_control_riga
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 808 }
			}
		}
		localization_key = "GFX_capital_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 808 }
				}
			}
		}
		localization_key = "GFX_capital_control_red"
	}
}

defined_text = {
	name = WAR_get_control_tbilisi
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 231 }
			}
		}
		localization_key = "GFX_capital_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 231 }
				}
			}
		}
		localization_key = "GFX_capital_control_red"
	}
}

defined_text = {
	name = WAR_get_control_syktyvkar
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 397 }
			}
		}
		localization_key = "GFX_capital_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 397 }
				}
			}
		}
		localization_key = "GFX_capital_control_red"
	}
}

#Не столицы

defined_text = {
	name = WAR_get_control_leningrad
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 195 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 195 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_kargopol
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 214 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 214 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_vologda
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 351 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 351 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_gorky
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 252 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 252 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_samara
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 250 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 250 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_paulusburg
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 217 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 217 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_lipezk
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 258 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 258 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_smolensk
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 242 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 242 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_minsk
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 206 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 206 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_kazan
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 249 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 249 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_orenburg
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 652 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 652 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_uralsk
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 407 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 407 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}

defined_text = {
	name = WAR_get_control_ahtubinsk
	text = {
		trigger = {
			WRS = { 
				any_enemy_country = { controls_state = 402 }
			}
		}
		localization_key = "GFX_big_state_control_gray"
	}
	text = {
		trigger = {
			NOT = {
				WRS = { 
					any_enemy_country = { controls_state = 402 }
				}
			}
		}
		localization_key = "GFX_big_state_control_red"
	}
}