# 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 = BRA_federal_development_key text = { trigger = { original_tag = BRA has_completed_focus = BRA_constitutional_monarchy has_government = neutrality } localization_key = BRA_imperial_development_key } text = { trigger = { original_tag = BRA has_government = communism } localization_key = BRA_wealth_redistribution_key } text = { trigger = { original_tag = BRA has_government = fascism } localization_key = BRA_land_reform_key } text = { localization_key = BRA_federal_development_key } } defined_text = { name = BRA_kgbrazil_key text = { trigger = { original_tag = BRA has_dlc = "La Resistance" has_intelligence_agency = no NOT = { has_completed_focus = BRA_cangaco_coup } } localization_key = BRA_create_kgbrazil_with_agents } text = { trigger = { original_tag = BRA has_government = communism has_completed_focus = BRA_cangaco_coup } localization_key = BRA_kgbrazil_cangaco } text = { trigger = { original_tag = BRA has_dlc = "La Resistance" has_intelligence_agency = yes NOT = { has_completed_focus = BRA_cangaco_coup } } localization_key = BRA_kgbrazil_just_add_operatives } text = { #trigger = { # original_tag = BRA # NOT = { # has_dlc = "La Resistance" # } #} localization_key = BRA_kgbrazil_no_lar } } defined_text = { name = BRA_kgbrazil_desc_key text = { trigger = { original_tag = BRA has_dlc = "La Resistance" has_intelligence_agency = no } localization_key = BRA_create_kgbrazil_with_agents_desc } text = { trigger = { original_tag = BRA has_dlc = "La Resistance" has_intelligence_agency = yes } localization_key = BRA_kgbrazil_just_add_operatives_desc } text = { trigger = { original_tag = BRA NOT = { has_dlc = "La Resistance" } } localization_key = BRA_kgbrazil_no_lar_desc } }