
#Смена имени для Адальберта
defined_text = { # for shared tree
	name = AdalbertSetName
	text = {
		trigger = {
			BLR = {
				has_country_flag = BLR_Adalbert_new_name
			}
		}
		localization_key = BLR_adalbert_adryjna
	}
	text = {
		localization_key = BLR_adalbert
	}
}

#CSojm
defined_text = { # for shared tree
	name = BLR_parliamentSetName
	text = {
		trigger = {
			BLR = {
				has_government = communism
			}
		}
		localization_key = BLR_parliament_com
	}
	text = {
	    trigger = {
			BLR = {
				has_government = democratic
			}
		}
		localization_key = BLR_parliament
	}
}

defined_text = {
	name = GetNikodimStatusText
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_nikodim_attitude = 3 }
		}
		localization_key = blr_nikod_int
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_nikodim_attitude = 2 }
		}
		localization_key = blr_nikod_very_loyal
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_nikodim_attitude = 1 }
		}
		localization_key = blr_loyal
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_nikodim_attitude = 0 }
		}
		localization_key = blr_neutral
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_nikodim_attitude = -1 }
		}
		localization_key = blr_angry
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_nikodim_attitude = -2 }
		}
		localization_key = blr_nikod_very_angry
	}
}
defined_text = {
	name = GetSeredaStatusText
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_sereda_attitude = 3 }
		}
		localization_key = blr_sereda_int
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_sereda_attitude = 2 }
		}
		localization_key = blr_sereda_very_loyal
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_sereda_attitude = 1 }
		}
		localization_key = blr_loyal
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_sereda_attitude = 0 }
		}
		localization_key = blr_neutral
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_sereda_attitude = -1 }
		}
		localization_key = blr_angry
	}
	text = {
		trigger = {
			original_tag = BLR
			check_variable = { var_sereda_attitude = -2 }
		}
		localization_key = blr_sereda_very_angry
	}
}
defined_text = {
	name = GetSeredaFocusText
	text = {
		trigger = {
			original_tag = BLR
			has_government = democratic
			has_completed_focus = BLR_new_leadger
		}
		localization_key = blr_sereda_soy_liberal
	}
	text = {
		trigger = {
			original_tag = BLR
			has_government = neutrality
			has_completed_focus = BLR_new_leadger
		}
		localization_key = blr_sereda_liberal
	}
	text = {
		trigger = {
			NOT = { has_completed_focus = BLR_new_leadger }
		}
		localization_key = blr_sereda_no_focus_completed
	}
}

defined_text = {
	name = GetSeredaFocusDesc
	text = {
		trigger = {
			original_tag = BLR
			has_government = democratic
			has_completed_focus = BLR_new_leadger
		}
		localization_key = blr_sereda_soy_liberal_desc
	}
	text = {
		trigger = {
			original_tag = BLR
			has_government = neutrality
			has_completed_focus = BLR_new_leadger
		}
		localization_key = blr_sereda_liberal_desc
	}
	text = {
		trigger = {
			NOT = { has_completed_focus = BLR_new_leadger }
		}
		localization_key = blr_sereda_no_focus_completed_desc
	}
}

defined_text = {
	name = GetNikodimEvent_t
	text = {
		trigger = {
			original_tag = BLR
			NOT = { 
			    has_country_flag = BLR_cycle_event_localisation
				has_country_flag = BLR_cycle_event_localisation1
				has_country_flag = BLR_cycle_event_localisation2 
				has_country_flag = BLR_cycle_event_localisation3 
				has_country_flag = BLR_cycle_event_localisation4 
			}
		}
		localization_key = BLR_cycle_event_localisation4_t
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation
		}
		localization_key = BLR_cycle_event_localisation_t
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation1
		}
		localization_key = BLR_cycle_event_localisation1_t
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation2
		}
		localization_key = BLR_cycle_event_localisation2_t
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation3
		}
		localization_key = BLR_cycle_event_localisation3_t
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation4
		}
		localization_key = BLR_cycle_event_localisation4_t
	}
}

defined_text = {
	name = GetNikodimEvent_d
	text = {
		trigger = {
			original_tag = BLR
			NOT = { 
			    has_country_flag = BLR_cycle_event_localisation
				has_country_flag = BLR_cycle_event_localisation1
				has_country_flag = BLR_cycle_event_localisation2 
				has_country_flag = BLR_cycle_event_localisation3 
				has_country_flag = BLR_cycle_event_localisation4 
			}
		}
		localization_key = BLR_cycle_event_localisation4_d
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation
		}
		localization_key = BLR_cycle_event_localisation_d
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation1
		}
		localization_key = BLR_cycle_event_localisation1_d
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation2
		}
		localization_key = BLR_cycle_event_localisation2_d
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation3
		}
		localization_key = BLR_cycle_event_localisation3_d
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation4
		}
		localization_key = BLR_cycle_event_localisation4_d
	}
}

defined_text = {
	name = GetSeredaEvent_t
	text = {
		trigger = {
			original_tag = BLR
			NOT = { 
			    has_country_flag = BLR_cycle_event_localisation_sereda
				has_country_flag = BLR_cycle_event_localisation1_sereda
				has_country_flag = BLR_cycle_event_localisation2_sereda
				has_country_flag = BLR_cycle_event_localisation3_sereda
				has_country_flag = BLR_cycle_event_localisation4_sereda
			}
		}
		localization_key = BLR_cycle_event_localisation4_t_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation_sereda
		}
		localization_key = BLR_cycle_event_localisation_t_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation1_sereda
		}
		localization_key = BLR_cycle_event_localisation1_t_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation2_sereda
		}
		localization_key = BLR_cycle_event_localisation2_t_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation3_sereda
		}
		localization_key = BLR_cycle_event_localisation3_t_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation4_sereda
		}
		localization_key = BLR_cycle_event_localisation4_t_sereda
	}
}

defined_text = {
	name = GetSeredaEvent_d
	text = {
		trigger = {
			original_tag = BLR
			NOT = { 
			    has_country_flag = BLR_cycle_event_localisation_sereda
				has_country_flag = BLR_cycle_event_localisation1_sereda
				has_country_flag = BLR_cycle_event_localisation2_sereda
				has_country_flag = BLR_cycle_event_localisation3_sereda
				has_country_flag = BLR_cycle_event_localisation4_sereda
			}
		}
		localization_key = BLR_cycle_event_localisation4_d_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation_sereda
		}
		localization_key = BLR_cycle_event_localisation_d_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation1_sereda
		}
		localization_key = BLR_cycle_event_localisation1_d_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation2_sereda
		}
		localization_key = BLR_cycle_event_localisation2_d_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation3_sereda
		}
		localization_key = BLR_cycle_event_localisation3_d_sereda
	}
	text = {
		trigger = {
			original_tag = BLR
			has_country_flag = BLR_cycle_event_localisation4_sereda
		}
		localization_key = BLR_cycle_event_localisation4_d_sereda
	}
}


