

defined_text = {
	name = GetGGR_russian_population_anger
	text = {
		trigger = {
			check_variable = { GGR_russian_population_anger = 0 }
		}
		localization_key = GGR_russian_people_apathetic
	}
	text = {
		trigger = {
			check_variable = { GGR_russian_population_anger > 0 }
			check_variable = { GGR_russian_population_anger < 34 }
		}
		localization_key = GGR_russian_people_motivated
	}
	text = {
		trigger = {
			check_variable = { GGR_russian_population_anger > 33 }
			check_variable = { GGR_russian_population_anger < 67 }
		}
		localization_key = GGR_russian_people_disrupting
	}
	text = {
		trigger = {
			check_variable = { GGR_russian_population_anger > 66 }
		}
		localization_key = GGR_russian_people_complete_war
	}
}

defined_text = {
	name = GetGGR_SPA_making_an_entrance
	text = {
		trigger = {
			country_exists = SPA
		}
		localization_key = GGR_making_an_entrance_title
	}
	text = {
		trigger = {
			NOT = {
				country_exists = SPA
			}
		}
		localization_key = GGR_finishing_the_job_title
	}
}

defined_text = {
	name = GetGGR_SPA_making_an_entrance_desc
	text = {
		trigger = {
			country_exists = SPA
		}
		localization_key = GGR_making_an_entrance_desc2
	}
	text = {
		trigger = {
			NOT = {
				country_exists = SPA
			}
		}
		localization_key = GGR_finishing_the_job_desc
	}
}

defined_text = {
	name = GetGGR_agitate_anti_portugese_sentiment_title
	text = {
		trigger = {
			country_exists = POR
		}
		localization_key = GGR_agitate_anti_portugese_sentiment_title
	}
	text = {
		trigger = {
			NOT = {
				country_exists = POR
			}
		}
		localization_key = GGR_make_them_regret_title
	}
}

defined_text = {
	name = GetGGR_agitate_anti_portugese_sentiment_desc
	text = {
		trigger = {
			country_exists = POR
		}
		localization_key = GGR_agitate_anti_portugese_sentiment_desc2
	}
	text = {
		trigger = {
			NOT = {
				country_exists = POR
			}
		}
		localization_key = GGR_make_them_regret_desc
	}
}

defined_text = {
	name = GetGGR_agitate_anti_spanish_sentiment_title
	text = {
		trigger = {
			country_exists = SPA
		}
		localization_key = GGR_agitate_anti_spanish_sentiment_title
	}
	text = {
		trigger = {
			NOT = {
				country_exists = SPA
			}
		}
		localization_key = GGR_your_brothers_did_not_fare_much_better
	}
}

defined_text = {
	name = GetGGR_agitate_anti_spanish_sentiment_desc
	text = {
		trigger = {
			country_exists = SPA
		}
		localization_key = GGR_agitate_anti_spanish_sentiment_desc2
	}
	text = {
		trigger = {
			NOT = {
				country_exists = SPA
			}
		}
		localization_key = GGR_your_brothers_did_not_fare_much_better_desc
	}
}

defined_text = {
	name = GetGGR_POR_making_an_entrance
	text = {
		trigger = {
			country_exists = POR
		}
		localization_key = GGR_making_an_entrance_title
	}
	text = {
		trigger = {
			NOT = {
				country_exists = POR
			}
		}
		localization_key = GGR_finishing_the_job_title
	}
}

defined_text = {
	name = GetGGR_POR_making_an_entrance_desc
	text = {
		trigger = {
			country_exists = POR
		}
		localization_key = GGR_SPA_making_an_entrance_desc
	}
	text = {
		trigger = {
			NOT = {
				country_exists = POR
			}
		}
		localization_key = GGR_SPA_finishing_the_job_desc
	}
}

defined_text = {
	name = GetFallVorbeckDesc
	text = {
		trigger = {
			has_country_flag = GGR_total_loss_SAW
		}
		localization_key = GGR_fall_vorbeck_ofn_win
	}
	text = {
		trigger = {
			has_country_flag = GGR_total_SAW
		}
		localization_key = GGR_fall_vorbeck_pakt_win
	}
	text = {
		localization_key = GGR_fall_vorbeck_stalemate
	}
}

defined_text = {
	name = GetABRulerBasedDesc
	text = {
		trigger = {
			PRM = { has_government = national_socialism }
		}
		localization_key = GGR_dishonorable_aryans_vagner_alive
	}
}
defined_text = {
	name = GetPortugalPlan
	text = {
		trigger = {	
			OR = {
				AND = {
					1674 = { is_core_of = POR }
					1674 = { NOT = { is_core_of = IBR } }
				}
				country_exists = POR
			}
			NOT = {
				has_global_flag = Iberian_Wars
				has_completed_focus = GGR_the_final_straw
			}
		}
		localization_key = "Fall Antonio"
	}
	text = {
		localization_key = "Fall Blau"
	}
}

defined_text = {
	name = GetSpainPlan
	text = {
		trigger = {	
			OR = {
				AND = {
					1013 = { is_core_of = SPA }
					1013 = { NOT = { is_core_of = IBR } }
				}
				country_exists = SPA
			}
			NOT = {
				has_global_flag = Iberian_Wars
				has_completed_focus = GGR_the_final_straw
			}
		}
		localization_key = "Fall Philip"
	}
	text = {
		localization_key = "Fall Blau"
	}
}