# Religions
defined_text = {
	name = GetRCEStartUpScreenRightTitleReligions
	random = no

	text = {
		trigger = {
			NOT = { is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 0 } }
		}
		localisation_key = string_rce_startup_screen_right_title_religions
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = GetRCEStartUpScreenReligionSelectedName
	random = no

	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 1 }
		}
		localisation_key = jainism
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 2 }
		}
		localisation_key = tibetan_buddhism
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 3 }
		}
		localisation_key = vidilist
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 4 }
		}
		localisation_key = nestorian
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 5 }
		}
		localisation_key = manichaeism
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 6 }
		}
		localisation_key = bogomilist
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 7 }
		}
		localisation_key = hinduism
	}

	# Fallback
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = GetRCEStartUpScreenTextReligions
	random = no

	text = {
		trigger = {
			NOT = { is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 0 } }
		}
		localisation_key = string_rce_startup_screen_text_religions
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_startup_screen_text_religions_none
	}
}

defined_text = {
	name = GetRCEStartUpScreenReligionSelectedText
	random = no

	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 1 }
		}
		localisation_key = rce_startup_text_jainism
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 2 }
		}
		localisation_key = rce_startup_text_tibetan_buddhism
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 3 }
		}
		localisation_key = rce_startup_text_vidilist
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 4 }
		}
		localisation_key = rce_startup_text_nestorian
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 5 }
		}
		localisation_key = rce_startup_text_manichaeism
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 6 }
		}
		localisation_key = rce_startup_text_bogomilist
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_religion value = 7 }
		}
		localisation_key = rce_startup_text_hinduism
	}

	# Fallback
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

# Cultures
defined_text = {
	name = GetRCEStartUpScreenRightTitleCultures
	random = no

	text = {
		trigger = {
			NOT = { is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 0 } }
		}
		localisation_key = string_rce_startup_screen_right_title_cultures
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = GetRCEStartUpScreenCultureSelectedName
	random = no

	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 1 }
		}
		localisation_key = lost_cultures_group
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 2 }
		}
		localisation_key = turko_semitic
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 3 }
		}
		localisation_key = iranian
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 4 }
		}
		localisation_key = altaic
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 5 }
		}
		localisation_key = sudanese
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 6 }
		}
		localisation_key = aramaic_culture_group
	}

	# Fallback
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = GetRCEStartUpScreenTextCultures
	random = no

	text = {
		trigger = {
			NOT = { is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 0 } }
		}
		localisation_key = string_rce_startup_screen_text_cultures
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_startup_screen_text_cultures_none
	}
}

defined_text = {
	name = GetRCEStartUpScreenCultureSelectedText
	random = no

	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 1 }
		}
		localisation_key = rce_startup_text_lost_cultures_group
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 2 }
		}
		localisation_key = rce_startup_text_turko_semitic
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 3 }
		}
		localisation_key = rce_startup_text_iranian
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 4 }
		}
		localisation_key = rce_startup_text_altaic
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 5 }
		}
		localisation_key = rce_startup_text_sudanese
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_culture value = 6 }
		}
		localisation_key = rce_startup_text_aramaic_culture_group
	}

	# Fallback
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

# Formables
defined_text = {
	name = GetRCEStartUpScreenRightTitleFormables
	random = no

	text = {
		trigger = {
			NOT = { is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 0 } }
		}
		localisation_key = string_rce_startup_screen_right_title_formables
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = GetRCEStartUpScreenFormableSelectedName
	random = no

	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 1 }
		}
		localisation_key = NPA
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 2 }
		}
		localisation_key = RCE_FORMABLE_ASSYRIA
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 3 }
		}
		localisation_key = RCE_FORMABLE_EMPIRE_OF_LIGHT
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 4 }
		}
		localisation_key = RCE_FORMABLE_COPTIC_EGYPT
	}

	# Fallback
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = GetRCEStartUpScreenTextFormables
	random = no

	text = {
		trigger = {
			NOT = { is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 0 } }
		}
		localisation_key = string_rce_startup_screen_text_formables
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_startup_screen_text_formables_none
	}
}

defined_text = {
	name = GetRCEStartUpScreenFormableSelectedText
	random = no

	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 1 }
		}
		localisation_key = rce_startup_text_rce_formable_NPA
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 2 }
		}
		localisation_key = rce_startup_text_rce_formable_assyria
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 3 }
		}
		localisation_key = rce_startup_text_rce_formable_empire_of_light
	}
	text = {
		trigger = {
			is_variable_equal = { which = rce_startup_screen_window_selected_formable value = 4 }
		}
		localisation_key = rce_startup_text_rce_formable_coptic_egypt
	}

	# Fallback
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}