defined_text = {
	name = get_world_tension_defcon
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 80 }
		}
		localization_key = "GFX_world_tension_defcon_1"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 60 }
		}
		localization_key = "GFX_world_tension_defcon_2"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 40 }
		}
		localization_key = "GFX_world_tension_defcon_3"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 20 }
		}
		localization_key = "GFX_world_tension_defcon_4"
	}
	text = {
		trigger = {
			OR = {
				check_variable = { global.TNO_World_Tension > 0 }
				check_variable = { global.TNO_World_Tension = 0 }
			}
		}
		localization_key = "GFX_world_tension_defcon_5"
	}
}

defined_text = {
	name = get_world_tension_topbar_defcon
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 80 }
		}
		localization_key = "GFX_world_tension_topbar_defcon_1"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 60 }
		}
		localization_key = "GFX_world_tension_topbar_defcon_2"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 40 }
		}
		localization_key = "GFX_world_tension_topbar_defcon_3"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 20 }
		}
		localization_key = "GFX_world_tension_topbar_defcon_4"
	}
	text = {
		trigger = {
			OR = {
				check_variable = { global.TNO_World_Tension > 0 }
				check_variable = { global.TNO_World_Tension = 0 }
			}
		}
		localization_key = "GFX_world_tension_topbar_defcon_5"
	}
}

defined_text = {
	name = get_world_tension_topbar_defcon_tt
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 80 }
		}
		localization_key = DEFCON_1
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 60 }
		}
		localization_key = DEFCON_2
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 40 }
		}
		localization_key = DEFCON_3
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 20 }
		}
		localization_key = DEFCON_4
	}
	text = {
		trigger = {
			OR = {
				check_variable = { global.TNO_World_Tension > 0 }
				check_variable = { global.TNO_World_Tension = 0 }
			}
		}
		localization_key = DEFCON_5
	}
}

defined_text = {
	name = get_world_tension_topbar_defcon_tt_delayed
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 80 }
		}
		localization_key = DEFCON_1_delayed
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 60 }
		}
		localization_key = DEFCON_2_delayed
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 40 }
		}
		localization_key = DEFCON_3_delayed
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 20 }
		}
		localization_key = DEFCON_4_delayed
	}
	text = {
		trigger = {
			OR = {
				check_variable = { global.TNO_World_Tension > 0 }
				check_variable = { global.TNO_World_Tension = 0 }
			}
		}
		localization_key = DEFCON_5_delayed
	}
}

defined_text = {
	name = get_cw_gui_defcon_progbar
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 80 }
		}
		localization_key = "GFX_Cold_War_GUI_PB_Defcon1"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 60 }
		}
		localization_key = "GFX_Cold_War_GUI_PB_Defcon2"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 40 }
		}
		localization_key = "GFX_Cold_War_GUI_PB_Defcon3"
	}
	text = {
		trigger = {
			check_variable = { global.TNO_World_Tension > 20 }
		}
		localization_key = "GFX_Cold_War_GUI_PB_Defcon4"
	}
	text = {
		trigger = {
			OR = {
				check_variable = { global.TNO_World_Tension > 0 }
				check_variable = { global.TNO_World_Tension = 0 }
			}
		}
		localization_key = "GFX_Cold_War_GUI_PB_Defcon5"
	}
}

defined_text = {
	name = Cold_War_GUI_GetVictoryName
	text = {
		localization_key = "TNO_Cold_War_Victory_ID_[?Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Entry_Display^TNO_Cold_War_GUI_Victories_i]"
	}
}

