# 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 = INS_GET_WAR_ESCALATION_LEVEL_1_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 0 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 0 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_2_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 1 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 1 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_3_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 2 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 2 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_4_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 3 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 3 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_5_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 4 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 4 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_6_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 5 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 5 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_7_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 6 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 6 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_8_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 7 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 7 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_9_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 8 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 8 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } defined_text = { name = INS_GET_WAR_ESCALATION_LEVEL_10_COLOR text = { trigger = { tag = HOL check_variable = { INS.INS_war_escalation_level > 9 } } localization_key = "GFX_war_escalation_level_red" } text = { trigger = { tag = INS check_variable = { INS.INS_war_escalation_level > 9 } } localization_key = "GFX_war_escalation_level_green" } text = { localization_key = "GFX_war_escalation_level_white" } } ### MIOS ### defined_text = { name = INS_nsm_amsterdam_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_nsm_amsterdam_name_nationalized" } text = { localization_key = "INS_nsm_amsterdam_name_normal" } } defined_text = { name = INS_knilm_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_knilm_name_nationalized" } text = { localization_key = "INS_knilm_name_normal" } } defined_text = { name = INS_fokker_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_fokker_name_nationalized" } text = { localization_key = "INS_fokker_name_normal" } } defined_text = { name = INS_artillerie_inrichtingen_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_artillerie_inrichtingen_name_nationalized" } text = { localization_key = "INS_artillerie_inrichtingen_name_normal" } } defined_text = { name = INS_artillerie_inrichtingen_pyrotechnische_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_artillerie_inrichtingen_pyrotechnische_name_nationalized" } text = { localization_key = "INS_artillerie_inrichtingen_pyrotechnische_name_normal" } } defined_text = { name = INS_bio_pharma_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_bio_pharma_name_nationalized" } text = { localization_key = "INS_bio_pharma_name_normal" } } defined_text = { name = INS_royal_dutch_shell_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_royal_dutch_shell_name_nationalized" } text = { localization_key = "INS_royal_dutch_shell_name_normal" } } defined_text = { name = INS_de_javasche_bank_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_de_javasche_bank_name_nationalized" } text = { localization_key = "INS_de_javasche_bank_name_normal" } } defined_text = { name = INS_ptt_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_ptt_name_nationalized" } text = { localization_key = "INS_ptt_name_normal" } } defined_text = { name = INS_staatsporswegen_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_staatsporswegen_name_nationalized" } text = { localization_key = "INS_staatsporswegen_name_normal" } } defined_text = { name = INS_machinefabriek_braat_name text = { trigger = { INS = { INS_has_nationalized = yes } } localization_key = "INS_machinefabriek_braat_name_nationalized" } text = { localization_key = "INS_machinefabriek_braat_name_normal" } } defined_text = { name = INS_fate_of_de_javasche_bank_scripted_desc text = { trigger = { INS = { is_subject_of = HOL } } localization_key = "INS_fate_of_de_javasche_bank_scripted_desc_colony" } text = { trigger = { INS = { NOT = { is_subject_of = HOL } } } localization_key = "INS_fate_of_de_javasche_bank_scripted_desc_independent" } } defined_text = { name = INS_fate_of_de_javasche_bank_scripted_name text = { trigger = { INS = { is_subject_of = HOL } } localization_key = "INS_fate_of_de_javasche_bank_scripted_name_colony" } text = { trigger = { INS = { NOT = { is_subject_of = HOL } } } localization_key = "INS_fate_of_de_javasche_bank_scripted_name_independent" } } defined_text = { name = INS_timor_issue_scripted_name text = { trigger = { TML = { exists = yes } } localization_key = "INS_timor_issue_scripted_name_attack" } text = { trigger = { TML = { exists = no } } localization_key = "INS_timor_issue_scripted_name_issue" } } defined_text = { name = INS_timor_issue_scripted_desc text = { trigger = { TML = { exists = yes } } localization_key = "INS_timor_issue_scripted_desc_attack" } text = { trigger = { TML = { exists = no } } localization_key = "INS_timor_issue_scripted_desc_issue" } } defined_text = { name = INS_industrial_events_5_t_scripted text = { trigger = { INS = { is_subject_of = HOL } } localization_key = "INS_industrial_events_5_t_colonial" } text = { trigger = { INS = { NOT = { is_subject_of = HOL } } } localization_key = "INS_industrial_events_5_t_independent" } } defined_text = { name = INS_industrial_events_5_desc_scripted text = { trigger = { INS = { is_subject_of = HOL } } localization_key = "INS_industrial_events_5_desc_colonial" } text = { trigger = { INS = { NOT = { is_subject_of = HOL } } } localization_key = "INS_industrial_events_5_desc_independent" } } defined_text = { # Country name = GetInformantNetworkName text = { trigger = { original_tag = INS NOT = { has_completed_focus = INS_the_declaration_of_independence } } localization_key = INS_Sleeper_Informant_Network_name } text = { trigger = { original_tag = INS has_completed_focus = INS_the_declaration_of_independence } localization_key = INS_KNIL_Informant_Network_name } }