

defined_text = {
	name = GetGGR_japan_tension
	text = {
		trigger = {
			check_variable = { GGR_tension_with_japan = 0 }
		}
		localization_key = GGR_japanese_awareness_none
	}
	text = {
		trigger = {
			check_variable = { GGR_tension_with_japan < 6 }
		}
		localization_key = GGR_japanese_awareness_low
	}
	text = {
		trigger = {
			check_variable = { GGR_tension_with_japan < 10 }
		}
		localization_key = GGR_japanese_awareness_medium
	}	
	text = {
		localization_key = GGR_japanese_awareness_high
	}
}
defined_text = {
	name = GetGGR_sphere_influence
	text = {
		trigger = {
			check_variable = { GER_influence > 0 }
			check_variable = { GER_influence < 2 }
		}
		localization_key = GGR_sphere_influence_1
	}
	text = { # 0 - 5
		trigger = {
			check_variable = { GER_influence > -1 }
			check_variable = { GER_influence < 6 }
		}
		localization_key = GGR_sphere_influence_2
	}
	text = { # 6 - 10
		trigger = {
			check_variable = { GER_influence > 5 }
			check_variable = { GER_influence < 11 }
		}
		localization_key = GGR_sphere_influence_3
	}
	text = { # 11 - 15
		trigger = {
			check_variable = { GER_influence > 10 }
			check_variable = { GER_influence < 16 }
		}
		localization_key = GGR_sphere_influence_4
	}
	text = { # 16 - 20
		trigger = {
			check_variable = { GER_influence > 15 }
		}
		localization_key = GGR_sphere_influence_5
	}
	text = {
		trigger = {
			check_variable = { GER_influence = -1 }
		}
		localization_key = GGR_sphere_influence_6
	}
	text = {
		trigger = {
			check_variable = { GER_influence = -2 }
		}
		localization_key = GGR_sphere_influence_7
	}
}


defined_text = {
	name = GetBRG_go_hot
	text = {
		trigger = {
			check_variable = { BRG_go_hot < 1 }
		}
		localization_key = BRG_go_hot_1
	}
	text = {
		trigger = {
			AND = {
				OR = {
					check_variable = { BRG_go_hot > 1 }
					check_variable = { BRG_go_hot = 0 }
				}
				check_variable = { BRG_go_hot < 4 }
			}
		}
		localization_key = BRG_go_hot_2
	}
	text = {
		trigger = {
			AND = {
				OR = {
					check_variable = { BRG_go_hot > 5 }
					check_variable = { BRG_go_hot = 5 }
				}
				check_variable = { BRG_go_hot < 7 }
			}
		}
		localization_key = BRG_go_hot_3
	}
	text = {
		trigger = {
			AND = {
				OR = {
					check_variable = { BRG_go_hot > 7 }
					check_variable = { BRG_go_hot = 7 }
				}
				check_variable = { BRG_go_hot < 10 }
			}
		}
		localization_key = BRG_go_hot_4
	}
	text = {
		trigger = {
			check_variable = { BRG_go_hot = 10 }
		}
		localization_key = BRG_go_hot_5
	}
}
defined_text = {
	name = Getsw_status
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies = GER_silent_war_spies }
		}
		localization_key = sw_status_1
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies > GER_silent_war_spies }
		}
		localization_key = sw_status_2
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies < GER_silent_war_spies }
		}
		localization_key = sw_status_3
	}
}
defined_text = {
	name = GetGER_silent_war_spies
	text = {
		trigger = {
			check_variable = { GER_silent_war_spies < 1 }
		}
		localization_key = GER_silent_war_spies_1
	}
	text = {
		trigger = {
			check_variable = { GER_silent_war_spies = 1 }
		}
		localization_key = GER_silent_war_spies_2
	}
	text = {
		trigger = {
			check_variable = { GER_silent_war_spies = 2 }
		}
		localization_key = GER_silent_war_spies_3
	}
	text = {
		trigger = {
			check_variable = { GER_silent_war_spies = 3 }
		}
		localization_key = GER_silent_war_spies_4
	}
	text = {
		trigger = {
			check_variable = { GER_silent_war_spies = 4 }
		}
		localization_key = GER_silent_war_spies_5
	}
	text = {
		trigger = {
			check_variable = { GER_silent_war_spies = 5 }
		}
		localization_key = GER_silent_war_spies_6
	}
}
defined_text = {
	name = GetBRG_silent_war_spies
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies < 1 }
		}
		localization_key = BRG_silent_war_spies_1
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies = 1 }
		}
		localization_key = BRG_silent_war_spies_2
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies = 2 }
		}
		localization_key = BRG_silent_war_spies_3
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies = 3 }
		}
		localization_key = BRG_silent_war_spies_4
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies = 4 }
		}
		localization_key = BRG_silent_war_spies_5
	}
	text = {
		trigger = {
			check_variable = { BRG_silent_war_spies = 5 }
		}
		localization_key = BRG_silent_war_spies_6
	}
}
defined_text = {
	name = GetGGR_schwarz_covert_level
	text = {
		trigger = {
			check_variable = { GGR_schwarz_covert_level < 1 }
		}
		localization_key = GGR_schwarz_covert_level_1
	}
	text = {
		trigger = {
			check_variable = { GGR_schwarz_covert_level = 1 }
		}
		localization_key = GGR_schwarz_covert_level_2
	}
	text = {
		trigger = {
			check_variable = { GGR_schwarz_covert_level = 2 }
		}
		localization_key = GGR_schwarz_covert_level_3
	}
	text = {
		trigger = {
			check_variable = { GGR_schwarz_covert_level = 3 }
		}
		localization_key = GGR_schwarz_covert_level_4
	}
	text = {
		trigger = {
			check_variable = { GGR_schwarz_covert_level = 4 }
		}
		localization_key = GGR_schwarz_covert_level_5
	}
	text = {
		trigger = {
			check_variable = { GGR_schwarz_covert_level > 4 }
		}
		localization_key = GGR_schwarz_covert_level_6
	}
}