# 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 = BEF_Get_colony_name
	text = {
		trigger = {check_variable = { BEF_city_names = 1 }}
		localization_key = BEF_city_names_1
	}
	text = {
		trigger = {check_variable = { BEF_city_names = 2 }}
		localization_key = BEF_city_names_2
	}
	text = {
		trigger = {check_variable = { BEF_city_names = 3 }}
		localization_key = BEF_city_names_3
	}
	text = {
		trigger = {check_variable = { BEF_city_names = 4 }}
		localization_key = BEF_city_names_4
	}
	text = {
		localization_key = BEF_city_names_0
	}
}

