# Allows you to create your own dynamic keys
# to be called in localization.
# defined_text -> this is it, we're defining the text
# text -> a discrete entry that can be picked to display in loc.
# trigger -> determines if a text entry will be picked or not.
# (The triggers need to be valid for the scope the key is called in
# (eg Root or From.From).)
# localization_key -> points to the localization key
# that'll be used if trigger passes

defined_text = { 
	name = GetCUACollaborayionFocusName #CUA focus
	text = {
		trigger = {
			original_tag = CUA
			is_puppet_of = CZE
		}
		localization_key = CUA_collaboration_with_center_name_CZE
	}
	text = {
		trigger = {
			original_tag = CUA
			NOT = { is_puppet_of = CZE }
		}
		localization_key = CUA_collaboration_with_center_name_OTHER
	}
}
defined_text = { 
	name = GetDKRWestUkraineFocusName
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 89 = { is_owned_and_controlled_by = POL	} }
			NOT = { 91 = { is_owned_and_controlled_by = POL	} }
			NOT = { 93 = { is_owned_and_controlled_by = POL	} }
		}
		localization_key = DKR_western_campaign_name_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			OR = {
				89 = { is_owned_and_controlled_by = POL	}
				91 = { is_owned_and_controlled_by = POL	}
				93 = { is_owned_and_controlled_by = POL	}
			}
		}
		localization_key = DKR_western_campaign_name_annexation
	}
}
defined_text = { 
	name = GetDKRWestUkraineFocusDesc
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 89 = { is_owned_and_controlled_by = POL	} }
			NOT = { 91 = { is_owned_and_controlled_by = POL	} }
			NOT = { 93 = { is_owned_and_controlled_by = POL	} }
		}
		localization_key = DKR_western_campaign_desc_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			OR = {
				89 = { is_owned_and_controlled_by = POL	}
				91 = { is_owned_and_controlled_by = POL	}
				93 = { is_owned_and_controlled_by = POL	}
			}
		}
		localization_key = DKR_western_campaign_desc_annexation
	}
}
defined_text = { 
	name = GetDKRBessarabiaFocusName
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 78 = { is_owned_and_controlled_by = ROM	} }
			NOT = { 80 = { is_owned_and_controlled_by = ROM	} }
			NOT = { 766 = { is_owned_and_controlled_by = ROM } }
		}
		localization_key = DKR_go_across_prut_name_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			OR = {
				78 = { is_owned_and_controlled_by = ROM	}
				80 = { is_owned_and_controlled_by = ROM	}
				766 = { is_owned_and_controlled_by = ROM }
			}
		}
		localization_key = DKR_go_across_prut_name_annexation
	}
}
defined_text = { 
	name = GetDKRBessarabiaFocusDesc
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 78 = { is_owned_and_controlled_by = ROM	} }
			NOT = { 80 = { is_owned_and_controlled_by = ROM	} }
			NOT = { 766 = { is_owned_and_controlled_by = ROM } }
		}
		localization_key = DKR_go_across_prut_desc_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			OR = {
				78 = { is_owned_and_controlled_by = ROM	}
				80 = { is_owned_and_controlled_by = ROM	}
				766 = { is_owned_and_controlled_by = ROM }
			}
		}
		localization_key = DKR_go_across_prut_desc_annexation
	}
}
defined_text = { 
	name = GetDKRCrimeaFocusName
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 137 = { is_owned_and_controlled_by = CRM } }
		}
		localization_key = DKR_staining_for_whites_name_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			137 = { is_owned_and_controlled_by = CRM }
		}
		localization_key = DKR_staining_for_whites_name_annexation
	}
}
defined_text = { 
	name = GetDKRCrimeaFocusDesc
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 137 = { is_owned_and_controlled_by = CRM } }
		}
		localization_key = DKR_staining_for_whites_desc_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			137 = { is_owned_and_controlled_by = CRM }
		}
		localization_key = DKR_staining_for_whites_desc_annexation
	}
}
defined_text = { 
	name = GetDKRTranscarpathiaFocusName
	text = {
		trigger = {
			original_tag = DKR
			73 = { is_owned_and_controlled_by = DKR }
		}
		localization_key = DKR_free_carpathians_name_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 73 = { is_owned_and_controlled_by = DKR } }
		}
		localization_key = DKR_free_carpathians_name_annexation
	}
}
defined_text = { 
	name = GetDKRTranscarpathiaFocusDesc
	text = {
		trigger = {
			original_tag = DKR
			73 = { is_owned_and_controlled_by = DKR }
		}
		localization_key = DKR_free_carpathians_desc_claims
	}
	text = {
		trigger = {
			original_tag = DKR
			NOT = { 73 = { is_owned_and_controlled_by = DKR } }
		}
		localization_key = DKR_free_carpathians_desc_annexation
	}
}
defined_text = { 
	name = GetUKROrientationOnGermanyFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
		}
		localization_key = UKR_orientation_on_germany_name_nazi
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_melnyk_without_daddy }
		}
		localization_key = UKR_orientation_on_germany_name_neutral
	}
}
defined_text = { 
	name = GetUKROrientationOnGermanyFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
		}
		localization_key = UKR_orientation_on_germany_desc_nazi
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_melnyk_without_daddy }
		}
		localization_key = UKR_orientation_on_germany_desc_neutral
	}
}
defined_text = { 
	name = GetUKRGermanySupportFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
		}
		localization_key = UKR_germany_support_name_nazi
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_melnyk_without_daddy }
		}
		localization_key = UKR_germany_support_name_neutral
	}
}
defined_text = { 
	name = GetUKRGermanySupportFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
		}
		localization_key = UKR_germany_support_desc_nazi
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_melnyk_without_daddy }
		}
		localization_key = UKR_germany_support_desc_neutral
	}
}
defined_text = { 
	name = GetUKRGermanyCapitalsFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
		}
		localization_key = UKR_germany_capitals_name_nazi
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_melnyk_without_daddy }
		}
		localization_key = UKR_germany_capitals_name_neutral
	}
}
defined_text = { 
	name = GetUKRGermanyCapitalsFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
		}
		localization_key = UKR_germany_capitals_desc_nazi
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_melnyk_without_daddy }
		}
		localization_key = UKR_germany_capitals_desc_neutral
	}
}
defined_text = { 
	name = GetUKRFinnishPathFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids  }
		}
		localization_key = UKR_finnish_path_name_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_finnish_path_name_romanov
	}
}
defined_text = { 
	name = GetUKRFinnishPathFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids }
		}
		localization_key = UKR_finnish_path_desc_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_finnish_path_desc_romanov
	}
}
defined_text = { 
	name = GetUKRCapitalOfMonarchFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids  }
		}
		localization_key = UKR_capital_of_monarch_name_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_capital_of_monarch_name_romanov
	}
}
defined_text = { 
	name = GetUKRCapitalOfMonarchFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids }
		}
		localization_key = UKR_capital_of_monarch_desc_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_capital_of_monarch_desc_romanov
	}
}
defined_text = { 
	name = GetUKRNewAlliancesFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids }
		}
		localization_key = UKR_new_alliances_desc_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_new_alliances_desc_romanov
	}
}
defined_text = { 
	name = GetUKRAllSlavicIdeaFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids  }
		}
		localization_key = UKR_all_slavic_idea_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_all_slavic_idea_romanov
	}
}
defined_text = { 
	name = GetUKRAllSlavicIdeaFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_rurikids }
		}
		localization_key = UKR_all_slavic_idea_desc_rurik
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_country_flag = UKR_restore_of_romanovs }
		}
		localization_key = UKR_all_slavic_idea_desc_romanov
	}
}
defined_text = { 
	name = GetUKRGreatRevolutionaryFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_completed_focus = UKR_humane_communism  }
		}
		localization_key = UKR_great_revolutionary_right
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_completed_focus = UKR_humane_communism } }
		}
		localization_key = UKR_great_revolutionary_left
	}
}
defined_text = { 
	name = GetUKRGreatRevolutionaryFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_completed_focus = UKR_humane_communism  }
		}
		localization_key = UKR_great_revolutionary_desc_right
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_completed_focus = UKR_humane_communism } }
		}
		localization_key = UKR_great_revolutionary_desc_left
	}
}
defined_text = { 
	name = GetUKRRevolutionForAllFocusName
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_completed_focus = UKR_humane_communism  }
		}
		localization_key = UKR_union_revolution_for_all_right
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_completed_focus = UKR_humane_communism } }
		}
		localization_key = UKR_union_revolution_for_all_left
	}
}
defined_text = { 
	name = GetUKRRevolutionForAllFocusDesc
	text = {
		trigger = {
			original_tag = UKR
			UKR = { has_completed_focus = UKR_humane_communism  }
		}
		localization_key = UKR_union_revolution_for_all_desc_right
	}
	text = {
		trigger = {
			original_tag = UKR
			UKR = { NOT = { has_completed_focus = UKR_humane_communism } }
		}
		localization_key = UKR_union_revolution_for_all_desc_left
	}
}
defined_text = { 
	name = GetCRINewInvestmentsFocusName
	text = {
		trigger = {
			original_tag = CRI
			CRI = { has_government = communism }
		}
		localization_key = CRI_new_investments_name_communism
	}
	text = {
		trigger = {
			original_tag = CRI
			CRI = { NOT = { has_government = communism } }
		}
		localization_key = CRI_new_investments_name_noncommunism
	}
}
defined_text = { 
	name = GetCRINewInvestmentsFocusDesc
	text = {
		trigger = {
			original_tag = CRI
			CRI = { has_government = communism }
		}
		localization_key = CRI_new_investments_desc_communism
	}
	text = {
		trigger = {
			original_tag = CRI
			CRI = { NOT = { has_government = communism } }
		}
		localization_key = CRI_new_investments_desc_noncommunism
	}
}
defined_text = { 
	name = GetCRIFourthKurultaiFocusName
	text = {
		trigger = {
			original_tag = CRI
			CRI = { has_government = communism }
		}
		localization_key = CRI_fourth_kurultai_name_communism
	}
	text = {
		trigger = {
			original_tag = CRI
			CRI = { NOT = { has_government = communism } }
		}
		localization_key = CRI_fourth_kurultai_name_noncommunism
	}
}
defined_text = { 
	name = GetCRIFourthKurultaiFocusDesc
	text = {
		trigger = {
			original_tag = CRI
			CRI = { has_government = communism }
		}
		localization_key = CRI_fourth_kurultai_desc_communism
	}
	text = {
		trigger = {
			original_tag = CRI
			CRI = { NOT = { has_government = communism } }
		}
		localization_key = CRI_fourth_kurultai_desc_noncommunism
	}
}
defined_text = {
	name = GetUnionistPoliticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_unionists > 79 }
		}
		localization_key = ucr_faction_max_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_unionists value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_unionists value = 80 compare = less_than }
		}
		localization_key = ucr_faction_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_unionists < 51 }
		}
		localization_key = ucr_faction_political_neutrality
	}
}
defined_text = {
	name = GetGuardsPoliticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_guards_of_order > 79 }
		}
		localization_key = ucr_faction_max_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_guards_of_order value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_guards_of_order value = 80 compare = less_than }
		}
		localization_key = ucr_faction_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_guards_of_order < 51 }
		}
		localization_key = ucr_faction_political_neutrality
	}
}
defined_text = {
	name = GetRightPoliticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_right_wing > 79 }
		}
		localization_key = ucr_faction_max_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_right_wing value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_right_wing value = 80 compare = less_than }
		}
		localization_key = ucr_faction_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_right_wing < 51 }
		}
		localization_key = ucr_faction_political_neutrality
	}
}
defined_text = {
	name = GetBlackPoliticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_black_rada > 79 }
		}
		localization_key = ucr_faction_max_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_black_rada value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_black_rada value = 80 compare = less_than }
		}
		localization_key = ucr_faction_political_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_black_rada < 51 }
		}
		localization_key = ucr_faction_political_neutrality
	}
}
defined_text = {
	name = GetUnionistDiplomaticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_unionists > 79 }
		}
		localization_key = ucr_faction_max_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_unionists value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_unionists value = 80 compare = less_than }
		}
		localization_key = ucr_faction_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_unionists < 51 }
		}
		localization_key = ucr_faction_diplomatical_neutrality
	}
}
defined_text = {
	name = GetGuardsDiplomaticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_guards_of_order > 79 }
		}
		localization_key = ucr_faction_max_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_guards_of_order value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_guards_of_order value = 80 compare = less_than }
		}
		localization_key = ucr_faction_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_guards_of_order < 51 }
		}
		localization_key = ucr_faction_diplomatical_neutrality
	}
}
defined_text = {
	name = GetRightDiplomaticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_right_wing > 79 }
		}
		localization_key = ucr_faction_max_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_right_wing value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_right_wing value = 80 compare = less_than }
		}
		localization_key = ucr_faction_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_right_wing < 51 }
		}
		localization_key = ucr_faction_diplomatical_neutrality
	}
}
defined_text = {
	name = GetBlackDiplomaticalBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_black_rada > 79 }
		}
		localization_key = ucr_faction_max_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var = var_ucr_support_of_black_rada value = 50 compare = greater_than }
			check_variable = { var = var_ucr_support_of_black_rada value = 80 compare = less_than }
		}
		localization_key = ucr_faction_diplomatical_bonus
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_ucr_support_of_black_rada < 51 }
		}
		localization_key = ucr_faction_diplomatical_neutrality
	}
}
defined_text = {
	name = GetOsavulStatusText
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_osavul = 1 }
		}
		localization_key = ucr_high_rank_status_loyal
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_osavul = 0 }
		}
		localization_key = ucr_high_rank_status_neutral
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_osavul = -1 }
		}
		localization_key = ucr_high_rank_status_disloyal
	}
}
defined_text = {
	name = GetPisarStatusText
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_pisar = 1 }
		}
		localization_key = ucr_high_rank_status_loyal
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_pisar = 0 }
		}
		localization_key = ucr_high_rank_status_neutral
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_pisar = -1 }
		}
		localization_key = ucr_high_rank_status_disloyal
	}
}
defined_text = {
	name = GetJudgeStatusText
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_judge = 1 }
		}
		localization_key = ucr_high_rank_status_loyal
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_judge = 0 }
		}
		localization_key = ucr_high_rank_status_neutral
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_judge = -1 }
		}
		localization_key = ucr_high_rank_status_disloyal
	}
}
defined_text = {
	name = GetWagonmasterStatusText
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_wagonmaster = 1 }
		}
		localization_key = ucr_high_rank_status_loyal
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_wagonmaster = 0 }
		}
		localization_key = ucr_high_rank_status_neutral
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_wagonmaster = -1 }
		}
		localization_key = ucr_high_rank_status_disloyal
	}
}
defined_text = {
	name = GetKhorunzhyStatusText
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_khorunzhy = 1 }
		}
		localization_key = ucr_high_rank_status_loyal
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_khorunzhy = 0 }
		}
		localization_key = ucr_high_rank_status_neutral
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { ucr_loyality_of_khorunzhy = -1 }
		}
		localization_key = ucr_high_rank_status_disloyal
	}
}
defined_text = {
	name = GetOUNStatusOfPower
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 1 }
		}
		localization_key = oun_low_power_of_conovalets
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 2 }
		}
		localization_key = oun_strong_power_of_conovalets
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 3 }
		}
		localization_key = oun_low_power_of_melnyk
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 4 }
		}
		localization_key = oun_strong_power_of_melnyk
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 5 }
		}
		localization_key = oun_low_power_of_bandera
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 6 }
		}
		localization_key = oun_strong_power_of_bandera
	}
	text = {
		trigger = {
			original_tag = UKR
			OR = {
				check_variable = { var_oun_status_of_power < 1 }
				check_variable = { var_oun_status_of_power > 6 }
			}
		}
		localization_key = oun_undefined_power
	}
}
defined_text = {
	name = GetOUNRadicalisationLevel
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_radicalisation_level = 1 }
		}
		localization_key = oun_low_radicalisation
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_radicalisation_level = 2 }
		}
		localization_key = oun_average_radicalisation
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_radicalisation_level = 3 }
		}
		localization_key = oun_high_radicalisation
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_radicalisation_level = 4 }
		}
		localization_key = oun_very_high_radicalisation
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_radicalisation_level = 5 }
		}
		localization_key = oun_extreme_radicalisation
	}
}
defined_text = {
	name = GetOUNKonovaletsBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 2 }
		}
		localization_key = oun_konovalets_bonuses
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power > 2 }
		}
		localization_key = oun_konovalets_debuff
	}
	text = {
		localization_key = oun_null_bonuses
	}
}
defined_text = {
	name = GetOUNMelnykBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 4 }
		}
		localization_key = oun_melnyk_bonuses
	}
	text = {
		trigger = {
			original_tag = UKR
			OR = {
				check_variable = { var_oun_status_of_power < 3 }
				check_variable = { var_oun_status_of_power > 4 }
			}
		}
		localization_key = oun_melnyk_debuff
	}
	text = {
		localization_key = oun_null_bonuses
	}
}
defined_text = {
	name = GetOUNBanderaBonus
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 6 }
		}
		localization_key = oun_bandera_bonuses
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power < 5 }
		}
		localization_key = oun_bandera_debuff
	}
	text = {
		localization_key = oun_null_bonuses
	}
}
defined_text = {
	name = GetKonovaletsStatusImg
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 2 }
		}
		localization_key = GFX_decision_faction_oun_konovalets_strong
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 1 }
		}
		localization_key = GFX_decision_faction_oun_konovalets_low
	}
	text = {
		localization_key = GFX_decision_faction_oun_konovalets
	}
}
defined_text = {
	name = GetMelnykStatusImg
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 4 }
		}
		localization_key = GFX_decision_faction_oun_melnyk_strong
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 3 }
		}
		localization_key = GFX_decision_faction_oun_melnyk_low
	}
	text = {
		localization_key = GFX_decision_faction_oun_melnyk
	}
}
defined_text = {
	name = GetBanderaStatusImg
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 6 }
		}
		localization_key = GFX_decision_faction_oun_bandera_strong
	}
	text = {
		trigger = {
			original_tag = UKR
			check_variable = { var_oun_status_of_power = 5 }
		}
		localization_key = GFX_decision_faction_oun_bandera_low
	}
	text = {
		localization_key = GFX_decision_faction_oun_bandera
	}
}
defined_text = { #Used to change a propaganda campaign GFX
	name = GetPropagandaLeftSlotImg
	text = {
		localization_key = GFX_UKR_nat_propaganda_strip
	}
}
defined_text = { #Used to change a propaganda campaign GFX
	name = GetPropagandaCenterSlotImg
	text = {
		localization_key = GFX_UKR_nat_propaganda_strip
	}
}
defined_text = { #Used to change a propaganda campaign GFX
	name = GetPropagandaRightSlotImg
	text = {
		localization_key = GFX_UKR_nat_propaganda_strip
	}
}
defined_text = {
	name = GetUkrPropagandaCampaignEffects_Left
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 1 }
		}
		localization_key = UKR_propaganda_campaign_locked_slot_tt
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 2 }
		}
		localization_key = SOV_propaganda_campaign_empty_slot_tt
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 3 }
		}
		localization_key = UKR_propaganda_for_united_ukraine
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 4 }
		}
		localization_key = UKR_propaganda_glory_for_heroes
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 5 }
		}
		localization_key = UKR_prison_of_the_peoples
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 6 }
		}
		localization_key = UKR_destroy_agents_of_the_kremlin
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 7 }
		}
		localization_key = UKR_combat_fund_for_tanks
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 8 }
		}
		localization_key = UKR_combat_fund_common
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 9 }
		}
		localization_key = UKR_propaganda_for_ukrainian_state
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 10 }
		}
		localization_key = UKR_natcom_equality
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 11 }
		}
		localization_key = UKR_natcom_education
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 12 }
		}
		localization_key = UKR_natcom_cooperation
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 13 }
		}
		localization_key = UKR_natcom_red_cavalr
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 14 }
		}
		localization_key = UKR_natcom_fight_for_future
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 15 }
		}
		localization_key = UKR_natcom_revolution_is_calling
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 16 }
		}
		localization_key = UKR_natcom_historymakers
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 17 }
		}
		localization_key = UKR_natcom_destroy_capitalism
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 18 }
		}
		localization_key = UKR_natcom_red_revival
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 19 }
		}
		localization_key = UKR_natcom_away_the_shackles
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 20 }
		}
		localization_key = UKR_natcom_do_not_be_slave
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 21 }
		}
		localization_key = UKR_natcom_time_for_new_world
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_left_icon_frame = 22 }
		}
		localization_key = UKR_propaganda_for_partisans
	}
}
defined_text = {
	name = GetUkrPropagandaCampaignEffects_Center
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 1 }
		}
		localization_key = UKR_propaganda_campaign_locked_slot_tt
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 2 }
		}
		localization_key = SOV_propaganda_campaign_empty_slot_tt
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 3 }
		}
		localization_key = UKR_propaganda_for_united_ukraine
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 4 }
		}
		localization_key = UKR_propaganda_glory_for_heroes
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 5 }
		}
		localization_key = UKR_prison_of_the_peoples
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 6 }
		}
		localization_key = UKR_destroy_agents_of_the_kremlin
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 7 }
		}
		localization_key = UKR_combat_fund_for_tanks
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 8 }
		}
		localization_key = UKR_combat_fund_common
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 9 }
		}
		localization_key = UKR_propaganda_for_ukrainian_state
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 10 }
		}
		localization_key = UKR_natcom_equality
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 11 }
		}
		localization_key = UKR_natcom_education
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 12 }
		}
		localization_key = UKR_natcom_cooperation
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 13 }
		}
		localization_key = UKR_natcom_red_cavalr
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 14 }
		}
		localization_key = UKR_natcom_fight_for_future
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 15 }
		}
		localization_key = UKR_natcom_revolution_is_calling
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 16 }
		}
		localization_key = UKR_natcom_historymakers
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 17 }
		}
		localization_key = UKR_natcom_destroy_capitalism
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 18 }
		}
		localization_key = UKR_natcom_red_revival
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 19 }
		}
		localization_key = UKR_natcom_away_the_shackles
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 20 }
		}
		localization_key = UKR_natcom_do_not_be_slave
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 21 }
		}
		localization_key = UKR_natcom_time_for_new_world
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_center_icon_frame = 22 }
		}
		localization_key = UKR_propaganda_for_partisans
	}
}
defined_text = {
	name = GetUkrPropagandaCampaignEffects_Right
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 1 }
		}
		localization_key = UKR_propaganda_campaign_locked_slot_tt
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 2 }
		}
		localization_key = SOV_propaganda_campaign_empty_slot_tt
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 3 }
		}
		localization_key = UKR_propaganda_for_united_ukraine
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 4 }
		}
		localization_key = UKR_propaganda_glory_for_heroes
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 5 }
		}
		localization_key = UKR_prison_of_the_peoples
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 6 }
		}
		localization_key = UKR_destroy_agents_of_the_kremlin
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 7 }
		}
		localization_key = UKR_combat_fund_for_tanks
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 8 }
		}
		localization_key = UKR_combat_fund_common
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 9 }
		}
		localization_key = UKR_propaganda_for_ukrainian_state
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 10 }
		}
		localization_key = UKR_natcom_equality
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 11 }
		}
		localization_key = UKR_natcom_education
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 12 }
		}
		localization_key = UKR_natcom_cooperation
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 13 }
		}
		localization_key = UKR_natcom_red_cavalr
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 14 }
		}
		localization_key = UKR_natcom_fight_for_future
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 15 }
		}
		localization_key = UKR_natcom_revolution_is_calling
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 16 }
		}
		localization_key = UKR_natcom_historymakers
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 17 }
		}
		localization_key = UKR_natcom_destroy_capitalism
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 18 }
		}
		localization_key = UKR_natcom_red_revival
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 19 }
		}
		localization_key = UKR_natcom_away_the_shackles
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 20 }
		}
		localization_key = UKR_natcom_do_not_be_slave
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 21 }
		}
		localization_key = UKR_natcom_time_for_new_world
	}
	text = {
		trigger = {
			check_variable = { UKR_poster_right_icon_frame = 22 }
		}
		localization_key = UKR_propaganda_for_partisans
	}
}
defined_text = {
	name = UkrGetDaysRemainingLeft
	text = {
		trigger = {
			OR = {
				check_variable = { UKR_poster_left_icon_frame = 1 }
				check_variable = { UKR_poster_left_icon_frame = 2 }
			}
		}
		localization_key = SOV_poster_no_text
	}
	text = {
		localization_key = UKR_poster_left_days_remaining_text
	}
}

