### SPANISH

# Principios :
# El comando: Get + masculino mayscula + femenino mayscula
# Aade Cap al final para tener mayscula en el texto
# Aade Opp para invertir masculino/femenino
# "fallback_text" permite utilizar una lnea de ubicacin en caso de que no se cumpla ninguna condicin; en este caso, el comando correspondiente en ingls.

## ARTCULOS
# GetElElla
# GetElEllaCap
# GetElEllaOpp
# GetElEllaCapOpp
# GetElLa
# GetElLaCap
# GetElLaOpp
# GetElLaCapOpp
# GetRleRla
# GetRleRlaCap
# GetRleRlaOpp
# GetRleRlaCapOpp
# GetLoLa
# GetLoLaCap
# GetLoLaOpp
## FINALES
# GetOA (guapo/guapa)
# GetOAOpp
# GetEA (este/esta)
# GetEAOpp
# GetNnoNna (extrao/extraa)
# GetNnoNnaOpp
# GetXA(un/una)
# GetXAOpp
# GetOnOna (feln/felona)
# GetOnOnaOpp
# GetUnUna (ningn/ninguna)
# GetUnUnaOpp
# GetInoIna (sibilino/sibilina)
# GetAnAna (rufin/rufiana)
# GetTaTisa (poeta/poetisa)
# GetTeTisa (sacerdote/sacerdotisa)
# GetEsEsa (burgus/burguesa)
# GetPadrinoMadrina (padrino/madrina)
# GetSenorSenoraCap (seor/seora)
# GetXTa (san/santa)
## PREPOSICIONES
# GetAlAla
# GetAlAlaCap
# GetDelDela

## PALABRA ANTES DE ORDEN (SIN ESPACIO ENTRE AMBAS)
# Get_deldela_RealmFull (del/de la delante GetFullName en un rango de ttulo) *TITLE
# Get_el_RealmFull (el/la delante GetFullName en un rango de ttulo) *TITLE
# Get_alala_RealmFull (Al/A la delante GetFullName en un rango de ttulo) *TITLE
# Get_el_PrimaryTitleName (el/la delante PrimaryTitle.GetName) *TITLE
# Get_deldela_PrimaryTitleName (del/de la delante PrimaryTitle.GetName) *TITLE
# Get_alala_PrimaryTitleName (al/a la delante PrimaryTitle.GetName) *TITLE
# No existe - Get_deldela_Title (del/de la delante GetTitledFirstNameNoRegnal|GetTitledFirstName|GetTitledFirstNameWithNick|GetTitledName|GetTitle|GetBestName|GetTitledNameWithNick|GetLawProposer) *TITLE
# No existe - Get_ella_Title (el/la delante GetTitledFirstNameNoRegnal|GetTitledFirstName|GetTitledFirstNameWithNick|GetTitledName|GetTitle|GetBestName|GetTitledNameWithNick|GetLawProposer) *TITLE
# No existe - Get_ElLa_Title (El/La delante GetTitledFirstNameNoRegnal|GetTitledFirstName|GetTitledFirstNameWithNick|GetTitledName|GetTitle|GetBestName|GetTitledNameWithNick|GetLawProposer) *TITLE
# No existe - Get_alala_Title (al/a la delante GetTitledFirstNameNoRegnal|GetTitledFirstName|GetTitledFirstNameWithNick|GetTitledName|GetTitle|GetBestName|GetTitledNameWithNick|GetLawProposer) *TITLE
# No existe - Get_AlAla_Title (Al/A la delante GetTitledFirstNameNoRegnal|GetTitledFirstName|GetTitledFirstNameWithNick|GetTitledName|GetTitle|GetBestName|GetTitledNameWithNick|GetLawProposer) *TITLE

# Get_deldela_Society (del/de la delante Society.GetName) *SOCIETY
# Get_ella_Society (el/la delante Society.GetName) *SOCIETY
# Get_ElLa_Society (El/La delante Society.GetName) *SOCIETY
# Get_alala_Society (al/a la delante Society.GetName) *SOCIETY
# Get_ella_SocietyRank (el/la delante GetSocietyRank) *SOCIETY
# Get_ElLa_SocietyRank (El/La delante GetSocietyRank) *SOCIETY
# Get_alala_SocietyRank (al/a la delante GetSocietyRank) *SOCIETY
# Get_deldela_SocietyRank (del/de la delante GetSocietyRank) *SOCIETY

# Get_El_Job (El/La delante GetJobTitle) *JOB TITLE
# Get_el_JobTitle (el/la delante GetJobTitle) *JOB TITLE
# Get_deldela_JobTitle (del/de la delante GetJobTitle) *JOB TITLE
# Get_alala_JobTitle (al/a la delante GetJobTitle) *JOB TITLE

# Get_deldela_SelectedIngredient_1 (del/de la delante GetSelectedIngredient_1) *INGREDIENT
# Get_deldela_SelectedIngredient_2 (del/de la delante GetSelectedIngredient_2) *INGREDIENT
# Get_ella_SelectedIngredient_1 (el/la delante GetSelectedIngredient_1) *INGREDIENT
# Get_ella_SelectedIngredient_2 (el/la delante GetSelectedIngredient_2) *INGREDIENT
# Get_e_SelectedIngredient_e1
# Get_el_SelectedIngredient_2

# Get_DelDela_HighGod (del/de la delante Religion.GetHighGodName) *RELIGION
# Get_AlAla_HighGod (al/a la delante Religion.GetHighGodName) *RELIGION
# Get_ella_HighGod (el/la delante Religion.GetHighGodName) *RELIGION
# Get_ElLa_HighGod (El/La delante Religion.GetHighGodName) *RELIGION
# Get_el_Scripture (el/la delante Religion.GetScriptureName) *RELIGION
# Get_deldela_Scripture (del/de la delante Religion.GetScriptureName) *RELIGION

## REEMPLAZO DE RDENES CODIFICADAS
# No existe - GetReligiousGroupPlFemen (Religion.GetGroupName + PlFemen) *RELIGION GROUP
# GetReligiousGroupMasFemen
# GetReligiousGroupFemen (Religion.GetGroupName + Fem) *RELIGION GROUP
# GetReligionMasFemen
# GetReligionMasPl (Religion.GetName + PlMas) *RELIGION
# GetReligionFemenPl (Religion.GetName + PlFemen) *RELIGION
# GetReligionMas (Religion.GetName + Ms) *RELIGION

# GetEvilGodDelDelaDelos
# GetEvilGodDelDela (Religion.GetRandomEvilGodName + DelDela) *RELIGION
# GetEvilGodLaLos

# GetCultureMas (Culture.GetName + Ms) *CULTURE
# GetCultureFemen
# GetCulturePlFemen (Culture.GetName + PlFemen) *CULTURE
# GetCulturePlMas (Culture.GetName + PlMas) *CULTURE

# GovernmentMas *GOVERNMENT
# GetGovernmentElLaCap *GOVERNMENT

## REMPLAZO DE RDENES PERSONALIZADAS
# GetCapitalHoldingDelDela (GetCapitalHolding + DelDela)
# GetCapitalHoldingAlAla (GetCapitalHolding + AlAla)
# No existe - GetCapitalHoldingOA
# No existe - GetCapitalHoldingElLa
# GetHoldingDelDela (GetHolding + DelDela)
# GetHouseOfWorshipDelDela (GetHouseOfWorship + DelDela)
# GetHouseOfWorshipUnUna (GetHouseOfWorship + UnUna)
# GetReligiousPersonMasFemen (GetReligiousPerson + MasFemen)
# GetTrueReligionScriptureNameDelDela (GetTrueReligionScriptureName + DelDela)
# No existe - GetTrueReligionHighGodDelDela (GetTrueReligionHighGod + DelDela)
# GetDWSettlementAlAla (GetDWSettlement + AlAla)
# GetComplimentAdjectiveMasFemen (GetComplimentAdjective + PlFemen)
# GetDWReasonToJoinAlterna (alternativa de GetDWReasonToJoin)
# GetHouseElLa
# GetHouseDelDela

## NUEVAS RDENES PERSONALIZADAS
# GetRealmDelDela (del imperio\del reino\de las tierras condales)
# GetVegetalIncapaz (vegetal\incapaz)
# GetPiojoPulga (gusano\larva)

# GetHeroeHeroina
# GetRenacujaoRana


### ARTCULOS
defined_text = {
	name = GetElElla
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElElla_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElElla_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElEllaCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElEllaCap_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElEllaCap_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElEllaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElEllaOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElEllaOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElEllaCapOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElEllaCapOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElEllaCapOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElLa
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElLa_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElLa_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElLaCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElLaCap_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElLaCap_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElLaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElLaOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElLaOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetElLaCapOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetElLaCapOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetElLaCapOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetRleRla
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetRleRla_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetRleRla_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetRleRlaCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetRleRlaCap_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetRleRlaCap_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetRleRlaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetRleRlaOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetRleRlaOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetRleRlaCapOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetRleRlaCapOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetRleRlaCapOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetLoLa
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetLoLa_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetLoLa_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetLoLaCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetLoLaCap_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetLoLaCap_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetLoLaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetLoLaOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetLoLaOpp_female
		trigger = { is_female = yes }
	}
}

## ENDINGS

defined_text = {
	name = GetOA
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetOA_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetOA_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetOAOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetOAOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetOAOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetEA
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetEA_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetEA_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetEAOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetEAOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetEAOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetNnoNna
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetNnoNna_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetNnoNna_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetNnoNnaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetNnoNnaOpp_male
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_ES_GetNnoNnaOpp_female
		trigger = { is_female = no }
	}
}

defined_text = {
	name = GetXA
	use_first_valid = yes

	text = {
		localisation_key = "" # String_ES_GetXA_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetXA_female
		trigger = { is_female = yes }
	}
}


defined_text = {
	name = GetXAOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetXAOpp_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = "" # String_ES_GetXAOpp_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetOnOna
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetOnOna_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetOnOna_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetOnOnaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetOnOnaOpp_male
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_ES_GetOnOnaOpp_female
		trigger = { is_female = no }
	}
}

defined_text = {
	name = GetUnUna
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetUnUna_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetUnUna_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetUnUnaOpp
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetUnUnaOpp_male
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_ES_GetUnUnaOpp_female
		trigger = { is_female = no }
	}
}

defined_text = {
	name = GetInoIna
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetInoIna_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetInoIna_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetAnAna
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetAnAna_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetAnAna_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetTaTisa
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetTaTisa_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetTaTisa_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetTeTisa
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetTeTisa_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetTeTisa_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetEsEsa
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetEsEsa_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetEsEsa_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetPadrinoMadrina
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetPadrinoMadrina_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetPadrinoMadrina_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetSenorSenoraCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetSenorSenoraCap_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetSenorSenoraCap_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetXTa
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetXTa_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetXTa_female
		trigger = { is_female = yes }
	}
}

## PREPOSICIONES

defined_text = {
	name = GetAlAla
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetAlAla_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetAlAla_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetAlAlaCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetAlAlaCap_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetAlAlaCap_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetDelDela
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetDelDela_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetDelDela_female
		trigger = { is_female = yes }
	}
}

