# 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 = GetAmericanProtectionText
	text = {
		trigger = {
			ROOT = { is_subject_of = ENG }
			ENG = { has_war = yes }
		}
		localization_key = ICE_american_protection_desc_british_subject
	}
	text = {
		localization_key = ICE_american_protection_desc_standard
	}
}