defined_text = {
	name = UkrGetDaysRemainingCenter
	text = {
		trigger = {
			OR = {
				check_variable = { UKR_poster_center_icon_frame = 1 }
				check_variable = { UKR_poster_center_icon_frame = 2 }
			}
		}
		localization_key = SOV_poster_no_text
	}
	text = {
		localization_key = UKR_poster_center_days_remaining_text
	}
}

defined_text = {
	name = UkrGetDaysRemainingRight
	text = {
		trigger = {
			OR = {
				check_variable = { UKR_poster_right_icon_frame = 1 }
				check_variable = { UKR_poster_right_icon_frame = 2 }
			}
		}
		localization_key = SOV_poster_no_text
	}
	text = {
		localization_key = UKR_poster_right_days_remaining_text
	}
}
defined_text = {
	name = GetGensecName
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_volodymyr_vynnychenko
			}
		}
		localization_key = UKR_volodymyr_vynnychenko
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_rozalia_vynnychenko
			}
		}
		localization_key = UKR_rozalia_vynnychenko
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_isaak_mazepa
			}
		}
		localization_key = UKR_isaak_mazepa
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_oleksander_shumskyi
			}
		}
		localization_key = UKR_oleksander_shumskyi
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_lev_trotsky
			}
		}
		localization_key = UKR_lev_trotsky
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_vlas_chubar
			}
		}
		localization_key = UKR_vlas_chubar
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_mykola_khvylovy
			}
		}
		localization_key = UKR_mykola_khvylovy
	}
	text = {
		trigger = {
			has_country_leader = {
				ruling_only = yes
				character = UKR_sofia_sokolovska
			}
		}
		localization_key = UKR_sofia_sokolovska
	}
}
defined_text = {
	name = UKRGetAscendedAdvisor1
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 0 }
		}
		localization_key = empty_key
	}
	text = {
		localization_key = UKR_the_inner_circle_tt_ascended_advisor_1
	}
}

