### Legacy of the Siberian Plan ###

### Prestige ###
defined_text = {
	name = GetRussianUnifierDominant
	text = {
		trigger = {
			check_variable = { WSR.RUS_diplo_prestige > WSB.RUS_diplo_prestige }
		}
		localization_key = WSR_DOMINANT
	}
	text = {
		trigger = {
			check_variable = { WSR.RUS_diplo_prestige < WSB.RUS_diplo_prestige }
		}
		localization_key = WSB_DOMINANT
	}
	text = {
		trigger = {
			check_variable = { WSR.RUS_diplo_prestige = WSB.RUS_diplo_prestige }
		}
		localization_key = RUS_NONE_DOMINANT
	}
}

defined_text = {
	name = GetSiberianUnifierDominant
	text = {
		trigger = {
			check_variable = { CSB.RUS_diplo_prestige > FST.RUS_diplo_prestige }
		}
		localization_key = CSB_DOMINANT
	}
	text = {
		trigger = {
			check_variable = { CSB.RUS_diplo_prestige < FST.RUS_diplo_prestige }
		}
		localization_key = FST_DOMINANT
	}
	text = {
		trigger = {
			check_variable = { CSB.RUS_diplo_prestige = FST.RUS_diplo_prestige }
		}
		localization_key = SIB_NONE_DOMINANT
	}
}

defined_text = {
	name = GetTotalUnifierDominant
	text = {
		trigger = {
			check_variable = { RWS.RUS_diplo_prestige > SIB.RUS_diplo_prestige }
		}
		localization_key = RWS_DOMINANT
	}
	text = {
		trigger = {
			check_variable = { RWS.RUS_diplo_prestige < SIB.RUS_diplo_prestige }
		}
		localization_key = SIB_DOMINANT
	}
	text = {
		trigger = {
			check_variable = { RWS.RUS_diplo_prestige = SIB.RUS_diplo_prestige }
		}
		localization_key = RUS_NONE_DOMINANT
	}
}

