defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemValue
	random = no

	text = {
		trigger = {
			rce_has_religion_mechanic_four_tenets_system_value = { value = 0.001 }
		}
		localisation_key = "[This.rce_religion_mechanic_four_tenets_system_value.GetValue]"
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = "0"
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemAbility2ProgressTooltip
	random = no

	text = {
		trigger = {
			rce_has_religion_mechanic_four_tenets_system_ability_2 = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_unlocked
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_in_progress
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemAbility3ProgressTooltip
	random = no

	text = {
		trigger = {
			rce_has_religion_mechanic_four_tenets_system_ability_3 = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_unlocked
	}
	text = {
		trigger = {
			rce_has_religion_mechanic_four_tenets_system_ability_2 = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_in_progress
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_locked
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemAbility4ProgressTooltip
	random = no

	text = {
		trigger = {
			rce_has_religion_mechanic_four_tenets_system_ability_4 = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_unlocked
	}
	text = {
		trigger = {
			rce_has_religion_mechanic_four_tenets_system_ability_3 = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_in_progress
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = rce_religion_mechanic_four_tenets_system_next_ability_progress_tt_locked
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemMonthlyGainBaseTooltip
	random = no

	text = {
		trigger = {
			has_dlc = "Rule Britannia"
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_base_tt_dlc
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_base_tt
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemMonthlyGainGovernmentTooltip
	random = no

	text = {
		trigger = {
			uses_republican_tradition = yes
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_tt_government_republic
	}
	text = {
		trigger = {
			uses_devotion = yes
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_tt_government_theocracy_dlc
	}
	text = {
		trigger = {
			government = theocracy
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_tt_government_theocracy
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = ""
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemTotalMonthlyGainValue
	random = no

	text = {
		trigger = {
			check_variable = { which = rce_monthly_religion_mechanic_four_tenets_system_value value = 0.001 }
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_total_monthly_gain_value_positive
	}
	text = {
		trigger = {
			NOT = { check_variable = { which = rce_monthly_religion_mechanic_four_tenets_system_value value = 0 } }
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_total_monthly_gain_value_negative
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_total_monthly_gain_value_neutral
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemMonthlyGainValue
	random = no

	text = {
		trigger = {
			check_variable = { which = rce_monthly_religion_mechanic_four_tenets_system_value_base value = 0.001 }
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_value_positive
	}
	text = {
		trigger = {
			NOT = { check_variable = { which = rce_monthly_religion_mechanic_four_tenets_system_value_base value = 0 } }
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_value_negative
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_value_neutral
	}
}

defined_text = {
	name = RceGetReligionMechanicFourTenetsSystemMonthlyGainModifierValue
	random = no

	text = {
		trigger = {
			check_variable = { which = rce_monthly_religion_mechanic_four_tenets_system_modifier_value_base value = 0.001 }
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_modifier_value_positive
	}
	text = {
		trigger = {
			NOT = { check_variable = { which = rce_monthly_religion_mechanic_four_tenets_system_modifier_value_base value = 0 } }
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_modifier_value_negative
	}
	text = {
		trigger = {
			always = yes
		}
		localisation_key = string_rce_get_religion_mechanic_four_tenets_system_monthly_gain_modifier_value_neutral
	}
}