defined_text = {
	name = UKRGetAscendedAdvisor2
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 0 }
		}
		localization_key = empty_key
	}
	text = {
		localization_key = UKR_the_inner_circle_tt_ascended_advisor_2
	}
}

defined_text = {
	name = UKRGetAscendedAdvisor3
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 0 }
		}
		localization_key = empty_key
	}
	text = {
		localization_key = UKR_the_inner_circle_tt_ascended_advisor_3
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorName1
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 1 }
		}
		localization_key = UKR_vlas_chubar
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 2 }
		}
		localization_key = UKR_mykola_khvylovy
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 3 }
		}
		localization_key = UKR_oleksander_shumskyi
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 4 }
		}
		localization_key = UKR_sofia_sokolovska
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 5 }
		}
		localization_key = UKR_lev_trotsky
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 6 }
		}
		localization_key = UKR_isaak_mazepa
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorName2
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 1 }
		}
		localization_key = UKR_vlas_chubar
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 2 }
		}
		localization_key = UKR_mykola_khvylovy
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 3 }
		}
		localization_key = UKR_oleksander_shumskyi
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 4 }
		}
		localization_key = UKR_sofia_sokolovska
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 5 }
		}
		localization_key = UKR_lev_trotsky
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 6 }
		}
		localization_key = UKR_isaak_mazepa
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorName3
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 1 }
		}
		localization_key = UKR_vlas_chubar
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 2 }
		}
		localization_key = UKR_mykola_khvylovy
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 3 }
		}
		localization_key = UKR_oleksander_shumskyi
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 4 }
		}
		localization_key = UKR_sofia_sokolovska
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 5 }
		}
		localization_key = UKR_lev_trotsky
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 6 }
		}
		localization_key = UKR_isaak_mazepa
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorDesc1
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 1 }
			has_idea = UKR_chubar_secretar_idea_1
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 1 }
			has_idea = UKR_chubar_secretar_idea_2
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 1 }
			has_idea = UKR_chubar_secretar_idea_3
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_3
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_1
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_2
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_3
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_4
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_1
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_2
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_3
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_3
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_1
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_2
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_3
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_4
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 5 }
			has_idea = UKR_trotsky_secretar_idea_1
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 5 }
			has_idea = UKR_trotsky_secretar_idea_2
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 5 }
			has_idea = UKR_trotsky_secretar_idea_3
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 5 }
			has_idea = UKR_trotsky_secretar_idea_4
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 6 }
			has_idea = UKR_mazepa_secretar_idea_1
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 6 }
			has_idea = UKR_mazepa_secretar_idea_2
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 6 }
			has_idea = UKR_mazepa_secretar_idea_3
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 6 }
			has_idea = UKR_mazepa_secretar_idea_4
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_4
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorDesc2
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 1 }
			has_idea = UKR_chubar_secretar_idea_1
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 1 }
			has_idea = UKR_chubar_secretar_idea_2
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 1 }
			has_idea = UKR_chubar_secretar_idea_3
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_3
	}

	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_1
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_2
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_3
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_4
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_1
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_2
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_3
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_3
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_1
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_2
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_3
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_4
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 5 }
			has_idea = UKR_trotsky_secretar_idea_1
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 5 }
			has_idea = UKR_trotsky_secretar_idea_2
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 5 }
			has_idea = UKR_trotsky_secretar_idea_3
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 5 }
			has_idea = UKR_trotsky_secretar_idea_4
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 6 }
			has_idea = UKR_mazepa_secretar_idea_1
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 6 }
			has_idea = UKR_mazepa_secretar_idea_2
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 6 }
			has_idea = UKR_mazepa_secretar_idea_3
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 6 }
			has_idea = UKR_mazepa_secretar_idea_4
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_4
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorDesc3
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 0 }	
		}
		localization_key = empty_key
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 1 }
			has_idea = UKR_chubar_secretar_idea_1
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 1 }
			has_idea = UKR_chubar_secretar_idea_2
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 1 }
			has_idea = UKR_chubar_secretar_idea_3
		}
		localization_key = idea_desc|UKR_chubar_secretar_idea_3
	}

	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_1
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_2
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_3
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 2 }
			has_idea = UKR_khvylovy_secretar_idea_4
		}
		localization_key = idea_desc|UKR_khvylovy_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_1
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_2
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 3 }
			has_idea = UKR_shumskyi_secretar_idea_3
		}
		localization_key = idea_desc|UKR_shumskyi_secretar_idea_3
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_1
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_2
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_3
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 4 }
			has_idea = UKR_sokolovska_secretar_idea_4
		}
		localization_key = idea_desc|UKR_sokolovska_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 5 }
			has_idea = UKR_trotsky_secretar_idea_1
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 5 }
			has_idea = UKR_trotsky_secretar_idea_2
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 5 }
			has_idea = UKR_trotsky_secretar_idea_3
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 5 }
			has_idea = UKR_trotsky_secretar_idea_4
		}
		localization_key = idea_desc|UKR_trotsky_secretar_idea_4
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 6 }
			has_idea = UKR_mazepa_secretar_idea_1
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_1
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 6 }
			has_idea = UKR_mazepa_secretar_idea_2
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_2
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 6 }
			has_idea = UKR_mazepa_secretar_idea_3
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_3
	}
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 6 }
			has_idea = UKR_mazepa_secretar_idea_4
		}
		localization_key = idea_desc|UKR_mazepa_secretar_idea_4
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorTraitName1
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 0 }	
		}
		localization_key = empty_key
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 1 }
			OR = { 
				has_idea = UKR_chubar_secretar_idea_1
				has_idea = UKR_chubar_secretar_idea_2
				has_idea = UKR_chubar_secretar_idea_3
			}
		}
		localization_key = UKR_chubar_secretar_idea
	}

	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 2 }
			OR = { 
				has_idea = UKR_khvylovy_secretar_idea_1
				has_idea = UKR_khvylovy_secretar_idea_2
				has_idea = UKR_khvylovy_secretar_idea_3
				has_idea = UKR_khvylovy_secretar_idea_4
			}
		}
		localization_key = UKR_khvylovy_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 3 }
			OR = { 
				has_idea = UKR_shumskyi_secretar_idea_1
				has_idea = UKR_shumskyi_secretar_idea_2
				has_idea = UKR_shumskyi_secretar_idea_3
			}
		}
		localization_key = UKR_shumskyi_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 4 }
			OR = { 
				has_idea = UKR_sokolovska_secretar_idea_1
				has_idea = UKR_sokolovska_secretar_idea_2
				has_idea = UKR_sokolovska_secretar_idea_3
				has_idea = UKR_sokolovska_secretar_idea_4
			}
		}
		localization_key = UKR_sokolovska_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 5 }
			OR = { 
				has_idea = UKR_trotsky_secretar_idea_1
				has_idea = UKR_trotsky_secretar_idea_2
				has_idea = UKR_trotsky_secretar_idea_3
				has_idea = UKR_trotsky_secretar_idea_4
			}
		}
		localization_key = UKR_trotsky_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_1 = 6 }
			OR = { 
				has_idea = UKR_mazepa_secretar_idea_1
				has_idea = UKR_mazepa_secretar_idea_2
				has_idea = UKR_mazepa_secretar_idea_3
				has_idea = UKR_mazepa_secretar_idea_4
			}
		}
		localization_key = UKR_mazepa_secretar_idea
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorTraitName2
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 0 }	
		}
		localization_key = empty_key
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 1 }
			OR = { 
				has_idea = UKR_chubar_secretar_idea_1
				has_idea = UKR_chubar_secretar_idea_2
				has_idea = UKR_chubar_secretar_idea_3
			}
		}
		localization_key = UKR_chubar_secretar_idea
	}

	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 2 }
			OR = { 
				has_idea = UKR_khvylovy_secretar_idea_1
				has_idea = UKR_khvylovy_secretar_idea_2
				has_idea = UKR_khvylovy_secretar_idea_3
			}
		}
		localization_key = UKR_khvylovy_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 3 }
			OR = { 
				has_idea = UKR_shumskyi_secretar_idea_1
				has_idea = UKR_shumskyi_secretar_idea_2
				has_idea = UKR_shumskyi_secretar_idea_3
			}
		}
		localization_key = UKR_shumskyi_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 4 }
			OR = { 
				has_idea = UKR_sokolovska_secretar_idea_1
				has_idea = UKR_sokolovska_secretar_idea_2
				has_idea = UKR_sokolovska_secretar_idea_3
				has_idea = UKR_sokolovska_secretar_idea_4
			}
		}
		localization_key = UKR_sokolovska_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 5 }
			OR = { 
				has_idea = UKR_trotsky_secretar_idea_1
				has_idea = UKR_trotsky_secretar_idea_2
				has_idea = UKR_trotsky_secretar_idea_3
				has_idea = UKR_trotsky_secretar_idea_4
			}
		}
		localization_key = UKR_trotsky_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_2 = 6 }
			OR = { 
				has_idea = UKR_mazepa_secretar_idea_1
				has_idea = UKR_mazepa_secretar_idea_2
				has_idea = UKR_mazepa_secretar_idea_3
				has_idea = UKR_mazepa_secretar_idea_4
			}
		}
		localization_key = UKR_mazepa_secretar_idea
	}
}
defined_text = {
	name = UKRGetAscendedAdvisorTraitName3
	text = { #NO ONE
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 0 }	
		}
		localization_key = empty_key
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 1 }
			OR = { 
				has_idea = UKR_chubar_secretar_idea_1
				has_idea = UKR_chubar_secretar_idea_2
				has_idea = UKR_chubar_secretar_idea_3
			}
		}
		localization_key = UKR_chubar_secretar_idea
	}

	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 2 }
			OR = { 
				has_idea = UKR_khvylovy_secretar_idea_1
				has_idea = UKR_khvylovy_secretar_idea_2
				has_idea = UKR_khvylovy_secretar_idea_3
			}
		}
		localization_key = UKR_khvylovy_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 3 }
			OR = { 
				has_idea = UKR_shumskyi_secretar_idea_1
				has_idea = UKR_shumskyi_secretar_idea_2
				has_idea = UKR_shumskyi_secretar_idea_3
			}
		}
		localization_key = UKR_shumskyi_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 4 }
			OR = { 
				has_idea = UKR_sokolovska_secretar_idea_1
				has_idea = UKR_sokolovska_secretar_idea_2
				has_idea = UKR_sokolovska_secretar_idea_3
				has_idea = UKR_sokolovska_secretar_idea_4
			}
		}
		localization_key = UKR_sokolovska_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 5 }
			OR = { 
				has_idea = UKR_trotsky_secretar_idea_1
				has_idea = UKR_trotsky_secretar_idea_2
				has_idea = UKR_trotsky_secretar_idea_3
				has_idea = UKR_trotsky_secretar_idea_4
			}
		}
		localization_key = UKR_trotsky_secretar_idea
	}
	
	text = {
		trigger = {
			check_variable = { UKR_ascended_advisor_3 = 6 }
			OR = { 
				has_idea = UKR_mazepa_secretar_idea_1
				has_idea = UKR_mazepa_secretar_idea_2
				has_idea = UKR_mazepa_secretar_idea_3
				has_idea = UKR_mazepa_secretar_idea_4
			}
		}
		localization_key = UKR_mazepa_secretar_idea
	}
}
defined_text = {
	name = UKRGetCurrentVlntLevel

	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_1
		}
		localization_key = idea_desc|UKR_voluntarism_level_1
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_2
		}
		localization_key = idea_desc|UKR_voluntarism_level_2
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_3
		}
		localization_key = idea_desc|UKR_voluntarism_level_3
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_4
		}
		localization_key = idea_desc|UKR_voluntarism_level_4
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_5
		}
		localization_key = idea_desc|UKR_voluntarism_level_5
	}
}
defined_text = {
	name = UKRGetNextVlntLevel

	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_1
		}
		localization_key = idea_desc|UKR_voluntarism_level_2
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_2
		}
		localization_key = idea_desc|UKR_voluntarism_level_3
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_3
		}
		localization_key = idea_desc|UKR_voluntarism_level_4
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_4
		}
		localization_key = idea_desc|UKR_voluntarism_level_5
	}
	
	text = {
		trigger = {
			has_idea = UKR_voluntarism_level_5
		}
		localization_key = UKR_max_vlnt_level_tt
	}
}
