# 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 = GetCollectivizationName
	text = {
		trigger = {
			SOV_third_five_year_plan_available = no
			NOT = { has_country_flag = collectivization_completed_focus_before_war }
		}
		localization_key = SOV_the_collectivization_process_b_alt
	}
	text = {
		localization_key = SOV_the_collectivization_process_b_default
	}
}

defined_text = {
	name = GetCollectivizationDesc
	text = {
		trigger = {
			SOV_third_five_year_plan_available = no
			NOT = { has_country_flag = collectivization_completed_focus_before_war }
		}
		localization_key = SOV_the_collectivization_process_b_desc_alt
	}
	text = {
		localization_key = SOV_the_collectivization_process_b_desc_default
	}
}


defined_text = {
	name = GetCentralizationName
	text = {
		trigger = {
			SOV_third_five_year_plan_available = no
			NOT = { has_country_flag = collectivization_completed_focus_before_war }
		}
		localization_key = SOV_organization_centralization_discipline_b_alt
	}
	text = {
		localization_key = SOV_organization_centralization_discipline_b_default
	}
}

defined_text = {
	name = GetCentralizationDesc
	text = {
		trigger = {
			SOV_third_five_year_plan_available = no
			NOT = { has_country_flag = collectivization_completed_focus_before_war }
		}
		localization_key = SOV_organization_centralization_discipline_b_desc_alt
	}
	text = {
		localization_key = SOV_organization_centralization_discipline_b_desc_default
	}
}


defined_text = {
	name = GetWarEconomyName
	text = {
		trigger = {
			SOV_third_five_year_plan_available = no
			NOT = { has_country_flag = collectivization_completed_focus_before_war }
		}
		localization_key = SOV_war_economy_b_alt
	}
	text = {
		localization_key = SOV_war_economy_b_default
	}
}

defined_text = {
	name = GetWarEconomyDesc
	text = {
		trigger = {
			SOV_third_five_year_plan_available = no
			NOT = { has_country_flag = collectivization_completed_focus_before_war }
		}
		localization_key = SOV_war_economy_b_desc_alt
	}
	text = {
		localization_key = SOV_war_economy_b_desc_default
	}
}