defined_text = {
	name = GetOtherRegionalAdj
	text = {
		trigger = {
			OR = {
				is_far_eastern_nation = yes
				is_central_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = region_name_adj_SIB
	}
	text = {
		trigger = {
			OR = {
				is_central_russian_nation = yes
				is_west_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = region_name_adj_RUS
	}
	text = {
		trigger = {
			is_central_russian_nation = yes
		}
		localization_key = region_name_adj_WSB
	}
	text = {
		trigger = {
			is_west_siberian_nation = yes
		}
		localization_key = region_name_adj_WSR
	}
	text = {
		trigger = {
			is_central_siberian_nation = yes
		}
		localization_key = region_name_adj_FST
	}
	text = {
		trigger = {
			is_far_eastern_nation = yes
		}
		localization_key = region_name_adj_CSB
	}
}

defined_text = {
	name = GetOtherRegionalName
	text = {
		trigger = {
			OR = {
				is_far_eastern_nation = yes
				is_central_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = "[RWS.GetName]"
	}
	text = {
		trigger = {
			OR = {
				is_central_russian_nation = yes
				is_west_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = "[SIB.GetName]"
	}
	text = {
		trigger = {
			is_central_russian_nation = yes
		}
		localization_key = "[WSB.GetName]"
	}
	text = {
		trigger = {
			is_west_siberian_nation = yes
		}
		localization_key = "[WSR.GetName]"
	}
	text = {
		trigger = {
			is_central_siberian_nation = yes
		}
		localization_key = "[FST.GetName]"
	}
	text = {
		trigger = {
			is_far_eastern_nation = yes
		}
		localization_key = "[CSB.GetName]"
	}
}

defined_text = {
	name = GetOtherRegionalDef
	text = {
		trigger = {
			OR = {
				is_far_eastern_nation = yes
				is_central_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = "[RWS.GetNameDef]"
	}
	text = {
		trigger = {
			OR = {
				is_central_russian_nation = yes
				is_west_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = "[SIB.GetNameDef]"
	}
	text = {
		trigger = {
			is_central_russian_nation = yes
		}
		localization_key = "[WSB.GetNameDef]"
	}
	text = {
		trigger = {
			is_west_siberian_nation = yes
		}
		localization_key = "[WSR.GetNameDef]"
	}
	text = {
		trigger = {
			is_central_siberian_nation = yes
		}
		localization_key = "[FST.GetNameDef]"
	}
	text = {
		trigger = {
			is_far_eastern_nation = yes
		}
		localization_key = "[CSB.GetNameDef]"
	}
}

defined_text = {
	name = GetOtherRegionalDefCap
	text = {
		trigger = {
			OR = {
				is_far_eastern_nation = yes
				is_central_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = "[RWS.GetNameDefCap]"
	}
	text = {
		trigger = {
			OR = {
				is_central_russian_nation = yes
				is_west_siberian_nation = yes
			}
			has_country_flag = RUS_superregional_stage
		}
		localization_key = "[SIB.GetNameDefCap]"
	}
	text = {
		trigger = {
			is_central_russian_nation = yes
		}
		localization_key = "[WSB.GetNameDefCap]"
	}
	text = {
		trigger = {
			is_west_siberian_nation = yes
		}
		localization_key = "[WSR.GetNameDefCap]"
	}
	text = {
		trigger = {
			is_central_siberian_nation = yes
		}
		localization_key = "[FST.GetNameDefCap]"
	}
	text = {
		trigger = {
			is_far_eastern_nation = yes
		}
		localization_key = "[CSB.GetNameDefCap]"
	}
}

### Nuclear Program Names
defined_text = {
	name = RUSGetNuclearProgramName
	text = {
		trigger = {
			original_tag = IRK
		}
		localization_key = RUS_nuclear_program_name_IRK
	}
	text = {
		trigger = {
			original_tag = OMS
		}
		localization_key = RUS_nuclear_program_name_OMS
	}
	text = {
		trigger = {
			original_tag = SVR
		}
		localization_key = RUS_nuclear_program_name_SVR
	}
	text = {
		trigger = {
			original_tag = AMR
		}
		localization_key = RUS_nuclear_program_name_AMR
	}
	text = {
		trigger = {
			original_tag = MAG
		}
		localization_key = RUS_nuclear_program_name_MAG
	}
	text = {
		trigger = {
			original_tag = KOM
			has_country_leader = {
				character = KOM_Lev_Gumilyov
				ruling_only = yes
			}
		}
		localization_key = RUS_nuclear_program_name_KOM_gummy
	}
	text = {
		trigger = {
			original_tag = PRM
			has_government = ultranationalism
		}
		localization_key = RUS_nuclear_program_name_PRM_hyperborea
	}
	text = {
		trigger = {
			original_tag = KEM
		}
		localization_key = RUS_nuclear_program_name_KEM
	}
	text = {
		trigger = {
			original_tag = SBA
			has_government = socialist
		}
		localization_key = RUS_nuclear_program_name_SBA_LibSoc
	}
	text = {
		trigger = {
			original_tag = SBA
			has_government = despotism
		}
		localization_key = RUS_nuclear_program_name_SBA_Despotist
	}
	text = {
		trigger = {
			is_russian_nation = yes
		}
		localization_key = RUS_nuclear_program_name_generic
	}
}

defined_text = {
	name = RUSGetUniqueName
	text = {
		trigger = {
			OR = {
				original_tag = IRK
				original_tag = BRY
				original_tag = WRS
				original_tag = PRC
				original_tag = TYM
				AND = {
					original_tag = KOM
					has_country_leader = { character = KOM_Mikhail_Suslov ruling_only = yes }
				}
			}
		}
		localization_key = RUS_name_soviet
	}
	text = {
		trigger = {
			AND = {
				original_tag = KOM
				has_country_leader = { character = KOM_Svetlana_Bukharina ruling_only = yes }
			}
		}
		localization_key = RUS_name_bukh
	}
	text = {
		trigger = {
			AND = {
				original_tag = KOM
				OR = {
					has_country_leader = { character = KOM_Andrei_Zhdanov ruling_only = yes }
					has_country_leader = { character = KOM_Vladimir_Chelomei ruling_only = yes }
					has_country_leader = { character = KOM_Nikolai_Kardashev ruling_only = yes }
				}
			}
		}
		localization_key = RUS_name_ultravis
	}
	text = {
		trigger = {
			OR = {
				original_tag = VYT
				original_tag = CHT
			}
		}
		localization_key = RUS_name_empire
	}
	text = {
		trigger = {
			original_tag = KOM
			has_government = ultranationalism
		}
		localization_key = RUS_name_eurasia
	}
	text = {
		trigger = {
			original_tag = KOM
			has_country_leader = {
				character = KOM_Sergey_Taboritsky
				ruling_only = yes
			}
		}
		localization_key = RUS_name_tabby
	}
	text = {
		trigger = {
			original_tag = KOM
			has_government = national_socialism
		}
		localization_key = RUS_name_ordsoc
	}
	text = {
		trigger = {
			original_tag = PRM
			has_government = ultranationalism
		}
		localization_key = RUS_name_hyperborea
	}
	text = {
		trigger = {
			original_tag = PRM
			has_government = national_socialism
		}
		localization_key = RUS_name_ab
	}
	text = {
		trigger = {
			original_tag = SBA
		}
		localization_key = RUS_name_SBA
	}
	text = {
		trigger = {
			is_russian_nation = yes
		}
		localization_key = RUS_name_generic
	}
}

defined_text = {
	name = GetRussiaNameNuke
	text = {
		trigger = {
			original_tag = KOM
			has_government = ultranationalism
		}
		localization_key = RUS_name_eurasia_nuke
	}
	text = {
		trigger = {
			original_tag = PRM
			has_government = ultranationalism
		}
		localization_key = RUS_name_hyperborea_nuke
	}
	text = {
		trigger = {
			is_russian_nation = yes
		}
		localization_key = RUS_name_generic_nuke
	}
}

defined_text = {
	name = RUSGetNuclearProgramStage
	text = {
		trigger = {
			has_country_flag = RUS_nuclear_program_phase_5
		}
		localization_key = RUS_nuclear_program_phase_5_loc
	}
	text = {
		trigger = {
			has_country_flag = RUS_nuclear_program_phase_4
		}
		localization_key = RUS_nuclear_program_phase_4_loc
	}
	text = {
		trigger = {
			has_country_flag = RUS_nuclear_program_phase_3
		}
		localization_key = RUS_nuclear_program_phase_3_loc
	}
	text = {
		trigger = {
			has_country_flag = RUS_nuclear_program_phase_2
		}
		localization_key = RUS_nuclear_program_phase_2_loc
	}
	text = {
		trigger = {
			has_country_flag = RUS_nuclear_program_phase_1
		}
		localization_key = RUS_nuclear_program_phase_1_loc
	}
}

defined_text = {
	name = RUSGetNuclearProgramProcess
	text = {
		trigger = {
			check_variable = { RUSNukesMonthlyProgress < 3 }
		}
		localization_key = RUS_nuclear_program_process_slow
	}
	text = {
		trigger = {
			check_variable = { RUSNukesMonthlyProgress > 2.99 }
		}
		localization_key = RUS_nuclear_program_process_moderate
	}
	text = {
		trigger = {
			check_variable = { RUSNukesMonthlyProgress > 4.99 }
		}
		localization_key = RUS_nuclear_program_process_fast
	}
	text = {
		trigger = {
			check_variable = { RUSNukesMonthlyProgress > 6.99 }
		}
		localization_key = RUS_nuclear_program_process_rapid
	}
}

defined_text = {
	name = Get_after_midnight_64_english_hos
	text = {
		trigger = {
			ENG = { has_idea = TNO_ParliamentMechanic_Monarch_Elizabeth_II }
		}
		localization_key = after_midnight.64.scriptedloc.queen
	}
	text = {
		trigger = {
			ENG = { has_idea = TNO_ParliamentMechanic_Monarch_NoMonarch }
		}
		localization_key = after_midnight.64.scriptedloc.none
	}
	text = {
		localization_key = after_midnight.64.scriptedloc.king
	}
}

#Tyumen Krush stuff

defined_text = {
	name = TYMGetKrushInfluence
	text = {
		trigger = {
			check_variable = {
				var = khrushchev_coup
				value = 4
				compare = greater_than_or_equals
			}
		}
		localization_key = TYM_Krush_Dominant
	}
	text = {
		trigger = {
			check_variable = {
				var = khrushchev_coup
				value = 3
				compare = equals
			}
		}
		localization_key = TYM_Krush_High
	}
	text = {
		trigger = {
			check_variable = {
				var = khrushchev_coup
				value = 2
				compare = equals
			}
		}
		localization_key = TYM_Krush_Med
	}
	text = {
		trigger = {
			check_variable = {
				var = khrushchev_coup
				value = 1
				compare = equals
			}
		}
		localization_key = TYM_Krush_Small
	}
	text = {
		localization_key = TYM_Krush_Nonexistent
	}
}

defined_text = {
	name = Get_RUS_Yekaterinburg_Or_Sverdlovsk
	text = {
		trigger = {
			has_global_flag = RUS_name_yekaterinburg
		}
		localization_key = STATE_653_nor
	}
	text = {
		localization_key = STATE_653
	}
}

defined_text = {
	name = GetNavalDeccatName
	text = {
		trigger = {
			OR = {
				tag = IRK
				tag = BRY
			}
		}
		localization_key = RUS_Naval_Deccat_Socialist
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_Naval_Deccat_Chita
	}
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_Naval_Deccat_Amur
	}
	text = {
		trigger = {
			has_country_flag = MAG_werbell_prevails
		}
		localization_key = RUS_Naval_Deccat_MGS
	}
	text = {
		localization_key = RUS_Naval_Deccat_Magadan
	}
}
defined_text = {
	name = GetSibManpowerDescription
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_manpower_decision_desc
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_manpower_decision_desc
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_manpower_decision_desc
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_manpower_decision_desc
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_manpower_decision_desc
	}
}
defined_text = {
	name = GetSibRepopText
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_AMR_manpower_repop_0
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_AMR_manpower_repop_1
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_AMR_manpower_repop_2
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_CHT_manpower_repop_0
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_CHT_manpower_repop_1
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_CHT_manpower_repop_2
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_MAG_manpower_repop_0
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_MAG_manpower_repop_1
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_MAG_manpower_repop_2
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_3
		}
		localization_key = RUS_FE_MAG_manpower_repop_3
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_BRY_manpower_repop_0
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_BRY_manpower_repop_1
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_BRY_manpower_repop_2
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_IRK_manpower_repop_0
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_IRK_manpower_repop_1
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_IRK_manpower_repop_2
	}
}
defined_text = {
	name = GetSibImmigrationText
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_AMR_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_AMR_manpower_immigration_1
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_AMR_manpower_immigration_2
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_AMR_manpower_immigration_3
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_CHT_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_CHT_manpower_immigration_1
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_CHT_manpower_immigration_2
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_3
			has_country_leader = { character = CHT_Mikhail_II ruling_only = yes }
			
		}
		localization_key = RUS_FE_CHT_manpower_immigration_3_OFN
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_3
			has_country_leader = { character = CHT_Boris_Shepunov ruling_only = yes }
		}
		localization_key = RUS_FE_CHT_manpower_immigration_3_CPS
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_MAG_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_MAG_manpower_immigration_1
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_MAG_manpower_immigration_2
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_MAG_manpower_immigration_3
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_BRY_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_BRY_manpower_immigration_1
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_BRY_manpower_immigration_2
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_BRY_manpower_immigration_3
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_IRK_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_IRK_manpower_immigration_1
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_15
		}
		localization_key = RUS_FE_IRK_manpower_immigration_15
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_IRK_manpower_immigration_2
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_IRK_manpower_immigration_3
	}
}
defined_text = {
	name = GetSibRepopSpiritName
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_AMR_repop_1
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_AMR_repop_2
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_AMR_repop_3
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_CHT_repop_1
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_CHT_repop_2
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_MAG_repop_1
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_MAG_repop_2
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_repop_stage_3
		}
		localization_key = RUS_FE_MAG_repop_3
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_BRY_repop_1
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_BRY_repop_2
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_repop_stage_0
		}
		localization_key = RUS_FE_IRK_repop_1
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_repop_stage_1
		}
		localization_key = RUS_FE_IRK_repop_2
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_repop_stage_2
		}
		localization_key = RUS_FE_IRK_repop_3
	}
}
defined_text = {
	name = GetSibImmigrationSpiritName
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_AMR_immigration_1
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_AMR_immigration_2
	}
	text = {
		trigger = {
			tag = AMR
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_AMR_immigration_3
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_CHT_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_CHT_immigration_1
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_CHT_immigration_2
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_3_OFN
		}
		localization_key = RUS_FE_CHT_immigration_3_OFN
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = RUS_FE_immigration_stage_3_CPS
		}
		localization_key = RUS_FE_CHT_immigration_3_CPS
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_MAG_immigration_1
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_MAG_immigration_2
	}
	text = {
		trigger = {
			tag = MAG
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_MAG_immigration_3
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_BRY_immigration_1
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_BRY_immigration_2
	}
	text = {
		trigger = {
			tag = BRY
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_BRY_immigration_3
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_0
		}
		localization_key = RUS_FE_IRK_manpower_immigration_0
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_1
		}
		localization_key = RUS_FE_IRK_immigration_1
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_15
		}
		localization_key = RUS_FE_IRK_immigration_15
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_2
		}
		localization_key = RUS_FE_IRK_immigration_2
	}
	text = {
		trigger = {
			tag = IRK
			has_country_flag = RUS_FE_immigration_stage_3
		}
		localization_key = RUS_FE_IRK_immigration_3
	}
}
defined_text = {
	name = GetSibManpowerRepopDec1Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_1_name
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_1_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_1_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_1_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_repop_decision_1_name
	}
}
defined_text = {
	name = GetSibManpowerRepopDec2Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_2_name
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_2_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_2_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_2_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_repop_decision_2_name
	}
}
defined_text = {
	name = GetSibManpowerRepopDec3Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_3_name
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_3_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_3_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_3_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_repop_decision_3_name
	}
}
defined_text = {
	name = GetSibManpowerRepopDec4Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_4_name
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_4_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_4_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_4_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_15_name
	}
}
defined_text = {
	name = GetSibManpowerRepopDec1TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_1_tt
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_1_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_1_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_1_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_repop_decision_1_tt
	}
}
defined_text = {
	name = GetSibManpowerRepopDec2TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_2_tt
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_2_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_2_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_2_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_repop_decision_2_tt
	}
}
defined_text = {
	name = GetSibManpowerRepopDec3TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_3_tt
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_3_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_3_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_3_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_repop_decision_3_tt
	}
}
defined_text = {
	name = GetSibManpowerRepopDec4TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_repop_decision_4_tt
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_repop_decision_4_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_repop_decision_4_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_repop_decision_4_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_15_tt
	}
}
defined_text = {
	name = GetSibManpowerImmigrationDec1Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_immigration_decision_1_name
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_immigration_decision_1_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_immigration_decision_1_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_immigration_decision_1_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_1_name
	}
}
defined_text = {
	name = GetSibManpowerImmigrationDec2Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_immigration_decision_2_name
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_immigration_decision_2_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_immigration_decision_2_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_immigration_decision_2_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_2_name
	}
}
defined_text = {
	name = GetSibManpowerImmigrationDec3Name
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_immigration_decision_3_name
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = CHT_shepunov_victorious
		}
		localization_key = RUS_FE_CHT_immigration_decision_3_cps_name
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = CHT_mikhail_victorious
		}
		localization_key = RUS_FE_CHT_immigration_decision_3_ofn_name
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_immigration_decision_3_name
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_immigration_decision_3_name
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_3_name
	}
}
defined_text = {
	name = GetSibManpowerImmigrationDec1TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_immigration_decision_1_tt
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_immigration_decision_1_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_immigration_decision_1_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_immigration_decision_1_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_1_tt
	}
}
defined_text = {
	name = GetSibManpowerImmigrationDec2TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_immigration_decision_2_tt
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS_FE_CHT_immigration_decision_2_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_immigration_decision_2_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_immigration_decision_2_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_2_tt
	}
}
defined_text = {
	name = GetSibManpowerImmigrationDec3TT
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS_FE_AMR_immigration_decision_3_tt
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = CHT_shepunov_victorious
		}
		localization_key = RUS_FE_CHT_immigration_decision_3_cps_tt
	}
	text = {
		trigger = {
			tag = CHT
			has_country_flag = CHT_mikhail_victorious
		}
		localization_key = RUS_FE_CHT_immigration_decision_3_ofn_tt
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS_FE_MAG_immigration_decision_3_tt
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS_FE_BRY_immigration_decision_3_tt
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS_FE_IRK_immigration_decision_3_tt
	}
}

