

defined_text = {
    name = Training_Efficiency
    text = {
        trigger = { check_variable = {training_efficiency = 0 }}
        localization_key = "Training_Efficiency"
    }
	
	 text = {
        trigger = {check_variable = {training_efficiency > 0 }}
        localization_key = "Training_Efficiency_green"
    }
	
}

defined_text = {
    name = War_Propaganda_Weekly
    text = {
        trigger = { check_variable = {war_propaganda_spies = 0 }}
        localization_key = "War_Propaganda_Weekly"
    }
	
	 text = {
        trigger = {check_variable = {war_propaganda_spies > 0 }}
        localization_key = "War_Propaganda_Weekly_green"
    }
	
}

defined_text = {
    name = Research_Bonus
    text = {
        trigger = { check_variable = {research_spies = 0 }}
        localization_key = "Spy_Research_Aid"
    }
	
	 text = {
        trigger = {check_variable = {research_spies > 0 }}
        localization_key = "Spy_Research_Aid_green"
    }
	
}

defined_text = {
    name = Suppress_Resistance
    text = {
        trigger = { check_variable = {resistance_spies = 0 }}
        localization_key = "Suppress_Resistance"
    }
	
	 text = {
        trigger = {check_variable = {resistance_spies > 0 }}
        localization_key = "Suppress_Resistance_green"
    }
	
}

defined_text = {
    name = Freiwillige
    text = {
        trigger = { check_variable = {Freiwillige_spies = 0 }}
        localization_key = "Freiwillige"
    }
	
	 text = {
        trigger = {check_variable = {Freiwillige_spies > 0 }}
        localization_key = "Freiwillige_green"
    }
	
}

defined_text = {
    name = Encryption
    text = {
        trigger = { check_variable = {Encryption_Selected = 0 }}
        localization_key = Encryption
    }
	
	 text = {
        trigger = {check_variable = {Encryption_Selected = 1 }}
        localization_key = "Encryption_selected"
    }
	
}


defined_text = {
    name = Decryption
    text = {
        trigger = { check_variable = {Decryption_Selected = 0 }}
        localization_key = Decryption
    }
	
	 text = {
        trigger = {check_variable = {Decryption_Selected = 1}}
        localization_key = "Decryption_Selected"
    }
	
}



defined_text = {
    name = OperationType
    text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 1 }}
        localization_key = Operation_Civilian
    } 
	
    text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 2 }}
        localization_key = Operation_Military
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 3 }}
        localization_key = Operation_Production
    }
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 4 }}
        localization_key = Operation_Extraction
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 5 }}
        localization_key = Operation_Recruitment
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 6 }}
        localization_key = Operation_Planning
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 7 }}
        localization_key = Operation_Supply
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 8 }}
        localization_key = Operation_Radar
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 9 }}
        localization_key = Operation_Food
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 10 }}
        localization_key = Operation_Resistance
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 11 }}
        localization_key = Operation_Pacifists
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 12 }}
        localization_key = Operation_Research
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 13 }}
        localization_key = Operation_Discontent
    }
	
	text = {
        trigger = { check_variable = {ROOT.operation_type@ROOT.show_Mission_Confirmation = 14 }}
        localization_key = Operation_Infiltration
    }
}

defined_text = {
    name = RecentAttempt
	text = {
        trigger = { PREV = {has_country_flag = Spy_Action_Attempted }}
        localization_key = Recent_Attempt
    }
	
	text = {
        trigger = { PREV = {NOT ={has_country_flag = Spy_Action_Attempted }}}
        localization_key = ""
    }
}

defined_text = {
    name = Being_Disrupted
	text = {
        trigger = { PREV = {has_country_flag = Being_Disrupted_By@ROOT }
		            check_variable = {ROOT.network_spies@PREV = 100}}
        localization_key = Being_Disrupted
    }
	
	text = {
        trigger = { PREV = {NOT ={has_country_flag = Being_Disrupted_By@ROOT }}}
        localization_key = ""
    }
}