# 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 ##### Example ##### # Taking back patagonia defined_text = { name = CHL_taking_back_patagonia_key text = { trigger = { tag = CHL NOT = { has_completed_focus = CHL_address_the_mapuche_conflict } } localization_key = CHL_taking_back_patagonia_kingdom } text = { trigger = { tag = CHL has_completed_focus = CHL_address_the_mapuche_conflict } localization_key = CHL_taking_back_patagonia_mapuche } } # Taking Back Patagonia desc defined_text = { name = CHL_taking_back_patagonia_desc_key text = { trigger = { tag = CHL NOT = { has_completed_focus = CHL_address_the_mapuche_conflict } } localization_key = CHL_taking_back_patagonia_kingdom_desc } text = { trigger = { tag = CHL has_completed_focus = CHL_address_the_mapuche_conflict } localization_key = CHL_taking_back_patagonia_mapuche_desc } } # Devalue the peso defined_text = { name = CHL_devalue_the_peso_key text = { trigger = { tag = CHL NOT = { has_completed_focus = CHL_introduce_the_franc } } localization_key = CHL_devalue_the_peso_peso } text = { trigger = { tag = CHL has_completed_focus = CHL_introduce_the_franc } localization_key = CHL_devalue_the_peso_franc } } # Devalue the peso desc defined_text = { name = CHL_devalue_the_peso_key_desc_key text = { trigger = { tag = CHL NOT = { has_completed_focus = CHL_introduce_the_franc } } localization_key = CHL_devalue_the_peso_peso_desc } text = { trigger = { tag = CHL has_completed_focus = CHL_introduce_the_franc } localization_key = CHL_devalue_the_peso_franc_desc } }