## PALABRA ANTES DE ORDEN (SIN ESPACIO ENTRE AMBAS)
defined_text = {
	name = Get_deldela_RealmFull
	use_first_valid = yes

	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						is_nomadic = yes # Kaganato, Kanato
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = EMPEROR
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								real_tier = KING # Reino, Kanato, Sultanato
								AND = {
									real_tier = DUKE # Ducado, Raj, Jarldmr, Beylerbeylicato
									NOR = {
										culture_group = arabic # Emirato
										culture_group = iranian # Satrapa
										culture = mongol # Gran cacicazgo
										culture = russian # Gran Principado
										culture_group = west_african # Emirato
									}
								}
								AND = {
									real_tier = COUNT # Condado, Emirato (?), Thikana, Marzbanato, Beylicato
									NOT = { culture = mongol } # Jefatura
								}
								AND = {
									real_tier = BARON
									OR = {
										culture = mongol # Taishi
										culture = turkish # Timar
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = EMPEROR
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								AND = {
									real_tier = KING # Reino, Kanato, Sultanato
									NOT = { culture = saxon } # Gran cacicazgo
								}
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = dravidian_group # Raj
										culture_group = indo_aryan_group # Raj
										culture = norse # Jarldmr
									}
								}
								AND = {
									real_tier = COUNT
									OR = {
										culture_group = west_african # Emirato (?)
										culture_group = dravidian_group # Thikana
										culture_group = indo_aryan_group # Thikana
									}
								}
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										religion_group = muslim # Califato
										religion = orthodox # Patriarcado
									}
								}
								AND = {
									real_tier = COUNT
									religion_group = muslim # Emirato (?)
								}
								AND = {
									real_tier = BARON # Templo, Vahram, Khalwat
									NOR = {
										religion_group = christian # Obispado
										religion_group = muslim # Mezquita
									}
								}
							}
						}
					}
				}
				title = d_fraticelli # Papado fatricelli
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_jewish # Gran sacerdocio judo
				title = d_kharijite # Califato jariy

				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo
				title = k_papacy # Papado
				title = k_orthodox # Patriarcado ecumnico
			}
			NOR = {
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						is_republic = yes # Ciudad, Gran ciudad, Repblica, Principado, Serensima Repblica, Liga mercante
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = iranian # Satrapa
										culture = mongol # Gran cacicazgo
										culture = russian # Gran Principado
									}
								}
								AND = {
									real_tier = COUNT
									OR = {
										culture = mongol # Jefatura
									}
								}
								AND = {
									real_tier = BARON # Barona
									NOR = {
										culture = mongol # Taishi
										culture = turkish # Timar
										culture_group = iranian # Arg
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										culture = saxon # Gran cacicazgo
									}
								}
								AND = {
									real_tier = DUKE # Gran cacicazgo
									NOR = {
										culture_group = dravidian_group # Raj
										culture_group = indo_aryan_group # Raj
										culture = norse # Jarldmr
										culture_group = west_african # Emirato
									}
								}
								AND = {
									real_tier = COUNT # Jefatura
									NOR = {
										culture_group = west_african # Emirato (?)
										culture_group = dravidian_group # Thikana
										culture_group = indo_aryan_group # Thikana
									}
								}
								tier = BARON # Tribu, Dama
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										religion = catholic # Teocracia
										religion_group = pagan_group # Teocracia
									}
								}
								AND = {
									real_tier = DUKE
									OR = {
										religion_group = muslim # Teocracia
										religion_group = pagan_group # Teocracia
									}
								}
								AND = {
									real_tier = COUNT
									religion_group = pagan_group # Teocracia
								}
								AND = {
									real_tier = BARON
									religion_group = muslim # Mezquita
								}
							}
						}
					}
				}
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_venetian_navy # Flota de galeras del Adritico
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = e_golden_horde # Horda Dorada
			}
			NOR = {
				title = d_fraticelli # Papado fatricelli
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = d_jewish # Gran sacerdocio judo
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_timurids # Timridas
				title = e_wendish_empire # Imperio wendo
				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = k_papacy # Papado
				title = k_orthodox # Patriarcado ecumnico
			}
		}
	}
	text = {
		localisation_key = String_ES_del_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = EMPEROR # Imperio
									NOR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = arabic # Emirato
										culture_group = west_african # Emirato
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = EMPEROR # Imperio
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = DUKE
									religion_group = christian # Arzobispado principesco
								}
								AND = {
									real_tier = COUNT
									religion_group = christian # Obispado principesco
								}
								AND = {
									real_tier = BARON
									religion_group = christian # Obispado
								}
							}
						}
					}
				}
				title = d_fraticelli # Papado fatricelli
				title = d_jewish # Gran sacerdocio judo
				title = d_iconoclast # Patriarcado iconoclasta
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_deccan # Imperio decan

				title = e_hre # Sacro Imperio romano
				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = e_wendish_empire # Imperio wendo
				title = k_papacy # Papado
				title = k_orthodox # Patriarcado ecumnico
			}
			NOR = {
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_
		trigger = {
			OR = {
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_del_
	}
}

defined_text = {
	name = Get_el_RealmFull
	use_first_valid = yes

	text = {
		localisation_key = String_ES_el_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						is_nomadic = yes # Kaganato, Kanato
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = EMPEROR
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								real_tier = KING # Reino, Kanato, Sultanato
								AND = {
									real_tier = DUKE # Ducado, Raj, Jarldmr, Beylerbeylicato
									NOR = {
										culture_group = arabic # Emirato
										culture_group = iranian # Satrapa
										culture = mongol # Gran cacicazgo
										culture = russian # Gran Principado
										culture_group = west_african # Emirato
									}
								}
								AND = {
									real_tier = COUNT # Condado, Emirato (?), Thikana, Marzbanato, Beylicato
									NOT = { culture = mongol } # Jefatura
								}
								AND = {
									real_tier = BARON
									OR = {
										culture = mongol # Taishi
										culture = turkish # Timar
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = EMPEROR
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								AND = {
									real_tier = KING # Reino, Kanato, Sultanato
									NOT = { culture = saxon } # Gran cacicazgo
								}
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = dravidian_group # Raj
										culture_group = indo_aryan_group # Raj
										culture = norse # Jarldmr
									}
								}
								AND = {
									real_tier = COUNT
									OR = {
										culture_group = west_african # Emirato (?)
										culture_group = dravidian_group # Thikana
										culture_group = indo_aryan_group # Thikana
									}
								}
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										religion_group = muslim # Califato
										religion = orthodox # Patriarcado
									}
								}
								AND = {
									real_tier = COUNT
									religion_group = muslim # Emirato (?)
								}
								AND = {
									real_tier = BARON # Templo, Vahram, Khalwat
									NOR = {
										religion_group = christian # Obispado
										religion_group = muslim # Mezquita
									}
								}
							}
						}
					}
				}
				title = d_fraticelli # Papado fatricelli
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_jewish # Gran sacerdocio judo
				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = k_orthodox # Patriarcado ecumnico
				title = k_papacy # Papado
				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo

			}
			NOR = {
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						is_republic = yes # Ciudad, Gran ciudad, Repblica, Principado, Serensima Repblica, Liga mercante
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = iranian # Satrapa
										culture = mongol # Gran cacicazgo
										culture = russian # Gran Principado
									}
								}
								AND = {
									real_tier = COUNT
									OR = {
										culture = mongol # Jefatura
									}
								}
								AND = {
									real_tier = BARON # Barona
									NOR = {
										culture = mongol # Taishi
										culture = turkish # Timar
										culture_group = iranian # Arg
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										culture = saxon # Gran cacicazgo
									}
								}
								AND = {
									real_tier = DUKE # Gran cacicazgo
									NOR = {
										culture_group = dravidian_group # Raj
										culture_group = indo_aryan_group # Raj
										culture = norse # Jarldmr
										culture_group = west_african # Emirato
									}
								}
								AND = {
									real_tier = COUNT # Jefatura
									NOR = {
										culture_group = west_african # Emirato (?)
										culture_group = dravidian_group # Thikana
										culture_group = indo_aryan_group # Thikana
									}
								}
								real_tier = BARON # Tribu, Dama
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = KING
									NOR = {
										religion = catholic # Teocracia
										religion_group = pagan_group # Teocracia
									}
								}
								AND = {
									real_tier = DUKE
									OR = {
										religion_group = muslim # Teocracia
										religion_group = pagan_group # Teocracia
									}
								}
								AND = {
									real_tier = COUNT
									religion_group = pagan_group # Teocracia
								}
								AND = {
									real_tier = BARON
									religion_group = muslim # Mezquita
								}
							}
						}
					}
				}
				title = d_fraticelli # Papado fatricelli
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_jewish # Gran sacerdocio judo
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = k_papacy # Papado
			}
			NOR = {
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = k_orthodox # Patriarcado ecumnico
			}
		}
	}
	text = {
		localisation_key = String_ES_el_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = EMPEROR # Imperio
									NOR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = arabic # Emirato
										culture_group = west_african # Emirato
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = EMPEROR # Imperio
									NOR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = DUKE
									religion_group = christian # Arzobispado principesco
								}
								AND = {
									real_tier = COUNT
									religion_group = christian # Obispado principesco
								}
								AND = {
									real_tier = BARON
									religion_group = christian # Obispado
								}
							}
						}
					}
				}
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo
			}
			NOR = {
				title = d_fraticelli # Papado fatricelli
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_jewish # Gran sacerdocio judo
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = k_papacy # Papado
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = k_orthodox # Patriarcado ecumnico
			}
		}
	}
	text = {
		localisation_key = String_ES_los_
		trigger = {
			OR = {
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_el_
	}
}

defined_text = {
	name = Get_alala_RealmFull
	use_first_valid = yes

	text = {
		localisation_key = String_ES_la_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						is_nomadic = yes # Kaganato, Kanato
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = EMPEROR
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								real_tier = KING # Reino, Kanato, Sultanato
								AND = {
									real_tier = DUKE # Ducado, Raj, Jarldmr, Beylerbeylicato
									NOR = {
										culture_group = arabic # Emirato
										culture_group = iranian # Satrapa
										culture = mongol # Gran cacicazgo
										culture = russian # Gran Principado
										culture_group = west_african # Emirato
									}
								}
								AND = {
									real_tier = COUNT # Condado, Emirato (?), Thikana, Marzbanato, Beylicato
									NOT = { culture = mongol } # Jefatura
								}
								AND = {
									real_tier = BARON
									OR = {
										culture = mongol # Taishi
										culture = turkish # Timar
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = EMPEROR
									OR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								AND = {
									real_tier = KING # Reino, Kanato, Sultanato
									NOT = { culture = saxon } # Gran cacicazgo
								}
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = dravidian_group # Raj
										culture_group = indo_aryan_group # Raj
										culture = norse # Jarldmr
									}
								}
								AND = {
									real_tier = COUNT
									OR = {
										culture_group = west_african # Emirato (?)
										culture_group = dravidian_group # Thikana
										culture_group = indo_aryan_group # Thikana
									}
								}
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										religion_group = muslim # Califato
										religion = orthodox # Patriarcado
									}
								}
								AND = {
									real_tier = COUNT
									religion_group = muslim # Emirato (?)
								}
								AND = {
									real_tier = BARON # Templo, Vahram, Khalwat
									NOR = {
										religion_group = christian # Obispado
										religion_group = muslim # Mezquita
									}
								}
							}
						}
					}
				}
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = k_orthodox # Patriarcado ecumnico
			}
			NOR = {
				title = d_fraticelli # Papado fatricelli
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_jewish # Gran sacerdocio judo
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = k_papacy # Papado
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
			}
		}
	}
	text = {
		localisation_key = String_ES_a_la_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						is_republic = yes # Ciudad, Gran ciudad, Repblica, Principado, Serensima Repblica, Liga mercante
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = iranian # Satrapa
										culture = mongol # Gran cacicazgo
										culture = russian # Gran Principado
									}
								}
								AND = {
									real_tier = COUNT
									OR = {
										culture = mongol # Jefatura
									}
								}
								AND = {
									real_tier = BARON # Barona
									NOR = {
										culture = mongol # Taishi
										culture = turkish # Timar
										culture_group = iranian # Arg
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = KING
									OR = {
										culture = saxon # Gran cacicazgo
									}
								}
								AND = {
									real_tier = DUKE # Gran cacicazgo
									NOR = {
										culture_group = dravidian_group # Raj
										culture_group = indo_aryan_group # Raj
										culture = norse # Jarldmr
										culture_group = west_african # Emirato
									}
								}
								AND = {
									real_tier = COUNT # Jefatura
									NOR = {
										culture_group = west_african # Emirato (?)
										culture_group = dravidian_group # Thikana
										culture_group = indo_aryan_group # Thikana
									}
								}
								real_tier = BARON # Tribu, Dama
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = KING
									NOR = {
										religion = catholic # Teocracia
										religion_group = pagan_group # Teocracia
									}
								}
								AND = {
									real_tier = DUKE
									OR = {
										religion_group = muslim # Teocracia
										religion_group = pagan_group # Teocracia
									}
								}
								AND = {
									real_tier = COUNT
									religion_group = pagan_group # Teocracia
								}
								AND = {
									real_tier = BARON
									religion_group = muslim # Mezquita
								}
							}
						}
					}
				}
				title = d_fraticelli # Papado fatricelli
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_jewish # Gran sacerdocio judo
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = k_papacy # Papado
			}
			NOR = {
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = k_orthodox # Patriarcado ecumnico
			}
		}
	}
	text = {
		localisation_key = String_ES_A_la_
		trigger = {
			OR = {
				holder_scope = {
					OR = {
						AND = {
							is_feudal = yes
							OR = {
								AND = {
									real_tier = EMPEROR # Imperio
									NOR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
								AND = {
									real_tier = DUKE
									OR = {
										culture_group = arabic # Emirato
										culture_group = west_african # Emirato
									}
								}
							}
						}
						AND = {
							is_tribal = yes
							OR = {
								AND = {
									real_tier = EMPEROR # Imperio
									NOR = {
										culture_group = altaic # Kaganato
										culture = russian # Zarato
									}
								}
							}
						}
						AND = {
							is_theocracy = yes
							OR = {
								AND = {
									real_tier = DUKE
									religion_group = christian # Arzobispado principesco
								}
								AND = {
									real_tier = COUNT
									religion_group = christian # Obispado principesco
								}
								AND = {
									real_tier = BARON
									religion_group = christian # Obispado
								}
							}
						}
					}
				}
				title = d_aztec_pagan_reformed # Iglesia azteca
				title = d_baltic_pagan_reformed # Iglesia romuviana
				title = d_finnish_pagan_reformed # Iglesia suomenusko
				title = d_manichaean # Iglesia maniquea
				title = d_slavic_pagan_reformed # Iglesia eslava
				title = d_tengri_pagan_reformed # Iglesia tengri
				title = d_west_african_pagan_reformed # Iglesia africana occidental
				title = d_zoroastrian # Iglesia zorostrica
				title = d_zun_pagan_reformed # Iglesia de Zun
				title = e_arabia # Imperio rabe
				title = e_bengal # Imperio bengal

				title = e_byzantium # Imperio bizantino
				title = e_deccan # Imperio decan

				title = e_ilkhanate # Ilkanato
				title = e_latin_empire # Imperio latino
				title = e_aztec_empire # Imperio azteca
				title = e_mongol_empire # Imperio mongol
				title = e_persia # Imperio persa
				title = e_roman_empire # Imperio romano
				title = e_seljuk_turks # Imperio selycida
				title = e_wendish_empire # Imperio wendo
			}
			NOR = {
				title = d_fraticelli # Papado fatricelli
				title = d_frisian_navy # Flota de cocas del mar del Norte
				title = d_genoese_navy # Flota de galeras genovesas
				title = d_hanseatic_navy # Flota de cocas del Bltico
				title = d_jewish # Gran sacerdocio judo
				title = d_maghreb_corsairs # Corsarios berberiscos
				title = d_miaphysite # Papado miafisita
				title = d_monophysite # Papado monofisita
				title = d_venetian_navy # Flota de galeras del Adritico
				title = e_golden_horde # Horda Dorada
				title = k_papacy # Papado
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
				title = d_hurufi # Emirato hurufita
				title = d_ibadi # Califato ibad

				title = d_iconoclast # Patriarcado iconoclasta
				title = d_kharijite # Califato jariy

				title = d_monothelite # Patriarcado monotelita
				title = d_nestorian # Patriarcado de Oriente
				title = d_norse_pagan_reformed # Fylkirato
				title = d_paulician # Patriarcado pauliciano
				title = d_shiite # Califato chi

				title = d_sunni # Califato sun

				title = d_yazidi # Emirato yazid

				title = e_china_west_governor # Protectorado de las Provincias del Oeste
				title = e_hre # Sacro Imperio romano
				# title = e_shiite # Califato chi

				# title = e_sunni # Califato sun

				title = k_orthodox # Patriarcado ecumnico
			}
		}
	}
	text = {
		localisation_key = String_ES_los_
		trigger = {
			OR = {
				title = d_han_junks # Juncos han
				title = d_jurchen_corsairs # Corsarios yurchen
				title = e_timurids # Timridas
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_la_
	}
}

defined_text = {
	name = Get_el_PrimaryTitleName
	use_first_valid = yes

	text = {
		localisation_key = String_ES_el_
		trigger = {
			primary_title = {
				OR = {
					title = d_army_light # Ejrcito de la Luz
					title = d_bourbon # Borbonesado
					title = d_dauphine # Delfinado
					title = d_finnmark # Finnmark
					title = d_huitzilopochtli # Culto de Huitzilopochtli
					title = d_hurufi # Emirato hurufita
					title = d_ibadi # Califato ibad

					title = d_iconoclast # Patriarcado iconoclasta
					title = d_kharijite # Califato jariy

					title = d_monothelite # Patriarcado monotelita
					title = d_nestorian # Patriarcado de Oriente
					title = d_northumberland # Northumberland
					title = d_paulician # Patriarcado pauliciano
					title = d_shiite # Califato chi

					title = d_sunni # Califato sun

					title = d_yazidi # Emirato yazid

					title = d_han_massive # Ejrcito del Dragn
					title = e_arabia # Imperio rabe
					title = e_bengal # Imperio bengal

					title = e_byzantium # Imperio bizantino
					title = e_china_west_governor # Protectorado de las Provincias del Oeste
					title = e_hre # Sacro Imperio romano
					title = e_ilkhanate # Ilkanato
					title = e_latin_empire # Imperio latino
					title = e_aztec_empire # Imperio azteca
					title = e_mongol_empire # Imperio mongol
					title = e_persia # Imperio persa
					title = e_roman_empire # Imperio romano
					title = e_seljuk_turks # Imperio selycida
					title = e_wendish_empire # Imperio wendo
					# title = e_shiite # Califato chi

					# title = e_sunni # Califato sun

					title = k_orthodox # Patriarcado ecumnico
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			primary_title = {
				OR = {
					title = d_abyssinian_band # Banda armada de Abisinia
					title = d_alan_band # Banda de jinetes alana
					title = d_bektashi # Hermandad bektashi
					title = d_bengal_band # Banda armada bengal

					title = d_bengal_company # Compaa de Bengala
					title = d_bodpa_low # Banda bdpa
					title = d_breton_band # Banda armada bretona
					title = d_breton_company # Compaa bretona
					title = d_bulgarian_band # Banda armada blgara
					title = d_bulgarian_company # Compaa blgara
					title = d_catalan_band # Banda armada catalana
					title = d_catalan_company # Compaa catalana
					title = d_company_of_st_george # Compaa de san Jorge
					title = d_cuman_band # Banda armada cumana
					title = d_cuman_company # Compaa cumana
					title = d_finnish_band # Banda armada finesa
					title = d_fraticelli # Papado fatricelli
					title = d_frisian_navy # Flota de cocas del mar del Norte
					title = d_genoese_navy # Flota de galeras genovesas
					title = d_ghanan_band # Banda armada ghanesa
					title = d_ghilman # Banda de ghilman
					title = d_great_company # Gran compaa
					title = d_han_large # Compaa del Fnix
					title = d_han_low # Banda de la Grulla
					title = d_han_mid # Compaa del Kirin
					title = d_han_mid_low # Compaa de la Tortuga
					title = d_han_tiny_1 # Banda de la Peonia
					title = d_han_tiny_2 # Banda de la Orqudea
					title = d_hanseatic_navy # Flota de cocas del Bltico
					title = d_holy_sepulchre # Hermandad del Santo Sepulcro
					title = d_irish_band # Banda armada irlandesa
					title = d_jewish # Gran sacerdocio judo
					title = d_jurchen_band # Banda yurchen
					title = d_sami_band # Banda armada sami
					title = d_lesser_poland # Pequea Polonia
					title = d_lithuanian_band # Banda armada lituana
					title = d_little_hat_company # Compaa del sombrero
					title = d_lombard_band # Banda armada lombarda
					title = d_lower_lorraine # Baja Lorena
					title = d_maghreb_corsairs # Corsarios berberiscos
					title = d_mamluks # Compaa mameluca
					title = d_marathi_band # Banda armada marat

					title = d_marathi_company # Compaa marat

					title = d_miaphysite # Papado miafisita
					title = d_monophysite # Papado monofisita
					title = d_navarrese_company # Compaa navarra
					title = d_opsikion # Nicea
					# title = d_nikomedeia # Nicomedia
					title = d_nubian_band # Banda armada nubia
					title = d_pecheneg_band # Banda armada pechenega
					title = d_pecheneg_company # Compaa pechenega
					title = d_rajput_band # Banda armada rajput
					title = d_rajput_company # Compaa rajput
					title = d_rose_company # Compaa de la Rosa
					title = d_rus_band # Banda armada rusa
					title = d_rus_company # Compaa rusa
					title = d_sardinian_band # Banda sarda
					title = d_sardinian_company # Compaa sarda
					title = d_saxon_band # Banda armada sajona
					title = d_scottish_band # Banda armada escocesa
					title = d_shiite_bedouin_company # Compaa beduina
					title = d_shiite_berber_company # Compaa tuareg
					title = d_shiite_cuman_company # Compaa de las estepas
					title = d_shiite_turkic_company # Compaa turcomana
					title = d_silk_road_sentinels # Centinelas de la Ruta de la Seda
					title = d_star_company # Compaa de la Estrella
					title = d_sunni_bedouin_company # Compaa rabe
					title = d_sunni_berber_company # Compaa bereber
					title = d_sunni_cuman_company # Compaa khazar
					title = d_sunni_turkic_company # Compaa turcomana
					title = d_swiss_band # Banda armada suiza
					title = d_swiss_company # Compaa suiza
					title = d_tamil_band # Banda armada tamil
					title = d_tangut_low # Banda tangut
					title = d_treasure_fleet # Flota del Tesoro
					title = d_turkic_band # Banda armada trcica
					title = d_turkic_company # Compaa trcica
					title = d_transjurania # Alta Borgoa
					title = d_upper_lorraine # Alta Lorena
					title = d_varangian_guard # Guardia varega
					title = d_venetian_navy # Flota de galeras del Adritico
					title = d_victual_brothers # Banda des frres vitaliens
					title = d_white_company # Compaa Blanca
					title = e_golden_horde # Horda Dorada
					title = k_papacy # Papado
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			primary_title = {
				OR = {
					# title = d_arabia_felix # Arabia Feliz
					title = d_arabia # Arabia Ptrea
					title = d_aztec_pagan_reformed # Iglesia azteca
					title = d_baltic_pagan_reformed # Iglesia romuviana
					title = d_finnish_pagan_reformed # Iglesia suomenusko
					title = d_knights_calatrava # Orden de Calatrava
					title = d_knights_hospitaller # Orden Hospitalaria
					title = d_knights_santiago # Orden de Santiago
					title = d_knights_templar # Orden del Templo
					title = d_manichaean # Iglesia maniquea
					title = d_saint_addai # Orden de san Tadeo
					title = d_saint_anthony # Orden de san Antonio
					title = d_slavic_pagan_reformed # Iglesia eslava
					title = d_tengri_pagan_reformed # Iglesia tengri
					title = d_teutonic_order # Orden teutnica
					title = d_west_african_pagan_reformed # Iglesia africana occidental
					title = d_zoroastrian # Iglesia zorostrica
					title = d_zun_pagan_reformed # Iglesia de Zun
					title = e_india # India #India
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_los_
		trigger = {
			primary_title = {
				OR = {
					# title = d_abbasid # Abasidas
					# title = d_arabs # rabes
					title = d_ashokas_chosen # Elegidos de Ashoka
					title = d_bulls_rishabha # Toros de Rishabhanatha
					title = d_chosen_perkunas # Elegidos de Perkunas
					title = d_estonia # Estonios
					title = d_followers_arjuna # Seguidores de Arjuna
					title = d_han_junks # Juncos han
					# title = d_ilmenians # Ilmenianos
					title = d_immortals # Inmortales
					# title = d_ingers # Ingriens
					title = d_jomsvikings # Jomsvikingos
					title = d_jurchen_corsairs # Corsarios yurchen
					# title = d_khazars # Jzaros
					# title = d_kryvians # Krivianos
					# title = d_lendians # Lendianos
					# title = d_lettigalians # Latgalianos
					# title = d_muromians # Muromianos
					# title = d_obotrites # Abodrites
					title = d_outlaws_of_the_marsh # Forajidos de los pantanos
					title = d_persian_caravan_guards # Guardias de caravanas persas
					# title = d_pruthenians # Prutenios
					# title = d_severians # Severianos
					title = d_sky_lords # Seores del Cielo
					# title = d_sorbs # Sorabos
					title = d_spirit_guardians # Guardianes de los espritus
					title = d_turkic_guard # Guardias trcicos
					title = d_warriors_perun # Guerreros de Pern
					title = d_zealots # Fanticos
					title = d_zemgale # Semigalianos
					title = d_zun_warriors # Caballeros del Sol
					title = e_pirates # Piratas
					title = e_rebels # Rebeldes
					title = e_timurids # Timridas
					# title = k_al-murabitids # Almorvides
					# title = k_almohad # Almohades
					title = k_cumania # Cumanos
					# title = k_fatimids # Fatimidas
					# title = k_hammadid # Hamaditas
					title = k_ottoman # Otomanos
					title = k_pechenegs # Pechenegos
					# title = k_zirid # Zires
					# title = k_ziyanids # Ziyanitas
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_las_
		trigger = {
			primary_title = {
				OR = {
					title = d_aegean_islands # Islas del Egeo
					# title = d_balearic # Baleares
					title = d_orkney # Orcadas
					title = d_the_isles # Hbridas
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_el_
	}
}

defined_text = {
	name = Get_deldela_PrimaryTitleName
	use_first_valid = yes

	text = {
		localisation_key = String_ES_del_
		trigger = {
			primary_title = {
				OR = {
					title = d_huitzilopochtli # Culto de Huitzilopochtli
					title = d_hurufi # Emirato hurufita
					title = d_ibadi # Califato ibad

					title = d_iconoclast # Patriarcado iconoclasta
					title = d_kharijite # Califato jariy

					title = d_monothelite # Patriarcado monotelita
					title = d_nestorian # Patriarcado de Oriente
					title = d_paulician # Patriarcado pauliciano
					title = d_fraticelli # Papado fatricelli
					title = d_shiite # Califato chi

					title = d_sunni # Califato sun

					title = e_china_west_governor # Protectorado de las Provincias del Oeste
					title = e_hre # Sacro Imperio romano
					# title = e_shiite # Califato chi

					# title = e_sunni # Califato sun

					title = k_orthodox # Patriarcado ecumnico
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			primary_title = {
				OR = {
					title = d_abyssinian_band # Banda armada abisinia
					title = d_alan_band # Banda de jinetes alana
					title = d_bektashi # Hermandad bektashi
					title = d_bengal_band # Banda armada bengal

					title = d_bengal_company # Compaa de Bengala
					title = d_bodpa_low # Banda bdpa
					title = d_breton_band # Banda armada bretona
					title = d_breton_company # Compaa bretona
					title = d_bulgarian_band # Banda armada blgara
					title = d_bulgarian_company # Compaa blgara
					title = d_catalan_band # Banda armada catalana
					title = d_catalan_company # Compaa catalana
					title = d_company_of_st_george # Compaa de san Jorge
					title = d_cuman_band # Banda armada cumana
					title = d_cuman_company # Compaa cumana
					title = d_finnish_band # Banda armada finesa
					title = d_frisian_navy # Flota de cocas del mar del Norte
					title = d_genoese_navy # Flota de galeras genovesas
					title = d_ghanan_band # Banda armada ghanesa
					title = d_ghilman # Banda de ghilman
					title = d_great_company # Gran compaa
					title = d_han_large # Compaa del Fnix
					title = d_han_low # Banda de la Grulla
					title = d_han_mid # Compaa del Kirin
					title = d_han_mid_low # Compaa de la Tortuga
					title = d_han_tiny_1 # Banda de la Peonia
					title = d_han_tiny_2 # Banda de la Orqudea
					title = d_hanseatic_navy # Flota de cocas del Bltico
					title = d_holy_sepulchre # Hermandad del Santo Sepulcro
					title = d_irish_band # Banda armada irlandesa
					title = d_jewish # Gran sacerdocio judo
					title = d_jurchen_band # Banda yurchen
					title = d_sami_band # Banda armada sami
					title = d_lithuanian_band # Banda armada lituana
					title = d_little_hat_company # Compaa del sombrero
					title = d_lombard_band # Banda armada lombarda
					title = d_maghreb_corsairs # Corsarios berberiscos
					title = d_mamluks # Compaa mameluca
					title = d_marathi_band # Banda armada marat

					title = d_marathi_company # Compaa marat

					title = d_miaphysite # Papado miafisita #EL
					title = d_monophysite # Papado monofisita #EL
					title = d_navarrese_company # Compaa navarra
					title = d_nubian_band # Banda armada nubia
					title = d_pecheneg_band # Banda armada pechenega
					title = d_pecheneg_company # Compaa pechenega
					title = d_rajput_band # Banda armada rajput
					title = d_rajput_company # Compaa rajput
					title = d_rose_company # Compaa de la Rosa
					title = d_rus_band # Banda armada rusa
					title = d_rus_company # Compaa rusa
					title = d_sardinian_band # Banda sarda
					title = d_sardinian_company # Compaa sarda
					title = d_saxon_band # Banda armada sajona
					title = d_scottish_band # Banda armada escocesa
					title = d_shiite_bedouin_company # Compaa beduina
					title = d_shiite_berber_company # Compaa tuareg
					title = d_shiite_cuman_company # Compaa de las estepas
					title = d_shiite_turkic_company # Compaa turcomana
					title = d_silk_road_sentinels # Centinelas de la Ruta de la Seda
					title = d_star_company # Compaa de la Estrella
					title = d_sunni_bedouin_company # Compaa rabe
					title = d_sunni_berber_company # Compaa bereber
					title = d_sunni_cuman_company # Compaa khazar
					title = d_sunni_turkic_company # Compaa turcomana
					title = d_swiss_band # Banda armada suiza
					title = d_swiss_company # Compaa suiza
					title = d_tamil_band # Banda armada tamil
					title = d_tangut_low # Banda tangut
					title = d_treasure_fleet # Flota del Tesoro
					title = d_turkic_band # Banda armada trcica
					title = d_turkic_company # Compaa trcica
					title = d_varangian_guard # Guardia varega
					title = d_venetian_navy # Flota de galeras del Adritico
					title = d_victual_brothers # Banda des frres vitaliens
					title = d_white_company # Compaa Blanca
					title = e_golden_horde # Horda Dorada
					title = k_papacy # Papado #EL
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_del_
		trigger = {
			primary_title = {
				OR = {
					title = d_army_light # Ejrcito de la Luz
					title = d_aztec_pagan_reformed # Iglesia azteca
					title = d_baltic_pagan_reformed # Iglesia romuviana
					title = d_finnish_pagan_reformed # Iglesia suomenusko
					title = d_han_massive # Ejrcito del Dragon
					title = d_knights_calatrava # Orden de Calatrava
					title = d_knights_hospitaller # Orden hospitalaria
					title = d_knights_santiago # Orden de Santiago
					title = d_knights_templar # Orden del Templo
					title = d_manichaean # Iglesia maniquea
					title = d_saint_addai # Orden de san Tadeo
					title = d_saint_anthony # Orden de san Antonio
					title = d_slavic_pagan_reformed # Iglesia eslava
					title = d_tengri_pagan_reformed # Iglesia tengri
					title = d_teutonic_order # Orden teutnica
					title = d_west_african_pagan_reformed # Iglesia africana occidental
					title = d_zoroastrian # Iglesia zorostrica
					title = d_zun_pagan_reformed # Iglesia de Zun
					title = e_arabia # Imperio rabe
					title = e_bengal # Imperio bengal

					title = e_byzantium # Imperio bizantino
					title = e_ilkhanate # Ilkanato
					title = e_india # India #LA
					title = e_latin_empire # Imperio latino
					title = e_aztec_empire # Imperio azteca
					title = e_mongol_empire # Imperio mongol
					title = e_persia # Imperio persa
					title = e_roman_empire # Imperio romano
					title = e_seljuk_turks # Imperio selycida
					title = e_wendish_empire # Imperio wendo
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_
		trigger = {
			primary_title = {
				OR = {
					# title = d_abbasid # Abasidas
					title = d_aegean_islands # Islas del Egeo #LAS
					# title = d_arabs # rabes
					title = d_ashokas_chosen # Elegidos de Ashoka
					# title = d_balearic # Baleares #LAS
					title = d_bulls_rishabha # Toros de Rishabhanatha
					title = d_chosen_perkunas # Elegidos de Perkunas
					title = d_estonia # Estonios
					title = d_followers_arjuna # Seguidores de Arjuna
					title = d_han_junks # Juncos han
					# title = d_ilmenians # Ilmenianos
					title = d_immortals # Inmortales
					# title = d_ingers # Ingriens
					title = d_jomsvikings # Jomsvikingos
					title = d_jurchen_corsairs # Corsarios yurchen
					# title = d_khazars # Jzaros
					# title = d_kryvians # Krivianos
					# title = d_lendians # Lendianos
					# title = d_lettigalians # Latgalianos
					# title = d_muromians # Muromianos
					# title = d_obotrites # Abodrites
					title = d_orkney # Orcadas #LAS
					title = d_outlaws_of_the_marsh # Forajidos de los pantanos (?)
					title = d_persian_caravan_guards # Guardias de caravanas persas
					# title = d_pruthenians # Prutenios
					# title = d_severians # Severianos
					title = d_sky_lords # Seores del Cielo
					# title = d_sorbs # Sorabos
					title = d_spirit_guardians # Guardianes de los espritus
					title = d_turkic_guard # Guardias trcicos
					title = d_warriors_perun # Guerreros de Pern
					title = d_the_isles # Hbridas #LAS
					title = d_zealots # Fanticos
					title = d_zemgale # Semigalianos
					title = d_zun_warriors # Caballeros del Sol
					title = e_pirates # Piratas
					title = e_rebels # Rebeldes
					title = e_timurids # Timridas
					# title = k_al-murabitids # Almorvides
					# title = k_almohad # Almohades
					title = k_cumania # Cumanos
					# title = k_fatimids # Fatimidas
					# title = k_hammadid # Hamaditas
					title = k_ottoman # Otomanos
					title = k_pechenegs # Pechenegos
					# title = k_zirid # Zires
					# title = k_ziyanids # Ziyanitas
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_de_las_
		trigger = {
			primary_title = {
				OR = {
					title = d_aegean_islands # Islas del Egeo
					# title = d_balearic # Baleares
					title = d_orkney # Orcadas
					title = d_the_isles # Hbridas
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_del_
	}
}

defined_text = {
	name = Get_alala_PrimaryTitleName
	use_first_valid = yes

	text = {
		localisation_key = String_ES_al_
		trigger = {
			primary_title = {
				OR = {
					title = d_huitzilopochtli # Culto de Huitzilopochtli
					title = d_hurufi # Emirato hurufita
					title = d_ibadi # Califato ibad

					title = d_iconoclast # Patriarcado iconoclasta
					title = d_kharijite # Califato jariy

					title = d_monothelite # Patriarcado monotelita
					title = d_nestorian # Patriarcado de Oriente
					title = d_paulician # Patriarcado pauliciano
					title = d_fraticelli # Papado fatricelli
					title = d_shiite # Califato chi

					title = d_sunni # Califato sun

					title = d_army_light # Ejrcito de la Luz
					title = d_aztec_pagan_reformed # Iglesia azteca
					title = d_baltic_pagan_reformed # Iglesia romuviana
					title = d_finnish_pagan_reformed # Iglesia suomenusko
					title = d_han_massive # Ejrcito del Dragon
					title = e_arabia # Imperio rabe
					title = e_bengal # Imperio bengal

					title = e_byzantium # Imperio bizantino
					title = e_ilkhanate # Ilkanato
					title = e_latin_empire # Imperio latino
					title = e_aztec_empire # Imperio azteca
					title = e_mongol_empire # Imperio mongol
					title = e_persia # Imperio persa
					title = e_roman_empire # Imperio romano
					title = e_seljuk_turks # Imperio selycida
					title = e_wendish_empire # Imperio wendo
					title = e_china_west_governor # Protectorado de las Provincias del Oeste
					title = e_hre # Sacro Imperio romano
					# title = e_shiite # Califato chi

					# title = e_sunni # Califato sun

					title = k_papacy # Papado
					title = k_orthodox # Patriarcado ecumnico
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_a_la_
		trigger = {
			primary_title = {
				OR = {
					title = d_abyssinian_band # Banda armada abisinia
					title = d_alan_band # Banda de jinetes alana
					title = d_bektashi # Hermandad bektashi
					title = d_bengal_band # Banda armada bengal

					title = d_bengal_company # Compaa de Bengala
					title = d_bodpa_low # Banda bdpa
					title = d_breton_band # Banda armada bretona
					title = d_breton_company # Compaa bretona
					title = d_bulgarian_band # Banda armada blgara
					title = d_bulgarian_company # Compaa blgara
					title = d_catalan_band # Banda armada catalana
					title = d_catalan_company # Compaa catalana
					title = d_company_of_st_george # Compaa de san Jorge
					title = d_cuman_band # Banda armada cumana
					title = d_cuman_company # Compaa cumana
					title = d_finnish_band # Banda armada finesa
					title = d_frisian_navy # Flota de cocas del mar del Norte
					title = d_genoese_navy # Flota de galeras genovesas
					title = d_ghanan_band # Banda armada ghanesa
					title = d_ghilman # Banda de ghilman
					title = d_knights_calatrava # Orden de Calatrava
					title = d_knights_hospitaller # Orden hospitalaria
					title = d_knights_santiago # Orden de Santiago
					title = d_knights_templar # Orden del Templo
					title = d_manichaean # Iglesia maniquea
					title = d_slavic_pagan_reformed # Iglesia eslava
					title = d_tengri_pagan_reformed # Iglesia tengri
					title = d_west_african_pagan_reformed # Iglesia africana occidental
					title = d_zoroastrian # Iglesia zorostrica
					title = d_zun_pagan_reformed # Iglesia de Zun
					title = d_saint_addai # Orden de san Tadeo
					title = d_saint_anthony # Orden de san Antonio
					title = d_teutonic_order # Orden teutnica
					title = d_great_company # Gran compaa
					title = d_han_large # Compaa del Fnix
					title = d_han_low # Banda de la Grulla
					title = d_han_mid # Compaa del Kirin
					title = d_han_mid_low # Compaa de la Tortuga
					title = d_han_tiny_1 # Banda de la Peonia
					title = d_han_tiny_2 # Banda de la Orqudea
					title = d_hanseatic_navy # Flota de cocas del Bltico
					title = d_holy_sepulchre # Hermandad del Santo Sepulcro
					title = d_irish_band # Banda armada irlandesa
					title = d_jewish # Gran sacerdocio judo
					title = d_jurchen_band # Banda yurchen
					title = d_sami_band # Banda armada sami
					title = d_lithuanian_band # Banda armada lituana
					title = d_little_hat_company # Compaa del sombrero
					title = d_lombard_band # Banda armada lombarda
					title = d_maghreb_corsairs # Corsarios berberiscos
					title = d_mamluks # Compaa mameluca
					title = d_marathi_band # Banda armada marat

					title = d_marathi_company # Compaa marat

					title = d_miaphysite # Papado miafisita #EL
					title = d_monophysite # Papado monofisita #EL
					title = d_navarrese_company # Compaa navarra
					title = d_nubian_band # Banda armada nubia
					title = d_pecheneg_band # Banda armada pechenega
					title = d_pecheneg_company # Compaa pechenega
					title = d_rajput_band # Banda armada rajput
					title = d_rajput_company # Compaa rajput
					title = d_rose_company # Compaa de la Rosa
					title = d_rus_band # Banda armada rusa
					title = d_rus_company # Compaa rusa
					title = d_sardinian_band # Banda sarda
					title = d_sardinian_company # Compaa sarda
					title = d_saxon_band # Banda armada sajona
					title = d_scottish_band # Banda armada escocesa
					title = d_shiite_bedouin_company # Compaa beduina
					title = d_shiite_berber_company # Compaa tuareg
					title = d_shiite_cuman_company # Compaa de las estepas
					title = d_shiite_turkic_company # Compaa turcomana
					title = d_silk_road_sentinels # Centinelas de la Ruta de la Seda
					title = d_star_company # Compaa de la Estrella
					title = d_sunni_bedouin_company # Compaa rabe
					title = d_sunni_berber_company # Compaa bereber
					title = d_sunni_cuman_company # Compaa khazar
					title = d_sunni_turkic_company # Compaa turcomana
					title = d_swiss_band # Banda armada suiza
					title = d_swiss_company # Compaa suiza
					title = d_tamil_band # Banda armada tamil
					title = d_tangut_low # Banda tangut
					title = d_treasure_fleet # Flota del Tesoro
					title = d_turkic_band # Banda armada trcica
					title = d_turkic_company # Compaa trcica
					title = d_varangian_guard # Guardia varega
					title = d_venetian_navy # Flota de galeras del Adritico
					title = d_victual_brothers # Banda des frres vitaliens
					title = d_white_company # Compaa Blanca
					title = e_india # India
					title = e_golden_horde # Horda Dorada
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_a_los_
		trigger = {
			primary_title = {
				OR = {
					# title = d_abbasid # Abasidas
					# title = d_arabs # rabes
					title = d_ashokas_chosen # Elegidos de Ashoka
					title = d_bulls_rishabha # Toros de Rishabhanatha
					title = d_chosen_perkunas # Elegidos de Perkunas
					title = d_estonia # Estonios
					title = d_followers_arjuna # Seguidores de Arjuna
					title = d_han_junks # Juncos han
					# title = d_ilmenians # Ilmenianos
					title = d_immortals # Inmortales
					# title = d_ingers # Ingriens
					title = d_jomsvikings # Jomsvikingos
					title = d_jurchen_corsairs # Corsarios yurchen
					# title = d_khazars # Jzaros
					# title = d_kryvians # Krivianos
					# title = d_lendians # Lendianos
					# title = d_lettigalians # Latgalianos
					# title = d_muromians # Muromianos
					# title = d_obotrites # Abodritas
					title = d_outlaws_of_the_marsh # Forajidos de los pantanos
					title = d_persian_caravan_guards # Guardias de caravanas persas
					# title = d_pruthenians # Prutenios
					# title = d_severians # Severianos
					title = d_sky_lords # Seores del Cielo
					# title = d_sorbs # Sorabos
					title = d_spirit_guardians # Guardianes de los espritus
					title = d_turkic_guard # Guardias trcicos
					title = d_warriors_perun # Guerreros de Pern
					title = d_zealots # Fanticos
					title = d_zemgale # Semigalianos
					title = d_zun_warriors # Caballeros del Sol
					title = e_pirates # Piratas
					title = e_rebels # Rebeldes
					title = e_timurids # Timridas
					# title = k_al-murabitids # Almorvides
					# title = k_almohad # Almohades
					title = k_cumania # Cumanos
					# title = k_fatimids # Fatimidas
					# title = k_hammadid # Hamaditas
					title = k_ottoman # Otomanos
					title = k_pechenegs # Pechenegos
					# title = k_zirid # Zires
					# title = k_ziyanids # Ziyanitas
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_a_las_
		trigger = {
			primary_title = {
				OR = {
					title = d_aegean_islands # Islas del Egeo
					# title = d_balearic # Baleares
					title = d_orkney # Orcadas
					title = d_the_isles # Hbridas
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_al_
	}
}

defined_text = {
	name = Get_deldela_Society
	use_first_valid = yes

	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			OR = {
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_orthodox
				society_member_of = monastic_order_nestorian
				society_member_of = monastic_order_monophysite
				society_member_of = monastic_order_jain
				society_member_of = monastic_order_hindu
				society_member_of = monastic_order_buddhist
				society_member_of = secret_religious_society_norse_pagan
				society_member_of = secret_religious_society_norse_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_
		trigger = {
			OR = {
				society_member_of = the_cult_of_kali
				society_member_of = hermetics
				society_member_of = secret_religious_society_aztec
				society_member_of = secret_religious_society_aztec_reformed
				society_member_of = secret_religious_society_baltic_pagan
				society_member_of = secret_religious_society_baltic_pagan_reformed
				society_member_of = secret_religious_society_bogomilist
				society_member_of = secret_religious_society_bon
				society_member_of = secret_religious_society_buddhist
				society_member_of = secret_religious_society_cathar
				society_member_of = secret_religious_society_catholic
				society_member_of = secret_religious_society_druze
				society_member_of = secret_religious_society_finnish_pagan
				society_member_of = secret_religious_society_finnish_pagan_reformed
				society_member_of = secret_religious_society_fraticelli
				society_member_of = secret_religious_society_hindu
				society_member_of = secret_religious_society_hurufi
				society_member_of = secret_religious_society_ibadi
				society_member_of = secret_religious_society_iconoclast
				society_member_of = secret_religious_society_jain
				society_member_of = secret_religious_society_jewish
				society_member_of = secret_religious_society_karaite
				society_member_of = secret_religious_society_kharijite
				society_member_of = secret_religious_society_khurmazta
				society_member_of = secret_religious_society_lollard
				society_member_of = secret_religious_society_manichaean
				society_member_of = secret_religious_society_mazdaki
				society_member_of = secret_religious_society_messalian
				society_member_of = secret_religious_society_miaphysite
				society_member_of = secret_religious_society_monophysite
				society_member_of = secret_religious_society_monothelite
				society_member_of = secret_religious_society_nestorian
				society_member_of = secret_religious_society_orthodox
				society_member_of = secret_religious_society_paulician
				society_member_of = secret_religious_society_samaritan
				society_member_of = secret_religious_society_shiite
				society_member_of = secret_religious_society_slavic_pagan
				society_member_of = secret_religious_society_slavic_pagan_reformed
				society_member_of = secret_religious_society_sunni
				society_member_of = secret_religious_society_taoist
				society_member_of = secret_religious_society_tengri_pagan
				society_member_of = secret_religious_society_tengri_pagan_reformed
				society_member_of = secret_religious_society_waldensian
				society_member_of = secret_religious_society_west_african_pagan
				society_member_of = secret_religious_society_west_african_pagan_reformed
				society_member_of = secret_religious_society_yazidi
				society_member_of = secret_religious_society_zikri
				society_member_of = secret_religious_society_zoroastrian
				society_member_of = secret_religious_society_zun_pagan
				society_member_of = secret_religious_society_zun_pagan_reformed
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_Get_DelDela_Society
	}
}

defined_text = {
	name = Get_ella_Society
	use_first_valid = yes

	text = {
		localisation_key = String_ES_la_
		trigger = {
			OR = {
				society_member_of = the_trollcrafters
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_orthodox
				society_member_of = monastic_order_nestorian
				society_member_of = monastic_order_monophysite
				society_member_of = monastic_order_jain
				society_member_of = monastic_order_hindu
				society_member_of = monastic_order_buddhist
				society_member_of = secret_religious_society_norse_pagan
				society_member_of = secret_religious_society_norse_pagan_reformed
			}
		}
	}

	text = {
		localisation_key = String_ES_los_
		trigger = {
			OR = {
				society_member_of = the_assassins
				society_member_of = the_satanists
				society_member_of = the_cold_ones
				society_member_of = the_plaguebringers
				society_member_of = hermetics
				society_member_of = secret_religious_society_aztec
				society_member_of = secret_religious_society_aztec_reformed
				society_member_of = secret_religious_society_baltic_pagan
				society_member_of = secret_religious_society_baltic_pagan_reformed
				society_member_of = secret_religious_society_bogomilist
				society_member_of = secret_religious_society_bon
				society_member_of = secret_religious_society_buddhist
				society_member_of = secret_religious_society_cathar
				society_member_of = secret_religious_society_catholic
				society_member_of = secret_religious_society_druze
				society_member_of = secret_religious_society_finnish_pagan
				society_member_of = secret_religious_society_finnish_pagan_reformed
				society_member_of = secret_religious_society_fraticelli
				society_member_of = secret_religious_society_hindu
				society_member_of = secret_religious_society_hurufi
				society_member_of = secret_religious_society_ibadi
				society_member_of = secret_religious_society_iconoclast
				society_member_of = secret_religious_society_jain
				society_member_of = secret_religious_society_jewish
				society_member_of = secret_religious_society_karaite
				society_member_of = secret_religious_society_kharijite
				society_member_of = secret_religious_society_khurmazta
				society_member_of = secret_religious_society_lollard
				society_member_of = secret_religious_society_manichaean
				society_member_of = secret_religious_society_mazdaki
				society_member_of = secret_religious_society_messalian
				society_member_of = secret_religious_society_miaphysite
				society_member_of = secret_religious_society_monophysite
				society_member_of = secret_religious_society_monothelite
				society_member_of = secret_religious_society_nestorian
				society_member_of = secret_religious_society_orthodox
				society_member_of = secret_religious_society_paulician
				society_member_of = secret_religious_society_samaritan
				society_member_of = secret_religious_society_shiite
				society_member_of = secret_religious_society_slavic_pagan
				society_member_of = secret_religious_society_slavic_pagan_reformed
				society_member_of = secret_religious_society_sunni
				society_member_of = secret_religious_society_taoist
				society_member_of = secret_religious_society_tengri_pagan
				society_member_of = secret_religious_society_tengri_pagan_reformed
				society_member_of = secret_religious_society_waldensian
				society_member_of = secret_religious_society_west_african_pagan
				society_member_of = secret_religious_society_west_african_pagan_reformed
				society_member_of = secret_religious_society_yazidi
				society_member_of = secret_religious_society_zikri
				society_member_of = secret_religious_society_zoroastrian
				society_member_of = secret_religious_society_zun_pagan
				society_member_of = secret_religious_society_zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ES_el_
		trigger = { society_member_of = the_cult_of_kali }
	}
	fallback_text = {
		localisation_key = ""
	}
}

defined_text = {
	name = Get_ElLa_Society
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Los_
		trigger = {
			OR = {
				society_member_of = the_assassins
				society_member_of = the_satanists
				society_member_of = the_cold_ones
				society_member_of = the_plaguebringers
				society_member_of = hermetics
				society_member_of = secret_religious_society_aztec
				society_member_of = secret_religious_society_aztec_reformed
				society_member_of = secret_religious_society_baltic_pagan
				society_member_of = secret_religious_society_baltic_pagan_reformed
				society_member_of = secret_religious_society_bogomilist
				society_member_of = secret_religious_society_bon
				society_member_of = secret_religious_society_buddhist
				society_member_of = secret_religious_society_cathar
				society_member_of = secret_religious_society_catholic
				society_member_of = secret_religious_society_druze
				society_member_of = secret_religious_society_finnish_pagan
				society_member_of = secret_religious_society_finnish_pagan_reformed
				society_member_of = secret_religious_society_fraticelli
				society_member_of = secret_religious_society_hindu
				society_member_of = secret_religious_society_hurufi
				society_member_of = secret_religious_society_ibadi
				society_member_of = secret_religious_society_iconoclast
				society_member_of = secret_religious_society_jain
				society_member_of = secret_religious_society_jewish
				society_member_of = secret_religious_society_karaite
				society_member_of = secret_religious_society_kharijite
				society_member_of = secret_religious_society_khurmazta
				society_member_of = secret_religious_society_lollard
				society_member_of = secret_religious_society_manichaean
				society_member_of = secret_religious_society_mazdaki
				society_member_of = secret_religious_society_messalian
				society_member_of = secret_religious_society_miaphysite
				society_member_of = secret_religious_society_monophysite
				society_member_of = secret_religious_society_monothelite
				society_member_of = secret_religious_society_nestorian
				society_member_of = secret_religious_society_norse_pagan_reformed
				society_member_of = secret_religious_society_orthodox
				society_member_of = secret_religious_society_paulician
				society_member_of = secret_religious_society_samaritan
				society_member_of = secret_religious_society_shiite
				society_member_of = secret_religious_society_slavic_pagan
				society_member_of = secret_religious_society_slavic_pagan_reformed
				society_member_of = secret_religious_society_sunni
				society_member_of = secret_religious_society_taoist
				society_member_of = secret_religious_society_tengri_pagan
				society_member_of = secret_religious_society_tengri_pagan_reformed
				society_member_of = secret_religious_society_waldensian
				society_member_of = secret_religious_society_west_african_pagan
				society_member_of = secret_religious_society_west_african_pagan_reformed
				society_member_of = secret_religious_society_yazidi
				society_member_of = secret_religious_society_zikri
				society_member_of = secret_religious_society_zoroastrian
				society_member_of = secret_religious_society_zun_pagan
				society_member_of = secret_religious_society_zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ES_La_
		trigger = {
			OR = {
				society_member_of = secret_religious_society_norse_pagan
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_orthodox
				society_member_of = monastic_order_nestorian
				society_member_of = monastic_order_monophysite
				society_member_of = monastic_order_jain
				society_member_of = monastic_order_hindu
				society_member_of = monastic_order_buddhist
				society_member_of = the_trollcrafters
				society_member_of = the_cult_of_kali
			}
		}
	}
	fallback_text = {
		localisation_key = ""
	}
}

defined_text = {
	name = Get_alala_Society
	use_first_valid = yes

	text = {
		localisation_key = String_ES_a_los_
		trigger = {
			OR = {
				society_member_of = the_assassins
				society_member_of = the_satanists
				society_member_of = the_cold_ones
				society_member_of = the_cult_of_kali
				society_member_of = the_plaguebringers
				society_member_of = hermetics
				society_member_of = secret_religious_society_aztec
				society_member_of = secret_religious_society_aztec_reformed
				society_member_of = secret_religious_society_baltic_pagan
				society_member_of = secret_religious_society_baltic_pagan_reformed
				society_member_of = secret_religious_society_bogomilist
				society_member_of = secret_religious_society_bon
				society_member_of = secret_religious_society_buddhist
				society_member_of = secret_religious_society_cathar
				society_member_of = secret_religious_society_catholic
				society_member_of = secret_religious_society_druze
				society_member_of = secret_religious_society_finnish_pagan
				society_member_of = secret_religious_society_finnish_pagan_reformed
				society_member_of = secret_religious_society_fraticelli
				society_member_of = secret_religious_society_hindu
				society_member_of = secret_religious_society_hurufi
				society_member_of = secret_religious_society_ibadi
				society_member_of = secret_religious_society_iconoclast
				society_member_of = secret_religious_society_jain
				society_member_of = secret_religious_society_jewish
				society_member_of = secret_religious_society_karaite
				society_member_of = secret_religious_society_kharijite
				society_member_of = secret_religious_society_khurmazta
				society_member_of = secret_religious_society_lollard
				society_member_of = secret_religious_society_manichaean
				society_member_of = secret_religious_society_mazdaki
				society_member_of = secret_religious_society_messalian
				society_member_of = secret_religious_society_miaphysite
				society_member_of = secret_religious_society_monophysite
				society_member_of = secret_religious_society_monothelite
				society_member_of = secret_religious_society_nestorian
				society_member_of = secret_religious_society_orthodox
				society_member_of = secret_religious_society_paulician
				society_member_of = secret_religious_society_samaritan
				society_member_of = secret_religious_society_shiite
				society_member_of = secret_religious_society_slavic_pagan
				society_member_of = secret_religious_society_slavic_pagan_reformed
				society_member_of = secret_religious_society_sunni
				society_member_of = secret_religious_society_taoist
				society_member_of = secret_religious_society_tengri_pagan
				society_member_of = secret_religious_society_tengri_pagan_reformed
				society_member_of = secret_religious_society_waldensian
				society_member_of = secret_religious_society_west_african_pagan
				society_member_of = secret_religious_society_west_african_pagan_reformed
				society_member_of = secret_religious_society_yazidi
				society_member_of = secret_religious_society_zikri
				society_member_of = secret_religious_society_zoroastrian
				society_member_of = secret_religious_society_zun_pagan
				society_member_of = secret_religious_society_zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ES_a_la_
		trigger = {
			OR = {
				society_member_of = the_trollcrafters
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_orthodox
				society_member_of = monastic_order_nestorian
				society_member_of = monastic_order_monophysite
				society_member_of = monastic_order_jain
				society_member_of = monastic_order_hindu
				society_member_of = monastic_order_buddhist
				society_member_of = secret_religious_society_norse_pagan
				society_member_of = secret_religious_society_norse_pagan_reformed
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_al_
	}
}

defined_text = {
	name = Get_el_SocietyRank
	use_first_valid = yes

	text = {
		localisation_key = String_ES_el_
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_la_
		trigger = { is_female = yes }
	}
	fallback_text = {
		localisation_key = String_ES_el_
	}
}

defined_text = {
	name = Get_El_SocietyRank
	use_first_valid = yes

	text = {
		localisation_key = String_ES_El_
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_La_
		trigger = { is_female = yes }
	}
	fallback_text = {
		localisation_key = String_ES_El_
	}
}

defined_text = {
	name = Get_alala_SocietyRank
	use_first_valid = yes

	text = {
		localisation_key = String_ES_al_
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_a_la_
		trigger = { is_female = yes }
	}
	fallback_text = {
		localisation_key = String_ES_al_
	}
}

defined_text = {
	name = Get_deldela_SocietyRank
	use_first_valid = yes

	text = {
		localisation_key = String_ES_del_
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_de_la_
		trigger = { is_female = yes }
	}
	fallback_text = {
		localisation_key = String_ES_de_la_
	}
}

defined_text = {
	name = Get_El_Job
	use_first_valid = yes

	text = {
		localisation_key = String_ES_El_
		trigger = {
			is_female = no
			OR = {
				has_job_title = job_chancellor
				has_job_title = job_marshal
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = greek # Sakellarios
							religion_openly_aztec_or_reformed_trigger = yes # Petlacalcatl
							culture = bodpa # Gnyer
							culture = han # Tesorero
							culture = jurchen # Tesorero
							culture = tangut # Gnyer
							religion = taoist # Tesorero
							religion_group = zoroastrian_group # Darik-pat
						}
					}
				}
				has_job_title = job_spymaster
				AND = {
					has_job_title = job_spiritual
					liege = {
						OR = {
							religion_group = indian_group # Upadhyaya
							religion_group = muslim # Imn de la corte
							religion = shiite # Mul de la corte
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_La_
		trigger = {
			is_female = yes
			OR = {
				has_job_title = job_chancellor
				has_job_title = job_spiritual
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = bodpa # Gnyer
							culture = tangut # Gnyer
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			OR = {
				AND = { # mujeres
					is_female = yes
					AND = {
						has_job_title = job_spiritual
						liege = { religion_group = indian_group } # Upadhyaya
					}
				}
				AND = { # hombres
					is_female = no
					OR = {
						AND = {
							has_job_title = job_chancellor
							liege = { religion_group = zoroastrian_group } # Astabadh
						}
						AND = {
							has_job_title = job_marshal
							liege = { religion_group = zoroastrian_group } # Eran Spahbod
						}
						has_job_title = job_treasurer
						AND = {
							has_job_title = job_spiritual
							liege = {
								OR = {
									religion_group = indian_group # Upadhyaya
									AND = {
										religion_group = muslim # Imn de la corte
										NOT = { religion = shiite } # Mul de la corte
									}
								}
							}
						}
					}
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_El_
	}
}

defined_text = {
	name = Get_el_JobTitle
	use_first_valid = yes

	text = {
		localisation_key = String_ES_el_
		trigger = {
			is_female = no
			OR = {
				has_job_title = job_chancellor
				has_job_title = job_marshal
				has_job_title = job_spymaster
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = greek # Sakellarios
							religion_openly_aztec_or_reformed_trigger = yes # Petlacalcatl
							culture = bodpa # Gnyer
							culture = han # Tesorero
							culture = jurchen # Tesorero
							culture = tangut # Gnyer
							religion = taoist # Tesorero
							religion_group = zoroastrian_group # Darik-pat
						}
					}
				}
				AND = {
					has_job_title = job_spiritual
					liege = {
						NOR = {
							religion_group = indian_group # Upadhyaya
							AND = {
								religion_group = muslim # Imn de la corte
								NOT = { religion = shiite } # Mul de la corte
							}
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			is_female = yes
			OR = {
				has_job_title = job_chancellor
				AND = {
					has_job_title = job_spiritual
					liege = {
						OR = {
							culture = bodpa # Banchenmo
							religion_openly_norse_or_reformed_trigger = yes # Vidente
							culture = tangut # Banchenmo
							religion_group = indian_group # Upadhyaya
						}
					}
				}
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = bodpa # Gnyer
							culture = tangut # Gnyer
						}
					}
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_el_
	}
}

defined_text = {
	name = Get_deldela_JobTitle
	use_first_valid = yes

	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			is_female = no
			OR = {
				AND = {
					has_job_title = job_chancellor
				}
				AND = {
					has_job_title = job_marshal
				}
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = greek # Sakellarios
							religion_openly_aztec_or_reformed_trigger = yes # Petlacalcatl
							culture = bodpa # Gnyer
							culture = han # Tesorero
							culture = jurchen # Tesorero
							culture = tangut # Gnyer
							religion = taoist # Tesorero
							religion_group = zoroastrian_group # Darik-pat
						}
					}
				}
				has_job_title = job_spymaster
				AND = {
					has_job_title = job_spiritual
					liege = {
						NOR = {
							religion_group = indian_group # Upadhyaya
							AND = {
								religion_group = muslim # Imn de la corte
								NOT = { religion = shiite } # Mul de la corte
							}
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			is_female = yes
			OR = {
				AND = {
					has_job_title = job_chancellor
					liege = {
					}
				}
				AND = {
					has_job_title = job_spiritual
					liege = {
						OR = {
							culture = bodpa # Banchenmo
							religion_openly_norse_or_reformed_trigger = yes # Vidente
							culture = tangut # Banchenmo
							religion_group = indian_group # Upadhyaya
						}
					}
				}
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = bodpa # Gnyer
							culture = tangut # Gnyer
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_del_
		trigger = {
			OR = {
				AND = { # mujeres
					is_female = yes
					AND = {
						has_job_title = job_spiritual
						liege = { religion_group = indian_group } # Upadhyaya
					}
				}
				AND = { # hombres
					is_female = no
					OR = {
						AND = {
							has_job_title = job_chancellor
							liege = { religion_group = zoroastrian_group } # Astabadh
						}
						AND = {
							has_job_title = job_marshal
							liege = { religion_group = zoroastrian_group } # Eran Spahbod
						}
						AND = {
							has_job_title = job_treasurer
							liege = {
								NOR = {
									culture = greek # Sakellarios
									religion_openly_aztec_or_reformed_trigger = yes # Petlacalcatl
									culture = bodpa # Gnyer
									culture = han # Tesorero
									culture = jurchen # Tesorero
									culture = tangut # Gnyer
									religion = taoist # Tesorero
									religion_group = zoroastrian_group # Darik-pat
								}
							}
						}
						AND = {
							has_job_title = job_spiritual
							liege = {
								OR = {
									religion_group = indian_group # Upadhyaya
									AND = {
										religion_group = muslim # Imn de la corte
										NOT = { religion = shiite } # Mul de la corte
									}
								}
							}
						}
					}
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_del_
	}
}

defined_text = {
	name = Get_alala_JobTitle
	use_first_valid = yes

	text = {
		localisation_key = String_ES_la_
		trigger = {
			is_female = no
			OR = {
				AND = {
					has_job_title = job_chancellor
				}
				AND = {
					has_job_title = job_marshal
				}
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = greek # Sakellarios
							religion_openly_aztec_or_reformed_trigger = yes # Petlacalcatl
							culture = bodpa # Gnyer
							culture = han # Tesorero
							culture = jurchen # Tesorero
							culture = tangut # Gnyer
							religion = taoist # Tesorero
							religion_group = zoroastrian_group # Darik-pat
						}
					}
				}
				has_job_title = job_spymaster
				AND = {
					has_job_title = job_spiritual
					liege = {
						NOR = {
							religion_group = indian_group # Upadhyaya
							AND = {
								religion_group = muslim # Imn de la corte
								NOT = { religion = shiite } # Mul de la corte
							}
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			is_female = yes
			OR = {
				AND = {
					has_job_title = job_chancellor
				}
				AND = {
					has_job_title = job_spiritual
					liege = {
						OR = {
							culture = bodpa # Banchenmo
							religion_openly_norse_or_reformed_trigger = yes # Vidente
							culture = tangut # Banchenmo
							religion_group = indian_group # Upadhyaya
						}
					}
				}
				AND = {
					has_job_title = job_treasurer
					liege = {
						OR = {
							culture = bodpa # Gnyer
							culture = tangut # Gnyer
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = String_ES_l_
		trigger = {
			OR = {
				AND = { # mujeres
					is_female = yes
					AND = {
						has_job_title = job_spiritual
						liege = { religion_group = indian_group } # Upadhyaya
					}
				}
				AND = { # hombres
					is_female = no
					OR = {
						AND = {
							has_job_title = job_chancellor
							liege = { religion_group = zoroastrian_group } # Astabadh
						}
						AND = {
							has_job_title = job_marshal
							liege = { religion_group = zoroastrian_group } # Eran Spahbod
						}
						AND = {
							has_job_title = job_treasurer
							liege = {
								NOR = {
									culture = greek # Sakellarios
									religion_openly_aztec_or_reformed_trigger = yes # Petlacalcatl
									culture = bodpa # Gnyer
									culture = han # Tesorero
									culture = jurchen # Tesorero
									culture = tangut # Gnyer
									religion = taoist # Tesorero
									religion_group = zoroastrian_group # Darik-pat
								}
							}
						}
						AND = {
							has_job_title = job_spiritual
							liege = {
								OR = {
									religion_group = indian_group # Upadhyaya
									AND = {
										religion_group = muslim # Imn de la corte
										NOT = { religion = shiite } # Mul de la corte
									}
								}
							}
						}
					}
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_la_
	}
}

defined_text = {
	name = Get_deldela_SelectedIngredient_1
	use_first_valid = yes

	#herbs
	text = {
		localisation_key = String_ES_del_ # hibisco
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # raz de jengibre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # mandrgora
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # citronela
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_ES_de_las_ # ortigas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # ajenjo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # valeriana
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # violeta
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # milenrama
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts
	text = {
		localisation_key = String_ES_de_la_ # vescula bililar
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # rin
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_ # ojos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_ES_de_las_ # pezuas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # cuerno de ciervo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # hocico
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # corazn
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # hgado
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_ # intestinos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals (powder?)
	text = {
		localisation_key = String_ES_de_la_ # plata
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_del_ # mercurio
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_del_ #  aqua regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_del_ #  aguafuerte
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ #  azufre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ #  oro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # cobre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # hierro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # estao
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}

defined_text = {
	name = Get_deldela_SelectedIngredient_2
	use_first_valid = yes

	#herbs
	text = {
		localisation_key = String_ES_del_ # hibisco
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # raz de jengibre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # mandrgora
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # citronela
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_ES_de_las_ # ortigas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # ajenjo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # valeriana
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_ # violeta
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # milenrama
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts
	text = {
		localisation_key = String_ES_de_la_ # vescula bililar
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # rin
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_ # ojos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_ES_de_las_ # pezuas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # cuerno de ciervo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # hocico
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # corazn
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # hgado
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_ # intestinos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals (powder?)
	text = {
		localisation_key = String_ES_de_la_ # plata
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_del_ # mercurio
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_del_ #  aqua regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_del_ #  aguafuerte
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ #  azufre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ #  oro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # cobre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # hierro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_ES_del_ # estao
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}

defined_text = {
	name = Get_ella_SelectedIngredient_1
	use_first_valid = yes

	#herbs
	text = {
		localisation_key = String_ES_el_ # hibisco
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # raz de jengibre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # mandrgora
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # citronela
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # ortigas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # ajenjo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # valeriana
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # violeta
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # milenrama
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts
	text = {
		localisation_key = String_ES_la_ # vescula bililar
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # rin
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # ojos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # pezuas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # cuerno de ciervo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hocico
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # corazn
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hgado
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # intestinos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals (powder?)
	text = {
		localisation_key = String_ES_la_ # plata
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # mercurio
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aqua regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aguafuerte
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # azufre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # oro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cobre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hierro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # estao
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}

defined_text = {
	name = Get_ella_SelectedIngredient_2
	use_first_valid = yes

	#herbs
	text = {
		localisation_key = String_ES_el_ # hibisco
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # raz de jengibre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # mandrgora
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # citronela
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # ortigas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # ajenjo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # valeriana
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # violeta
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # milenrama
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts
	text = {
		localisation_key = String_ES_la_ # vescula bililar
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # rin
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # ojos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # pezuas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cuerno de ciervo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hocico
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # corazn
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hgado
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # intestinos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals (powder?)
	text = {
		localisation_key = String_ES_la_ # plata
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # mercurio
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aqua regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aguafuerte
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # azufre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # oro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cobre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hierro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # estao
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}

defined_text = {
	name = Get_e_SelectedIngredient_e1
	use_first_valid = yes

	#herbs
	text = {
		localisation_key = String_ES_el_ # hibisco
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # raz de jengibre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # mandrgora
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # citronela
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # ortigas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # ajenjo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # valeriana
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # violeta
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # milenrama
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts
	text = {
		localisation_key = String_ES_la_ # vescula bililar
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # rin
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # ojos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # pezuas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cuerno de ciervo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hocico
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # corazn
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hgado
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # intestinos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals (powder?)
	text = {
		localisation_key = String_ES_la_ # plata
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # mercurio
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aqua regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aguafuerte
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # azufre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # oro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cobre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hierro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # estao
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}

defined_text = {
	name = Get_el_SelectedIngredient_2
	use_first_valid = yes

	#herbs
	text = {
		localisation_key = String_ES_el_ # hibisco
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # raz de jengibre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # mandrgora
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # citronela
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # ortigas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # ajenjo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # valeriana
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_ES_la_ # violeta
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # milenrama
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts
	text = {
		localisation_key = String_ES_la_ # vescula bililar
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # rin
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # ojos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_ES_las_ # pezuas
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cuerno de ciervo
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hocico
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # corazn
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hgado
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_ES_los_ # intestinos
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals (powder?)
	text = {
		localisation_key = String_ES_la_ # plata
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # mercurio
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aqua regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_ES_el_ # aguafuerte
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # azufre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # oro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # cobre
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # hierro
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_ES_el_ # estao
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}

defined_text = {
	name = Get_DelDela_HighGod
	use_first_valid = yes

	text = {
		localisation_key = String_ES_de_
		trigger = {
			OR = {
				religion = mazdaki # Ahura Mazda
				religion = zoroastrian # Ahura Mazda
				religion = druze # Al
				religion = hurufi # Al
				religion = ibadi # Al
				religion = kharijite # Al
				religion = shiite # Al
				religion = sunni # Al
				religion = zikri # Al
				religion_openly_norse_or_reformed_trigger = yes # Odn
				religion_openly_finnish_or_reformed_trigger = yes # Ukko
				religion = buddhist # Brahma
				religion = hindu # Brahma
				religion = bogomilist # Dios
				religion = cathar # Dios
				religion = catholic # Dios
				religion = fraticelli # Dios
				religion = iconoclast # Dios
				religion = jewish # Dios
				religion = karaite # Dios
				religion = lollard # Dios
				religion = messalian # Dios
				religion = miaphysite # Dios
				religion = monophysite # Dios
				religion = monothelite # Dios
				religion = nestorian # Dios
				religion = orthodox # Dios
				religion = paulician # Dios
				religion = samaritan # Dios
				religion = waldensian # Dios
				religion_openly_baltic_or_reformed_trigger = yes # Dievas
				religion_openly_aztec_or_reformed_trigger = yes # Huitzilopochtli
				religion_openly_slavic_or_reformed_trigger = yes # Pern
				religion_openly_bon_or_reformed_trigger = yes # Sangpo Bumtri
				religion_openly_hellenic_or_reformed_trigger = yes # Saturno
				religion = yazidi # Shaytan
				religion_openly_tengri_or_reformed_trigger = yes # Tengri
				religion = khurmazta # Zarvana
				religion_openly_zun_or_reformed_trigger = yes # Zun
				religion = manichaean # Zurvan
			}
		}
	}
	text = {
		localisation_key = String_ES_del_
		trigger = {
			OR = {
				religion = taoist  # Orden Cleste
				religion = pagan # Creador
				religion_openly_west_african_or_reformed_trigger = yes # Creador
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_
		trigger = { religion = jain }  # Trthankaras
	}
	fallback_text = {
		localisation_key = String_ES_de_
	}
}

defined_text = {
	name = Get_AlAla_HighGod
	use_first_valid = yes

	text = {
		localisation_key = String_ES_al_
		trigger = {
			OR = {
				religion = taoist  # Orden Cleste
				religion = pagan # Creador
				religion = west_african_pagan # Creador
				religion = west_african_pagan_reformed # Creador
			}
		}
	}
	text = {
		localisation_key = String_ES_a_los_
		trigger = { religion = jain }  # Trthankaras
	}
	fallback_text = {
		localisation_key = String_ES_al_
	}
}

defined_text = {
	name = Get_ella_HighGod
	use_first_valid = yes

	text = {
		localisation_key = String_ES_el_
		trigger = {
			OR = {
				religion = taoist  # Orden Cleste
				religion = pagan # Creador
				religion_openly_west_african_or_reformed_trigger = yes # Creador
			}
		}
	}
	text = {
		localisation_key = String_ES_los_
		trigger = { religion = jain }  # Trthankaras
	}
	fallback_text = {
		localisation_key = ""
	}
}

defined_text = {
	name = Get_ElLa_HighGod
	use_first_valid = yes

	text = {
		localisation_key = ""
		trigger = {
			OR = {
				religion = mazdaki # Ahura Mazda
				religion = zoroastrian # Ahura Mazda
				religion = druze # Al
				religion = hurufi # Al
				religion = ibadi # Al
				religion = kharijite # Al
				religion = shiite # Al
				religion = sunni # Al
				religion = zikri # Al
				religion_openly_norse_or_reformed_trigger = yes # Odn
				religion_openly_finnish_or_reformed_trigger = yes # Ukko
				religion = buddhist # Brahma
				religion = hindu # Brahma
				religion = bogomilist # Dios
				religion = cathar # Dios
				religion = catholic # Dios
				religion = fraticelli # Dios
				religion = iconoclast # Dios
				religion = jewish # Dios
				religion = karaite # Dios
				religion = lollard # Dios
				religion = messalian # Dios
				religion = miaphysite # Dios
				religion = monophysite # Dios
				religion = monothelite # Dios
				religion = nestorian # Dios
				religion = orthodox # Dios
				religion = paulician # Dios
				religion = samaritan # Dios
				religion = waldensian # Dios
				religion_openly_baltic_or_reformed_trigger = yes # Dievas
				religion_openly_aztec_or_reformed_trigger = yes # Huitzilopochtli
				religion_openly_slavic_or_reformed_trigger = yes # Pern
				religion_openly_bon_or_reformed_trigger = yes # Sangpo Bumtri
				religion_openly_hellenic_or_reformed_trigger = yes # Saturno
				religion = yazidi # Shaytan
				religion_openly_tengri_or_reformed_trigger = yes # Tengri
				religion = khurmazta # Zarvana
				religion_openly_zun_or_reformed_trigger = yes # Zun
				religion = manichaean # Zurvan
			}
		}
	}
	text = {
		localisation_key = String_ES_El_
		trigger = {
			OR = {
				religion = taoist # Orden Cleste
				religion = pagan # Creador
				religion_openly_west_african_or_reformed_trigger = yes # Creador

			}
		}
	}
	text = {
		localisation_key = String_ES_Los_
		trigger = { religion = jain }  # Trthankaras
	}
	fallback_text = {
		localisation_key = ""
	}
}

defined_text = {
	name = Get_el_Scripture
	use_first_valid = yes

	text = {
		localisation_key = String_ES_el_
		trigger = {
			OR = {
				religion = bon_pagan # Dodus
				religion = buddhist # Buddhacavana
				religion = hindu # Mahabharata
				religion = druze # Libro de la sabidura
				religion = hurufi # Corn
				religion = ibadi # Corn
				religion = kharijite # Corn
				religion = manichaean # Evangelio de Mani
				religion = mazdaki # Gran Secreto
				religion = shiite # Corn
				religion = sunni # Corn
				religion = taoist # Dao de jing
				religion = yazidi # Libro de la Iluminacin
				religion = zikri # Corn
			}
		}
	}
	text = {
		localisation_key = String_ES_la_
		trigger = {
			OR = {
				religion = bogomilist # Biblia
				religion = cathar # Biblia
				religion = catholic # Biblia
				religion = fraticelli # Biblia
				religion = iconoclast # Biblia
				religion = jewish # Tor
				religion = karaite # Tor
				religion = lollard # Biblia
				religion = miaphysite # Biblia
				religion = monophysite # Biblia
				religion = monothelite # Biblia
				religion = nestorian # Biblia
				religion = orthodox # Biblia
				religion = paulician # Biblia
				religion = samaritan # Tor
				religion = waldensian # Biblia
			}
		}
	}
	text = {
		localisation_key = String_ES_los_
		trigger = {
			OR = {
				religion = jain # Angas Sutras
				religion = khurmazta # Gathas
				religion = messalian # Ascetas
				religion = zoroastrian # Gathas
			}
		}
	}
	text = {
		localisation_key = String_ES_las_
		trigger = {
			OR = {
				religion_openly_aztec_or_reformed_trigger = yes # Leyendas
				religion_openly_baltic_or_reformed_trigger = yes # Leyendas
				religion_openly_finnish_or_reformed_trigger = yes # Leyendas
				religion_openly_hellenic_or_reformed_trigger = yes # Leyendas
				religion_openly_norse_or_reformed_trigger = yes # Sagas
				religion = pagan # Leyendas
				religion_openly_slavic_or_reformed_trigger = yes # Leyendas
				religion_openly_tengri_or_reformed_trigger = yes # Leyendas
				religion_openly_west_african_or_reformed_trigger = yes # Leyendas
				religion_openly_zun_or_reformed_trigger = yes # Leyendas
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_el_
	}
}

defined_text = {
	name = Get_deldela_Scripture
	use_first_valid = yes

	text = {
		localisation_key = String_ES_del_
		trigger = {
			OR = {
				religion = bon_pagan # Dodus
				religion = buddhist # Buddhacavana
				religion = druze # Libro de la sabidura
				religion = hindu # Mahabharata
				religion = hurufi # Corn
				religion = ibadi # Corn
				religion = kharijite # Corn
				religion = manichaean # Evangelio de Mani
				religion = mazdaki # Gran Secreto
				religion = shiite # Corn
				religion = sunni # Corn
				religion = taoist # Dao de jing
				religion = yazidi # Libro de la Iluminacin
				religion = zikri # Corn
			}
		}
	}
	text = {
		localisation_key = String_ES_de_la_
		trigger = {
			OR = {
				religion = bogomilist # Biblia
				religion = cathar # Biblia
				religion = catholic # Biblia
				religion = fraticelli # Biblia
				religion = iconoclast # Biblia
				religion = jewish # Tor
				religion = karaite # Tor
				religion = lollard # Biblia
				religion = miaphysite # Biblia
				religion = monophysite # Biblia
				religion = monothelite # Biblia
				religion = nestorian # Biblia
				religion = orthodox # Biblia
				religion = paulician # Biblia
				religion = samaritan # Tor
				religion = waldensian # Biblia
			}
		}
	}
	text = {
		localisation_key = String_ES_de_los_
		trigger = {
			OR = {
				religion = jain # Angas Sutras
				religion = khurmazta # Gathas
				religion = messalian # Ascetas
				religion = zoroastrian # Gathas
			}
		}
	}
	text = {
		localisation_key = String_ES_de_las_
		trigger = {
			OR = {
				religion_openly_aztec_or_reformed_trigger = yes # Leyendas
				religion_openly_baltic_or_reformed_trigger = yes # Leyendas
				religion_openly_finnish_or_reformed_trigger = yes # Leyendas
				religion_openly_hellenic_or_reformed_trigger = yes # Leyendas
				religion_openly_norse_or_reformed_trigger = yes # Sagas
				religion = pagan # Leyendas
				religion_openly_slavic_or_reformed_trigger = yes # Leyendas
				religion_openly_tengri_or_reformed_trigger = yes # Leyendas
				religion_openly_west_african_or_reformed_trigger = yes # Leyendas
				religion_openly_zun_or_reformed_trigger = yes # Leyendas
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_del_
	}
}

## HARDCODED ENGLISH COMMANDS WITH ARTICLE OR GENDER

defined_text = {
	name = GetReligiousGroupMasFemen
	use_first_valid = yes

	text = {
		localisation_key = String_ES_ReligionGroups_christian_Mas
		trigger = { religion_group = christian is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_indian_group_Mas
		trigger = { religion_group = indian_group is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_jewish_group_Mas
		trigger = { religion_group = jewish_group is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_muslim_Mas
		trigger = { religion_group = muslim is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_pagan_group_Mas
		trigger = { religion_group = pagan_group is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_zoroastrian_group_Mas
		trigger = { religion_group = zoroastrian_group is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_christian_Femen
		trigger = { religion_group = christian is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_indian_group_Femen
		trigger = { religion_group = indian_group is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_jewish_group_Femen
		trigger = { religion_group = jewish_group is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_muslim_Femen
		trigger = { religion_group = muslim is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_pagan_group_Femen
		trigger = { religion_group = pagan_group is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_zoroastrian_group_Femen
		trigger = { religion_group = zoroastrian_group is_female = yes }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligiousGroupMasFemen
	}
}

defined_text = {
	name = GetReligiousGroupFemen
	use_first_valid = yes

	text = {
		localisation_key = String_ES_ReligionGroups_christian_Femen
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_indian_group_Femen
		trigger = { religion_group = indian_group }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_jewish_group_Femen
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_muslim_Femen
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_pagan_group_Femen
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_zoroastrian_group_Femen
		trigger = { religion_group = zoroastrian_group }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligiousGroupFemen
	}
}

defined_text = {
	name = GetReligionMasFemen
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Religion_aztec_pagan_Mas
		trigger = { is_female = no religion = aztec_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_aztec_pagan_reformed_Mas
		trigger = { is_female = no religion = aztec_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_Mas
		trigger = { is_female = no religion = baltic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_reformed_Mas
		trigger = { is_female = no religion = baltic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_bogomilist_Mas
		trigger = { is_female = no religion = bogomilist }
	}
	text = {
		localisation_key = String_ES_Religion_bon_pagan_Mas
		trigger = { is_female = no religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_Mas
		trigger = { is_female = no religion = buddhist }
	}
	text = {
		localisation_key = String_ES_Religion_cathar_Mas
		trigger = { is_female = no religion = cathar }
	}
	text = {
		localisation_key = String_ES_Religion_catholic_Mas
		trigger = { is_female = no religion = catholic }
	}
	text = {
		localisation_key = String_ES_Religion_druze_Mas
		trigger = { is_female = no religion = druze }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_Mas
		trigger = { is_female = no religion = finnish_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_reformed_Mas
		trigger = { is_female = no religion = finnish_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_fraticelli_Mas
		trigger = { is_female = no religion = fraticelli }
	}
	text = {
		localisation_key = String_ES_Religion_hellenic_pagan_Mas
		trigger = { is_female = no religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_Mas
		trigger = { is_female = no religion = hindu }
	}
	text = {
		localisation_key = String_ES_Religion_hurufi_Mas
		trigger = { is_female = no religion = hurufi }
	}
	text = {
		localisation_key = String_ES_Religion_ibadi_Mas
		trigger = { is_female = no religion = ibadi }
	}
	text = {
		localisation_key = String_ES_Religion_iconoclast_Mas
		trigger = { is_female = no religion = iconoclast }
	}
	text = {
		localisation_key = String_ES_Religion_jain_Mas
		trigger = { is_female = no religion = jain }
	}
	text = {
		localisation_key = String_ES_Religion_jewish_Mas
		trigger = { is_female = no religion = jewish }
	}
	text = {
		localisation_key = String_ES_Religion_karaite_Mas
		trigger = { is_female = no religion = karaite }
	}
	text = {
		localisation_key = String_ES_Religion_kharijite_Mas
		trigger = { is_female = no religion = kharijite }
	}
	text = {
		localisation_key = String_ES_Religion_khurmazta_Mas
		trigger = { is_female = no religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_Religion_lollard_Mas
		trigger = { is_female = no religion = lollard }
	}
	text = {
		localisation_key = String_ES_Religion_manichaean_Mas
		trigger = { is_female = no religion = manichaean }
	}
	text = {
		localisation_key = String_ES_Religion_mazdaki_Mas
		trigger = { is_female = no religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_Religion_messalian_Mas
		trigger = { is_female = no religion = messalian }
	}
	text = {
		localisation_key = String_ES_Religion_miaphysite_Mas
		trigger = { is_female = no religion = miaphysite }
	}
	text = {
		localisation_key = String_ES_Religion_monophysite_Mas
		trigger = { is_female = no religion = monophysite }
	}
	text = {
		localisation_key = String_ES_Religion_monothelite_Mas
		trigger = { is_female = no religion = monothelite }
	}
	text = {
		localisation_key = String_ES_Religion_nestorian_Mas
		trigger = { is_female = no religion = nestorian }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_Mas
		trigger = { is_female = no religion = norse_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_reformed_Mas
		trigger = { is_female = no religion = norse_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_orthodox_Mas
		trigger = { is_female = no religion = orthodox }
	}
	text = {
		localisation_key = String_ES_Religion_pagan_Mas
		trigger = { is_female = no religion = pagan }
	}
	text = {
		localisation_key = String_ES_Religion_paulician_Mas
		trigger = { is_female = no religion = paulician }
	}
	text = {
		localisation_key = String_ES_Religion_samaritan_Mas
		trigger = { is_female = no religion = samaritan }
	}
	text = {
		localisation_key = String_ES_Religion_shiite_Mas
		trigger = { is_female = no religion = shiite }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_Mas
		trigger = { is_female = no religion = slavic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_reformed_Mas
		trigger = { is_female = no religion = slavic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_sunni_Mas
		trigger = { is_female = no religion = sunni }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_Mas
		trigger = { is_female = no religion = taoist }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_Mas
		trigger = { is_female = no religion = tengri_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_reformed_Mas
		trigger = { is_female = no religion = tengri_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_waldensian_Mas
		trigger = { is_female = no religion = waldensian }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_Mas
		trigger = { is_female = no religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_reformed_Mas
		trigger = { is_female = no religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_yazidi_Mas
		trigger = { is_female = no religion = yazidi }
	}
	text = {
		localisation_key = String_ES_Religion_zikri_Mas
		trigger = { is_female = no religion = zikri }
	}
	text = {
		localisation_key = String_ES_Religion_zoroastrian_Mas
		trigger = { is_female = no religion = zoroastrian }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_Mas
		trigger = { is_female = no religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_reformed_Mas
		trigger = { is_female = no religion = zun_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_aztec_pagan_Femen
		trigger = { is_female = yes religion = aztec_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_aztec_pagan_reformed_Femen
		trigger = { is_female = yes religion = aztec_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_Femen
		trigger = { is_female = yes religion = baltic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_reformed_Femen
		trigger = { is_female = yes religion = baltic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_bogomilist_Femen
		trigger = { is_female = yes religion = bogomilist }
	}
	text = {
		localisation_key = String_ES_Religion_bon_pagan_Femen
		trigger = { is_female = yes religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_Femen
		trigger = { is_female = yes religion = buddhist }
	}
	text = {
		localisation_key = String_ES_Religion_cathar_Femen
		trigger = { is_female = yes religion = cathar }
	}
	text = {
		localisation_key = String_ES_Religion_catholic_Femen
		trigger = { is_female = yes religion = catholic }
	}
	text = {
		localisation_key = String_ES_Religion_druze_Femen
		trigger = { is_female = yes religion = druze }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_Femen
		trigger = { is_female = yes religion = finnish_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_reformed_Femen
		trigger = { is_female = yes religion = finnish_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_fraticelli_Femen
		trigger = { is_female = yes religion = fraticelli }
	}
	text = {
		localisation_key = String_ES_Religion_hellenic_pagan_Femen
		trigger = { is_female = yes religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_Femen
		trigger = { is_female = yes religion = hindu }
	}
	text = {
		localisation_key = String_ES_Religion_hurufi_Femen
		trigger = { is_female = yes religion = hurufi }
	}
	text = {
		localisation_key = String_ES_Religion_ibadi_Femen
		trigger = { is_female = yes religion = ibadi }
	}
	text = {
		localisation_key = String_ES_Religion_iconoclast_Femen
		trigger = { is_female = yes religion = iconoclast }
	}
	text = {
		localisation_key = String_ES_Religion_jain_Femen
		trigger = { is_female = yes religion = jain }
	}
	text = {
		localisation_key = String_ES_Religion_jewish_Femen
		trigger = { is_female = yes religion = jewish }
	}
	text = {
		localisation_key = String_ES_Religion_karaite_Femen
		trigger = { is_female = yes religion = karaite }
	}
	text = {
		localisation_key = String_ES_Religion_kharijite_Femen
		trigger = { is_female = yes religion = kharijite }
	}
	text = {
		localisation_key = String_ES_Religion_khurmazta_Femen
		trigger = { is_female = yes religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_Religion_lollard_Femen
		trigger = { is_female = yes religion = lollard }
	}
	text = {
		localisation_key = String_ES_Religion_manichaean_Femen
		trigger = { is_female = yes religion = manichaean }
	}
	text = {
		localisation_key = String_ES_Religion_mazdaki_Femen
		trigger = { is_female = yes religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_Religion_messalian_Femen
		trigger = { is_female = yes religion = messalian }
	}
	text = {
		localisation_key = String_ES_Religion_miaphysite_Femen
		trigger = { is_female = yes religion = miaphysite }
	}
	text = {
		localisation_key = String_ES_Religion_monophysite_Femen
		trigger = { is_female = yes religion = monophysite }
	}
	text = {
		localisation_key = String_ES_Religion_monothelite_Femen
		trigger = { is_female = yes religion = monothelite }
	}
	text = {
		localisation_key = String_ES_Religion_nestorian_Femen
		trigger = { is_female = yes religion = nestorian }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_Femen
		trigger = { is_female = yes religion = norse_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_reformed_Femen
		trigger = { is_female = yes religion = norse_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_orthodox_Femen
		trigger = { is_female = yes religion = orthodox }
	}
	text = {
		localisation_key = String_ES_Religion_pagan_Femen
		trigger = { is_female = yes religion = pagan }
	}
	text = {
		localisation_key = String_ES_Religion_paulician_Femen
		trigger = { is_female = yes religion = paulician }
	}
	text = {
		localisation_key = String_ES_Religion_samaritan_Femen
		trigger = { is_female = yes religion = samaritan }
	}
	text = {
		localisation_key = String_ES_Religion_shiite_Femen
		trigger = { is_female = yes religion = shiite }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_Femen
		trigger = { is_female = yes religion = slavic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_reformed_Femen
		trigger = { is_female = yes religion = slavic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_sunni_Femen
		trigger = { is_female = yes religion = sunni }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_Femen
		trigger = { is_female = yes religion = taoist }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_Femen
		trigger = { is_female = yes religion = tengri_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_reformed_Femen
		trigger = { is_female = yes religion = tengri_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_waldensian_Femen
		trigger = { is_female = yes religion = waldensian }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_Femen
		trigger = { is_female = yes religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_reformed_Femen
		trigger = { is_female = yes religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_yazidi_Femen
		trigger = { is_female = yes religion = yazidi }
	}
	text = {
		localisation_key = String_ES_Religion_zikri_Femen
		trigger = { is_female = yes religion = zikri }
	}
	text = {
		localisation_key = String_ES_Religion_zoroastrian_Femen
		trigger = { is_female = yes religion = zoroastrian }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_Femen
		trigger = { is_female = yes religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_reformed_Femen
		trigger = { is_female = yes religion = zun_pagan_reformed }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligionMasFemen
	}
}

defined_text = {
	name = GetReligionMasPl
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Religion_aztec_pagan_PlMas
		trigger = { religion = aztec_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_aztec_pagan_reformed_PlMas
		trigger = { religion = aztec_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_PlMas
		trigger = { religion = baltic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_reformed_PlMas
		trigger = { religion = baltic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_bogomilist_PlMas
		trigger = { religion = bogomilist }
	}
	text = {
		localisation_key = String_ES_Religion_bon_pagan_PlMas
		trigger = { religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_PlMas
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = String_ES_Religion_cathar_PlMas
		trigger = { religion = cathar }
	}
	text = {
		localisation_key = String_ES_Religion_catholic_PlMas
		trigger = { religion = catholic }
	}
	text = {
		localisation_key = String_ES_Religion_druze_PlMas
		trigger = { religion = druze }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_PlMas
		trigger = { religion = finnish_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_reformed_PlMas
		trigger = { religion = finnish_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_fraticelli_PlMas
		trigger = { religion = fraticelli }
	}
	text = {
		localisation_key = String_ES_Religion_hellenic_pagan_PlMas
		trigger = { religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_PlMas
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_Religion_hurufi_PlMas
		trigger = { religion = hurufi }
	}
	text = {
		localisation_key = String_ES_Religion_ibadi_PlMas
		trigger = { religion = ibadi }
	}
	text = {
		localisation_key = String_ES_Religion_iconoclast_PlMas
		trigger = { religion = iconoclast }
	}
	text = {
		localisation_key = String_ES_Religion_jain_PlMas
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_Religion_jewish_PlMas
		trigger = { religion = jewish }
	}
	text = {
		localisation_key = String_ES_Religion_karaite_PlMas
		trigger = { religion = karaite }
	}
	text = {
		localisation_key = String_ES_Religion_kharijite_PlMas
		trigger = { religion = kharijite }
	}
	text = {
		localisation_key = String_ES_Religion_khurmazta_PlMas
		trigger = { religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_Religion_lollard_PlMas
		trigger = { religion = lollard }
	}
	text = {
		localisation_key = String_ES_Religion_manichaean_PlMas
		trigger = { religion = manichaean }
	}
	text = {
		localisation_key = String_ES_Religion_mazdaki_PlMas
		trigger = { religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_Religion_messalian_PlMas
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_ES_Religion_miaphysite_PlMas
		trigger = { religion = miaphysite }
	}
	text = {
		localisation_key = String_ES_Religion_monophysite_PlMas
		trigger = { religion = monophysite }
	}
	text = {
		localisation_key = String_ES_Religion_monothelite_PlMas
		trigger = { religion = monothelite }
	}
	text = {
		localisation_key = String_ES_Religion_nestorian_PlMas
		trigger = { religion = nestorian }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_PlMas
		trigger = { religion = norse_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_reformed_PlMas
		trigger = { religion = norse_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_orthodox_PlMas
		trigger = { religion = orthodox }
	}
	text = {
		localisation_key = String_ES_Religion_pagan_PlMas
		trigger = { religion = pagan }
	}
	text = {
		localisation_key = String_ES_Religion_paulician_PlMas
		trigger = { religion = paulician }
	}
	text = {
		localisation_key = String_ES_Religion_samaritan_PlMas
		trigger = { religion = samaritan }
	}
	text = {
		localisation_key = String_ES_Religion_shiite_PlMas
		trigger = { religion = shiite }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_PlMas
		trigger = { religion = slavic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_reformed_PlMas
		trigger = { religion = slavic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_sunni_PlMas
		trigger = { religion = sunni }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_PlMas
		trigger = { religion = taoist }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_PlMas
		trigger = { religion = tengri_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_reformed_PlMas
		trigger = { religion = tengri_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_waldensian_PlMas
		trigger = { religion = waldensian }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_PlMas
		trigger = { religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_reformed_PlMas
		trigger = { religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_yazidi_PlMas
		trigger = { religion = yazidi }
	}
	text = {
		localisation_key = String_ES_Religion_zikri_PlMas
		trigger = { religion = zikri }
	}
	text = {
		localisation_key = String_ES_Religion_zoroastrian_PlMas
		trigger = { religion = zoroastrian }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_PlMas
		trigger = { religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_reformed_PlMas
		trigger = { religion = zun_pagan_reformed }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligionMasPl
	}
}

defined_text = {
	name = GetReligionFemenPl
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Religion_aztec_pagan_PlFemen
		trigger = { religion = aztec_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_aztec_pagan_reformed_PlFemen
		trigger = { religion = aztec_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_PlFemen
		trigger = { religion = baltic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_reformed_PlFemen
		trigger = { religion = baltic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_bogomilist_PlFemen
		trigger = { religion = bogomilist }
	}
	text = {
		localisation_key = String_ES_Religion_bon_pagan_PlFemen
		trigger = { religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_PlFemen
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = String_ES_Religion_cathar_PlFemen
		trigger = { religion = cathar }
	}
	text = {
		localisation_key = String_ES_Religion_catholic_PlFemen
		trigger = { religion = catholic }
	}
	text = {
		localisation_key = String_ES_Religion_druze_PlFemen
		trigger = { religion = druze }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_PlFemen
		trigger = { religion = finnish_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_reformed_PlFemen
		trigger = { religion = finnish_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_fraticelli_PlFemen
		trigger = { religion = fraticelli }
	}
	text = {
		localisation_key = String_ES_Religion_hellenic_pagan_PlFemen
		trigger = { religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_PlFemen
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_Religion_hurufi_PlFemen
		trigger = { religion = hurufi }
	}
	text = {
		localisation_key = String_ES_Religion_ibadi_PlFemen
		trigger = { religion = ibadi }
	}
	text = {
		localisation_key = String_ES_Religion_iconoclast_PlFemen
		trigger = { religion = iconoclast }
	}
	text = {
		localisation_key = String_ES_Religion_jain_PlFemen
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_Religion_jewish_PlFemen
		trigger = { religion = jewish }
	}
	text = {
		localisation_key = String_ES_Religion_karaite_PlFemen
		trigger = { religion = karaite }
	}
	text = {
		localisation_key = String_ES_Religion_kharijite_PlFemen
		trigger = { religion = kharijite }
	}
	text = {
		localisation_key = String_ES_Religion_khurmazta_PlFemen
		trigger = { religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_Religion_lollard_PlFemen
		trigger = { religion = lollard }
	}
	text = {
		localisation_key = String_ES_Religion_manichaean_PlFemen
		trigger = { religion = manichaean }
	}
	text = {
		localisation_key = String_ES_Religion_mazdaki_PlFemen
		trigger = { religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_Religion_messalian_PlFemen
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_ES_Religion_miaphysite_PlFemen
		trigger = { religion = miaphysite }
	}
	text = {
		localisation_key = String_ES_Religion_monophysite_PlFemen
		trigger = { religion = monophysite }
	}
	text = {
		localisation_key = String_ES_Religion_monothelite_PlFemen
		trigger = { religion = monothelite }
	}
	text = {
		localisation_key = String_ES_Religion_nestorian_PlFemen
		trigger = { religion = nestorian }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_PlFemen
		trigger = { religion = norse_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_reformed_PlFemen
		trigger = { religion = norse_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_orthodox_PlFemen
		trigger = { religion = orthodox }
	}
	text = {
		localisation_key = String_ES_Religion_pagan_PlFemen
		trigger = { religion = pagan }
	}
	text = {
		localisation_key = String_ES_Religion_paulician_PlFemen
		trigger = { religion = paulician }
	}
	text = {
		localisation_key = String_ES_Religion_samaritan_PlFemen
		trigger = { religion = samaritan }
	}
	text = {
		localisation_key = String_ES_Religion_shiite_PlFemen
		trigger = { religion = shiite }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_PlFemen
		trigger = { religion = slavic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_reformed_PlFemen
		trigger = { religion = slavic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_sunni_PlFemen
		trigger = { religion = sunni }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_PlFemen
		trigger = { religion = taoist }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_PlFemen
		trigger = { religion = tengri_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_reformed_PlFemen
		trigger = { religion = tengri_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_waldensian_PlFemen
		trigger = { religion = waldensian }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_PlFemen
		trigger = { religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_reformed_PlFemen
		trigger = { religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_yazidi_PlFemen
		trigger = { religion = yazidi }
	}
	text = {
		localisation_key = String_ES_Religion_zikri_PlFemen
		trigger = { religion = zikri }
	}
	text = {
		localisation_key = String_ES_Religion_zoroastrian_PlFemen
		trigger = { religion = zoroastrian }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_PlFemen
		trigger = { religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_reformed_PlFemen
		trigger = { religion = zun_pagan_reformed }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligionFemenPl
	}
}

defined_text = {
	name = GetReligionMas
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Religion_aztec_pagan_Mas
		trigger = { religion = aztec_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_aztec_pagan_reformed_Mas
		trigger = { religion = aztec_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_Mas
		trigger = { religion = baltic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_reformed_Mas
		trigger = { religion = baltic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_bogomilist_Mas
		trigger = { religion = bogomilist }
	}
	text = {
		localisation_key = String_ES_Religion_bon_pagan_Mas
		trigger = { religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_Mas
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = String_ES_Religion_cathar_Mas
		trigger = { religion = cathar }
	}
	text = {
		localisation_key = String_ES_Religion_catholic_Mas
		trigger = { religion = catholic }
	}
	text = {
		localisation_key = String_ES_Religion_druze_Mas
		trigger = { religion = druze }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_Mas
		trigger = { religion = finnish_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_reformed_Mas
		trigger = { religion = finnish_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_fraticelli_Mas
		trigger = { religion = fraticelli }
	}
	text = {
		localisation_key = String_ES_Religion_hellenic_pagan_Mas
		trigger = { religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_Mas
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_Religion_hurufi_Mas
		trigger = { religion = hurufi }
	}
	text = {
		localisation_key = String_ES_Religion_ibadi_Mas
		trigger = { religion = ibadi }
	}
	text = {
		localisation_key = String_ES_Religion_iconoclast_Mas
		trigger = { religion = iconoclast }
	}
	text = {
		localisation_key = String_ES_Religion_jain_Mas
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_Religion_jewish_Mas
		trigger = { religion = jewish }
	}
	text = {
		localisation_key = String_ES_Religion_karaite_Mas
		trigger = { religion = karaite }
	}
	text = {
		localisation_key = String_ES_Religion_kharijite_Mas
		trigger = { religion = kharijite }
	}
	text = {
		localisation_key = String_ES_Religion_khurmazta_Mas
		trigger = { religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_Religion_lollard_Mas
		trigger = { religion = lollard }
	}
	text = {
		localisation_key = String_ES_Religion_manichaean_Mas
		trigger = { religion = manichaean }
	}
	text = {
		localisation_key = String_ES_Religion_mazdaki_Mas
		trigger = { religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_Religion_messalian_Mas
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_ES_Religion_miaphysite_Mas
		trigger = { religion = miaphysite }
	}
	text = {
		localisation_key = String_ES_Religion_monophysite_Mas
		trigger = { religion = monophysite }
	}
	text = {
		localisation_key = String_ES_Religion_monothelite_Mas
		trigger = { religion = monothelite }
	}
	text = {
		localisation_key = String_ES_Religion_nestorian_Mas
		trigger = { religion = nestorian }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_Mas
		trigger = { religion = norse_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_reformed_Mas
		trigger = { religion = norse_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_orthodox_Mas
		trigger = { religion = orthodox }
	}
	text = {
		localisation_key = String_ES_Religion_pagan_Mas
		trigger = { religion = pagan }
	}
	text = {
		localisation_key = String_ES_Religion_paulician_Mas
		trigger = { religion = paulician }
	}
	text = {
		localisation_key = String_ES_Religion_samaritan_Mas
		trigger = { religion = samaritan }
	}
	text = {
		localisation_key = String_ES_Religion_shiite_Mas
		trigger = { religion = shiite }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_Mas
		trigger = { religion = slavic_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_reformed_Mas
		trigger = { religion = slavic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_sunni_Mas
		trigger = { religion = sunni }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_Mas
		trigger = { religion = taoist }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_Mas
		trigger = { religion = tengri_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_reformed_Mas
		trigger = { religion = tengri_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_waldensian_Mas
		trigger = { religion = waldensian }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_Mas
		trigger = { religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_reformed_Mas
		trigger = { religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_Religion_yazidi_Mas
		trigger = { religion = yazidi }
	}
	text = {
		localisation_key = String_ES_Religion_zikri_Mas
		trigger = { religion = zikri }
	}
	text = {
		localisation_key = String_ES_Religion_zoroastrian_Mas
		trigger = { religion = zoroastrian }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_Mas
		trigger = { religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_reformed_Mas
		trigger = { religion = zun_pagan_reformed }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligionMas
	}
}

defined_text = {
	name = GetEvilGodDelDelaDelos
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetEvilGodDeDel_TLAZOLTEOTL
		trigger = { religion = aztec_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_TLAZOLTEOTL
		trigger = { religion = aztec_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_VELNIAS
		trigger = { religion = baltic_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_VELNIAS
		trigger = { religion = baltic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = bogomilist }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_MARA
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = cathar }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = catholic }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = druze }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_TUONI
		trigger = { religion = finnish_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_TUONI
		trigger = { religion = finnish_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = fraticelli }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_PLUTO
		trigger = { religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = hurufi }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = ibadi }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = iconoclast }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_SATAN
		trigger = { religion = jewish }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_SATAN
		trigger = { religion = karaite }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = kharijite }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_AHRIMAN
		trigger = { religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = lollard }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_AHRIMAN
		trigger = { religion = manichaean }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_AHRIMAN
		trigger = { religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEMIURGE
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = miaphysite }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = monophysite }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = monothelite }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = nestorian }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_LOKI
		trigger = { religion = norse_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_LOKI
		trigger = { religion = norse_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = orthodox }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = paulician }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_SATAN
		trigger = { religion = samaritan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = shiite }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_GOD_VELES
		trigger = { religion = slavic_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_GOD_VELES
		trigger = { religion = slavic_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = sunni }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_KING_YAN
		trigger = { religion = taoist }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_ERLIK
		trigger = { religion = tengri_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_ERLIK
		trigger = { religion = tengri_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_THE_DEVIL
		trigger = { religion = waldensian }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_IBLIS
		trigger = { religion = zikri }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDeDel_AHRIMAN
		trigger = { religion = zoroastrian }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetEvilGodDelDelaDelos
	}
}

defined_text = {
	name = GetEvilGodDelaDelos
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_GOD_THE_EVIL_ONES
		trigger = { religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_VINAYAKAS
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_PUNISHERS
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_DARK_SPIRITS
		trigger = { religion = pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_DARK_SPIRITS
		trigger = { religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_DARK_SPIRITS
		trigger = { religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_DARK_SPIRITS
		trigger = { religion = yazidi }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_DARKNESS
		trigger = { religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodDelaDelos_THE_DARKNESS
		trigger = { religion = zun_pagan_reformed }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetEvilGodDelaDelos
	}
}

defined_text = {
	name = GetEvilGodLaLos
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetEvilGodLaLos_GOD_THE_EVIL_ONES
		trigger = { religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_VINAYAKAS
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_PUNISHERS
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_DARK_SPIRITS
		trigger = { religion = pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_DARK_SPIRITS
		trigger = { religion = west_african_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_DARK_SPIRITS
		trigger = { religion = west_african_pagan_reformed }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_DARK_SPIRITS
		trigger = { religion = yazidi }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_DARKNESS
		trigger = { religion = zun_pagan }
	}
	text = {
		localisation_key = String_ES_GetEvilGodLaLos_THE_DARKNESS
		trigger = { religion = zun_pagan_reformed }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetEvilGodLaLos
	}
}

defined_text = {
	name = GetCultureMas
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Culture_afghan_Mas
		trigger = { culture = afghan }
	}
	text = {
		localisation_key = String_ES_Culture_alan_Mas
		trigger = { culture = alan }
	}
	text = {
		localisation_key = String_ES_Culture_andalusian_Mas
		trigger = { culture = andalusian }
	}
	text = {
		localisation_key = String_ES_Culture_armenian_Mas
		trigger = { culture = armenian }
	}
	text = {
		localisation_key = String_ES_Culture_ashkenazi_Mas
		trigger = { culture = ashkenazi }
	}
	text = {
		localisation_key = String_ES_Culture_assamese_Mas
		trigger = { culture = assamese }
	}
	text = {
		localisation_key = String_ES_Culture_assyrian_Mas
		trigger = { culture = assyrian }
	}
	text = {
		localisation_key = String_ES_Culture_avar_Mas
		trigger = { culture = avar }
	}
	text = {
		localisation_key = String_ES_Culture_baloch_Mas
		trigger = { culture = baloch }
	}
	text = {
		localisation_key = String_ES_Culture_basque_Mas
		trigger = { culture = basque }
	}
	text = {
		localisation_key = String_ES_Culture_bear_Mas
		trigger = { culture = bear }
	}
	text = {
		localisation_key = String_ES_Culture_bedouin_Mas
		trigger = { culture = bedouin }
	}
	text = {
		localisation_key = String_ES_Culture_bengali_Mas
		trigger = { culture = bengali }
	}
	text = {
		localisation_key = String_ES_Culture_bodpa_Mas
		trigger = { culture = bodpa }
	}
	text = {
		localisation_key = String_ES_Culture_bohemian_Mas
		trigger = { culture = bohemian }
	}
	text = {
		localisation_key = String_ES_Culture_bolghar_Mas
		trigger = { culture = bolghar }
	}
	text = {
		localisation_key = String_ES_Culture_breton_Mas
		trigger = { culture = breton }
	}
	text = {
		localisation_key = String_ES_Culture_bulgarian_Mas
		trigger = { culture = bulgarian }
	}
	text = {
		localisation_key = String_ES_Culture_castilian_Mas
		trigger = { culture = castilian }
	}
	text = {
		localisation_key = String_ES_Culture_cat_Mas
		trigger = { culture = cat }
	}
	text = {
		localisation_key = String_ES_Culture_catalan_Mas
		trigger = { culture = catalan }
	}
	text = {
		localisation_key = String_ES_Culture_croatian_Mas
		trigger = { culture = croatian }
	}
	text = {
		localisation_key = String_ES_Culture_cuman_Mas
		trigger = { culture = cuman }
	}
	text = {
		localisation_key = String_ES_Culture_danish_Mas
		trigger = { culture = danish }
	}
	text = {
		localisation_key = String_ES_Culture_dutch_Mas
		trigger = { culture = dutch }
	}
	text = {
		localisation_key = String_ES_Culture_egyptian_Mas
		trigger = { culture = egyptian }
	}
	text = {
		localisation_key = String_ES_Culture_english_Mas
		trigger = { culture = english }
	}
	text = {
		localisation_key = String_ES_Culture_ethiopian_Mas
		trigger = { culture = ethiopian }
	}
	text = {
		localisation_key = String_ES_Culture_finnish_Mas
		trigger = { culture = finnish }
	}
	text = {
		localisation_key = String_ES_Culture_french_Mas
		trigger = { culture = french }
	}
	text = {
		localisation_key = String_ES_Culture_frisian_Mas
		trigger = { culture = frisian }
	}
	text = {
		localisation_key = String_ES_Culture_georgian_Mas
		trigger = { culture = georgian }
	}
	text = {
		localisation_key = String_ES_Culture_german_Mas
		trigger = { culture = german }
	}
	text = {
		localisation_key = String_ES_Culture_greek_Mas
		trigger = { culture = greek }
	}
	text = {
		localisation_key = String_ES_Culture_gujurati_Mas
		trigger = { culture = gujurati }
	}
	text = {
		localisation_key = String_ES_Culture_han_Mas
		trigger = { culture = han }
	}
	text = {
		localisation_key = String_ES_Culture_hindustani_Mas
		trigger = { culture = hindustani }
	}
	text = {
		localisation_key = String_ES_Culture_horse_Mas
		trigger = { culture = horse }
	}
	text = {
		localisation_key = String_ES_Culture_hungarian_Mas
		trigger = { culture = hungarian }
	}
	text = {
		localisation_key = String_ES_Culture_ilmenian_Mas
		trigger = { culture = ilmenian }
	}
	text = {
		localisation_key = String_ES_Culture_irish_Mas
		trigger = { culture = irish }
	}
	text = {
		localisation_key = String_ES_Culture_italian_Mas
		trigger = { culture = italian }
	}
	text = {
		localisation_key = String_ES_Culture_jurchen_Mas
		trigger = { culture = jurchen }
	}
	text = {
		localisation_key = String_ES_Culture_kannada_Mas
		trigger = { culture = kannada }
	}
	text = {
		localisation_key = String_ES_Culture_karluk_Mas
		trigger = { culture = karluk }
	}
	text = {
		localisation_key = String_ES_Culture_khanty_Mas
		trigger = { culture = khanty }
	}
	text = {
		localisation_key = String_ES_Culture_khazar_Mas
		trigger = { culture = khazar }
	}
	text = {
		localisation_key = String_ES_Culture_khitan_Mas
		trigger = { culture = khitan }
	}
	text = {
		localisation_key = String_ES_Culture_kirghiz_Mas
		trigger = { culture = kirghiz }
	}
	text = {
		localisation_key = String_ES_Culture_komi_Mas
		trigger = { culture = komi }
	}
	text = {
		localisation_key = String_ES_Culture_kurdish_Mas
		trigger = { culture = kurdish }
	}
	text = {
		localisation_key = String_ES_Culture_sami_Mas
		trigger = { culture = sami }
	}
	text = {
		localisation_key = String_ES_Culture_latgalian_Mas
		trigger = { culture = latgalian }
	}
	text = {
		localisation_key = String_ES_Culture_levantine_Mas
		trigger = { culture = levantine }
	}
	text = {
		localisation_key = String_ES_Culture_lithuanian_Mas
		trigger = { culture = lithuanian }
	}
	text = {
		localisation_key = String_ES_Culture_lombard_Mas
		trigger = { culture = lombard }
	}
	text = {
		localisation_key = String_ES_Culture_berber_Mas
		trigger = { culture = berber }
	}
	text = {
		localisation_key = String_ES_Culture_mande_Mas
		trigger = { culture = mande }
	}
	text = {
		localisation_key = String_ES_Culture_marathi_Mas
		trigger = { culture = marathi }
	}
	text = {
		localisation_key = String_ES_Culture_mongol_Mas
		trigger = { culture = mongol }
	}
	text = {
		localisation_key = String_ES_Culture_mordvin_Mas
		trigger = { culture = mordvin }
	}
	text = {
		localisation_key = String_ES_Culture_nahua_Mas
		trigger = { culture = nahua }
	}
	text = {
		localisation_key = String_ES_Culture_nepali_Mas
		trigger = { culture = nepali }
	}
	text = {
		localisation_key = String_ES_Culture_norman_Mas
		trigger = { culture = norman }
	}
	text = {
		localisation_key = String_ES_Culture_norse_Mas
		trigger = { culture = norse }
	}
	text = {
		localisation_key = String_ES_Culture_norwegian_Mas
		trigger = { culture = norwegian }
	}
	text = {
		localisation_key = String_ES_Culture_nubian_Mas
		trigger = { culture = nubian }
	}
	text = {
		localisation_key = String_ES_Culture_occitan_Mas
		trigger = { culture = occitan }
	}
	text = {
		localisation_key = String_ES_Culture_frankish_Mas
		trigger = { culture = frankish }
	}
	text = {
		localisation_key = String_ES_Culture_saxon_Mas
		trigger = { culture = saxon }
	}
	text = {
		localisation_key = String_ES_Culture_oriya_Mas
		trigger = { culture = oriya }
	}
	text = {
		localisation_key = String_ES_Culture_panjabi_Mas
		trigger = { culture = panjabi }
	}
	text = {
		localisation_key = String_ES_Culture_pecheneg_Mas
		trigger = { culture = pecheneg }
	}
	text = {
		localisation_key = String_ES_Culture_persian_Mas
		trigger = { culture = persian }
	}
	text = {
		localisation_key = String_ES_Culture_pictish_Mas
		trigger = { culture = pictish }
	}
	text = {
		localisation_key = String_ES_Culture_polish_Mas
		trigger = { culture = polish }
	}
	text = {
		localisation_key = String_ES_Culture_pomeranian_Mas
		trigger = { culture = pomeranian }
	}
	text = {
		localisation_key = String_ES_Culture_portuguese_Mas
		trigger = { culture = portuguese }
	}
	text = {
		localisation_key = String_ES_Culture_prussian_Mas
		trigger = { culture = prussian }
	}
	text = {
		localisation_key = String_ES_Culture_rajput_Mas
		trigger = { culture = rajput }
	}
	text = {
		localisation_key = String_ES_Culture_roman_Mas
		trigger = { culture = roman }
	}
	text = {
		localisation_key = String_ES_Culture_vlach_Mas
		trigger = { culture = vlach }
	}
	text = {
		localisation_key = String_ES_Culture_russian_Mas
		trigger = { culture = russian }
	}
	text = {
		localisation_key = String_ES_Culture_saka_Mas
		trigger = { culture = saka }
	}
	text = {
		localisation_key = String_ES_Culture_nenets_Mas
		trigger = { culture = nenets }
	}
	text = {
		localisation_key = String_ES_Culture_anglo_saxon_Mas
		trigger = { culture = anglo_saxon }
	}
	text = {
		localisation_key = String_ES_Culture_scottish_Mas
		trigger = { culture = scottish }
	}
	text = {
		localisation_key = String_ES_Culture_sephardi_Mas
		trigger = { culture = sephardi }
	}
	text = {
		localisation_key = String_ES_Culture_serbian_Mas
		trigger = { culture = serbian }
	}
	text = {
		localisation_key = String_ES_Culture_severian_Mas
		trigger = { culture = severian }
	}
	text = {
		localisation_key = String_ES_Culture_sindhi_Mas
		trigger = { culture = sindhi }
	}
	text = {
		localisation_key = String_ES_Culture_sinhala_Mas
		trigger = { culture = sinhala }
	}
	text = {
		localisation_key = String_ES_Culture_sogdian_Mas
		trigger = { culture = sogdian }
	}
	text = {
		localisation_key = String_ES_Culture_somali_Mas
		trigger = { culture = somali }
	}
	text = {
		localisation_key = String_ES_Culture_suebi_Mas
		trigger = { culture = suebi }
	}
	text = {
		localisation_key = String_ES_Culture_sumpa_Mas
		trigger = { culture = sumpa }
	}
	text = {
		localisation_key = String_ES_Culture_swedish_Mas
		trigger = { culture = swedish }
	}
	text = {
		localisation_key = String_ES_Culture_tamil_Mas
		trigger = { culture = tamil }
	}
	text = {
		localisation_key = String_ES_Culture_tangut_Mas
		trigger = { culture = tangut }
	}
	text = {
		localisation_key = String_ES_Culture_telugu_Mas
		trigger = { culture = telugu }
	}
	text = {
		localisation_key = String_ES_Culture_tocharian_Mas
		trigger = { culture = tocharian }
	}
	text = {
		localisation_key = String_ES_Culture_turkish_Mas
		trigger = { culture = turkish }
	}
	text = {
		localisation_key = String_ES_Culture_estonian_Mas
		trigger = { culture = estonian }
	}
	text = {
		localisation_key = String_ES_Culture_uyghur_Mas
		trigger = { culture = uyghur }
	}
	text = {
		localisation_key = String_ES_Culture_visigothic_Mas
		trigger = { culture = visigothic }
	}
	text = {
		localisation_key = String_ES_Culture_volhynian_Mas
		trigger = { culture = volhynian }
	}
	text = {
		localisation_key = String_ES_Culture_welsh_Mas
		trigger = { culture = welsh }
	}
	text = {
		localisation_key = String_ES_Culture_zhangzhung_Mas
		trigger = { culture = zhangzhung }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetCultureMas
	}
}

defined_text = {
	name = GetCultureFemen
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Culture_afghan_Femen
		trigger = { culture = afghan is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_alan_Femen
		trigger = { culture = alan is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_andalusian_Femen
		trigger = { culture = andalusian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_armenian_Femen
		trigger = { culture = armenian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_ashkenazi_Femen
		trigger = { culture = ashkenazi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_assamese_Femen
		trigger = { culture = assamese is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_assyrian_Femen
		trigger = { culture = assyrian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_avar_Femen
		trigger = { culture = avar is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_baloch_Femen
		trigger = { culture = baloch is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_basque_Femen
		trigger = { culture = basque is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_bear_Femen
		trigger = { culture = bear }
	}
	text = {
		localisation_key = String_ES_Culture_bedouin_Femen
		trigger = { culture = bedouin is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_bengali_Femen
		trigger = { culture = bengali is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_bodpa_Femen
		trigger = { culture = bodpa is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_bohemian_Femen
		trigger = { culture = bohemian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_bolghar_Femen
		trigger = { culture = bolghar is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_breton_Femen
		trigger = { culture = breton is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_bulgarian_Femen
		trigger = { culture = bulgarian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_castilian_Femen
		trigger = { culture = castilian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_cat_Femen
		trigger = { culture = cat }
	}
	text = {
		localisation_key = String_ES_Culture_catalan_Femen
		trigger = { culture = catalan is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_croatian_Femen
		trigger = { culture = croatian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_cuman_Femen
		trigger = { culture = cuman is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_danish_Femen
		trigger = { culture = danish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_dutch_Femen
		trigger = { culture = dutch is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_egyptian_Femen
		trigger = { culture = egyptian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_english_Femen
		trigger = { culture = english is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_ethiopian_Femen
		trigger = { culture = ethiopian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_finnish_Femen
		trigger = { culture = finnish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_french_Femen
		trigger = { culture = french is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_frisian_Femen
		trigger = { culture = frisian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_georgian_Femen
		trigger = { culture = georgian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_german_Femen
		trigger = { culture = german is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_greek_Femen
		trigger = { culture = greek is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_gujurati_Femen
		trigger = { culture = gujurati is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_han_Femen
		trigger = { culture = han is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_hindustani_Femen
		trigger = { culture = hindustani is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_horse_Femen
		trigger = { culture = horse is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_hungarian_Femen
		trigger = { culture = hungarian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_ilmenian_Femen
		trigger = { culture = ilmenian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_irish_Femen
		trigger = { culture = irish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_italian_Femen
		trigger = { culture = italian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_jurchen_Femen
		trigger = { culture = jurchen is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_kannada_Femen
		trigger = { culture = kannada is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_karluk_Femen
		trigger = { culture = karluk is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_khanty_Femen
		trigger = { culture = khanty is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_khazar_Femen
		trigger = { culture = khazar is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_khitan_Femen
		trigger = { culture = khitan is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_kirghiz_Femen
		trigger = { culture = kirghiz is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_komi_Femen
		trigger = { culture = komi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_kurdish_Femen
		trigger = { culture = kurdish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_sami_Femen
		trigger = { culture = sami is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_latgalian_Femen
		trigger = { culture = latgalian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_levantine_Femen
		trigger = { culture = levantine is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_lithuanian_Femen
		trigger = { culture = lithuanian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_lombard_Femen
		trigger = { culture = lombard is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_berber_Femen
		trigger = { culture = berber is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_mande_Femen
		trigger = { culture = mande is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_marathi_Femen
		trigger = { culture = marathi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_mongol_Femen
		trigger = { culture = mongol is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_mordvin_Femen
		trigger = { culture = mordvin is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_nahua_Femen
		trigger = { culture = nahua is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_nepali_Femen
		trigger = { culture = nepali is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_norman_Femen
		trigger = { culture = norman is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_norse_Femen
		trigger = { culture = norse is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_norwegian_Femen
		trigger = { culture = norwegian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_nubian_Femen
		trigger = { culture = nubian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_occitan_Femen
		trigger = { culture = occitan is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_frankish_Femen
		trigger = { culture = frankish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_saxon_Femen
		trigger = { culture = saxon is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_oriya_Femen
		trigger = { culture = oriya is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_panjabi_Femen
		trigger = { culture = panjabi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_pecheneg_Femen
		trigger = { culture = pecheneg is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_persian_Femen
		trigger = { culture = persian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_pictish_Femen
		trigger = { culture = pictish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_polish_Femen
		trigger = { culture = polish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_pomeranian_Femen
		trigger = { culture = pomeranian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_portuguese_Femen
		trigger = { culture = portuguese is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_prussian_Femen
		trigger = { culture = prussian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_rajput_Femen
		trigger = { culture = rajput is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_roman_Femen
		trigger = { culture = roman is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_vlach_Femen
		trigger = { culture = vlach is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_russian_Femen
		trigger = { culture = russian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_saka_Femen
		trigger = { culture = saka is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_nenets_Femen
		trigger = { culture = nenets is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_anglo_saxon_Femen
		trigger = { culture = anglo_saxon is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_scottish_Femen
		trigger = { culture = scottish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_sephardi_Femen
		trigger = { culture = sephardi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_serbian_Femen
		trigger = { culture = serbian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_severian_Femen
		trigger = { culture = severian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_sindhi_Femen
		trigger = { culture = sindhi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_sinhala_Femen
		trigger = { culture = sinhala is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_sogdian_Femen
		trigger = { culture = sogdian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_somali_Femen
		trigger = { culture = somali is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_suebi_Femen
		trigger = { culture = suebi is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_sumpa_Femen
		trigger = { culture = sumpa is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_swedish_Femen
		trigger = { culture = swedish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_tamil_Femen
		trigger = { culture = tamil is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_tangut_Femen
		trigger = { culture = tangut is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_telugu_Femen
		trigger = { culture = telugu is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_tocharian_Femen
		trigger = { culture = tocharian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_turkish_Femen
		trigger = { culture = turkish is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_estonian_Femen
		trigger = { culture = estonian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_uyghur_Femen
		trigger = { culture = uyghur is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_visigothic_Femen
		trigger = { culture = visigothic is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_volhynian_Femen
		trigger = { culture = volhynian is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_welsh_Femen
		trigger = { culture = welsh is_female = no }
	}
	text = {
		localisation_key = String_ES_Culture_zhangzhung_Femen
		trigger = { culture = zhangzhung is_female = no }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetCultureFemen
	}
}

defined_text = {
	name = GetCulturePlFemen
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Culture_afghan_PlFemen
		trigger = { culture = afghan is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_alan_PlFemen
		trigger = { culture = alan is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_andalusian_PlFemen
		trigger = { culture = andalusian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_armenian_PlFemen
		trigger = { culture = armenian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_ashkenazi_PlFemen
		trigger = { culture = ashkenazi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_assamese_PlFemen
		trigger = { culture = assamese is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_assyrian_PlFemen
		trigger = { culture = assyrian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_avar_PlFemen
		trigger = { culture = avar is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_baloch_PlFemen
		trigger = { culture = baloch is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_basque_PlFemen
		trigger = { culture = basque is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bear_PlFemen
		trigger = { culture = bear }
	}
	text = {
		localisation_key = String_ES_Culture_bedouin_PlFemen
		trigger = { culture = bedouin is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bengali_PlFemen
		trigger = { culture = bengali is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bodpa_PlFemen
		trigger = { culture = bodpa is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bohemian_PlFemen
		trigger = { culture = bohemian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bolghar_PlFemen
		trigger = { culture = bolghar is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_breton_PlFemen
		trigger = { culture = breton is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bulgarian_PlFemen
		trigger = { culture = bulgarian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_castilian_PlFemen
		trigger = { culture = castilian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_cat_PlFemen
		trigger = { culture = cat }
	}
	text = {
		localisation_key = String_ES_Culture_catalan_PlFemen
		trigger = { culture = catalan is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_croatian_PlFemen
		trigger = { culture = croatian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_cuman_PlFemen
		trigger = { culture = cuman is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_danish_PlFemen
		trigger = { culture = danish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_dutch_PlFemen
		trigger = { culture = dutch is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_egyptian_PlFemen
		trigger = { culture = egyptian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_english_PlFemen
		trigger = { culture = english is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_ethiopian_PlFemen
		trigger = { culture = ethiopian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_finnish_PlFemen
		trigger = { culture = finnish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_french_PlFemen
		trigger = { culture = french is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_frisian_PlFemen
		trigger = { culture = frisian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_georgian_PlFemen
		trigger = { culture = georgian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_german_PlFemen
		trigger = { culture = german is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_greek_PlFemen
		trigger = { culture = greek is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_gujurati_PlFemen
		trigger = { culture = gujurati is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_han_PlFemen
		trigger = { culture = han is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_hindustani_PlFemen
		trigger = { culture = hindustani is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_horse_PlFemen
		trigger = { culture = horse is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_hungarian_PlFemen
		trigger = { culture = hungarian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_ilmenian_PlFemen
		trigger = { culture = ilmenian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_irish_PlFemen
		trigger = { culture = irish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_italian_PlFemen
		trigger = { culture = italian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_jurchen_PlFemen
		trigger = { culture = jurchen is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_kannada_PlFemen
		trigger = { culture = kannada is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_karluk_PlFemen
		trigger = { culture = karluk is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_khanty_PlFemen
		trigger = { culture = khanty is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_khazar_PlFemen
		trigger = { culture = khazar is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_khitan_PlFemen
		trigger = { culture = khitan is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_kirghiz_PlFemen
		trigger = { culture = kirghiz is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_komi_PlFemen
		trigger = { culture = komi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_kurdish_PlFemen
		trigger = { culture = kurdish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_sami_PlFemen
		trigger = { culture = sami is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_latgalian_PlFemen
		trigger = { culture = latgalian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_levantine_PlFemen
		trigger = { culture = levantine is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_lithuanian_PlFemen
		trigger = { culture = lithuanian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_lombard_PlFemen
		trigger = { culture = lombard is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_berber_PlFemen
		trigger = { culture = berber is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_mande_PlFemen
		trigger = { culture = mande is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_marathi_PlFemen
		trigger = { culture = marathi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_mongol_PlFemen
		trigger = { culture = mongol is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_mordvin_PlFemen
		trigger = { culture = mordvin is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_nahua_PlFemen
		trigger = { culture = nahua is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_nepali_PlFemen
		trigger = { culture = nepali is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_norman_PlFemen
		trigger = { culture = norman is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_norse_PlFemen
		trigger = { culture = norse is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_norwegian_PlFemen
		trigger = { culture = norwegian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_nubian_PlFemen
		trigger = { culture = nubian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_occitan_PlFemen
		trigger = { culture = occitan is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_frankish_PlFemen
		trigger = { culture = frankish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_saxon_PlFemen
		trigger = { culture = saxon is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_oriya_PlFemen
		trigger = { culture = oriya is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_panjabi_PlFemen
		trigger = { culture = panjabi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_pecheneg_PlFemen
		trigger = { culture = pecheneg is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_persian_PlFemen
		trigger = { culture = persian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_pictish_PlFemen
		trigger = { culture = pictish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_polish_PlFemen
		trigger = { culture = polish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_pomeranian_PlFemen
		trigger = { culture = pomeranian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_portuguese_PlFemen
		trigger = { culture = portuguese is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_prussian_PlFemen
		trigger = { culture = prussian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_rajput_PlFemen
		trigger = { culture = rajput is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_roman_PlFemen
		trigger = { culture = roman is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_vlach_PlFemen
		trigger = { culture = vlach is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_russian_PlFemen
		trigger = { culture = russian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_saka_PlFemen
		trigger = { culture = saka is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_nenets_PlFemen
		trigger = { culture = nenets is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_anglo_saxon_PlFemen
		trigger = { culture = anglo_saxon is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_scottish_PlFemen
		trigger = { culture = scottish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_sephardi_PlFemen
		trigger = { culture = sephardi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_serbian_PlFemen
		trigger = { culture = serbian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_severian_PlFemen
		trigger = { culture = severian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_sindhi_PlFemen
		trigger = { culture = sindhi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_sinhala_PlFemen
		trigger = { culture = sinhala is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_sogdian_PlFemen
		trigger = { culture = sogdian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_somali_PlFemen
		trigger = { culture = somali is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_suebi_PlFemen
		trigger = { culture = suebi is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_sumpa_PlFemen
		trigger = { culture = sumpa is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_swedish_PlFemen
		trigger = { culture = swedish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_tamil_PlFemen
		trigger = { culture = tamil is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_tangut_PlFemen
		trigger = { culture = tangut is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_telugu_PlFemen
		trigger = { culture = telugu is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_tocharian_PlFemen
		trigger = { culture = tocharian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_turkish_PlFemen
		trigger = { culture = turkish is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_estonian_PlFemen
		trigger = { culture = estonian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_uyghur_PlFemen
		trigger = { culture = uyghur is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_visigothic_PlFemen
		trigger = { culture = visigothic is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_volhynian_PlFemen
		trigger = { culture = volhynian is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_welsh_PlFemen
		trigger = { culture = welsh is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_zhangzhung_PlFemen
		trigger = { culture = zhangzhung is_female = yes }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetCulturePlFemen
	}
}

defined_text = {
	name = GetCulturePlMas
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Culture_afghan_PlMas
		trigger = { culture = afghan }
	}
	text = {
		localisation_key = String_ES_Culture_alan_PlMas
		trigger = { culture = alan }
	}
	text = {
		localisation_key = String_ES_Culture_andalusian_PlMas
		trigger = { culture = andalusian }
	}
	text = {
		localisation_key = String_ES_Culture_armenian_PlMas
		trigger = { culture = armenian }
	}
	text = {
		localisation_key = String_ES_Culture_ashkenazi_PlMas
		trigger = { culture = ashkenazi }
	}
	text = {
		localisation_key = String_ES_Culture_assamese_PlMas
		trigger = { culture = assamese }
	}
	text = {
		localisation_key = String_ES_Culture_assyrian_Mas
		trigger = { culture = assyrian }
	}
	text = {
		localisation_key = String_ES_Culture_avar_PlMas
		trigger = { culture = avar }
	}
	text = {
		localisation_key = String_ES_Culture_baloch_PlMas
		trigger = { culture = baloch }
	}
	text = {
		localisation_key = String_ES_Culture_basque_PlMas
		trigger = { culture = basque }
	}
	text = {
		localisation_key = String_ES_Culture_basque_PlMas
		trigger = { culture = basque is_female = yes }
	}
	text = {
		localisation_key = String_ES_Culture_bedouin_PlMas
		trigger = { culture = bedouin }
	}
	text = {
		localisation_key = String_ES_Culture_bengali_PlMas
		trigger = { culture = bengali }
	}
	text = {
		localisation_key = String_ES_Culture_bodpa_PlMas
		trigger = { culture = bodpa }
	}
	text = {
		localisation_key = String_ES_Culture_bohemian_PlMas
		trigger = { culture = bohemian }
	}
	text = {
		localisation_key = String_ES_Culture_bolghar_PlMas
		trigger = { culture = bolghar }
	}
	text = {
		localisation_key = String_ES_Culture_breton_PlMas
		trigger = { culture = breton }
	}
	text = {
		localisation_key = String_ES_Culture_bulgarian_PlMas
		trigger = { culture = bulgarian }
	}
	text = {
		localisation_key = String_ES_Culture_castilian_PlMas
		trigger = { culture = castilian }
	}
	text = {
		localisation_key = String_ES_Culture_cat_PlMas
		trigger = { culture = cat }
	}
	text = {
		localisation_key = String_ES_Culture_catalan_PlMas
		trigger = { culture = catalan }
	}
	text = {
		localisation_key = String_ES_Culture_croatian_PlMas
		trigger = { culture = croatian }
	}
	text = {
		localisation_key = String_ES_Culture_cuman_PlMas
		trigger = { culture = cuman }
	}
	text = {
		localisation_key = String_ES_Culture_danish_PlMas
		trigger = { culture = danish }
	}
	text = {
		localisation_key = String_ES_Culture_dutch_PlMas
		trigger = { culture = dutch }
	}
	text = {
		localisation_key = String_ES_Culture_egyptian_PlMas
		trigger = { culture = egyptian }
	}
	text = {
		localisation_key = String_ES_Culture_english_PlMas
		trigger = { culture = english }
	}
	text = {
		localisation_key = String_ES_Culture_ethiopian_PlMas
		trigger = { culture = ethiopian }
	}
	text = {
		localisation_key = String_ES_Culture_finnish_PlMas
		trigger = { culture = finnish }
	}
	text = {
		localisation_key = String_ES_Culture_french_PlMas
		trigger = { culture = french }
	}
	text = {
		localisation_key = String_ES_Culture_frisian_PlMas
		trigger = { culture = frisian }
	}
	text = {
		localisation_key = String_ES_Culture_georgian_PlMas
		trigger = { culture = georgian }
	}
	text = {
		localisation_key = String_ES_Culture_german_PlMas
		trigger = { culture = german }
	}
	text = {
		localisation_key = String_ES_Culture_greek_PlMas
		trigger = { culture = greek }
	}
	text = {
		localisation_key = String_ES_Culture_gujurati_PlMas
		trigger = { culture = gujurati }
	}
	text = {
		localisation_key = String_ES_Culture_han_PlMas
		trigger = { culture = han }
	}
	text = {
		localisation_key = String_ES_Culture_hindustani_PlMas
		trigger = { culture = hindustani }
	}
	text = {
		localisation_key = String_ES_Culture_horse_PlMas
		trigger = { culture = horse }
	}
	text = {
		localisation_key = String_ES_Culture_hungarian_PlMas
		trigger = { culture = hungarian }
	}
	text = {
		localisation_key = String_ES_Culture_ilmenian_PlMas
		trigger = { culture = ilmenian }
	}
	text = {
		localisation_key = String_ES_Culture_irish_PlMas
		trigger = { culture = irish }
	}
	text = {
		localisation_key = String_ES_Culture_italian_PlMas
		trigger = { culture = italian }
	}
	text = {
		localisation_key = String_ES_Culture_jurchen_PlMas
		trigger = { culture = jurchen }
	}
	text = {
		localisation_key = String_ES_Culture_kannada_PlMas
		trigger = { culture = kannada }
	}
	text = {
		localisation_key = String_ES_Culture_karluk_PlMas
		trigger = { culture = karluk }
	}
	text = {
		localisation_key = String_ES_Culture_khanty_PlMas
		trigger = { culture = khanty }
	}
	text = {
		localisation_key = String_ES_Culture_khazar_PlMas
		trigger = { culture = khazar }
	}
	text = {
		localisation_key = String_ES_Culture_khitan_PlMas
		trigger = { culture = khitan }
	}
	text = {
		localisation_key = String_ES_Culture_kirghiz_PlMas
		trigger = { culture = kirghiz }
	}
	text = {
		localisation_key = String_ES_Culture_komi_PlMas
		trigger = { culture = komi }
	}
	text = {
		localisation_key = String_ES_Culture_kurdish_PlMas
		trigger = { culture = kurdish }
	}
	text = {
		localisation_key = String_ES_Culture_sami_PlMas
		trigger = { culture = sami }
	}
	text = {
		localisation_key = String_ES_Culture_latgalian_PlMas
		trigger = { culture = latgalian }
	}
	text = {
		localisation_key = String_ES_Culture_levantine_PlMas
		trigger = { culture = levantine }
	}
	text = {
		localisation_key = String_ES_Culture_lithuanian_PlMas
		trigger = { culture = lithuanian }
	}
	text = {
		localisation_key = String_ES_Culture_lombard_PlMas
		trigger = { culture = lombard }
	}
	text = {
		localisation_key = String_ES_Culture_berber_PlMas
		trigger = { culture = berber }
	}
	text = {
		localisation_key = String_ES_Culture_mande_PlMas
		trigger = { culture = mande }
	}
	text = {
		localisation_key = String_ES_Culture_marathi_PlMas
		trigger = { culture = marathi }
	}
	text = {
		localisation_key = String_ES_Culture_mongol_PlMas
		trigger = { culture = mongol }
	}
	text = {
		localisation_key = String_ES_Culture_mordvin_PlMas
		trigger = { culture = mordvin }
	}
	text = {
		localisation_key = String_ES_Culture_nahua_PlMas
		trigger = { culture = nahua }
	}
	text = {
		localisation_key = String_ES_Culture_nepali_PlMas
		trigger = { culture = nepali }
	}
	text = {
		localisation_key = String_ES_Culture_norman_PlMas
		trigger = { culture = norman }
	}
	text = {
		localisation_key = String_ES_Culture_norse_PlMas
		trigger = { culture = norse }
	}
	text = {
		localisation_key = String_ES_Culture_norwegian_PlMas
		trigger = { culture = norwegian }
	}
	text = {
		localisation_key = String_ES_Culture_nubian_PlMas
		trigger = { culture = nubian }
	}
	text = {
		localisation_key = String_ES_Culture_occitan_PlMas
		trigger = { culture = occitan }
	}
	text = {
		localisation_key = String_ES_Culture_frankish_PlMas
		trigger = { culture = frankish }
	}
	text = {
		localisation_key = String_ES_Culture_saxon_PlMas
		trigger = { culture = saxon }
	}
	text = {
		localisation_key = String_ES_Culture_oriya_PlMas
		trigger = { culture = oriya }
	}
	text = {
		localisation_key = String_ES_Culture_panjabi_PlMas
		trigger = { culture = panjabi }
	}
	text = {
		localisation_key = String_ES_Culture_pecheneg_PlMas
		trigger = { culture = pecheneg }
	}
	text = {
		localisation_key = String_ES_Culture_persian_PlMas
		trigger = { culture = persian }
	}
	text = {
		localisation_key = String_ES_Culture_pictish_PlMas
		trigger = { culture = pictish }
	}
	text = {
		localisation_key = String_ES_Culture_polish_PlMas
		trigger = { culture = polish }
	}
	text = {
		localisation_key = String_ES_Culture_pomeranian_PlMas
		trigger = { culture = pomeranian }
	}
	text = {
		localisation_key = String_ES_Culture_portuguese_PlMas
		trigger = { culture = portuguese }
	}
	text = {
		localisation_key = String_ES_Culture_prussian_PlMas
		trigger = { culture = prussian }
	}
	text = {
		localisation_key = String_ES_Culture_rajput_PlMas
		trigger = { culture = rajput }
	}
	text = {
		localisation_key = String_ES_Culture_roman_PlMas
		trigger = { culture = roman }
	}
	text = {
		localisation_key = String_ES_Culture_vlach_PlMas
		trigger = { culture = vlach }
	}
	text = {
		localisation_key = String_ES_Culture_russian_PlMas
		trigger = { culture = russian }
	}
	text = {
		localisation_key = String_ES_Culture_saka_PlMas
		trigger = { culture = saka }
	}
	text = {
		localisation_key = String_ES_Culture_nenets_PlMas
		trigger = { culture = nenets }
	}
	text = {
		localisation_key = String_ES_Culture_anglo_saxon_PlMas
		trigger = { culture = anglo_saxon }
	}
	text = {
		localisation_key = String_ES_Culture_scottish_PlMas
		trigger = { culture = scottish }
	}
	text = {
		localisation_key = String_ES_Culture_sephardi_PlMas
		trigger = { culture = sephardi }
	}
	text = {
		localisation_key = String_ES_Culture_serbian_PlMas
		trigger = { culture = serbian }
	}
	text = {
		localisation_key = String_ES_Culture_severian_PlMas
		trigger = { culture = severian }
	}
	text = {
		localisation_key = String_ES_Culture_sindhi_PlMas
		trigger = { culture = sindhi }
	}
	text = {
		localisation_key = String_ES_Culture_sinhala_PlMas
		trigger = { culture = sinhala }
	}
	text = {
		localisation_key = String_ES_Culture_sogdian_PlMas
		trigger = { culture = sogdian }
	}
	text = {
		localisation_key = String_ES_Culture_somali_PlMas
		trigger = { culture = somali }
	}
	text = {
		localisation_key = String_ES_Culture_suebi_PlMas
		trigger = { culture = suebi }
	}
	text = {
		localisation_key = String_ES_Culture_sumpa_PlMas
		trigger = { culture = sumpa }
	}
	text = {
		localisation_key = String_ES_Culture_swedish_PlMas
		trigger = { culture = swedish }
	}
	text = {
		localisation_key = String_ES_Culture_tamil_PlMas
		trigger = { culture = tamil }
	}
	text = {
		localisation_key = String_ES_Culture_tangut_PlMas
		trigger = { culture = tangut }
	}
	text = {
		localisation_key = String_ES_Culture_telugu_PlMas
		trigger = { culture = telugu }
	}
	text = {
		localisation_key = String_ES_Culture_tocharian_PlMas
		trigger = { culture = tocharian }
	}
	text = {
		localisation_key = String_ES_Culture_turkish_PlMas
		trigger = { culture = turkish }
	}
	text = {
		localisation_key = String_ES_Culture_estonian_PlMas
		trigger = { culture = estonian }
	}
	text = {
		localisation_key = String_ES_Culture_uyghur_PlMas
		trigger = { culture = uyghur }
	}
	text = {
		localisation_key = String_ES_Culture_visigothic_PlMas
		trigger = { culture = visigothic }
	}
	text = {
		localisation_key = String_ES_Culture_volhynian_PlMas
		trigger = { culture = volhynian }
	}
	text = {
		localisation_key = String_ES_Culture_welsh_PlMas
		trigger = { culture = welsh }
	}
	text = {
		localisation_key = String_ES_Culture_zhangzhung_PlMas
		trigger = { culture = zhangzhung }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetCulturePlMas
	}
}

defined_text = {
	name = GovernmentMas
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GovernmentMas_chinese_imperial_government
		trigger = { government = chinese_imperial_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_confucian_bureaucracy
		trigger = { government = confucian_bureaucracy }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_feudal_government
		trigger = { government = feudal_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_merchant_republic_government
		trigger = { government = merchant_republic_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_muslim_feudal_government
		trigger = { government = muslim_feudal_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_nomadic_government
		trigger = { government = nomadic_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_republic_government
		trigger = { government = republic_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_theocracy_government
		trigger = { government = theocracy_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_monastic_feudal_government
		trigger = { government = monastic_feudal_government }
	}
	text = {
		localisation_key = String_ES_GovernmentMas_tribal_government
		trigger = { government = tribal_government }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetGovernmentMas
	}
}

defined_text = {
	name = GetGovernmentElLaCap
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GovernmentElLaCap_chinese_imperial_government
		trigger = { government = chinese_imperial_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_confucian_bureaucracy
		trigger = { government = confucian_bureaucracy }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_feudal_government
		trigger = { government = feudal_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_merchant_republic_government
		trigger = { government = merchant_republic_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_muslim_feudal_government
		trigger = { government = muslim_feudal_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_nomadic_government
		trigger = { government = nomadic_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_republic_government
		trigger = { government = republic_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_theocracy_government
		trigger = { government = theocracy_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_monastic_feudal_government
		trigger = { government = monastic_feudal_government }
	}
	text = {
		localisation_key = String_ES_GovernmentElLaCap_tribal_government
		trigger = { government = tribal_government }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetGovernmentElLaCap
	}
}


## CUSTOM ENGLISH COMMANDS WITH ARTICLE OR GENDER

defined_text = {
	name = GetCapitalHoldingDelDela # Returns a suitable name for the main building of your capital
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetHoldingDelDela_Castle_1
		trigger = {
			capital_holding = { holding_type = castle	}
			lower_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Castle_2
		trigger = {
			capital_holding = { holding_type = castle	}
			real_tier = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Castle_3
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Temple_1
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Nomad_1
		trigger = {
			capital_holding = { holding_type = nomad }
			lower_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Nomad_2
		trigger = {
			capital_holding = { holding_type = nomad }
			real_tier = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Nomad_3
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Tribal_1
		trigger = {
			capital_holding = { holding_type = tribal	}
			lower_real_tier_than = DUKE
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Tribal_2
		trigger = {
			capital_holding = { holding_type = tribal	}
			real_tier = DUKE
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Tribal_3
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_real_tier_than = DUKE
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_City_1
		trigger = {
			capital_holding = { holding_type = city }
			lower_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_City_2
		trigger = {
			capital_holding = { holding_type = city }
			real_tier = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_City_3
		trigger = {
			capital_holding = { holding_type = city }
			higher_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Fallback_1
		trigger = {
			capital_holding = {
				NOR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetCapitalHoldingDelDela
	}
}

defined_text = {
	name = GetCapitalHoldingAlAla # Returns a suitable name for the main building of your capital

	text = {
		localisation_key = String_ES_GetHoldingAlAla_Castle_1
		trigger = {
			capital_holding = { holding_type = castle	}
			lower_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Castle_2
		trigger = {
			capital_holding = { holding_type = castle	}
			real_tier = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Castle_3
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Temple_1
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Nomad_1
		trigger = {
			capital_holding = { holding_type = nomad }
			lower_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Nomad_2
		trigger = {
			capital_holding = { holding_type = nomad }
			real_tier = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Nomad_3
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Tribal_1
		trigger = {
			capital_holding = { holding_type = tribal	}
			lower_real_tier_than = DUKE
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Tribal_2
		trigger = {
			capital_holding = { holding_type = tribal	}
			real_tier = DUKE
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Tribal_3
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_real_tier_than = DUKE
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_City_1
		trigger = {
			capital_holding = { holding_type = city }
			lower_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_City_2
		trigger = {
			capital_holding = { holding_type = city }
			real_tier = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_City_3
		trigger = {
			capital_holding = { holding_type = city }
			higher_real_tier_than = KING
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingAlAla_Fallback_1
		trigger = {
			capital_holding = {
				NOR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetCapitalHoldingAlAla
	}
}

defined_text = {
	name = GetHoldingDelDela # Returns a suitable name for a holding

	text = {
		localisation_key = String_ES_GetHoldingDelDela_Castle_1
		trigger = {
			holding_type = castle
			county = { holder_scope = { lower_real_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Castle_2
		trigger = {
			holding_type = castle
			county = { holder_scope = { real_tier = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Castle_3
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_real_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Temple_1
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Nomad_1
		trigger = {
			holding_type = nomad
			county = { holder_scope = { lower_real_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Nomad_2
		trigger = {
			holding_type = nomad
			county = { holder_scope = { real_tier = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Nomad_3
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_real_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Tribal_1
		trigger = {
			holding_type = tribal
			county = { holder_scope = { real_tier = DUKE } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Tribal_2
		trigger = {
			holding_type = tribal
			county = { holder_scope = { real_tier = DUKE } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_Tribal_3
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_real_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_City_1
		trigger = {
			holding_type = city
			county = { holder_scope = { lower_real_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_City_2
		trigger = {
			holding_type = city
			county = { holder_scope = { real_tier = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_City_3
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_real_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_ES_GetHoldingDelDela_settlement
		trigger = {
			NOR = {
				holding_type = castle
				holding_type = temple
				holding_type = nomad
				holding_type = tribal
				holding_type = city
			}
		}
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetHoldingDelDela
	}
}

defined_text = {
	name = GetHouseOfWorshipDelDela
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Christian
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Muslim
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Pagan
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Zoroastrian
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Jewish
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Hindu
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Buddhist
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Jain
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipDelDela_Taoist
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetHouseOfWorshipDelDela
	}
}

defined_text = {
	name = GetHouseOfWorshipUnUna
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Christian
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Muslim
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Pagan
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Zoroastrian
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Jewish
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Hindu
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Buddhist
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Jain
		trigger = { religion = jain }
	}
	text = {
		localisation_key = String_ES_GetHouseOfWorshipUnUna_Taoist
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetHouseOfWorshipUnUna
	}
}

defined_text = {
	name = GetReligiousPersonMasFemen
	use_first_valid = yes

	text = {
		localisation_key = String_ES_Religion_catholic_Mas
		trigger = { religion = catholic is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_christian_Mas
		trigger = {
			religion_group = christian
			is_female = no
			NOT = { religion = catholic }
		}
	}
	text = {
		localisation_key = String_ES_ReligionGroups_muslim_Mas
		trigger = { religion_group = muslim is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_jewish_group_Mas
		trigger = { religion_group = jewish_group is_female = no }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_zoroastrian_group_Mas
		trigger = { religion_group = zoroastrian_group is_female = no }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_Mas
		trigger = { religion = buddhist is_female = no }
	}
	text = {
		localisation_key = String_ES_Religion_jain_Mas
		trigger = { religion = jain is_female = no }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_Mas
		trigger = { religion = hindu is_female = no }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_Mas
		trigger = { religion = taoist is_female = no }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_Mas
		trigger = {
			religion_openly_norse_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_Mas
		trigger = {
			religion_openly_slavic_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_Mas
		trigger = {
			religion_openly_baltic_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_Mas
		trigger = {
			religion_openly_finnish_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_Mas
		trigger = {
			religion_openly_west_african_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_Mas
		trigger = {
			religion_openly_tengri_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_Mas
		trigger = {
			religion_openly_zun_or_reformed_trigger = yes
			is_female = no
		}
	}
	text = {
		localisation_key = String_ES_Religion_catholic_Femen
		trigger = { religion = catholic is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_christian_Femen
		trigger = {
			religion_group = christian
			is_female = yes
			NOT = { religion = catholic }
		}
	}
	text = {
		localisation_key = String_ES_ReligionGroups_muslim_Femen
		trigger = { religion_group = muslim is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_jewish_group_Femen
		trigger = { religion_group = jewish_group is_female = yes }
	}
	text = {
		localisation_key = String_ES_ReligionGroups_zoroastrian_group_Femen
		trigger = { religion_group = zoroastrian_group is_female = yes }
	}
	text = {
		localisation_key = String_ES_Religion_buddhist_Femen
		trigger = { religion = buddhist is_female = yes }
	}
	text = {
		localisation_key = String_ES_Religion_jain_Femen
		trigger = { religion = jain is_female = yes }
	}
	text = {
		localisation_key = String_ES_Religion_hindu_Femen
		trigger = { religion = hindu is_female = yes }
	}
	text = {
		localisation_key = String_ES_Religion_taoist_Femen
		trigger = { religion = taoist is_female = yes }
	}
	text = {
		localisation_key = String_ES_Religion_norse_pagan_Femen
		trigger = {
			religion_openly_norse_or_reformed_trigger = yes
			is_female = yes
		}
	}
	text = {
		localisation_key = String_ES_Religion_slavic_pagan_Femen
		trigger = {
			religion_openly_slavic_or_reformed_trigger = yes
			is_female = yes
		}
	}
	text = {
		localisation_key = String_ES_Religion_baltic_pagan_Femen
		trigger = {
			religion_openly_baltic_or_reformed_trigger = yes
			is_female = yes
		}
	}
	text = {
		localisation_key = String_ES_Religion_finnish_pagan_Femen
		trigger = {
			religion_openly_finnish_or_reformed_trigger = yes
			is_female = yes
		}
	}
	text = {
		localisation_key = String_ES_Religion_west_african_pagan_Femen
		trigger = {
			religion_openly_west_african_or_reformed_trigger = yes
			is_female = yes
		}
	}
	text = {
		localisation_key = String_ES_Religion_tengri_pagan_Femen
		trigger = {
			religion_openly_tengri_or_reformed_trigger = yes
			is_female = yes
		}
	}
	text = {
		localisation_key = String_ES_Religion_zun_pagan_Femen
		trigger = {
			religion_openly_zun_or_reformed_trigger = yes
			is_female = yes
		}
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetReligiousPersonMasFemen
	}
}

defined_text = {
	name = GetTrueReligionScriptureNameDelDela
	use_first_valid = yes

	text = {
		localisation_key = String_ES_ScriptureDelDela_Bible
		trigger = {
			true_religion_group = christian
			NOT = { true_religion = messalian }
		}
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Asceticus
		trigger = { true_religion = messalian }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Koran
		trigger = {
			true_religion_group = muslim
			NOR = {
				true_religion = yazidi
				true_religion = druze
			}
		}
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Book_Of_Illumination
		trigger = { true_religion = yazidi }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Epistles_Of_Wisdom
		trigger = { true_religion = druze }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Torah
		trigger = { true_religion_group = jewish_group }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Gathas
		trigger = {
			true_religion_group = zoroastrian_group
			NOT = { true_religion = mazdaki }
		}
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Great_Secret
		trigger = { true_religion = mazdaki }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Mahabharata
		trigger = { true_religion = hindu }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Buddhavacana
		trigger = { true_religion = buddhist }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Mahabharata
		trigger = { true_religion = jain }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Sagas
		trigger = { true_norse_religion_trigger = yes }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Legends
		trigger = {
			true_religion_group = pagan_group
			true_norse_religion_trigger = no
		}
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_Gathas
		trigger = { true_religion = khurmazta }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_MDODUS
		trigger = { true_religion = bon_pagan }
	}
	text = {
		localisation_key = String_ES_ScriptureDelDela_TAO_TE_CHING
		trigger = { true_religion = taoist }
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetTrueReligionScriptureNameDelDela
	}
}

defined_text = {
	name = GetDWSettlementAlAla
	use_first_valid = yes

	text = {
		trigger = {
			NOT = { society_member_of = the_plaguebringers }
		}
		localisation_key = String_ES_town_AlAla
	}
	text = {
		trigger = { society_member_of = the_plaguebringers }
		localisation_key = String_ES_camp_AlAla
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetDWSettlementAlAla
	}
}

defined_text = {
	name = GetComplimentAdjectiveMasFemen
	use_first_valid = yes

	text = {
		trigger = {
			is_female = no
			OR = {
				trait = intricate_webweaver
				trait = elusive_shadow
				trait = fortune_builder
				trait = midas_touched
				trait = scholarly_theologian
				trait = mastermind_theologian
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_CLEVER_Mas
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				trait = charismatic_negotiator
				trait = grey_eminence
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_ELOQUENT_Mas
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				trait = fortune_builder
				trait = midas_touched
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_THRIFTY_Mas
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				trait = scholarly_theologian
				trait = mastermind_theologian
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_LEARNED_Mas
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				trait = intricate_webweaver
				trait = elusive_shadow
				trait = fortune_builder
				trait = midas_touched
				trait = scholarly_theologian
				trait = mastermind_theologian
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_CLEVER_Femen
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				trait = charismatic_negotiator
				trait = grey_eminence
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_ELOQUENT_Femen
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				trait = fortune_builder
				trait = midas_touched
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_THRIFTY_Femen
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				trait = scholarly_theologian
				trait = mastermind_theologian
			}
		}
		localisation_key = String_ES_GetComplimentAdjectiveMasFemen_COMPL_LEARNED_Femen
	}
	fallback_text = {
		localisation_key = String_ES_FALLBACK_GetComplimentAdjectiveMasFemen
	}
}

defined_text = {
	name = GetDWReasonToJoinAlterna # Returns a phrase along the lines of "cure my lover" oro "help me win on the battlefield"
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_ill_lover
		trigger = { has_character_flag = has_ill_lover_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_ill_spouse
		trigger = { has_character_flag = has_ill_spouse_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_ill_child
		trigger = { has_character_flag = has_ill_child_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_money_troubles
		trigger = { has_character_flag = has_money_troubles_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_has_a_rival
		trigger = { has_character_flag = has_a_rival_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_illness
		trigger = { has_character_flag = has_some_illness_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_battle_luck
		trigger = { has_character_flag = has_need_of_winning_battles_loc }
	}
	text = {
		localisation_key = String_ES_GetDWReasonToJoinAlterna_GetDWReasonToJoin_fallback
		trigger = {
			NOR = {
				has_character_flag = has_ill_lover_loc
				has_character_flag = has_ill_spouse_loc
				has_character_flag = has_ill_child_loc
				has_character_flag = has_money_troubles_loc
				has_character_flag = has_a_rival_loc
				has_character_flag = has_some_illness_loc
				has_character_flag = has_need_of_winning_battles_loc
			}
		}
	}
}

defined_text = {
	name = GetHouseElLa
	use_first_valid = yes

	text = {
		trigger = { is_tribal = yes }
		localisation_key = String_ES_longhouse_ella
	}
	text = {
		trigger = { is_nomadic = yes }
		localisation_key = String_ES_pavillion_ella
	}
	text = {
		localisation_key = String_ES_palace_ella
	}
}

defined_text = {
	name = GetHouseDelDela
	use_first_valid = yes

	text = {
		trigger = { is_tribal = yes }
		localisation_key = String_ES_longhouse_deldela
	}
	text = {
		trigger = { is_nomadic = yes }
		localisation_key = String_ES_pavillion_deldela
	}
	text = {
		localisation_key = String_ES_palace_deldela
	}
}


## ORIGINAL FRENCH CUSTOM COMMANDS MADE INTO SPANISH

defined_text = {
	name = GetRealmDelDela
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetRealmDelDela_Empire
		trigger = { real_tier = EMPEROR }
	}
	text = {
		localisation_key = String_ES_GetRealmDelDela_Kingdom
		trigger = { real_tier = KING }
	}
	text = {
		localisation_key = String_ES_GetRealmDelDela_Duchy
		trigger = { real_tier = DUKE }
	}
	text = {
		localisation_key = String_ES_GetRealmDelDela_County
		trigger = { real_tier = COUNT }
	}
}

defined_text = {
	name = GetVegetalIncapaz
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetVegetalIncapaz_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetVegetalIncapaz_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetPiojoPulga
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetPiojoPulga_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetPiojoPulga_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetHeroeHeroina
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetHeroeHeroina_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetHeroeHeroina_female
		trigger = { is_female = yes }
	}
}

defined_text = {
	name = GetRenacujaoRana
	use_first_valid = yes

	text = {
		localisation_key = String_ES_GetRenacujaoRana_male
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_ES_GetRenacujaoRana_female
		trigger = { is_female = yes }
	}
}