defined_text = {
	name = GetMonumentMapModeTooltip

	text = {
		trigger = {
			FROM = {
				state_has_any_monument = yes
			}
		}
		localization_key = monument_mapmode_tt
	}
	text = {
		trigger = {
			always = yes
		}
		localization_key = monument_mapmode_tt_no_monuments
	}
}

defined_text = {
	name = GetMonumentMapModeTooltipDelayed

	text = {
		trigger = {
			FROM = {
				state_has_any_monument = yes
				any_of = {
					array = state_monuments_array
					set_temp_variable = { monument_id = v }
					set_temp_variable = { level = 3 }
					has_at_least_monument_level = yes
				}
			}
		}
		localization_key = monument_mapmode_tt_highest_monument_is_level_3
	}
	text = {
		trigger = {
			FROM = {
				state_has_any_monument = yes
				any_of = {
					array = state_monuments_array
					set_temp_variable = { monument_id = v }
					set_temp_variable = { level = 2 }
					has_at_least_monument_level = yes
				}
			}
		}
		localization_key = monument_mapmode_tt_highest_monument_is_level_2
	}
	text = {
		trigger = {
			FROM = {
				state_has_any_monument = yes
				any_of = {
					array = state_monuments_array
					set_temp_variable = { monument_id = v }
					set_temp_variable = { level = 1 }
					has_at_least_monument_level = yes
				}
			}
		}
		localization_key = monument_mapmode_tt_highest_monument_is_level_1
	}
	text = {
		trigger = {
			FROM = {
				state_has_any_monument = yes
				any_of = {
					array = state_monuments_array
					set_temp_variable = { monument_id = v }
					set_temp_variable = { level = 0 }
					has_at_least_monument_level = yes
				}
			}
		}
		localization_key = monument_mapmode_tt_highest_monument_is_level_0
	}
	text = {
		trigger = {
			always = yes
		}
		localization_key = ""
	}
}