defined_text = {
	name = GetEastSibDecEventName
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS.35.title_Amur
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS.35.title_Chita
	}
	text = {
		trigger = {
			has_country_leader = { character = MAG_Mitchell_Werbell ruling_only = yes }
		}
		localization_key = RUS.35.title_Werbell
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS.35.title_Magadan
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS.35.title_Irkutsk
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS.35.title_Sablin
	}
	text = {
		trigger = {
			tag = OMO
		}
		localization_key = RUS.35.title_Men
	}
}

defined_text = {
	name = GetEastSibDecEventDesc
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS.35.desc_Amur
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS.35.desc_Chita
	}
	text = {
		trigger = {
			has_country_leader = { character = MAG_Mitchell_Werbell ruling_only = yes }
		}
		localization_key = RUS.35.desc_Werbell
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS.35.desc_Magadan
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS.35.desc_Irkutsk
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS.35.desc_Sablin
	}
	text = {
		trigger = {
			tag = OMO
		}
		localization_key = RUS.35.desc_Men
	}
}

defined_text = {
	name = GetEastSibDecEventEnd
	text = {
		trigger = {
			tag = AMR
		}
		localization_key = RUS.35.a_Amur
	}
	text = {
		trigger = {
			tag = CHT
		}
		localization_key = RUS.35.a_Chita
	}
	text = {
		trigger = {
			has_country_leader = { character = MAG_Mitchell_Werbell ruling_only = yes }
		}
		localization_key = RUS.35.a_Werbell
	}
	text = {
		trigger = {
			tag = MAG
		}
		localization_key = RUS.35.a_Magadan
	}
	text = {
		trigger = {
			tag = IRK
		}
		localization_key = RUS.35.a_Irkutsk
	}
	text = {
		trigger = {
			tag = BRY
		}
		localization_key = RUS.35.a_Sablin
	}
	text = {
		trigger = {
			tag = OMO
		}
		localization_key = RUS.35.a_Men
	}
}

defined_text = { #These creates hundreds of thousands of errors at random before '65/66 if uses WSR, just checks for regional flag now
	name = GetMNRVol1Name
	text = {
		trigger = {
			WRS = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = WRS_MNR_volunteer_1
	}
	text = {
		trigger = {
			KOM = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = KOM_MNR_volunteer_1
	}
	text = {
		trigger = {
			VYT = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = VYT_MNR_volunteer_1
	}
	text = {
		trigger = {
			SAM = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = SAM_MNR_volunteer_1
	}
	text = {
		localization_key = RUS_MNR_volunteer_1
	}
}

defined_text = {
	name = GetMNRVol2Name
	text = {
		trigger = {
			WRS = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = WRS_MNR_volunteer_2
	}
	text = {
		trigger = {
			KOM = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = KOM_MNR_volunteer_2
	}
	text = {
		trigger = {
			VYT = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = VYT_MNR_volunteer_2
	}
	text = {
		trigger = {
			SAM = {
				has_country_flag = RUS_regional_stage
			}
		}
		localization_key = SAM_MNR_volunteer_2
	}
	text = {
		localization_key = RUS_MNR_volunteer_2
	}
}