defined_text = {
	name = Cold_War_GUI_GetVictoryOutcome
	text = {
		trigger = { check_variable = { Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Outcome_Display^TNO_Cold_War_GUI_Victories_i = 0 } }
		localization_key = "TNO_Cold_War_Victory_Outcome_Ongoing"
	}
	text = {
		trigger = { check_variable = { Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Outcome_Display^TNO_Cold_War_GUI_Victories_i = 1 } }
		localization_key = "TNO_Cold_War_Victory_Outcome_Total_Defeat"
	}
	text = {
		trigger = { check_variable = { Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Outcome_Display^TNO_Cold_War_GUI_Victories_i = 2 } }
		localization_key = "TNO_Cold_War_Victory_Outcome_Defeat"
	}
	text = {
		trigger = { check_variable = { Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Outcome_Display^TNO_Cold_War_GUI_Victories_i = 3 } }
		localization_key = "TNO_Cold_War_Victory_Outcome_Stalemate"
	}
	text = {
		trigger = { check_variable = { Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Outcome_Display^TNO_Cold_War_GUI_Victories_i = 4 } }
		localization_key = "TNO_Cold_War_Victory_Outcome_Victory"
	}
	text = {
		trigger = { check_variable = { Cold_War_GUI_Selected_Superpower.TNO_Cold_War_GUI_Victory_Outcome_Display^TNO_Cold_War_GUI_Victories_i = 5 } }
		localization_key = "TNO_Cold_War_Victory_Outcome_Total_Victory"
	}
	text = {
		localization_key = "TNO_Cold_War_Victory_Outcome_Error"
	}
}

defined_text = {
	name = Superpower_GetNameColor
	text = { localization_key = "TNO_Cold_War_GUI_Selected_Superpower_[THIS.GetTag]" }
}

defined_text = {
	name = Cold_War_GUI_Superpower_Amount
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_1^TNO_Cold_War_GUI_Tension_Incidents_i = ALL } }
		localization_key = "CWGUIIncidents_All"
	}
	text = {
		localization_key = "CWGUIIncidents"
	}
}

defined_text = { #Add more Diplo Incidents Here
	name = Cold_War_GUI_Past_Incidents
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 0 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Annual_Decay"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 1 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Westminster_Treaty"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 2 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Akagi_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 3 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_End_Of_Tripartite_Pact"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 4 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_End_Of_Akagi_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 5 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Aleutians_Crisis"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 6 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Pacification_of_Ukraine_Rada"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 7 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Poland_Question"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 8 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Poland_Invasion"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 9 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Successful_Poland_Surrender"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 10 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_First_Steps_GER_USA_Detente"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 11 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_First_Steps_GER_USA_Backroom_Deals"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 12 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_First_Steps_GER_JAP_Backroom_Deals"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 13 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Speer_Pulls_Out_SAW"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 14 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Speer_Admits_Blame_Antlaropa"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 15 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Germo-American_Embargo_Negotiation_NPP"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 16 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Germo-American_Embargo_Negotiation_RD"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 17 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Germo-American_Embargo_Negotiation_Failure"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 18 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Toronto_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 19 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Copenhagem_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 20 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_The_Melbourne_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 21 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_German_Diplomatic_Ventures"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 22 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_German_Diplomatic_Ventures_2"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 23 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Collab_England_Joins_OFN"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 24 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Collab_England_Joins_EP"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 25 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Japanese_Mandate_Split"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 26 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Nuclear_Weapons_Reunion"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 27 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_German_SAW_intervention"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 28 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_German_Japanese_Thaw"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 29 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_German_sabre_rattling_japan"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 30 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_international_forum_on_the_stability_of_asia"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 31 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Congo_Skirmishes"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 32 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Glenn_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 33 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Glenn_Accords_Fails"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 34 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_German_American_Agreement_Over_England"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 35 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Supported_American_Claims"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 36 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Successful_Stockholm_Conference"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 37 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Failed_Stockholm_Conference"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 38 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_End_of_the_Aleutians_Crisis"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 39 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Hitler_Assassination_Attempt"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 40 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_American_Bases_in_England"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 41 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Honolulu_Accords"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 42 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Japan_Returns_Treaty_Ports"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 43 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Yockey_Inauguration"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 44 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Hall_Inauguration"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 45 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Allen_Pope_Released"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 46 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Allen_Pope_Executed"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 47 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Allen_Pope_Escaped"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 48 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Allen_Pope_Shot_Down"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 49 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Indonesia_Australia_Shootout"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 50 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Speer_Assassination"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 51 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Kissinger_phase_1_treaty"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 52 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Kissinger_past"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 53 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Kissinger_nuclear_reduction_clause"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 54 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Kissinger_proxy_conflicts_clause"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 55 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_WW3"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 56 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_American_Embargo_Lifted"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 57 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_SAW_Escalation"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 58 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_Operation_Big_Stick"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Tab_Incidents_List^TNO_Cold_War_GUI_Tension_Incidents_i = 59 } }
		localization_key = "TNO_Cold_War_GUI_Tension_ID_South_China_Sea_Incident"
	}
}

