## COLORS ##

defined_text = {
	name = GetWWMorality
	text = {
		trigger = {
			check_variable = {
				var = ROOT.WWMorality
				value = 0
				compare = less_than
			}
		}
		localization_key = WWMoralityRed
	}

	text = {
		trigger = {
			check_variable = {
				var = ROOT.WWMorality
				value = 0
				compare = greater_than_or_equals
			}
		}
		localization_key = WWMoralityCyan
	}
}

defined_text = {
	name = GetGERWWMorality
	text = {
		trigger = {
			check_variable = {
				var = GER.WWMorality
				value = 0
				compare = less_than
			}
		}
		localization_key = GERWWMoralityRed
	}

	text = {
		trigger = {
			check_variable = {
				var = GER.WWMorality
				value = 0
				compare = greater_than_or_equals
			}
		}
		localization_key = GERWWMoralityCyan
	}
}

defined_text = {
	name = GetITAWWMorality
	text = {
		trigger = {
			check_variable = {
				var = ITA.WWMorality
				value = 0
				compare = less_than
			}
		}
		localization_key = ITAWWMoralityRed
	}

	text = {
		trigger = {
			check_variable = {
				var = ITA.WWMorality
				value = 0
				compare = greater_than_or_equals
			}
		}
		localization_key = ITAWWMoralityCyan
	}
}

defined_text = {
	name = GetJAPWWMorality
	text = {
		trigger = {
			check_variable = {
				var = JAP.WWMorality
				value = 0
				compare = less_than
			}
		}
		localization_key = JAPWWMoralityRed
	}

	text = {
		trigger = {
			check_variable = {
				var = JAP.WWMorality
				value = 0
				compare = greater_than_or_equals
			}
		}
		localization_key = JAPWWMoralityCyan
	}
}

### MAJOR AXIS POWERS ###

defined_text = {
	name = GetAXISShowGER
	text = {
		trigger = {
			OR = {
				tag = ITA
				tag = JAP
			}
			GER = { has_war_with = ENG }
		}
		localization_key = AXIS_Movement_GER
	}
}

defined_text = {
	name = GetAXISShowITA
	text = {
		trigger = {
			OR = {
				tag = GER
				tag = JAP
			}
			ITA = { has_war_with = ENG }
		}
		localization_key = AXIS_Movement_ITA
	}
}

defined_text = {
	name = GetAXISShowJAP
	text = {
		trigger = {
			OR = {
				tag = GER
				tag = ITA
			}
			JAP = { has_war_with = ENG }
		}
		localization_key = AXIS_Movement_JAP
	}
}