defined_text = {
	name = Cold_War_GUI_Involved_Superpower_1
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_1^TNO_Cold_War_GUI_Tension_Incidents_i = USA } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_USA"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_1^TNO_Cold_War_GUI_Tension_Incidents_i = GER } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_GER"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_1^TNO_Cold_War_GUI_Tension_Incidents_i = JAP } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_JAP"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_1^TNO_Cold_War_GUI_Tension_Incidents_i = ALL } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_ALL"
	}
}

defined_text = {
	name = Cold_War_GUI_Involved_Superpower_2
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_2^TNO_Cold_War_GUI_Tension_Incidents_i = USA } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_USA"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_2^TNO_Cold_War_GUI_Tension_Incidents_i = GER } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_GER"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_2^TNO_Cold_War_GUI_Tension_Incidents_i = JAP } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_JAP"
	}
	text = {
		trigger = { check_variable = { global.TNO_Cold_War_GUI_Tension_Incidents_Involved_Superpower_1^TNO_Cold_War_GUI_Tension_Incidents_i = JAP } }
		localization_key = "TNO_Cold_War_GUI_Tension_Involved_Superpower_ALL"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Superpower_1_ADJ
	text = {
		trigger = { check_variable = { TNO_Cold_War_GUI_Superpower_Tension_i = 0 } }
		localization_key = "TNO_Cold_War_GUI_Tension_USA_ADJ"
	}
	text = {
		trigger = { check_variable = { TNO_Cold_War_GUI_Superpower_Tension_i = 1 } }
		localization_key = "TNO_Cold_War_GUI_Tension_GER_ADJ"
	}
	text = {
		trigger = { check_variable = { TNO_Cold_War_GUI_Superpower_Tension_i = 2 } }
		localization_key = "TNO_Cold_War_GUI_Tension_JAP_ADJ"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Superpower_2_ADJ
	text = {
		trigger = { check_variable = { TNO_Cold_War_GUI_Superpower_Tension_i = 2 } }
		localization_key = "TNO_Cold_War_GUI_Tension_USA_ADJ"
	}
	text = {
		trigger = { check_variable = { TNO_Cold_War_GUI_Superpower_Tension_i = 0 } }
		localization_key = "TNO_Cold_War_GUI_Tension_GER_ADJ"
	}
	text = {
		trigger = { check_variable = { TNO_Cold_War_GUI_Superpower_Tension_i = 1 } }
		localization_key = "TNO_Cold_War_GUI_Tension_JAP_ADJ"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Superpower_1_Tooltip_ADJ
	text = {
		trigger = { check_variable = { tension_superpower_1 = USA } }
		localization_key = "TNO_Cold_War_GUI_Tension_USA_ADJ"
	}
	text = {
		trigger = { check_variable = { tension_superpower_1 = GER } }
		localization_key = "TNO_Cold_War_GUI_Tension_GER_ADJ"
	}
	text = {
		trigger = { check_variable = { tension_superpower_1 = JAP } }
		localization_key = "TNO_Cold_War_GUI_Tension_JAP_ADJ"
	}
	text = {
		trigger = { check_variable = { tension_superpower_1 = ALL } }
		localization_key = "TNO_Cold_War_GUI_Tension_ALL_ADJ"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Superpower_2_Tooltip_ADJ
	text = {
		trigger = { check_variable = { tension_superpower_2 = USA } }
		localization_key = "TNO_Cold_War_GUI_Tension_USA_ADJ"
	}
	text = {
		trigger = { check_variable = { tension_superpower_2 = GER } }
		localization_key = "TNO_Cold_War_GUI_Tension_GER_ADJ"
	}
	text = {
		trigger = { check_variable = { tension_superpower_2 = JAP } }
		localization_key = "TNO_Cold_War_GUI_Tension_JAP_ADJ"
	}
	text = {
		trigger = { check_variable = { tension_superpower_2 = ALL } }
		localization_key = "TNO_Cold_War_GUI_Tension_ALL_ADJ"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Tooltip_Increase_Decrease
	text = {
		trigger = { check_variable = { tension_WT > 0 } }
		localization_key = "TNO_Cold_War_GUI_Tension_Increase"
	}
	text = {
		trigger = { check_variable = { tension_WT < 0 } }
		localization_key = "TNO_Cold_War_GUI_Tension_Decrease"
	}
	text = {
		localization_key = "TNO_Cold_War_GUI_Tension_Unchanged"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Tooltip_Check_Color
	text = {
		trigger = { check_variable = { tension_WT > 0 } }
		localization_key = "TNO_Cold_War_GUI_Tension_Red"
	}
	text = {
		localization_key = "TNO_Cold_War_GUI_Tension_Green"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Tooltip_Check_Change
	text = {
		trigger = { NOT = { check_variable = { tension_WT = 0 } } }
		localization_key = "TNO_tension_change_nonzero_tt"
	}
}

defined_text = {
	name = Cold_War_GUI_Tension_Tooltip_Check_Status
	text = {
		trigger = { check_variable = { total_temp = 100 } }
		localization_key = "TNO_tension_change_nonzero_breakingpoint_tt"
	}
	text = {
		localization_key = "TNO_tension_change_nonzero_ok_tt"
	}
}

defined_text = {
	name = Cold_War_GUI_GetEconRanking_Sufix
	text = {
		trigger = {
			set_temp_variable = { temp = econ_ranking?4 }
			subtract_from_temp_variable = { temp = 1 }
			modulo_temp_variable = { temp = 10 }
			check_variable = { temp = 0 }
			NOT = { check_variable = { econ_ranking = 11 } }
			NOT = { check_variable = { econ_ranking = 111 } }
			NOT = { check_variable = { econ_ranking = 211 } }
		}
		localization_key = "Cold_War_GUI_EconRanking_Sufix_st"
	}
	text = {
		trigger = {
			set_temp_variable = { temp = econ_ranking?4 }
			subtract_from_temp_variable = { temp = 2 }
			modulo_temp_variable = { temp = 10 }
			check_variable = { temp = 0 }
			NOT = { check_variable = { econ_ranking = 12 } }
			NOT = { check_variable = { econ_ranking = 112 } }
			NOT = { check_variable = { econ_ranking = 212 } }
		}
		localization_key = "Cold_War_GUI_EconRanking_Sufix_nd"
	}
	text = {
		trigger = {
			set_temp_variable = { temp = econ_ranking?4 }
			subtract_from_temp_variable = { temp = 3 }
			modulo_temp_variable = { temp = 10 }
			check_variable = { temp = 0 }
			NOT = { check_variable = { econ_ranking = 13 } }
			NOT = { check_variable = { econ_ranking = 113 } }
			NOT = { check_variable = { econ_ranking = 213 } }
		}
		localization_key = "Cold_War_GUI_EconRanking_Sufix_rd"
	}
	text = {
		localization_key = "Cold_War_GUI_EconRanking_Sufix_th"
	}
}

defined_text = {
	name = Cold_War_GUI_GetScoreRanking_Sufix
	text = {
		trigger = {
			set_temp_variable = { temp = super_ranking?4 }
			subtract_from_temp_variable = { temp = 1 }
			modulo_temp_variable = { temp = 10 }
			check_variable = { temp = 0 }
			NOT = { check_variable = { super_ranking = 11 } }
		}
		localization_key = "Cold_War_GUI_ScoreRanking_Sufix_st"
	}
	text = {
		trigger = {
			set_temp_variable = { temp = super_ranking?4 }
			subtract_from_temp_variable = { temp = 2 }
			modulo_temp_variable = { temp = 10 }
			check_variable = { temp = 0 }
			NOT = { check_variable = { super_ranking = 12 } }
		}
		localization_key = "Cold_War_GUI_ScoreRanking_Sufix_nd"
	}
	text = {
		trigger = {
			set_temp_variable = { temp = super_ranking?4 }
			subtract_from_temp_variable = { temp = 3 }
			modulo_temp_variable = { temp = 10 }
			check_variable = { temp = 0 }
			NOT = { check_variable = { super_ranking = 13 } }
		}
		localization_key = "Cold_War_GUI_ScoreRanking_Sufix_rd"
	}
	text = {
		localization_key = "Cold_War_GUI_ScoreRanking_Sufix_th"
	}
}

defined_text = {
	name = Cold_War_GUI_GetSphereInfo
	text = {
		trigger = { has_variable = ECON_SPHERE_LEADER }
		localization_key = "econ_sphere_info_tt"
	}
	text = {
		trigger = { NOT = { has_variable = ECON_SPHERE_LEADER } }
		localization_key = "econ_sphere_na_info_tt"
	}
}

defined_text = {
	name = Cold_War_GUI_PowerProjection_GetTagImage
	text = {
		trigger = { check_variable = { global.PowerProjection_Tags^PP_i = GER.id } }
		localization_key = "GFX_Cold_War_GUI_Germany"
	}
	text = {
		trigger = { check_variable = { global.PowerProjection_Tags^PP_i = USA.id } }
		localization_key = "GFX_Cold_War_GUI_USA"
	}
	text = {
		trigger = { check_variable = { global.PowerProjection_Tags^PP_i = JAP.id } }
		localization_key = "GFX_Cold_War_GUI_Japan"
	}
	text = {
		trigger = { check_variable = { global.PowerProjection_Tags^PP_i = ITA.id } }
		localization_key = "GFX_Cold_War_GUI_Italy"
	}
}

defined_text = {
	name = Cold_War_GUI_GetSeaZone_Name
	text = {
		trigger = { check_variable = { SeaZone_ID = 0 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_EastPacific
	}
	text = {
		trigger = { check_variable = { SeaZone_ID = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_WestPacific
	}
	text = {
		trigger = { check_variable = { SeaZone_ID = 2 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_SouthAtlantic
	}
	text = {
		trigger = { check_variable = { SeaZone_ID = 3 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_NorthAtlantic
	}
	text = {
		trigger = { check_variable = { SeaZone_ID = 4 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_NorthSea
	}
	text = {
		trigger = { check_variable = { SeaZone_ID = 5 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_Mediterranean
	}
	text = {
		trigger = { check_variable = { SeaZone_ID = 6 } }
		localization_key = Cold_War_GUI_GetSeaZone_Name_IndianOcean
	}
}

defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_0
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^0 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_EastPacific_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_1
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^1 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_WestPacific_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_2
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^2 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_SouthAtlantic_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_3
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^3 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_NorthAtlantic_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_4
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^4 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_NorthSea_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_5
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^5 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_Mediterranean_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Access_6
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^6 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Access_IndianOcean_tt
	}
}

defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_0
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^0 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_1
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^1 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_2
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^2 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_3
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^3 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_4
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^4 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_5
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^5 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}
defined_text = {
	name = Cold_War_GUI_GetSeaZone_Status_6
	text = {
		trigger = { check_variable = { CW_SeaZone_Status^6 = 1 } }
		localization_key = Cold_War_GUI_GetSeaZone_Status_Yes_tt
	}
	text = {
		localization_key = Cold_War_GUI_GetSeaZone_Status_No_tt
	}
}

defined_text = {
	name = Cold_War_GUI_PowerProjection_Bonuses
	text = {
		trigger = { is_superpower = yes }
		localization_key = Cold_War_GUI_PowerProjection_Bonuses_tt
	}
}
defined_text = {
	name = Cold_War_GUI_PowerProjection_InfoDelayed
	text = {
		trigger = { is_superpower = yes }
		localization_key = Cold_War_GUI_PowerProjection_InfoDelayed_info_tt
	}
}