defined_text = {
	name = GetMerCapitalAdjective

	text = {
		trigger = {
			OR = {
				is_patrician = yes
				liege = {
					is_patrician = yes
					is_merchant_republic = yes
				}
			}
		}
		localisation_key = String_GetMerCapitalAdjective_Default
	}
	text = {
		trigger = {
			is_patrician = no
			liege = { is_patrician = no }
			liege = {
				liege = {
					is_patrician = yes
					is_merchant_republic = yes
				}
			}
		}
		localisation_key = String_GetMerCapitalAdjective_Liege
	}
	text = {
		trigger = {
			is_patrician = no
			liege = { is_patrician = no }
			liege = {
				liege = {
					is_patrician = no
				}
			}
			liege = {
				liege = {
					liege = {
						is_patrician = yes
						is_merchant_republic = yes
					}
				}
			}
		}
		localisation_key = String_GetMerCapitalAdjective_Liege2
	}
	text = {
		trigger = {
			is_patrician = no
			liege = { is_patrician = no }
			liege = {
				liege = {
					is_patrician = no
				}
			}
			liege = {
				liege = {
					liege = {
						is_patrician = no
					}
				}
			}
			liege = {
				liege = {
					liege = {
						liege = {
							is_patrician = yes
							is_merchant_republic = yes
						}
					}
				}
			}
		}
		localisation_key = String_GetMerCapitalAdjective_Liege3
	}
	fallback_text = {
		localisation_key = String_GetMerCapitalAdjective_Default
	}
}
#Culture.GetName - short version, !WARNING! - very heavy
defined_text = {
	name = GetCultureAdj
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = CULTURE_ADJ_FALLBACK
	}
	text = {
		trigger = { culture = bear }
		localisation_key = cadj_ursine
	}
	text = {
		trigger = { culture = cat }
		localisation_key = cadj_feline
	}
	text = {
		trigger = { culture = horse }
		localisation_key = cadj_equine
	}
	text = {
		trigger = { culture = ursine }
		localisation_key = cadj_ursine
	}
	text = {
		trigger = { culture = feline }
		localisation_key = cadj_feline
	}
	text = {
		trigger = { culture = equine }
		localisation_key = cadj_equine
	}
	text = {
		trigger = { culture = han }
		localisation_key = cadj_han
	}
	text = {
		trigger = { culture = jurchen }
		localisation_key = cadj_jurchen
	}
	text = {
		trigger = { culture = tangut }
		localisation_key = cadj_tangut
	}
	text = {
		trigger = { culture = bodpa }
		localisation_key = cadj_bodpa
	}
	text = {
		trigger = { culture = nepali }
		localisation_key = cadj_nepali
	}
	text = {
		trigger = { culture = assyrian }
		localisation_key = cadj_assyrian
	}
	text = {
		trigger = { culture = sumpa }
		localisation_key = cadj_sumpa
	}
	text = {
		trigger = { culture = zhangzhung }
		localisation_key = cadj_zhangzhung
	}
	text = {
		trigger = { culture = saka }
		localisation_key = cadj_saka
	}
	text = {
		trigger = { culture = tocharian }
		localisation_key = cadj_tocharian
	}
	text = {
		trigger = { culture = uyghur }
		localisation_key = cadj_uyghur
	}
	text = {
		trigger = { culture = khitan }
		localisation_key = cadj_khitan
	}
	text = {
		trigger = { culture = sogdian }
		localisation_key = cadj_sogdian
	}
	text = {
		trigger = { culture = frisian }
		localisation_key = cadj_frisian
	}
	text = {
		trigger = { culture = frankish }
		localisation_key = cadj_frankish
	}
	text = {
		trigger = { culture = old_frankish }
		localisation_key = cadj_old_frankish
	}
	text = {
		trigger = { culture = old_saxon }
		localisation_key = cadj_old_saxon
	}
	text = {
		trigger = { culture = lombard }
		localisation_key = cadj_lombard
	}
	text = {
		trigger = { culture = visigothic }
		localisation_key = cadj_visigothic
	}
	text = {
		trigger = { culture = somali }
		localisation_key = cadj_somali
	}
	text = {
		trigger = { culture = suebi }
		localisation_key = cadj_suebi
	}
	text = {
		trigger = { culture = ilmenian }
		localisation_key = cadj_ilmenian
	}
	text = {
		trigger = { culture = severian }
		localisation_key = cadj_severian
	}
	text = {
		trigger = { culture = volhynian }
		localisation_key = cadj_volhynian
	}
	text = {
		trigger = { culture = pictish }
		localisation_key = cadj_pictish
	}
	text = {
		trigger = { culture = nubian }
		localisation_key = cadj_nubian
	}
	text = {
		trigger = { culture = karluk }
		localisation_key = cadj_karluk
	}
	text = {
		trigger = { culture = kirghiz }
		localisation_key = cadj_kirghiz
	}
	text = {
		trigger = { culture = khanty }
		localisation_key = cadj_khanty
	}
	text = {
		trigger = { culture = afghan }
		localisation_key = cadj_afghan
	}
	text = {
		trigger = { culture = baloch }
		localisation_key = cadj_baloch
	}
	text = {
		trigger = { culture = indian }
		localisation_key = cadj_indian
	}
	text = {
		trigger = { culture = bengali }
		localisation_key = cadj_bengali
	}
	text = {
		trigger = { culture = hindustani }
		localisation_key = cadj_hindustani
	}
	text = {
		trigger = { culture = sindhi }
		localisation_key = cadj_sindhi
	}
	text = {
		trigger = { culture = marathi }
		localisation_key = cadj_marathi
	}
	text = {
		trigger = { culture = sinhala }
		localisation_key = cadj_sinhala
	}
	text = {
		trigger = { culture = telugu }
		localisation_key = cadj_telugu
	}
	text = {
		trigger = { culture = kannada }
		localisation_key = cadj_kannada
	}
	text = {
		trigger = { culture = tamil }
		localisation_key = cadj_tamil
	}
	text = {
		trigger = { culture = gujurati }
		localisation_key = cadj_gujurati
	}
	text = {
		trigger = { culture = panjabi }
		localisation_key = cadj_panjabi
	}
	text = {
		trigger = { culture = rajput }
		localisation_key = cadj_rajput
	}
	text = {
		trigger = { culture = oriya }
		localisation_key = cadj_oriya
	}
	text = {
		trigger = { culture = assamese }
		localisation_key = cadj_assamese
	}
	text = {
		trigger = { culture = ashkenazi }
		localisation_key = cadj_ashkenazi
	}
	text = {
		trigger = { culture = sephardi }
		localisation_key = cadj_sephardi
	}
	text = {
		trigger = { culture = norse }
		localisation_key = cadj_norse
	}
	text = {
		trigger = { culture = avar }
		localisation_key = cadj_avar
	}
	text = {
		trigger = { culture = samoyed }
		localisation_key = cadj_samoyed
	}
	text = {
		trigger = { culture = mordvin }
		localisation_key = cadj_mordvin
	}
	text = {
		trigger = { culture = khazar }
		localisation_key = cadj_khazar
	}
	text = {
		trigger = { culture = bolghar }
		localisation_key = cadj_bolghar
	}
	text = {
		trigger = { culture = roman }
		localisation_key = cadj_roman
	}
	text = {
		trigger = { culture = maghreb_arabic }
		localisation_key = cadj_maghreb_arabic
	}
	text = {
		trigger = { culture = manden }
		localisation_key = cadj_manden
	}
	text = {
		trigger = { culture = kurdish }
		localisation_key = cadj_kurdish
	}
	text = {
		trigger = { culture = romanian }
		localisation_key = cadj_romanian
	}
	text = {
		trigger = { culture = pommeranian }
		localisation_key = cadj_pommeranian
	}
	text = {
		trigger = { culture = lappish }
		localisation_key = cadj_lappish
	}
	text = {
		trigger = { culture = swedish }
		localisation_key = cadj_swedish
	}
	text = {
		trigger = { culture = norwegian }
		localisation_key = cadj_norwegian
	}
	text = {
		trigger = { culture = danish }
		localisation_key = cadj_danish
	}
	text = {
		trigger = { culture = german }
		localisation_key = cadj_german
	}
	text = {
		trigger = { culture = english }
		localisation_key = cadj_english
	}
	text = {
		trigger = { culture = saxon }
		localisation_key = cadj_saxon
	}
	text = {
		trigger = { culture = dutch }
		localisation_key = cadj_dutch
	}
	text = {
		trigger = { culture = norman }
		localisation_key = cadj_norman
	}
	text = {
		trigger = { culture = italian }
		localisation_key = cadj_italian
	}
	text = {
		trigger = { culture = occitan }
		localisation_key = cadj_occitan
	}
	text = {
		trigger = { culture = basque }
		localisation_key = cadj_basque
	}
	text = {
		trigger = { culture = castillan }
		localisation_key = cadj_castillan
	}
	text = {
		trigger = { culture = catalan }
		localisation_key = cadj_catalan
	}
	text = {
		trigger = { culture = portuguese }
		localisation_key = cadj_portuguese
	}
	text = {
		trigger = { culture = armenian }
		localisation_key = cadj_armenian
	}
	text = {
		trigger = { culture = greek }
		localisation_key = cadj_greek
	}
	text = {
		trigger = { culture = alan }
		localisation_key = cadj_alan
	}
	text = {
		trigger = { culture = georgian }
		localisation_key = cadj_georgian
	}
	text = {
		trigger = { culture = irish }
		localisation_key = cadj_irish
	}
	text = {
		trigger = { culture = scottish }
		localisation_key = cadj_scottish
	}
	text = {
		trigger = { culture = welsh }
		localisation_key = cadj_welsh
	}
	text = {
		trigger = { culture = breton }
		localisation_key = cadj_breton
	}
	text = {
		trigger = { culture = finnish }
		localisation_key = cadj_finnish
	}
	text = {
		trigger = { culture = ugricbaltic }
		localisation_key = cadj_ugricbaltic
	}
	text = {
		trigger = { culture = komi }
		localisation_key = cadj_komi
	}
	text = {
		trigger = { culture = lettigallish }
		localisation_key = cadj_telugu
	}
	text = {
		trigger = { culture = lithuanian }
		localisation_key = cadj_lithuanian
	}
	text = {
		trigger = { culture = prussian }
		localisation_key = cadj_prussian
	}
	text = {
		trigger = { culture = turkish }
		localisation_key = cadj_turkish
	}
	text = {
		trigger = { culture = mongol }
		localisation_key = cadj_mongol
	}
	text = {
		trigger = { culture = cuman }
		localisation_key = cadj_cuman
	}
	text = {
		trigger = { culture = pecheneg }
		localisation_key = cadj_pecheneg
	}
	text = {
		trigger = { culture = bedouin_arabic }
		localisation_key = cadj_bedouin_arabic
	}
	text = {
		trigger = { culture = levantine_arabic }
		localisation_key = cadj_levantine_arabic
	}
	text = {
		trigger = { culture = egyptian_arabic }
		localisation_key = cadj_egyptian_arabic
	}
	text = {
		trigger = { culture = andalusian_arabic }
		localisation_key = cadj_andalusian_arabic
	}
	text = {
		trigger = { culture = russian }
		localisation_key = cadj_russian
	}
	text = {
		trigger = { culture = bohemian }
		localisation_key = cadj_bohemian
	}
	text = {
		trigger = { culture = polish }
		localisation_key = cadj_polish
	}
	text = {
		trigger = { culture = croatian }
		localisation_key = cadj_croatian
	}
	text = {
		trigger = { culture = serbian }
		localisation_key = cadj_serbian
	}
	text = {
		trigger = { culture = bulgarian }
		localisation_key = cadj_bulgarian
	}
	text = {
		trigger = { culture = hungarian }
		localisation_key = cadj_hungarian
	}
	text = {
		trigger = { culture = persian }
		localisation_key = cadj_persian
	}
	text = {
		trigger = { culture = ethiopian }
		localisation_key = cadj_ethiopian
	}
	text = {
		trigger = { culture = dalmatian }
		localisation_key = cadj_dalmatian }
	}
	text = {
		trigger = { culture = outremer }
		localisation_key = cadj_outremer }
	}
	text = {
		trigger = { culture = arberian }
		localisation_key = cadj_arberian }
	}
	text = {
		trigger = { culture = bosnian }
		localisation_key = cadj_bosnian }
	}
	text = {
		trigger = { culture = coptic }
		localisation_key = cadj_coptic }
	}
	text = {
		trigger = { culture = crimean_gothic }
		localisation_key = cadj_crimean_gothic }
	}
	text = {
		trigger = { culture = meshchera }
		localisation_key = cadj_meshchera }
	}
	text = {
		trigger = { culture = carantanian }
		localisation_key = cadj_carantanian }
	}
	text = {
		trigger = { culture = daju }
		localisation_key = cadj_daju }
	}
	text = {
		trigger = { culture = kanuri }
		localisation_key = cadj_kanuri }
	}
	text = {
		trigger = { culture = hausa }
		localisation_key = cadj_hausa }
	}
	text = {
		trigger = { culture = zaghawa }
		localisation_key = cadj_zaghawa }
	}
	text = {
		trigger = { culture = soninke }
		localisation_key = cadj_soninke }
	}
	text = {
		trigger = { culture = songhay }
		localisation_key = cadj_songhay }
	}
	text = {
		trigger = { culture = hedgehog_culture }
		localisation_key = cadj_hedgehog_culture }
	}
	text = {
		trigger = { culture = duck_culture }
		localisation_key = cadj_duck_culture }
	}
	text = {
		trigger = { culture = dog_culture }
		localisation_key = cadj_dog_culture }
	}
	text = {
		trigger = { culture = elephant_culture }
		localisation_key = cadj_elephant_culture }
	}
	text = {
		trigger = { culture = dragon_culture }
		localisation_key = cadj_dragon_culture }
	}
	fallback_text = {
		localisation_key = CULTURE_ADJ_FALLBACK
	}
}
defined_text = {
	name = GetCulturePlural
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = CULTURE_PLU_FALLBACK
	}
	text = {
		trigger = { culture = bear }
		localisation_key = plu_ursine
	}
	text = {
		trigger = { culture = cat }
		localisation_key = plu_feline
	}
	text = {
		trigger = { culture = horse }
		localisation_key = plu_equine
	}
	text = {
		trigger = { culture = ursine }
		localisation_key = plu_ursine
	}
	text = {
		trigger = { culture = feline }
		localisation_key = plu_feline
	}
	text = {
		trigger = { culture = equine }
		localisation_key = plu_equine
	}
	text = {
		trigger = { culture = han }
		localisation_key = plu_han
	}
	text = {
		trigger = { culture = jurchen }
		localisation_key = plu_jurchen
	}
	text = {
		trigger = { culture = tangut }
		localisation_key = plu_tangut
	}
	text = {
		trigger = { culture = bodpa }
		localisation_key = plu_bodpa
	}
	text = {
		trigger = { culture = nepali }
		localisation_key = plu_nepali
	}
	text = {
		trigger = { culture = assyrian }
		localisation_key = plu_assyrian
	}
	text = {
		trigger = { culture = sumpa }
		localisation_key = plu_sumpa
	}
	text = {
		trigger = { culture = zhangzhung }
		localisation_key = plu_zhangzhung
	}
	text = {
		trigger = { culture = saka }
		localisation_key = plu_saka
	}
	text = {
		trigger = { culture = tocharian }
		localisation_key = plu_tocharian
	}
	text = {
		trigger = { culture = uyghur }
		localisation_key = plu_uyghur
	}
	text = {
		trigger = { culture = khitan }
		localisation_key = plu_khitan
	}
	text = {
		trigger = { culture = sogdian }
		localisation_key = plu_sogdian
	}
	text = {
		trigger = { culture = frisian }
		localisation_key = plu_frisian
	}
	text = {
		trigger = { culture = frankish }
		localisation_key = plu_frankish
	}
	text = {
		trigger = { culture = old_frankish }
		localisation_key = plu_old_frankish
	}
	text = {
		trigger = { culture = old_saxon }
		localisation_key = plu_old_saxon
	}
	text = {
		trigger = { culture = lombard }
		localisation_key = plu_lombard
	}
	text = {
		trigger = { culture = visigothic }
		localisation_key = plu_visigothic
	}
	text = {
		trigger = { culture = somali }
		localisation_key = plu_somali
	}
	text = {
		trigger = { culture = suebi }
		localisation_key = plu_suebi
	}
	text = {
		trigger = { culture = ilmenian }
		localisation_key = plu_ilmenian
	}
	text = {
		trigger = { culture = severian }
		localisation_key = plu_severian
	}
	text = {
		trigger = { culture = volhynian }
		localisation_key = plu_volhynian
	}
	text = {
		trigger = { culture = pictish }
		localisation_key = plu_pictish
	}
	text = {
		trigger = { culture = nubian }
		localisation_key = plu_nubian
	}
	text = {
		trigger = { culture = karluk }
		localisation_key = plu_karluk
	}
	text = {
		trigger = { culture = kirghiz }
		localisation_key = plu_kirghiz
	}
	text = {
		trigger = { culture = khanty }
		localisation_key = plu_khanty
	}
	text = {
		trigger = { culture = afghan }
		localisation_key = plu_afghan
	}
	text = {
		trigger = { culture = baloch }
		localisation_key = plu_baloch
	}
	text = {
		trigger = { culture = indian }
		localisation_key = plu_indian
	}
	text = {
		trigger = { culture = bengali }
		localisation_key = plu_bengali
	}
	text = {
		trigger = { culture = hindustani }
		localisation_key = plu_hindustani
	}
	text = {
		trigger = { culture = sindhi }
		localisation_key = plu_sindhi
	}
	text = {
		trigger = { culture = marathi }
		localisation_key = plu_marathi
	}
	text = {
		trigger = { culture = sinhala }
		localisation_key = plu_sinhala
	}
	text = {
		trigger = { culture = telugu }
		localisation_key = plu_telugu
	}
	text = {
		trigger = { culture = kannada }
		localisation_key = plu_kannada
	}
	text = {
		trigger = { culture = tamil }
		localisation_key = plu_tamil
	}
	text = {
		trigger = { culture = gujurati }
		localisation_key = plu_gujurati
	}
	text = {
		trigger = { culture = panjabi }
		localisation_key = plu_panjabi
	}
	text = {
		trigger = { culture = rajput }
		localisation_key = plu_rajput
	}
	text = {
		trigger = { culture = oriya }
		localisation_key = plu_oriya
	}
	text = {
		trigger = { culture = assamese }
		localisation_key = plu_assamese
	}
	text = {
		trigger = { culture = ashkenazi }
		localisation_key = plu_ashkenazi
	}
	text = {
		trigger = { culture = sephardi }
		localisation_key = plu_sephardi
	}
	text = {
		trigger = { culture = norse }
		localisation_key = plu_norse
	}
	text = {
		trigger = { culture = avar }
		localisation_key = plu_avar
	}
	text = {
		trigger = { culture = samoyed }
		localisation_key = plu_samoyed
	}
	text = {
		trigger = { culture = mordvin }
		localisation_key = plu_mordvin
	}
	text = {
		trigger = { culture = khazar }
		localisation_key = plu_khazar
	}
	text = {
		trigger = { culture = bolghar }
		localisation_key = plu_bolghar
	}
	text = {
		trigger = { culture = roman }
		localisation_key = plu_roman
	}
	text = {
		trigger = { culture = maghreb_arabic }
		localisation_key = plu_maghreb_arabic
	}
	text = {
		trigger = { culture = manden }
		localisation_key = plu_manden
	}
	text = {
		trigger = { culture = kurdish }
		localisation_key = plu_kurdish
	}
	text = {
		trigger = { culture = romanian }
		localisation_key = plu_romanian
	}
	text = {
		trigger = { culture = pommeranian }
		localisation_key = plu_pommeranian
	}
	text = {
		trigger = { culture = lappish }
		localisation_key = plu_lappish
	}
	text = {
		trigger = { culture = swedish }
		localisation_key = plu_swedish
	}
	text = {
		trigger = { culture = norwegian }
		localisation_key = plu_norwegian
	}
	text = {
		trigger = { culture = danish }
		localisation_key = plu_danish
	}
	text = {
		trigger = { culture = german }
		localisation_key = plu_german
	}
	text = {
		trigger = { culture = english }
		localisation_key = plu_english
	}
	text = {
		trigger = { culture = saxon }
		localisation_key = plu_saxon
	}
	text = {
		trigger = { culture = dutch }
		localisation_key = plu_dutch
	}
	text = {
		trigger = { culture = norman }
		localisation_key = plu_norman
	}
	text = {
		trigger = { culture = italian }
		localisation_key = plu_italian
	}
	text = {
		trigger = { culture = occitan }
		localisation_key = plu_occitan
	}
	text = {
		trigger = { culture = basque }
		localisation_key = plu_basque
	}
	text = {
		trigger = { culture = castillan }
		localisation_key = plu_castillan
	}
	text = {
		trigger = { culture = catalan }
		localisation_key = plu_catalan
	}
	text = {
		trigger = { culture = portuguese }
		localisation_key = plu_portuguese
	}
	text = {
		trigger = { culture = armenian }
		localisation_key = plu_armenian
	}
	text = {
		trigger = { culture = greek }
		localisation_key = plu_greek
	}
	text = {
		trigger = { culture = alan }
		localisation_key = plu_alan
	}
	text = {
		trigger = { culture = georgian }
		localisation_key = plu_georgian
	}
	text = {
		trigger = { culture = irish }
		localisation_key = plu_irish
	}
	text = {
		trigger = { culture = scottish }
		localisation_key = plu_scottish
	}
	text = {
		trigger = { culture = welsh }
		localisation_key = plu_welsh
	}
	text = {
		trigger = { culture = breton }
		localisation_key = plu_breton
	}
	text = {
		trigger = { culture = finnish }
		localisation_key = plu_finnish
	}
	text = {
		trigger = { culture = ugricbaltic }
		localisation_key = plu_ugricbaltic
	}
	text = {
		trigger = { culture = komi }
		localisation_key = plu_komi
	}
	text = {
		trigger = { culture = lettigallish }
		localisation_key = plu_telugu
	}
	text = {
		trigger = { culture = lithuanian }
		localisation_key = plu_lithuanian
	}
	text = {
		trigger = { culture = prussian }
		localisation_key = plu_prussian
	}
	text = {
		trigger = { culture = turkish }
		localisation_key = plu_turkish
	}
	text = {
		trigger = { culture = mongol }
		localisation_key = plu_mongol
	}
	text = {
		trigger = { culture = cuman }
		localisation_key = plu_cuman
	}
	text = {
		trigger = { culture = pecheneg }
		localisation_key = plu_pecheneg
	}
	text = {
		trigger = { culture = bedouin_arabic }
		localisation_key = plu_bedouin_arabic
	}
	text = {
		trigger = { culture = levantine_arabic }
		localisation_key = plu_levantine_arabic
	}
	text = {
		trigger = { culture = egyptian_arabic }
		localisation_key = plu_egyptian_arabic
	}
	text = {
		trigger = { culture = andalusian_arabic }
		localisation_key = plu_andalusian_arabic
	}
	text = {
		trigger = { culture = russian }
		localisation_key = plu_russian
	}
	text = {
		trigger = { culture = bohemian }
		localisation_key = plu_bohemian
	}
	text = {
		trigger = { culture = polish }
		localisation_key = plu_polish
	}
	text = {
		trigger = { culture = croatian }
		localisation_key = plu_croatian
	}
	text = {
		trigger = { culture = serbian }
		localisation_key = plu_serbian
	}
	text = {
		trigger = { culture = bulgarian }
		localisation_key = plu_bulgarian
	}
	text = {
		trigger = { culture = hungarian }
		localisation_key = plu_hungarian
	}
	text = {
		trigger = { culture = persian }
		localisation_key = plu_persian
	}
	text = {
		trigger = { culture = ethiopian }
		localisation_key = plu_ethiopian
	}
	text = {
		trigger = { culture = dalmatian }
		localisation_key = plu_dalmatian }
	}
	text = {
		trigger = { culture = outremer }
		localisation_key = plu_outremer }
	}
	text = {
		trigger = { culture = arberian }
		localisation_key = plu_arberian }
	}
	text = {
		trigger = { culture = bosnian }
		localisation_key = plu_bosnian }
	}
	text = {
		trigger = { culture = coptic }
		localisation_key = plu_coptic }
	}
	text = {
		trigger = { culture = crimean_gothic }
		localisation_key = plu_crimean_gothic }
	}
	text = {
		trigger = { culture = meshchera }
		localisation_key = plu_meshchera }
	}
	text = {
		trigger = { culture = carantanian }
		localisation_key = plu_carantanian }
	}
	text = {
		trigger = { culture = daju }
		localisation_key = plu_daju }
	}
	text = {
		trigger = { culture = kanuri }
		localisation_key = plu_kanuri }
	}
	text = {
		trigger = { culture = hausa }
		localisation_key = plu_hausa }
	}
	text = {
		trigger = { culture = zaghawa }
		localisation_key = plu_zaghawa }
	}
	text = {
		trigger = { culture = soninke }
		localisation_key = plu_soninke }
	}
	text = {
		trigger = { culture = songhay }
		localisation_key = plu_songhay }
	}
	text = {
		trigger = { culture = hedgehog_culture }
		localisation_key = plu_hedgehog_culture }
	}
	text = {
		trigger = { culture = duck_culture }
		localisation_key = plu_duck_culture }
	}
	text = {
		trigger = { culture = dog_culture }
		localisation_key = plu_dog_culture }
	}
	text = {
		trigger = { culture = elephant_culture }
		localisation_key = plu_elephant_culture }
	}
	text = {
		trigger = { culture = dragon_culture }
		localisation_key = plu_dragon_culture }
	}
	fallback_text = {
		localisation_key = CULTURE_PLU_FALLBACK
	}
}
#Artifact ingredient label text
defined_text = {
	name = GetIngredientLabel

	text = {
		trigger = { always = yes }
		localisation_key = TXT_ARTIFACT_INGREDIENT
	}
	fallback_text = {
		localisation_key = TXT_ARTIFACT_INGREDIENT
	}
}
#Book author label text
defined_text = {
	name = GetAuthorLabel

	text = {
		trigger = { always = yes }
		localisation_key = TXT_BOOK_AUTHOR
	}
	fallback_text = {
		localisation_key = TXT_BOOK_AUTHOR
	}
}
#Book notice label text
defined_text = {
	name = GetNoticeLabel

	text = {
		trigger = { always = yes }
		localisation_key = TXT_BOOK_NOTICE
	}
	fallback_text = {
		localisation_key = TXT_BOOK_NOTICE
	}
}
#GetBaseName
defined_text = {
	name = GetShortBaseName

	text = {
		trigger = { is_offmap_tag = offmap_china }
		localisation_key = SHORT_NAME_FOR_CHINA
	}
	fallback_text = {
		localisation_key = BASE_NAME_FOR_TITLE
	}
}
#GetShortGenericName   ()
defined_text = {
	name = GetShortGenericNameGEN

	text = {
		trigger = { is_offmap_tag = offmap_china }
		localisation_key = CHINA_GEN
	}
	fallback_text = {
		localisation_key = SHORT_OFFMAP_GENERIC_NAME_GEN_FB
	}
}
#GetShortGenericName   ()
defined_text = {
	name = GetShortGenericNamePREP

	text = {
		trigger = { is_offmap_tag = offmap_china }
		localisation_key = CHINA_PREP
	}
	fallback_text = {
		localisation_key = SHORT_OFFMAP_GENERIC_NAME_PREP_FB
	}
}
#Language from culture name
defined_text = {
	name = GetLangAdjective
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = String_GetLangAdjective_Fallback
	}
	text = {
		trigger = {
			culture = roman
		}
		localisation_key = String_GetLangAdjective_Latin
	}
	text = {
		trigger = {
			culture = german
		}
		localisation_key = String_GetLangAdjective_German
	}
	text = {
		trigger = {
			culture = visigothic
		}
		localisation_key = String_GetLangAdjective_Gothic
	}
	text = {
		trigger = {
			culture = assyrian
		}
		localisation_key = String_GetLangAdjective_Aramaic
	}
	text = {
		trigger = {
			culture = romanian
		}
		localisation_key = String_GetLangAdjective_Romanian
	}
	text = {
		trigger = {
			culture = han
		}
		localisation_key = String_GetLangAdjective_Chinese
	}
	text = {
		trigger = {
			culture_group = arabic
		}
		localisation_key = String_GetLangAdjective_Arabic
	}
	fallback_text = {
		localisation_key = String_GetLangAdjective_Fallback
	}
}
#Religion.GetName,    
defined_text = {
	name = GetReligionNameGEN
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = religion_GEN_Random
	}
	text = {
		trigger = { religion = catholic }
		localisation_key = catholic_GEN
	}
	text = {
		trigger = { religion = cathar }
		localisation_key = cathar_GEN
	}
	text = {
		trigger = { religion = fraticelli }
		localisation_key = fraticelli_GEN
	}
	text = {
		trigger = { religion = waldensian }
		localisation_key = waldensian_GEN
	}
	text = {
		trigger = { religion = lollard }
		localisation_key = lollard_GEN
	}
	text = {
		trigger = { religion = orthodox }
		localisation_key = orthodox_GEN
	}
	text = {
		trigger = { religion = miaphysite }
		localisation_key = miaphysite_GEN
	}
	text = {
		trigger = { religion = monophysite }
		localisation_key = monophysite_GEN
	}
	text = {
		trigger = { religion = bogomilist }
		localisation_key = bogomilist_GEN
	}
	text = {
		trigger = { religion = monothelite }
		localisation_key = monothelite_GEN
	}
	text = {
		trigger = { religion = iconoclast }
		localisation_key = iconoclast_GEN
	}
	text = {
		trigger = { religion = paulician }
		localisation_key = paulician_GEN
	}
	text = {
		trigger = { religion = nestorian }
		localisation_key = nestorian_GEN
	}
	text = {
		trigger = { religion = messalian }
		localisation_key = messalian_GEN
	}
	text = {
		trigger = { religion = sunni }
		localisation_key = sunni_GEN
	}
	text = {
		trigger = { religion = zikri }
		localisation_key = zikri_GEN
	}
	text = {
		trigger = { religion = yazidi }
		localisation_key = yazidi_GEN
	}
	text = {
		trigger = { religion = ibadi }
		localisation_key = ibadi_GEN
	}
	text = {
		trigger = { religion = kharijite }
		localisation_key = kharijite_GEN
	}
	text = {
		trigger = { religion = shiite }
		localisation_key = shiite_GEN
	}
	text = {
		trigger = { religion = druze }
		localisation_key = druze_GEN
	}
	text = {
		trigger = { religion = hurufi }
		localisation_key = hurufi_GEN
	}
	text = {
		trigger = { religion = pagan }
		localisation_key = pagan_GEN
	}
	text = {
		trigger = { religion = norse_pagan_reformed }
		localisation_key = norse_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = norse_pagan }
		localisation_key = norse_pagan_GEN
	}
	text = {
		trigger = { religion = tengri_pagan_reformed }
		localisation_key = tengri_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = tengri_pagan }
		localisation_key = tengri_pagan_GEN
	}
	text = {
		trigger = { religion = baltic_pagan_reformed }
		localisation_key = baltic_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = baltic_pagan }
		localisation_key = baltic_pagan_GEN
	}
	text = {
		trigger = { religion = finnish_pagan_reformed }
		localisation_key = finnish_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = finnish_pagan }
		localisation_key = finnish_pagan_GEN
	}
	text = {
		trigger = { religion = aztec_reformed }
		localisation_key = aztec_reformed_GEN
	}
	text = {
		trigger = { religion = aztec }
		localisation_key = aztec_GEN
	}
	text = {
		trigger = { religion = slavic_pagan_reformed }
		localisation_key = slavic_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = slavic_pagan }
		localisation_key = slavic_pagan_GEN
	}
	text = {
		trigger = { religion = west_african_pagan_reformed }
		localisation_key = west_african_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = west_african_pagan }
		localisation_key = west_african_pagan_GEN
	}
	text = {
		trigger = { religion = zun_pagan_reformed }
		localisation_key = zun_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = zun_pagan }
		localisation_key = zun_pagan_GEN
	}
	text = {
		trigger = { religion = hellenic_pagan }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { religion = hellenic_pagan_reformed }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { religion = bon }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { religion = bon_reformed }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { religion = zoroastrian }
		localisation_key = zoroastrian_GEN
	}
	text = {
		trigger = { religion = mazdaki }
		localisation_key = mazdaki_GEN
	}
	text = {
		trigger = { religion = manichean }
		localisation_key = manichean_GEN
	}
	text = {
		trigger = { religion = khurmazta }
		localisation_key = khurmazta_GEN
	}
	text = {
		trigger = { religion = jewish }
		localisation_key = jewish_GEN
	}
	text = {
		trigger = { religion = samaritan }
		localisation_key = samaritan_GEN
	}
	text = {
		trigger = { religion = karaite }
		localisation_key = karaite_GEN
	}
	text = {
		trigger = { religion = hindu }
		localisation_key = hindu_GEN
	}
	text = {
		trigger = { religion = buddhist }
		localisation_key = buddhist_GEN
	}
	text = {
		trigger = { religion = jain }
		localisation_key = jain_GEN
	}
	text = {
		trigger = { religion = taoist }
		localisation_key = taoist_GEN
	}
	fallback_text = {
		localisation_key = religion_GEN_Fallback
	}
}
#TrueReligion.GetName,    
defined_text = {
	name = GetTrueReligionNameGEN
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = true_religion_GEN_Random
	}
	text = {
		trigger = { true_religion = catholic }
		localisation_key = catholic_GEN
	}
	text = {
		trigger = { true_religion = cathar }
		localisation_key = cathar_GEN
	}
	text = {
		trigger = { true_religion = fraticelli }
		localisation_key = fraticelli_GEN
	}
	text = {
		trigger = { true_religion = waldensian }
		localisation_key = waldensian_GEN
	}
	text = {
		trigger = { true_religion = lollard }
		localisation_key = lollard_GEN
	}
	text = {
		trigger = { true_religion = orthodox }
		localisation_key = orthodox_GEN
	}
	text = {
		trigger = { true_religion = miaphysite }
		localisation_key = miaphysite_GEN
	}
	text = {
		trigger = { true_religion = monophysite }
		localisation_key = monophysite_GEN
	}
	text = {
		trigger = { true_religion = bogomilist }
		localisation_key = bogomilist_GEN
	}
	text = {
		trigger = { true_religion = monothelite }
		localisation_key = monothelite_GEN
	}
	text = {
		trigger = { true_religion = iconoclast }
		localisation_key = iconoclast_GEN
	}
	text = {
		trigger = { true_religion = paulician }
		localisation_key = paulician_GEN
	}
	text = {
		trigger = { true_religion = nestorian }
		localisation_key = nestorian_GEN
	}
	text = {
		trigger = { true_religion = messalian }
		localisation_key = messalian_GEN
	}
	text = {
		trigger = { true_religion = sunni }
		localisation_key = sunni_GEN
	}
	text = {
		trigger = { true_religion = zikri }
		localisation_key = zikri_GEN
	}
	text = {
		trigger = { true_religion = yazidi }
		localisation_key = yazidi_GEN
	}
	text = {
		trigger = { true_religion = ibadi }
		localisation_key = ibadi_GEN
	}
	text = {
		trigger = { true_religion = kharijite }
		localisation_key = kharijite_GEN
	}
	text = {
		trigger = { true_religion = shiite }
		localisation_key = shiite_GEN
	}
	text = {
		trigger = { true_religion = druze }
		localisation_key = druze_GEN
	}
	text = {
		trigger = { true_religion = hurufi }
		localisation_key = hurufi_GEN
	}
	text = {
		trigger = { true_religion = pagan }
		localisation_key = pagan_GEN
	}
	text = {
		trigger = { true_religion = norse_pagan_reformed }
		localisation_key = norse_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = norse_pagan }
		localisation_key = norse_pagan_GEN
	}
	text = {
		trigger = { true_religion = tengri_pagan_reformed }
		localisation_key = tengri_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = tengri_pagan }
		localisation_key = tengri_pagan_GEN
	}
	text = {
		trigger = { true_religion = baltic_pagan_reformed }
		localisation_key = baltic_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = baltic_pagan }
		localisation_key = baltic_pagan_GEN
	}
	text = {
		trigger = { true_religion = finnish_pagan_reformed }
		localisation_key = finnish_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = finnish_pagan }
		localisation_key = finnish_pagan_GEN
	}
	text = {
		trigger = { true_religion = aztec_reformed }
		localisation_key = aztec_reformed_GEN
	}
	text = {
		trigger = { true_religion = aztec }
		localisation_key = aztec_GEN
	}
	text = {
		trigger = { true_religion = slavic_pagan_reformed }
		localisation_key = slavic_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = slavic_pagan }
		localisation_key = slavic_pagan_GEN
	}
	text = {
		trigger = { true_religion = west_african_pagan_reformed }
		localisation_key = west_african_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = west_african_pagan }
		localisation_key = west_african_pagan_GEN
	}
	text = {
		trigger = { true_religion = zun_pagan_reformed }
		localisation_key = zun_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = zun_pagan }
		localisation_key = zun_pagan_GEN
	}
	text = {
		trigger = { true_religion = hellenic_pagan }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { true_religion = hellenic_pagan_reformed }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { true_religion = bon }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { true_religion = bon_reformed }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { true_religion = zoroastrian }
		localisation_key = zoroastrian_GEN
	}
	text = {
		trigger = { true_religion = mazdaki }
		localisation_key = mazdaki_GEN
	}
	text = {
		trigger = { true_religion = manichean }
		localisation_key = manichean_GEN
	}
	text = {
		trigger = { true_religion = khurmazta }
		localisation_key = khurmazta_GEN
	}
	text = {
		trigger = { true_religion = jewish }
		localisation_key = jewish_GEN
	}
	text = {
		trigger = { true_religion = samaritan }
		localisation_key = samaritan_GEN
	}
	text = {
		trigger = { true_religion = karaite }
		localisation_key = karaite_GEN
	}
	text = {
		trigger = { true_religion = hindu }
		localisation_key = hindu_GEN
	}
	text = {
		trigger = { true_religion = buddhist }
		localisation_key = buddhist_GEN
	}
	text = {
		trigger = { true_religion = jain }
		localisation_key = jain_GEN
	}
	text = {
		trigger = { true_religion = taoist }
		localisation_key = taoist_GEN
	}
	fallback_text = {
		localisation_key = true_religion_GEN_Fallback
	}
}
#Capitalised version of GetFatherMother
defined_text = {
	name = GetMotherFatherCap

	text = {
		trigger = { is_female = yes }
		localisation_key = MOTHER_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FATHER_CAP
	}
	fallback_text = {
		localisation_key = FATHER_CAP
	}
}
defined_text = {
	name = GetMotherFatherCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = MOTHER_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FATHER_CAP
	}
	fallback_text = {
		localisation_key = MOTHER_CAP
	}
}
#Capitalised version of GetSonDaughter
defined_text = {
	name = GetDaughterSonCap

	text = {
		trigger = { is_female = yes }
		localisation_key = DAUGHTER_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = SON_CAP
	}
	fallback_text = {
		localisation_key = CHILD_FB_CAP
	}
}
defined_text = {
	name = GetDaughterSonCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = DAUGHTER_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = SON_CAP
	}
	fallback_text = {
		localisation_key = CHILD_FB_CAP
	}
}
#"  GetSonDaughter
defined_text = {
	name = GetDaughterSonFOA

	text = {
		trigger = { is_female = yes }
		localisation_key = DAUGHTER_FOA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = SON_FOA
	}
	fallback_text = {
		localisation_key = CHILD_FB_FOA
	}
}
defined_text = {
	name = GetDaughterSonFOAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = DAUGHTER_FOA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = SON_FOA
	}
	fallback_text = {
		localisation_key = CHILD_FB_FOA
	}
}
#""  GetSonDaughter c  
defined_text = {
	name = GetDaughterSonFOACap

	text = {
		trigger = { is_female = yes }
		localisation_key = DAUGHTER_FOA_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = SON_FOA_CAP
	}
	fallback_text = {
		localisation_key = CHILD_FB_FOA_CAP
	}
}
defined_text = {
	name = GetDaughterSonFOACapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = DAUGHTER_FOA_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = SON_FOA_CAP
	}
	fallback_text = {
		localisation_key = CHILD_FB_FOA_CAP
	}
}
#Capitalised version of GetBrotherSister
defined_text = {
	name = GetSisterBrotherCap

	text = {
		trigger = { is_female = yes }
		localisation_key = SISTER_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = BROTHER_CAP
	}
	fallback_text = {
		localisation_key = BROTHER_CAP
	}
}
defined_text = {
	name = GetSisterBrotherCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = SISTER_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = BROTHER_CAP
	}
	fallback_text = {
		localisation_key = SISTER_CAP
	}
}
#Capitalised version of GetUncleAunt
defined_text = {
	name = GetUncleAuntCap

	text = {
		trigger = { is_female = yes }
		localisation_key = AUNT_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = UNCLE_CAP
	}
	fallback_text = {
		localisation_key = UNCLE_CAP
	}
}
defined_text = {
	name = GetUncleAuntCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = AUNT_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = UNCLE_CAP
	}
	fallback_text = {
		localisation_key = AUNT_CAP
	}
}
#Capitalised version of GetLadLass
defined_text = {
	name = GetLadLassCap

	text = {
		trigger = { is_female = yes }
		localisation_key = LASS_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LAD_CAP
	}
	fallback_text = {
		localisation_key = LAD_CAP
	}
}
defined_text = {
	name = GetLadLassCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = LASS_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LAD_CAP
	}
	fallback_text = {
		localisation_key = LASS_CAP
	}
}
#Opp version of GetHersHis
defined_text = {
	name = GetHersHisOpp

	text = {
		trigger = { is_female = no }
		localisation_key = POSS_PRONOUN_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
#Capitalised version of GetHersHis
defined_text = {
	name = GetHersHisCap

	text = {
		trigger = { is_female = yes }
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
}
defined_text = {
	name = GetHersHisCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
}
#Returns the string named "" for female characters, "" string for male characters
defined_text = {
	name = GetGrandMotherGrandFatherCap

	text = {
		trigger = { is_female = yes }
		localisation_key = GMOTHER_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GFATHER_CAP
	}
	fallback_text = {
		localisation_key = GFATHER_CAP
	}
}
defined_text = {
	name = GetGrandMotherGrandFatherCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = GMOTHER_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GFATHER_CAP
	}
	fallback_text = {
		localisation_key = GMOTHER_CAP
	}
}
#Returns the string named "" for female characters, "" string for male characters
defined_text = {
	name = GetGrandMotherGrandFather

	text = {
		trigger = { is_female = yes }
		localisation_key = GMOTHER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GFATHER
	}
	fallback_text = {
		localisation_key = GFATHER
	}
}
defined_text = {
	name = GetGrandMotherGrandFatherOpp

	text = {
		trigger = { is_female = no }
		localisation_key = GMOTHER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GFATHER
	}
	fallback_text = {
		localisation_key = GMOTHER
	}
}
# ""    , ,   ,    
defined_text = {
	name = GetPrevEndTe

	text = {
		trigger = {
			NOR = {
				is_friend = PREV
				is_close_relative = PREV
				is_lover = PREV
				same_society_as = PREV
			}
		}
		localisation_key = END_TE
	}
}
#Returns the string named "" for female characters, empty string for male characters
defined_text = {
	name = GetEndA

	text = {
		trigger = { is_female = yes }
		localisation_key = END_A
	}
}
defined_text = {
	name = GetEndAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_A
	}
}
#Returns the string named "" for female characters, empty string for male characters
defined_text = {
	name = GetEndYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetEndYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
}
#/     ( )
defined_text = {
	name = GetUA

	text = {
		trigger = { is_female = yes }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_A
	}
}
defined_text = {
	name = GetUAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_U
	}
}
#Returns the string named "" for female characters, empty string for male characters
defined_text = {
	name = GetEndSoftYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_YA
	}
}
defined_text = {
	name = GetEndSoftYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_YA
	}
}
#Returns the string named "" for female characters, "" for male characters
defined_text = {
	name = GetSoftYuYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_YU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetSoftYuYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_YU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_SOFT_YU
	}
}
#Returns the string named "" for female characters, "" for male characters
defined_text = {
	name = GetSoftIYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_I
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetSoftIYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_I
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_SOFT_I
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTsKov

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KOV
	}
	fallback_text = {
		localisation_key = END_KOV
	}
}
defined_text = {
	name = GetTsKovOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOV
	}
	fallback_text = {
		localisation_key = END_TS
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTsamKam

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSAM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KAM
	}
	fallback_text = {
		localisation_key = END_KAM
	}
}
defined_text = {
	name = GetTsamKamOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSAM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KAM
	}
	fallback_text = {
		localisation_key = END_TSAM
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTsaK

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_K
	}
	fallback_text = {
		localisation_key = END_K
	}
}
defined_text = {
	name = GetTsaKOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_K
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTseKe

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KE
	}
	fallback_text = {
		localisation_key = END_KE
	}
}
defined_text = {
	name = GetTseKeOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KE
	}
	fallback_text = {
		localisation_key = END_TSE
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTsuKa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
defined_text = {
	name = GetTsuKaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_TSU
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTsyKa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
defined_text = {
	name = GetTsyKaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_TSY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTseKu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KU
	}
	fallback_text = {
		localisation_key = END_KU
	}
}
defined_text = {
	name = GetTseKuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KU
	}
	fallback_text = {
		localisation_key = END_TSE
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetTseyKom

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSEY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KOM
	}
	fallback_text = {
		localisation_key = END_KOM
	}
}
defined_text = {
	name = GetTseyKomOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSEY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOM
	}
	fallback_text = {
		localisation_key = END_TSEY
	}
}
#Returns the string named "" for female characters, "" for male characters (,     /  )
defined_text = {
	name = GetKaTse

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSE
	}
	fallback_text = {
		localisation_key = END_TSE
	}
}
defined_text = {
	name = GetKaTseOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSE
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetShkaH

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SHKA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_H
	}
	fallback_text = {
		localisation_key = END_H
	}
}
defined_text = {
	name = GetShkaHOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SHKA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_H
	}
	fallback_text = {
		localisation_key = END_SHKA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetChkaK

	text = {
		trigger = { is_female = yes }
		localisation_key = END_CHKA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_K
	}
	fallback_text = {
		localisation_key = END_K
	}
}
defined_text = {
	name = GetChkaKOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_CHKA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_K
	}
	fallback_text = {
		localisation_key = END_CHKA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetChkuKa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_CHKU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
defined_text = {
	name = GetChkaKOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_CHKU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_CHKU
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetChkiKa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_CHKI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
defined_text = {
	name = GetChkiKaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_CHKI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_CHKI
	}
}

#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetChkoyKom

	text = {
		trigger = { is_female = yes }
		localisation_key = END_CHKOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KOM
	}
	fallback_text = {
		localisation_key = END_KOM
	}
}
defined_text = {
	name = GetChkoyKomOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_CHKOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOM
	}
	fallback_text = {
		localisation_key = END_CHKOY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetYkaIn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_IN
	}
}
defined_text = {
	name = GetYkaInOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetKaIn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_IN
	}
}
defined_text = {
	name = GetKaInOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetKiIna

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_INA
	}
	fallback_text = {
		localisation_key = END_INA
	}
}
defined_text = {
	name = GetKiInaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_INA
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetKoyInom

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_INOM
	}
	fallback_text = {
		localisation_key = END_INOM
	}
}
defined_text = {
	name = GetKoyInomOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_INOM
	}
	fallback_text = {
		localisation_key = END_KOY
	}
}
# "/" (, /)
defined_text = {
	name = GetYkoyInom

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_INOM
	}
	fallback_text = {
		localisation_key = END_INOM
	}
}
defined_text = {
	name = GetYkoyInomOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_INOM
	}
	fallback_text = {
		localisation_key = END_YKOY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetKaEts

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ETS
	}
}
defined_text = {
	name = GetKaEtsOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetKiTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
defined_text = {
	name = GetKiTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
# "/" (, /)
defined_text = {
	name = GetKuTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
defined_text = {
	name = GetKuTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_KU
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetKoyTsem

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSEM
	}
	fallback_text = {
		localisation_key = END_TSEM
	}
}
defined_text = {
	name = GetKoyTsemOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSEM
	}
	fallback_text = {
		localisation_key = END_KOY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetYkaEts

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ETS
	}
}
defined_text = {
	name = GetYkaEtsOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_YKA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetItsaEts

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ETS
	}
}
defined_text = {
	name = GetItsaEtsOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ITSA
	}
}
#Returns the string named "" for female characters, "" for male characters.  .
defined_text = {
	name = GetItsuTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
defined_text = {
	name = GetItsuTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_ITSU
	}
}
#Returns the string named "" for female characters, "" for male characters.  .
defined_text = {
	name = GetItsyTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
defined_text = {
	name = GetItsyTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_ITSY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /).  .
defined_text = {
	name = GetItseyTsem

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSEY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSEM
	}
	fallback_text = {
		localisation_key = END_TSEM
	}
}
defined_text = {
	name = GetItseyTsemOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSEY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSEM
	}
	fallback_text = {
		localisation_key = END_ITSEY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /).  .
defined_text = {
	name = GetItsySoftTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_TSA
	}
	fallback_text = {
		localisation_key = END_SOFT_TSA
	}
}
defined_text = {
	name = GetItsySoftTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_TSA
	}
	fallback_text = {
		localisation_key = END_ITSY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetIstkaEts

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ISTKA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ETS
	}
}
defined_text = {
	name = GetIstkaEtsOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ISTKA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ISTKA
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetIstkuTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ISTKU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
defined_text = {
	name = GetIstkuTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ISTKU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_ISTKU
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetIstkiTsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ISTKI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_TSA
	}
}
defined_text = {
	name = GetIstkiTsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ISTKI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_ISTKI
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetIstkoyTsem

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ISTKOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSEM
	}
	fallback_text = {
		localisation_key = END_TSEM
	}
}
defined_text = {
	name = GetIstkoyTsemOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ISTKOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSEM
	}
	fallback_text = {
		localisation_key = END_ISTKOY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetEtaEtot

	text = {
		trigger = { is_female = yes }
		localisation_key = END_A
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OT
	}
	fallback_text = {
		localisation_key = END_OT
	}
}
defined_text = {
	name = GetEtaEtotOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_A
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OT
	}
	fallback_text = {
		localisation_key = END_A
	}
}
#    (/)
defined_text = {
	name = GetEyIm

	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
defined_text = {
	name = GetEyImOpp

	text = {
		trigger = { is_female = no }
		localisation_key = EV_HER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = EV_HER
	}
}
#    (/)
defined_text = {
	name = GetOyIm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
defined_text = {
	name = GetOyImOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
#    (/)
defined_text = {
	name = GetOyYm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YM
	}
	fallback_text = {
		localisation_key = END_YM
	}
}
defined_text = {
	name = GetOyYmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YM
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
#    (/,  /)
defined_text = {
	name = GetOyOm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
defined_text = {
	name = GetOyOmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
# /,  /
defined_text = {
	name = GetOyOgo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_OGO
	}
}
defined_text = {
	name = GetOyOgoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
#   (/)
defined_text = {
	name = GetOyaOy

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OYA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetOyaOyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OYA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OYA
	}
}
#    (/  ""  "")
defined_text = {
	name = GetEyEm

	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_EM
	}
}
defined_text = {
	name = GetEyEmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = EV_HER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = EV_HER
	}
}
#    (/  ""  "")
defined_text = {
	name = GetSoftEyEm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_EY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_EM
	}
}
defined_text = {
	name = GetSoftEyEmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_EY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_SOFT_EY
	}
}
#    (/  " "  " ")
defined_text = {
	name = GetEyYom

	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YOM
	}
	fallback_text = {
		localisation_key = END_YOM
	}
}
defined_text = {
	name = GetEyYomOpp

	text = {
		trigger = { is_female = no }
		localisation_key = EV_HER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YOM
	}
	fallback_text = {
		localisation_key = EV_HER
	}
}
# "/" (  "?")
defined_text = {
	name = GetAyaIy

	text = {
		trigger = { is_female = yes }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IY
	}
	fallback_text = {
		localisation_key = END_IY
	}
}
defined_text = {
	name = GetAyaIyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IY
	}
	fallback_text = {
		localisation_key = AYA_POSTFIX
	}
}
# "/" (  "?")
defined_text = {
	name = GetAyaYy

	text = {
		trigger = { is_female = yes }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YY
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
defined_text = {
	name = GetAyaYyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YY
	}
	fallback_text = {
		localisation_key = AYA_POSTFIX
	}
}
# "/" (  "?")
defined_text = {
	name = GetPreferenceAyaYy

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_YY
	}
	fallback_text = {
		localisation_key = AYA_POSTFIX
	}
}
defined_text = {
	name = GetPreferenceAyaYyOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_YY
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
# "/"
defined_text = {
	name = GetPreferenceTsuKa

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_TSU
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_TSU
	}
}
defined_text = {
	name = GetPreferenceTsuKaOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_TSU
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
# "/" (  "?")
defined_text = {
	name = GetYayaIy

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YAYA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IY
	}
	fallback_text = {
		localisation_key = END_IY
	}
}
defined_text = {
	name = GetYayaIyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YAYA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IY
	}
	fallback_text = {
		localisation_key = END_YAYA
	}
}
# "/" (  "?")
defined_text = {
	name = GetAyaOy

	text = {
		trigger = { is_female = yes }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetAyaOyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = AYA_POSTFIX
	}
}
# "/" (, /)
defined_text = {
	name = GetLasLsya

	text = {
		trigger = { is_female = yes }
		localisation_key = END_LAS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_LSYA
	}
	fallback_text = {
		localisation_key = END_LSYA
	}
}
defined_text = {
	name = GetLasLsyaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_LAS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_LSYA
	}
	fallback_text = {
		localisation_key = END_LAS
	}
}# "/" (, /)
defined_text = {
	name = GetLasSya

	text = {
		trigger = { is_female = yes }
		localisation_key = END_LAS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SYA
	}
	fallback_text = {
		localisation_key = END_SYA
	}
}
defined_text = {
	name = GetLasSyaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_LAS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_SYA
	}
	fallback_text = {
		localisation_key = END_LAS
	}
}
# "/" (, /)
defined_text = {
	name = GetUEgo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
defined_text = {
	name = GetUEgoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = END_U
	}
}
# "/" (, /)
defined_text = {
	name = GetUOgo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_OGO
	}
}
defined_text = {
	name = GetUOgoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_U
	}
}
# "/" (, /)
defined_text = {
	name = GetUyuOgo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_UYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_OGO
	}
}
defined_text = {
	name = GetUyuOgoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_UYU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_UYU
	}
}
# "/" (, /)
defined_text = {
	name = GetUyuEgo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_UYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
defined_text = {
	name = GetUyuEgoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_UYU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = END_UYU
	}
}
# "/" (, /)
defined_text = {
	name = GetYuEgo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
defined_text = {
	name = GetYuEgoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = END_YU
	}
}
# "/" (, /)
defined_text = {
	name = GetUAka

	text = {
		trigger = { is_female = yes }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_AKA
	}
	fallback_text = {
		localisation_key = END_AKA
	}
}
defined_text = {
	name = GetUAkaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_U
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_AKA
	}
	fallback_text = {
		localisation_key = END_U
	}
}
# "/" (, /)
defined_text = {
	name = GetRaEr

	text = {
		trigger = { is_female = yes }
		localisation_key = END_RA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ER
	}
	fallback_text = {
		localisation_key = END_ER
	}
}
defined_text = {
	name = GetRaErOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_RA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ER
	}
	fallback_text = {
		localisation_key = END_RA
	}
}
# "/" (, /)
defined_text = {
	name = GetGlaYog

	text = {
		trigger = { is_female = yes }
		localisation_key = END_GLA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YOG
	}
	fallback_text = {
		localisation_key = END_YOG
	}
}
defined_text = {
	name = GetGlaYogOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_GLA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YOG
	}
	fallback_text = {
		localisation_key = END_GLA
	}
}
# "/" (, /)
defined_text = {
	name = GetNaEn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_NA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetNaEnOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_NA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
# "/" (, /)
defined_text = {
	name = GetSoftNaEn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetSoftNaEnOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_SOFT_NA
	}
}
# "/o" (, /)
defined_text = {
	name = GetNaOn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_NA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HE
	}
	fallback_text = {
		localisation_key = EV_HE
	}
}
defined_text = {
	name = GetNaOnOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_NA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HE
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
# "/" (, /)
defined_text = {
	name = GetNaIn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_NA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_IN
	}
}
defined_text = {
	name = GetNaInOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_NA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
# "/" (, /)
defined_text = {
	name = GetYnaIn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YNA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_IN
	}
}
defined_text = {
	name = GetYnaInOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YNA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IN
	}
	fallback_text = {
		localisation_key = END_YNA
	}
}
# "/" (, /)
defined_text = {
	name = GetYnaEn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YNA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetYnaEnOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YNA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_YNA
	}
}
# "/" (, /)
defined_text = {
	name = GetInaEn

	text = {
		trigger = { is_female = yes }
		localisation_key = END_INA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetInaEnOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_INA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_INA
	}
}
# "/<>" (, /)
defined_text = {
	name = GetEndIna

	text = {
		trigger = { is_female = yes }
		localisation_key = END_INA
	}
}
defined_text = {
	name = GetEndInaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_INA
	}
}
# "/<>" (, /)
defined_text = {
	name = GetEndInya

	text = {
		trigger = { is_female = yes }
		localisation_key = END_INYA
	}
}
defined_text = {
	name = GetEndInyaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_INYA
	}
}
# "/" (, /)
defined_text = {
	name = GetIneyOm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_INEY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
defined_text = {
	name = GetIneyOmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_INEY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_INEY
	}
}
# "/" (, /)
defined_text = {
	name = GetInaEts

	text = {
		trigger = { is_female = yes }
		localisation_key = END_INA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ETS
	}
}
defined_text = {
	name = GetInaEtsOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_INA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_INA
	}
}
# "/<>" (, /)
defined_text = {
	name = GetEndNa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_NA
	}
}
defined_text = {
	name = GetEndNaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_NA
	}
}
# "/<>" (, /)
defined_text = {
	name = GetEndKa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
}
defined_text = {
	name = GetEndKaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
}
# "/" (, /)
defined_text = {
	name = GetKiA

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_A
	}
}
defined_text = {
	name = GetKiAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
# "/" (, /)
defined_text = {
	name = GetKuA

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_A
	}
}
defined_text = {
	name = GetKuAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_KU
	}
}
# "/" (, /)
defined_text = {
	name = GetKeU

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_U
	}
	fallback_text = {
		localisation_key = END_U
	}
}
defined_text = {
	name = GetKeUOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_U
	}
	fallback_text = {
		localisation_key = END_KE
	}
}
# "/" (, /)
defined_text = {
	name = GetKeYe

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_E
	}
	fallback_text = {
		localisation_key = END_E
	}
}
defined_text = {
	name = GetKeYeOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_E
	}
	fallback_text = {
		localisation_key = END_KE
	}
}
# "/" (, /)
defined_text = {
	name = GetKoyOm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
defined_text = {
	name = GetKoyOmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_KOY
	}
}
# "/" (, /)
defined_text = {
	name = GetYkiYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetYkiYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YKI
	}
}
# "/" (, /)
defined_text = {
	name = GetYkoyEm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_EM
	}
}
defined_text = {
	name = GetYkoyEmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_YKOY
	}
}
# "/" (, /)
defined_text = {
	name = GetOyEm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_EM
	}
}
defined_text = {
	name = GetOyEmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
# "/" (, /)
defined_text = {
	name = GetKaN

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_N
	}
	fallback_text = {
		localisation_key = END_N
	}
}
defined_text = {
	name = GetKaNOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_N
	}
	fallback_text = {
		localisation_key = END_KA
	}
}
# "/" (, /)
defined_text = {
	name = GetKiNa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_NA
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
defined_text = {
	name = GetKiNaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_NA
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
# "/" (, /)
defined_text = {
	name = GetKuNa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_NA
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
defined_text = {
	name = GetKuNaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_NA
	}
	fallback_text = {
		localisation_key = END_KU
	}
}
# "/" (, /)
defined_text = {
	name = GetKuINa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_INA
	}
	fallback_text = {
		localisation_key = END_INA
	}
}
defined_text = {
	name = GetKuINaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_INA
	}
	fallback_text = {
		localisation_key = END_KU
	}
}
# "/" (, /)
defined_text = {
	name = GetYKiINa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKI
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_INA
	}
	fallback_text = {
		localisation_key = END_INA
	}
}
defined_text = {
	name = GetYKiINaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKI
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_INA
	}
	fallback_text = {
		localisation_key = END_YKI
	}
}
# "/" (, /)
defined_text = {
	name = GetYKuYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetYKuYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
# "/" (, /)
defined_text = {
	name = GetKoyNom

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_NOM
	}
	fallback_text = {
		localisation_key = END_NOM
	}
}
defined_text = {
	name = GetKoyNomOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_NOM
	}
	fallback_text = {
		localisation_key = END_KOY
	}
}
#Returns the string named "" for female characters, nothing for male characters
defined_text = {
	name = GetEndItsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSA
	}
}
defined_text = {
	name = GetEndItsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSA
	}
}
#Returns the string named "" for female characters, "" for male characters
defined_text = {
	name = GetSoftItsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT
	}
	fallback_text = {
		localisation_key = END_SOFT
	}
}
defined_text = {
	name = GetSoftItsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT
	}
	fallback_text = {
		localisation_key = END_ITSA
	}
}
# "/<>" (, /)
defined_text = {
	name = GetEndNitsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_NITSA
	}
}
defined_text = {
	name = GetEndNitsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_NITSA
	}
}
#   "/" (, /)
defined_text = {
	name = GetSoftNitsuYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NITSU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetSoftNitsuYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NITSU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_SOFT_NITSU
	}
}
#   "/" (, /)
defined_text = {
	name = GetSoftNitsyYa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NITSY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
defined_text = {
	name = GetSoftNitsyYaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NITSY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	fallback_text = {
		localisation_key = END_SOFT_NITSU
	}
}
#   "/" (, /)
defined_text = {
	name = GetSoftNitseE

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NITSE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_E
	}
	fallback_text = {
		localisation_key = END_E
	}
}
defined_text = {
	name = GetSoftNitseEOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NITSE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_E
	}
	fallback_text = {
		localisation_key = END_SOFT_NITSE
	}
}
#   "/" (, /)
defined_text = {
	name = GetSoftNitseyEm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NITSEY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_EM
	}
}
defined_text = {
	name = GetSoftNitseyEmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NITSEY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_EM
	}
	fallback_text = {
		localisation_key = END_SOFT_NITSEY
	}
}
# "/" (,    /  )
defined_text = {
	name = GetYaSoftNitse

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NITSE
	}
	fallback_text = {
		localisation_key = END_SOFT_NITSE
	}
}
defined_text = {
	name = GetYaSoftNitseOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NITSE
	}
	fallback_text = {
		localisation_key = END_YA
	}
}
# "/<>" (, /)
defined_text = {
	name = GetEndSha

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SHA
	}
}
defined_text = {
	name = GetEndShaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SHA
	}
}
#/    
defined_text = {
	name = GetNayaEts

	text = {
		trigger = { is_female = yes }
		localisation_key = END_NAYA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_ETS
	}
}
defined_text = {
	name = GetNayaEtsOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_NAYA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETS
	}
	fallback_text = {
		localisation_key = END_NAYA
	}
}
# "/" (, /)
defined_text = {
	name = GetLaYol

	text = {
		trigger = { is_female = yes }
		localisation_key = FEMALE_ENDING_E
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YOL
	}
	fallback_text = {
		localisation_key = END_YOL
	}
}
defined_text = {
	name = GetLaYolOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEMALE_ENDING_E
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YOL
	}
	fallback_text = {
		localisation_key = FEMALE_ENDING_E
	}
}
# "/" (, /)
defined_text = {
	name = GetYMu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_Y
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_MU
	}
	fallback_text = {
		localisation_key = END_MU
	}
}
defined_text = {
	name = GetYMuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_Y
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_MU
	}
	fallback_text = {
		localisation_key = END_Y
	}
}
# .  "/" (, /)
defined_text = {
	name = GetYGo

	text = {
		trigger = { is_female = yes }
		localisation_key = END_Y
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_GO
	}
	fallback_text = {
		localisation_key = END_GO
	}
}
defined_text = {
	name = GetYGoOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_Y
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_GO
	}
	fallback_text = {
		localisation_key = END_Y
	}
}
# "/" (, /) THIS + FROM
defined_text = {
	name = GetFromEndEA

	text = {
		trigger = {
			is_female = yes
			ROOT_FROM = { is_female = yes }
		}
		localisation_key = END_E
	}
	text = {
		trigger = {
			NAND = {
				is_female = yes
				ROOT_FROM = { is_female = yes }
			}
		}
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_A
	}
}
# "/" (, /) THIS + ROOT
defined_text = {
	name = GetRootEndEA

	text = {
		trigger = {
			is_female = yes
			ROOT = { is_female = yes }
		}
		localisation_key = END_E
	}
	text = {
		trigger = {
			NAND = {
				is_female = yes
				ROOT = { is_female = yes }
			}
		}
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_A
	}
}
#"/"    
defined_text = {
	name = GetFriendMF

	text = {
		trigger = { is_female = yes }
		localisation_key = REL_FRIEND_FEMALE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = REL_FRIEND_MALE
	}
	fallback_text = {
		localisation_key = REL_FRIEND_MALE
	}
}
defined_text = {
	name = GetFriendMFOpp

	text = {
		trigger = { is_female = no }
		localisation_key = REL_FRIEND_FEMALE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = REL_FRIEND_MALE
	}
	fallback_text = {
		localisation_key = REL_FRIEND_FEMALE
	}
}
#"/"    
defined_text = {
	name = GetFriendMFACC

	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_FEMALE_ACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_MALE_ACC
	}
	fallback_text = {
		localisation_key = FRIEND_MALE_ACC
	}
}
defined_text = {
	name = GetFriendMFOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_FEMALE_ACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_MALE_ACC
	}
	fallback_text = {
		localisation_key = FRIEND_FEMALE_ACC
	}
}
#"/"    
defined_text = {
	name = GetFriendMFGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_FEMALE_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_MALE_GEN
	}
	fallback_text = {
		localisation_key = FRIEND_MALE_GEN
	}
}
defined_text = {
	name = GetFriendMFOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_FEMALE_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_MALE_GEN
	}
	fallback_text = {
		localisation_key = FRIEND_FEMALE_GEN
	}
}
#"/"    
defined_text = {
	name = GetFriendMFDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_FEMALE_DAT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_MALE_DAT
	}
	fallback_text = {
		localisation_key = FRIEND_MALE_DAT
	}
}
defined_text = {
	name = GetFriendMFOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_FEMALE_DAT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_MALE_DAT
	}
	fallback_text = {
		localisation_key = FRIEND_FEMALE_DAT
	}
}
#"/"    
defined_text = {
	name = GetFriendMFINS

	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_FEMALE_INS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_MALE_INS
	}
	fallback_text = {
		localisation_key = FRIEND_MALE_INS
	}
}
defined_text = {
	name = GetFriendMFOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_FEMALE_INS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_MALE_INS
	}
	fallback_text = {
		localisation_key = FRIEND_FEMALE_INS
	}
}
#  "/"    
defined_text = {
	name = GetFriendMFPREP

	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_FEMALE_PREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_MALE_PREP
	}
	fallback_text = {
		localisation_key = FRIEND_MALE_PREP
	}
}
defined_text = {
	name = GetFriendMFOppPREP

	text = {
		trigger = { is_female = no }
		localisation_key = FRIEND_FEMALE_PREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FRIEND_MALE_PREP
	}
	fallback_text = {
		localisation_key = FRIEND_FEMALE_PREP
	}
}
#"/"    
defined_text = {
	name = GetCroneElder

	text = {
		trigger = { is_female = yes }
		localisation_key = OLDMAN_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = OLDMAN_MAL
	}
	fallback_text = {
		localisation_key = OLDMAN_MAL
	}
}
defined_text = {
	name = GetCroneElderOpp

	text = {
		trigger = { is_female = no }
		localisation_key = OLDMAN_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = OLDMAN_MAL
	}
	fallback_text = {
		localisation_key = OLDMAN_FEM
	}
}
#"/"    
defined_text = {
	name = GetWhoreLover

	text = {
		trigger = { is_female = yes }
		localisation_key = WHORE_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = REL_LOVER_MALE
	}
	fallback_text = {
		localisation_key = REL_LOVER_MALE
	}
}
defined_text = {
	name = GetWhoreLoverOpp

	text = {
		trigger = { is_female = no }
		localisation_key = WHORE_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = REL_LOVER_MALE
	}
	fallback_text = {
		localisation_key = WHORE_FEM
	}
}
#"/"    
defined_text = {
	name = GetKitchenEmployee

	text = {
		trigger = { is_female = yes }
		localisation_key = KITCHEN_GIRL
	}
	text = {
		trigger = { is_female = no }
		localisation_key = KITCHEN_BOY
	}
	fallback_text = {
		localisation_key = KITCHEN_BOY
	}
}
defined_text = {
	name = GetKitchenEmployeeOpp

	text = {
		trigger = { is_female = no }
		localisation_key = KITCHEN_GIRL
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = KITCHEN_BOY
	}
	fallback_text = {
		localisation_key = KITCHEN_GIRL
	}
}
#"/"    
defined_text = {
	name = GetKitchenEmployeeGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = KITCHEN_GIRL_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = KITCHEN_BOY_GEN
	}
	fallback_text = {
		localisation_key = KITCHEN_BOY_GEN
	}
}
defined_text = {
	name = GetKitchenEmployeeOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = KITCHEN_GIRL_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = KITCHEN_BOY_GEN
	}
	fallback_text = {
		localisation_key = KITCHEN_GIRL_GEN
	}
}
#  - "/"    
defined_text = {
	name = GetKitchenEmployeePREP

	text = {
		trigger = { is_female = yes }
		localisation_key = KITCHEN_GIRL_PREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = KITCHEN_BOY_PREP
	}
	fallback_text = {
		localisation_key = KITCHEN_BOY_PREP
	}
}
defined_text = {
	name = GetKitchenEmployeeOppPREP

	text = {
		trigger = { is_female = no }
		localisation_key = KITCHEN_GIRL_PREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = KITCHEN_BOY_PREP
	}
	fallback_text = {
		localisation_key = KITCHEN_GIRL_PREP
	}
}
#"/", "/", "/"    
defined_text = {
	name = GetAgedPerson
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LASS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LAD
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_FEMALE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_FB
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
defined_text = {
	name = GetAgedPersonOpp
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LASS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LAD
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_FEMALE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_FB
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
#"/", "/", "/"    
defined_text = {
	name = GetAgedPersonM
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LASS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LAD
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_FEMALE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_MALE
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
defined_text = {
	name = GetAgedPersonMOpp
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LASS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LAD
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_FEMALE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_MALE
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
#"/", "/", "/"  (-)    
defined_text = {
	name = GetAgedPersonC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LASS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LAD
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_FEMALE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_FB
	}
	fallback_text = {
		localisation_key = CHILD_FB
	}
}
defined_text = {
	name = GetAgedPersonCOpp
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LASS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LAD
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = IS_FEMALE
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_FB
	}
	fallback_text = {
		localisation_key = CHILD_FB
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonACC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
defined_text = {
	name = GetAgedPersonOppACC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
#"/", "/", "/"  (-)      . 
defined_text = {
	name = GetAgedPersonCACC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHILD_FB_ACC
	}
}
defined_text = {
	name = GetAgedPersonCOppACC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHILD_FB_ACC
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonMACC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = MAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
defined_text = {
	name = GetAgedPersonMOppACC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = MAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
defined_text = {
	name = GetAgedPersonOppGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
#"/", "/", "/"  (-)      . 
defined_text = {
	name = GetAgedPersonCGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHILD_FB_ACC
	}
}
defined_text = {
	name = GetAgedPersonCOppGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHILD_FB_ACC
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonMGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = MAN_GEN
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
defined_text = {
	name = GetAgedPersonMOppGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = MAN_GEN
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonINS
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_INS
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_INS
	}
}
defined_text = {
	name = GetAgedPersonOppINS
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_INS
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_INS
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonPREP
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_PREP
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_PREP
	}
}
defined_text = {
	name = GetAgedPersonOppPREP
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_PREP
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_PREP
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonDAT
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_DAT
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_DAT
	}
}
defined_text = {
	name = GetAgedPersonOppDAT
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSE_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CAT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCK_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOG_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LGIRL_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			NOT = { age = 12 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = LBOY_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = GIRL_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 12
			NOT = { age = 23 }
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = BOY_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = WOMAN_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			age = 23
			NOR = {
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = HUMAN_DAT
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_DAT
	}
}
#"/ "
defined_text = {
	name = GetHighChieftessChief

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_HIGH_CHIEF
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_HIGH_CHIEF
	}
	fallback_text = {
		localisation_key = MAL_HIGH_CHIEF
	}
}
defined_text = {
	name = GetHighChieftessChiefOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_HIGH_CHIEF
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_HIGH_CHIEF
	}
	fallback_text = {
		localisation_key = FEM_HIGH_CHIEF
	}
}
defined_text = {
	name = GetHighChieftessChiefCap

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_HIGH_CHIEF_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_HIGH_CHIEF_CAP
	}
	fallback_text = {
		localisation_key = MAL_HIGH_CHIEF_CAP
	}
}
defined_text = {
	name = GetHighChieftessChiefCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = FEM_HIGH_CHIEF_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_HIGH_CHIEF_CAP
	}
	fallback_text = {
		localisation_key = FEM_HIGH_CHIEF_CAP
	}
}
#"/"
defined_text = {
	name = GetOverlord

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_OVERLORD
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_OVERLORD
	}
	fallback_text = {
		localisation_key = MAL_OVERLORD
	}
}
defined_text = {
	name = GetOverlordOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_OVERLORD
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_OVERLORD
	}
	fallback_text = {
		localisation_key = FEM_OVERLORD
	}
}
defined_text = {
	name = GetOverlordCap

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_OVERLORD_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_OVERLORD_CAP
	}
	fallback_text = {
		localisation_key = MAL_OVERLORD_CAP
	}
}
defined_text = {
	name = GetOverlordCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = FEM_OVERLORD_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_OVERLORD_CAP
	}
	fallback_text = {
		localisation_key = FEM_OVERLORD_CAP
	}
}
#"/" 
defined_text = {
	name = GetLordLadyCap

	text = {
		trigger = { is_female = yes }
		localisation_key = FEMALE_HONORIFIC_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MALE_HONORIFIC_CAP
	}
	fallback_text = {
		localisation_key = MALE_HONORIFIC_CAP
	}
}
defined_text = {
	name = GetLordLadyCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEMALE_HONORIFIC_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MALE_HONORIFIC_CAP
	}
	fallback_text = {
		localisation_key = FEMALE_HONORIFIC_CAP
	}
}
#"/" (. )
defined_text = {
	name = GetLordLadyGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = LADY_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LORD_GEN
	}
	fallback_text = {
		localisation_key = LORD_GEN
	}
}
defined_text = {
	name = GetLordLadyOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = LADY_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LORD_GEN
	}
	fallback_text = {
		localisation_key = LADY_GEN
	}
}
#"/" (. )
defined_text = {
	name = GetLordLadyACC

	text = {
		trigger = { is_female = yes }
		localisation_key = LADY_ACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LORD_ACC
	}
	fallback_text = {
		localisation_key = LORD_ACC
	}
}
defined_text = {
	name = GetLordLadyOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = LADY_ACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LORD_ACC
	}
	fallback_text = {
		localisation_key = LADY_ACC
	}
}
#"/" (. )
defined_text = {
	name = GetLordLadyDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = LADY_DAT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LORD_DAT
	}
	fallback_text = {
		localisation_key = LORD_DAT
	}
}
defined_text = {
	name = GetLordLadyOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = LADY_DAT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LORD_DAT
	}
	fallback_text = {
		localisation_key = LADY_DAT
	}
}
#"/" ( )
defined_text = {
	name = GetMotherFatherGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = MOTHER_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FATHER_GEN
	}
	fallback_text = {
		localisation_key = FATHER_GEN
	}
}
defined_text = {
	name = GetMotherFatherOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = MOTHER_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FATHER_GEN
	}
	fallback_text = {
		localisation_key = MOTHER_GEN
	}
}
#"/" ( )
defined_text = {
	name = GetMotherFatherDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = MOTHER_DAT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FATHER_DAT
	}
	fallback_text = {
		localisation_key = FATHER_DAT
	}
}
defined_text = {
	name = GetMotherFatherOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = MOTHER_DAT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FATHER_DAT
	}
	fallback_text = {
		localisation_key = MOTHER_DAT
	}
}
#"/" (. )
defined_text = {
	name = GetMotherFatherPREP

	text = {
		trigger = { is_female = yes }
		localisation_key = MOTHER_PREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FATHER_PREP
	}
	fallback_text = {
		localisation_key = FATHER_PREP
	}
}
defined_text = {
	name = GetMotherFatherOppPREP

	text = {
		trigger = { is_female = no }
		localisation_key = MOTHER_PREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FATHER_PREP
	}
	fallback_text = {
		localisation_key = MOTHER_PREP
	}
}
#"/" (. )
defined_text = {
	name = GetMotherFatherINS

	text = {
		trigger = { is_female = yes }
		localisation_key = MOTHER_INS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = FATHER_INS
	}
	fallback_text = {
		localisation_key = FATHER_INS
	}
}
defined_text = {
	name = GetMotherFatherOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = MOTHER_INS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = FATHER_INS
	}
	fallback_text = {
		localisation_key = MOTHER_INS
	}
}
#"/" (. )
defined_text = {
	name = GetHusbandWifeACC

	text = {
		trigger = { is_female = yes }
		localisation_key = WIFE_ACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HUSBAND_GEN
	}
	fallback_text = {
		localisation_key = WIFE_ACC
	}
}
defined_text = {
	name = GetHusbandWifeOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = WIFE_ACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HUSBAND_GEN
	}
	fallback_text = {
		localisation_key = WIFE_ACC
	}
}
#"/" (. )
defined_text = {
	name = GetHusbandWifeDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = WIFE_DAT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HUSBAND_DAT
	}
	fallback_text = {
		localisation_key = WIFE_DAT
	}
}
defined_text = {
	name = GetHusbandWifeOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = WIFE_DAT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HUSBAND_DAT
	}
	fallback_text = {
		localisation_key = WIFE_DAT
	}
}
#"/" (. )
defined_text = {
	name = GetHusbandWifeINS

	text = {
		trigger = { is_female = yes }
		localisation_key = WIFE_INS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HUSBAND_INS
	}
	fallback_text = {
		localisation_key = WIFE_INS
	}
}
defined_text = {
	name = GetHusbandWifeOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = WIFE_INS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HUSBAND_INS
	}
	fallback_text = {
		localisation_key = WIFE_INS
	}
}
#"/" (. )
defined_text = {
	name = GetHusbandWifeGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = WIFE_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HUSBAND_GEN
	}
	fallback_text = {
		localisation_key = WIFE_GEN
	}
}
defined_text = {
	name = GetHusbandWifeOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = WIFE_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HUSBAND_GEN
	}
	fallback_text = {
		localisation_key = WIFE_GEN
	}
}
#"/" (. )
defined_text = {
	name = GetHusbandWifePREP

	text = {
		trigger = { is_female = yes }
		localisation_key = WIFE_PREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HUSBAND_PREP
	}
	fallback_text = {
		localisation_key = WIFE_PREP
	}
}
defined_text = {
	name = GetHusbandWifeOppPREP

	text = {
		trigger = { is_female = no }
		localisation_key = WIFE_PREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HUSBAND_PREP
	}
	fallback_text = {
		localisation_key = WIFE_PREP
	}
}
#"/"
defined_text = {
	name = GetMarried

	text = {
		trigger = { is_female = yes }
		localisation_key = ZAMUZHEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = ZHENAT
	}
	fallback_text = {
		localisation_key = V_BRAKE
	}
}
defined_text = {
	name = GetMarriedOpp

	text = {
		trigger = { is_female = no }
		localisation_key = ZAMUZHEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = ZHENAT
	}
	fallback_text = {
		localisation_key = V_BRAKE
	}
}
#"  /"
defined_text = {
	name = GetToMarry

	text = {
		trigger = { is_female = yes }
		localisation_key = ZAMUZH
	}
	text = {
		trigger = { is_female = no }
		localisation_key = ZHENITSA
	}
	fallback_text = {
		localisation_key = ZHENITSA
	}
}
defined_text = {
	name = GetToMarryOpp

	text = {
		trigger = { is_female = no }
		localisation_key = ZAMUZH
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = ZHENITSA
	}
	fallback_text = {
		localisation_key = ZHENITSA
	}
}
#"  /"
defined_text = {
	name = GetHasMarried

	text = {
		trigger = { is_female = yes }
		localisation_key = VYSHLA_ZAMUZH
	}
	text = {
		trigger = { is_female = no }
		localisation_key = ZHENILSYA
	}
	fallback_text = {
		localisation_key = ZHENILSYA
	}
}
defined_text = {
	name = GetHasMarriedOpp

	text = {
		trigger = { is_female = no }
		localisation_key = VYSHLA_ZAMUZH
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = ZHENILSYA
	}
	fallback_text = {
		localisation_key = ZHENILSYA
	}
}
#"/" (   / )
defined_text = {
	name = GetMarryZaNa

	text = {
		trigger = { is_female = yes }
		localisation_key = MARRY_ZA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MARRY_NA
	}
	fallback_text = {
		localisation_key = MARRY_NA
	}
}
defined_text = {
	name = GetMarryZaNaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = MARRY_ZA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MARRY_NA
	}
	fallback_text = {
		localisation_key = MARRY_ZA
	}
}
#" / " (    /  )
defined_text = {
	name = GetMarryHimHer

	text = {
		trigger = { is_female = yes }
		localisation_key = ZA_NEGO
	}
	text = {
		trigger = { is_female = no }
		localisation_key = NA_NEY
	}
	fallback_text = {
		localisation_key = NA_NEY
	}
}
defined_text = {
	name = GetMarryHimHerOpp

	text = {
		trigger = { is_female = no }
		localisation_key = ZA_NEGO
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = NA_NEY
	}
	fallback_text = {
		localisation_key = NA_NEY
	}
}
#" / ()" (      ROOT    FROM, , "[] "(  - ), "[] /[] "(  - ))
defined_text = {
	name = GetInitRoleOnFrom #DONT USE IT WITN [From.<>]!

	text = {
		trigger = { is_female = yes }
		localisation_key = O_MNOY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = _NEYNIM
	}
	fallback_text = {
		localisation_key = _NEYNIM
	}
}
defined_text = {
	name = GetInitRoleOnFromOpp

	text = {
		trigger = { is_female = no }
		localisation_key = O_MNOY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = _NEYNIM
	}
	fallback_text = {
		localisation_key = O_MNOY
	}
}
#"/" (. )
defined_text = {
	name = GetSonDaughterGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = String_daughterPREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_sonGEN
	}
	fallback_text = {
		localisation_key = String_offspringGEN
	}
}
defined_text = {
	name = GetSonDaughterOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = String_daughterPREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_sonGEN
	}
	fallback_text = {
		localisation_key = String_daughterPREP
	}
}
#"/" (. )
defined_text = {
	name = GetSonDaughterACC

	text = {
		trigger = { is_female = yes }
		localisation_key = String_daughter
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_sonGEN
	}
	fallback_text = {
		localisation_key = String_offspringGEN
	}
}
defined_text = {
	name = GetSonDaughterOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = String_daughter
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_sonGEN
	}
	fallback_text = {
		localisation_key = String_daughter
	}
}
#"/" (. )
defined_text = {
	name = GetSonDaughterDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = String_daughterPREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_SonDAT
	}
	fallback_text = {
		localisation_key = String_offspringGEN
	}
}
defined_text = {
	name = GetSonDaughterOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = String_daughterPREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_SonDAT
	}
	fallback_text = {
		localisation_key = String_daughterPREP
	}
}
#"/" (. )
defined_text = {
	name = GetSonDaughterINS

	text = {
		trigger = { is_female = yes }
		localisation_key = String_daughterINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_sonINS
	}
	fallback_text = {
		localisation_key = String_offspringINS
	}
}
defined_text = {
	name = GetSonDaughterOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = String_daughterINS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_sonINS
	}
	fallback_text = {
		localisation_key = String_daughterINS
	}
}
#"/" (. )
defined_text = {
	name = GetSonDaughterPREP

	text = {
		trigger = { is_female = yes }
		localisation_key = String_daughterPREP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_sonPREP
	}
	fallback_text = {
		localisation_key = String_offspringPREP
	}
}
defined_text = {
	name = GetSonDaughterOppPREP

	text = {
		trigger = { is_female = no }
		localisation_key = String_daughterPREP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_sonPREP
	}
	fallback_text = {
		localisation_key = String_daughterPREP
	}
}
########
defined_text = {
	name = GetAdultererAdulteressLong

	text = {
		trigger = { is_female = yes }
		localisation_key = ADULTERESS_L
	}
	text = {
		trigger = { is_female = no }
		localisation_key = ADULTERER_L
	}
	fallback_text = {
		localisation_key = ADULTERER_L
	}
}
defined_text = {
	name = GetAdultererAdulteressLongOpp

	text = {
		trigger = { is_female = no }
		localisation_key = ADULTERESS_L
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = ADULTERER_L
	}
	fallback_text = {
		localisation_key = ADULTERESS_L
	}
}
#####
defined_text = {
	name = GetWretchACC

	text = {
		trigger = { is_female = yes }
		localisation_key = WRETCH_FEM_ACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = WRETCH_MAL_ACC
	}
	fallback_text = {
		localisation_key = WRETCH_MAL_ACC
	}
}
defined_text = {
	name = GetWretchOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = WRETCH_FEM_ACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = WRETCH_MAL_ACC
	}
	fallback_text = {
		localisation_key = WRETCH_FEM_ACC
	}
}
#######
defined_text = {
	name = GetBrat

	text = {
		trigger = { is_female = yes }
		localisation_key = BRAT_SHORT_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = BRAT_SHORT_MAL
	}
	fallback_text = {
		localisation_key = BRAT_SHORT_FB
	}
}
defined_text = {
	name = GetBratOpp

	text = {
		trigger = { is_female = no }
		localisation_key = BRAT_SHORT_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = BRAT_SHORT_MAL
	}
	fallback_text = {
		localisation_key = BRAT_SHORT_FB
	}
}
defined_text = {
	name = GetBratLong

	text = {
		trigger = { is_female = yes }
		localisation_key = BRAT_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = BRAT_MAL
	}
	fallback_text = {
		localisation_key = BRAT_MAL
	}
}
defined_text = {
	name = GetBratLongOpp

	text = {
		trigger = { is_female = no }
		localisation_key = BRAT_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = BRAT_MAL
	}
	fallback_text = {
		localisation_key = BRAT_FEM
	}
}
#"/"
defined_text = {
	name = GetMomDad

	text = {
		trigger = { is_female = yes }
		localisation_key = MOM_
	}
	text = {
		trigger = { is_female = no }
		localisation_key = DAD_
	}
	fallback_text = {
		localisation_key = DAD_
	}
}
defined_text = {
	name = GetMomDadOpp

	text = {
		trigger = { is_female = no }
		localisation_key = MOM_
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = DAD_
	}
	fallback_text = {
		localisation_key = MOM_
	}
}
defined_text = {
	name = GetMomDadCap

	text = {
		trigger = { is_female = yes }
		localisation_key = MOM_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = DAD_CAP
	}
	fallback_text = {
		localisation_key = DAD_CAP
	}
}
defined_text = {
	name = GetMomDadCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = MOM_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = DAD_CAP
	}
	fallback_text = {
		localisation_key = MOM_CAP
	}
}
#/ 
defined_text = {
	name = GetBitchBastardGEN
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = String_bitchGEN
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = String_bastardGEN
	}
}
#/ 
defined_text = {
	name = GetBitchBastardACC
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = String_bitchACC
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = String_bastardACC
	}
}
#"/"
defined_text = {
	name = GetDonkey

	text = {
		trigger = { is_female = yes }
		localisation_key = DONKEY_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = DONKEY_MAL
	}
	fallback_text = {
		localisation_key = DONKEY_MAL
	}
}
defined_text = {
	name = GetDonkeyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = DONKEY_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = DONKEY_MAL
	}
	fallback_text = {
		localisation_key = DONKEY_FEM
	}
}
defined_text = {
	name = GetDonkeyCap

	text = {
		trigger = { is_female = yes }
		localisation_key = DONKEY_FEM_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = DONKEY_MAL_CAP
	}
	fallback_text = {
		localisation_key = DONKEY_MAL_CAP
	}
}
defined_text = {
	name = GetDonkeyCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = DONKEY_FEM_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = DONKEY_MAL_CAP
	}
	fallback_text = {
		localisation_key = DONKEY_FEM_CAP
	}
}
#"/"
defined_text = {
	name = GetWolf

	text = {
		trigger = { is_female = yes }
		localisation_key = WOLF_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = WOLF_MAL
	}
	fallback_text = {
		localisation_key = WOLF_MAL
	}
}
defined_text = {
	name = GetWolfOpp

	text = {
		trigger = { is_female = no }
		localisation_key = WOLF_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = WOLF_MAL
	}
	fallback_text = {
		localisation_key = WOLF_FEM
	}
}
defined_text = {
	name = GetWolfCap

	text = {
		trigger = { is_female = yes }
		localisation_key = WOLF_FEM_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = WOLF_MAL_CAP
	}
	fallback_text = {
		localisation_key = WOLF_MAL_CAP
	}
}
defined_text = {
	name = GetWolfCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = WOLF_FEM_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = WOLF_MAL_CAP
	}
	fallback_text = {
		localisation_key = WOLF_FEM_CAP
	}
}
#"/"
defined_text = {
	name = GetLionessLion

	text = {
		trigger = { is_female = yes }
		localisation_key = LION_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LION_MAL
	}
	fallback_text = {
		localisation_key = LION_MAL
	}
}
defined_text = {
	name = GetLionessLionOpp

	text = {
		trigger = { is_female = no }
		localisation_key = LION_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LION_MAL
	}
	fallback_text = {
		localisation_key = LION_FEM
	}
}
defined_text = {
	name = GetLionessLionCap

	text = {
		trigger = { is_female = yes }
		localisation_key = LION_FEM_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LION_MAL_CAP
	}
	fallback_text = {
		localisation_key = LION_MAL_CAP
	}
}
defined_text = {
	name = GetLionessLionCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = LION_FEM_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LION_MAL_CAP
	}
	fallback_text = {
		localisation_key = LION_FEM_CAP
	}
}
#"/"
defined_text = {
	name = GetPussyCat

	text = {
		trigger = { is_female = yes }
		localisation_key = CAT_FEMALE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = CAT_MALE
	}
	fallback_text = {
		localisation_key = CAT_MALE
	}
}
defined_text = {
	name = GetPussyCatOpp

	text = {
		trigger = { is_female = no }
		localisation_key = CAT_FEMALE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = CAT_MALE
	}
	fallback_text = {
		localisation_key = CAT_FEMALE
	}
}
defined_text = {
	name = GetPussyCatCap

	text = {
		trigger = { is_female = yes }
		localisation_key = CAT_FEMALE_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = CAT_MALE_CAP
	}
	fallback_text = {
		localisation_key = CAT_MALE_CAP
	}
}
defined_text = {
	name = GetPussyCatOpp
	text = {
		trigger = { is_female = no }
		localisation_key = CAT_FEMALE_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = CAT_MALE_CAP
	}
	fallback_text = {
		localisation_key = CAT_FEMALE_CAP
	}
}
#"/"
defined_text = {
	name = GetMareSteed

	text = {
		trigger = { is_female = yes }
		localisation_key = HORSE_MARE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HORSE_STEED
	}
	fallback_text = {
		localisation_key = HORSE_STEED
	}
}
defined_text = {
	name = GetMareSteedOpp

	text = {
		trigger = { is_female = no }
		localisation_key = HORSE_MARE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HORSE_STEED
	}
	fallback_text = {
		localisation_key = HORSE_MARE
	}
}
defined_text = {
	name = GetMareSteedCap

	text = {
		trigger = { is_female = yes }
		localisation_key = HORSE_MARE_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HORSE_STEED_CAP
	}
	fallback_text = {
		localisation_key = HORSE_STEED_CAP
	}
}
defined_text = {
	name = GetMareSteedCapOpp
	text = {
		trigger = { is_female = no }
		localisation_key = HORSE_MARE_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HORSE_STEED_CAP
	}
	fallback_text = {
		localisation_key = HORSE_MARE_CAP
	}
}
defined_text = {
	name = GetHorseWrongSexWith

	text = {
		trigger = { is_female = yes }
		localisation_key = HORSE_WRONG_SEX_WITH_FEMALE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HORSE_WRONG_SEX_WITH_MALE
	}
	fallback_text = {
		localisation_key = HORSE_WRONG_SEX_WITH_MALE
	}
}
defined_text = {
	name = GetHorseWrongSexWithOpp
	text = {
		trigger = { is_female = no }
		localisation_key = HORSE_WRONG_SEX_WITH_FEMALE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = HORSE_WRONG_SEX_WITH_MALE
	}
	fallback_text = {
		localisation_key = HORSE_WRONG_SEX_WITH_FEMALE
	}
}
#"/ "    
defined_text = {
	name = GetDeathReaper

	text = {
		trigger = { is_female = yes }
		localisation_key = N_DEATH
	}
	text = {
		trigger = { is_female = no }
		localisation_key = N_REAPER
	}
	fallback_text = {
		localisation_key = N_DEATH
	}
}
defined_text = {
	name = GetDeathReaperOpp

	text = {
		trigger = { is_female = no }
		localisation_key = N_DEATH
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = N_REAPER
	}
	fallback_text = {
		localisation_key = N_DEATH
	}
}
#"/" (nickname)
defined_text = {
	name = GetGetNickFair

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_FAIR
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_FAIR
	}
	fallback_text = {
		localisation_key = MAL_NICK_FAIR
	}
}
#"/" (nickname)
defined_text = {
	name = GetNickLordOfRealm

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_LORDOFREALM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MALE_HONORIFIC_S
	}
	fallback_text = {
		localisation_key = MALE_HONORIFIC_S
	}
}
defined_text = {
	name = GetNickLordOfRealmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_LORDOFREALM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MALE_HONORIFIC_S
	}
	fallback_text = {
		localisation_key = FEM_NICK_LORDOFREALM
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickHammer

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_HAMMER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_HAMMER
	}
	fallback_text = {
		localisation_key = MAL_NICK_HAMMER
	}
}
defined_text = {
	name = GetNickHammerOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_HAMMER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_HAMMER
	}
	fallback_text = {
		localisation_key = FEM_NICK_HAMMER
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickRestorer

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_RESTORER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_RESTORER
	}
	fallback_text = {
		localisation_key = MAL_NICK_RESTORER
	}
}
defined_text = {
	name = GetNickRestorerOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_RESTORER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_RESTORER
	}
	fallback_text = {
		localisation_key = FEM_NICK_RESTORER
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickWise

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_WISE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_WISE
	}
	fallback_text = {
		localisation_key = MAL_NICK_WISE
	}
}
defined_text = {
	name = GetNickWiseOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_WISE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_WISE
	}
	fallback_text = {
		localisation_key = FEM_NICK_WISE
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickBold

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_BOLD
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_BOLD
	}
	fallback_text = {
		localisation_key = MAL_NICK_BOLD
	}
}
defined_text = {
	name = GetNickBoldOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_BOLD
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_BOLD
	}
	fallback_text = {
		localisation_key = FEM_NICK_BOLD
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickJackal

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_JACKAL
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_JACKAL
	}
	fallback_text = {
		localisation_key = MAL_NICK_JACKAL
	}
}
defined_text = {
	name = GetNickJackalOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_JACKAL
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_JACKAL
	}
	fallback_text = {
		localisation_key = FEM_NICK_JACKAL
	}
}
#" / "     (nickname)
defined_text = {
	name = GetNickScourgeOfGod

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_SCOURGEOFGOD
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_SCOURGEOFGOD
	}
	fallback_text = {
		localisation_key = MAL_NICK_SCOURGEOFGOD
	}
}
defined_text = {
	name = GetNickScourgeOfGodOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_SCOURGEOFGOD
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_SCOURGEOFGOD
	}
	fallback_text = {
		localisation_key = FEM_NICK_SCOURGEOFGOD
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickButcher

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_BUTCHER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_BUTCHER
	}
	fallback_text = {
		localisation_key = MAL_NICK_BUTCHER
	}
}
defined_text = {
	name = GetNickButcherOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_BUTCHER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_BUTCHER
	}
	fallback_text = {
		localisation_key = FEM_NICK_BUTCHER
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickBaneOfRealm

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_BANEOFREALM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_BANEOFREALM
	}
	fallback_text = {
		localisation_key = MAL_NICK_BANEOFREALM
	}
}
defined_text = {
	name = GetNickBaneOfRealmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_BANEOFREALM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_BANEOFREALM
	}
	fallback_text = {
		localisation_key = FEM_NICK_BANEOFREALM
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickBoar

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_BOAR
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_BOAR
	}
	fallback_text = {
		localisation_key = MAL_NICK_BOAR
	}
}
defined_text = {
	name = GetNickBoarOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_BOAR
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_BOAR
	}
	fallback_text = {
		localisation_key = FEM_NICK_BOAR
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickThunderbolt

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_THUNDERBOLT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_THUNDERBOLT
	}
	fallback_text = {
		localisation_key = MAL_NICK_THUNDERBOLT
	}
}
defined_text = {
	name = GetNickThunderboltOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_THUNDERBOLT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_THUNDERBOLT
	}
	fallback_text = {
		localisation_key = FEM_NICK_THUNDERBOLT
	}
}
#"/ "     (nickname)
defined_text = {
	name = GetNickWhirlwind

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_WHIRLWIND
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_WHIRLWIND
	}
	fallback_text = {
		localisation_key = MAL_NICK_WHIRLWIND
	}
}
defined_text = {
	name = GetNickWhirlwindOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_WHIRLWIND
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_WHIRLWIND
	}
	fallback_text = {
		localisation_key = FEM_NICK_WHIRLWIND
	}
}
#"/׸ "     (nickname)
defined_text = {
	name = GetNickBlackWhirlwind

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_BLACK_WHIRLWIND
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_BLACK_WHIRLWIND
	}
	fallback_text = {
		localisation_key = MAL_NICK_BLACK_WHIRLWIND
	}
}
defined_text = {
	name = GetNickBlackWhirlwindOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_BLACK_WHIRLWIND
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_BLACK_WHIRLWIND
	}
	fallback_text = {
		localisation_key = FEM_NICK_BLACK_WHIRLWIND
	}
}
#"/"    
defined_text = {
	name = GetInsultChild

	text = {
		trigger = { is_female = yes }
		localisation_key = INSULT_CHILD_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = INSULT_CHILD_MAL
	}
	fallback_text = {
		localisation_key = INSULT_CHILD_MAL
	}
}
defined_text = {
	name = GetInsultChildOpp

	text = {
		trigger = { is_female = no }
		localisation_key = INSULT_CHILD_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = INSULT_CHILD_MAL
	}
	fallback_text = {
		localisation_key = INSULT_CHILD_FEM
	}
}
#"/"    
defined_text = {
	name = GetInsultTadpole

	text = {
		trigger = { is_female = yes }
		localisation_key = INSULT_TADPOLE_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = INSULT_TADPOLE_MAL
	}
	fallback_text = {
		localisation_key = INSULT_TADPOLE_MAL
	}
}
defined_text = {
	name = GetInsultTadpoleOpp

	text = {
		trigger = { is_female = no }
		localisation_key = INSULT_TADPOLE_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = INSULT_TADPOLE_MAL
	}
	fallback_text = {
		localisation_key = INSULT_TADPOLE_FEM
	}
}
#  (, ,   )
defined_text = {
	name = GetRelAdj
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetRelAdj_fallback
	}
	text = {
		trigger = { religion = catholic }
		localisation_key = CATHOLIC_ADJ
	}
	text = {
		trigger = { religion = cathar }
		localisation_key = CATHAR_ADJ
	}
	text = {
		trigger = { religion = fraticelli }
		localisation_key = FRATICELLI_ADJ
	}
	text = {
		trigger = { religion = waldensian }
		localisation_key = WALDENSIAN_ADJ
	}
	text = {
		trigger = { religion = lollard }
		localisation_key = LOLLARD_ADJ
	}
	text = {
		trigger = { religion = orthodox }
		localisation_key = ORTHODOX_ADJ
	}
	text = {
		trigger = { religion = miaphysite }
		localisation_key = MIAPHYSITE_ADJ
	}
	text = {
		trigger = { religion = monophysite }
		localisation_key = MONOPHYSITE_ADJ
	}
	text = {
		trigger = { religion = bogomilist }
		localisation_key = BOGOMILIST_ADJ
	}
	text = {
		trigger = { religion = monothelite }
		localisation_key = MONOTHELITE_ADJ
	}
	text = {
		trigger = { religion = iconoclast }
		localisation_key = ICONOCLAST_ADJ
	}
	text = {
		trigger = { religion = paulician }
		localisation_key = PAULICIAN_ADJ
	}
	text = {
		trigger = { religion = nestorian }
		localisation_key = NESTORIAN_ADJ
	}
	text = {
		trigger = { religion = messalian }
		localisation_key = MESSALIAN_ADJ
	}
	text = {
		trigger = { religion = sunni }
		localisation_key = SUNNI_ADJ
	}
	text = {
		trigger = { religion = zikri }
		localisation_key = ZIKRI_ADJ
	}
	text = {
		trigger = { religion = yazidi }
		localisation_key = YAZIDI_ADJ
	}
	text = {
		trigger = { religion = ibadi }
		localisation_key = IBADI_ADJ
	}
	text = {
		trigger = { religion = kharijite }
		localisation_key = KHARIJITE_ADJ
	}
	text = {
		trigger = { religion = shiite }
		localisation_key = SHIITE_ADJ
	}
	text = {
		trigger = { religion = druze }
		localisation_key = DRUZE_ADJ
	}
	text = {
		trigger = { religion = hurufi }
		localisation_key = HURUFI_ADJ
	}
	text = {
		trigger = { religion = pagan }
		localisation_key = PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
		localisation_key = NORSE_PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
		}
		localisation_key = TENGRI_PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
		}
		localisation_key = BALTIC_PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
		localisation_key = FINNISH_PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = aztec
				religion = aztec_reformed
			}
		}
		localisation_key = AZTEC_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
		}
		localisation_key = SLAVIC_PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
		}
		localisation_key = WEST_AFRICAN_PAGAN_ADJ
	}
	text = {
		trigger = { religion = zun_pagan }
		localisation_key = ZUN_PAGAN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
		}
		localisation_key = HELLENIC_PAGAN_ADJ
	}
	text = {
		trigger = { religion = zoroastrian }
		localisation_key = ZOROASTRIAN_ADJ
	}
	text = {
		trigger = { religion = mazdaki }
		localisation_key = MAZDAKI_ADJ
	}
	text = {
		trigger = { religion = manichean }
		localisation_key = MANICHEAN_ADJ
	}
	text = {
		trigger = { religion = khurmazta }
		localisation_key = KHURMAZTA_ADJ
	}
	text = {
		trigger = { religion = jewish }
		localisation_key = JEWISH_ADJ
	}
	text = {
		trigger = { religion = samaritan }
		localisation_key = SAMARITAN_ADJ
	}
	text = {
		trigger = { religion = karaite }
		localisation_key = KARAITE_ADJ
	}
	text = {
		trigger = { religion = hindu }
		localisation_key = HINDU_ADJ
	}
	text = {
		trigger = { religion = buddhist }
		localisation_key = BUDDHIST_ADJ
	}
	text = {
		trigger = { religion = jain }
		localisation_key = JAIN_ADJ
	}
	text = {
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_ADJ
	}
	text = {
		trigger = { religion = taoist }
		localisation_key = TAOIST_ADJ
	}
	fallback_text = {
		localisation_key = GetRelAdj_fallback
	}
}
defined_text = {
	name = GetRelAdjCap
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetRelAdj_fallback
	}
	text = {
		trigger = { religion = catholic }
		localisation_key = CATHOLIC_ADJ_CAP
	}
	text = {
		trigger = { religion = cathar }
		localisation_key = CATHAR_ADJ_CAP
	}
	text = {
		trigger = { religion = fraticelli }
		localisation_key = FRATICELLI_ADJ_CAP
	}
	text = {
		trigger = { religion = waldensian }
		localisation_key = WALDENSIAN_ADJ_CAP
	}
	text = {
		trigger = { religion = lollard }
		localisation_key = LOLLARD_ADJ_CAP
	}
	text = {
		trigger = { religion = orthodox }
		localisation_key = ORTHODOX_ADJ_CAP
	}
	text = {
		trigger = { religion = miaphysite }
		localisation_key = MIAPHYSITE_ADJ_CAP
	}
	text = {
		trigger = { religion = monophysite }
		localisation_key = MONOPHYSITE_ADJ_CAP
	}
	text = {
		trigger = { religion = bogomilist }
		localisation_key = BOGOMILIST_ADJ_CAP
	}
	text = {
		trigger = { religion = monothelite }
		localisation_key = MONOTHELITE_ADJ_CAP
	}
	text = {
		trigger = { religion = iconoclast }
		localisation_key = ICONOCLAST_ADJ_CAP
	}
	text = {
		trigger = { religion = paulician }
		localisation_key = PAULICIAN_ADJ_CAP
	}
	text = {
		trigger = { religion = nestorian }
		localisation_key = NESTORIAN_ADJ_CAP
	}
	text = {
		trigger = { religion = messalian }
		localisation_key = MESSALIAN_ADJ_CAP
	}
	text = {
		trigger = { religion = sunni }
		localisation_key = SUNNI_ADJ_CAP
	}
	text = {
		trigger = { religion = zikri }
		localisation_key = ZIKRI_ADJ_CAP
	}
	text = {
		trigger = { religion = yazidi }
		localisation_key = YAZIDI_ADJ_CAP
	}
	text = {
		trigger = { religion = ibadi }
		localisation_key = IBADI_ADJ_CAP
	}
	text = {
		trigger = { religion = kharijite }
		localisation_key = KHARIJITE_ADJ_CAP
	}
	text = {
		trigger = { religion = shiite }
		localisation_key = SHIITE_ADJ_CAP
	}
	text = {
		trigger = { religion = druze }
		localisation_key = DRUZE_ADJ_CAP
	}
	text = {
		trigger = { religion = hurufi }
		localisation_key = HURUFI_ADJ_CAP
	}
	text = {
		trigger = { religion = pagan }
		localisation_key = PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
		localisation_key = NORSE_PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
		}
		localisation_key = TENGRI_PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
		}
		localisation_key = BALTIC_PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
		localisation_key = FINNISH_PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = aztec
				religion = aztec_reformed
			}
		}
		localisation_key = AZTEC_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
		}
		localisation_key = SLAVIC_PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
		}
		localisation_key = WEST_AFRICAN_PAGAN_ADJ_CAP
	}
	text = {
		trigger = { religion = zun_pagan }
		localisation_key = ZUN_PAGAN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
		}
		localisation_key = HELLENIC_PAGAN_ADJ_CAP
	}
	text = {
		trigger = { religion = zoroastrian }
		localisation_key = ZOROASTRIAN_ADJ_CAP
	}
	text = {
		trigger = { religion = mazdaki }
		localisation_key = MAZDAKI_ADJ_CAP
	}
	text = {
		trigger = { religion = manichean }
		localisation_key = MANICHEAN_ADJ_CAP
	}
	text = {
		trigger = { religion = khurmazta }
		localisation_key = KHURMAZTA_ADJ_CAP
	}
	text = {
		trigger = { religion = jewish }
		localisation_key = JEWISH_ADJ_CAP
	}
	text = {
		trigger = { religion = samaritan }
		localisation_key = SAMARITAN_ADJ_CAP
	}
	text = {
		trigger = { religion = karaite }
		localisation_key = KARAITE_ADJ_CAP
	}
	text = {
		trigger = { religion = hindu }
		localisation_key = HINDU_ADJ_CAP
	}
	text = {
		trigger = { religion = buddhist }
		localisation_key = BUDDHIST_ADJ_CAP
	}
	text = {
		trigger = { religion = jain }
		localisation_key = JAIN_ADJ_CAP
	}
	text = {
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_ADJ_CAP
	}
	text = {
		trigger = { religion = taoist }
		localisation_key = TAOIST_ADJ_CAP
	}
	fallback_text = {
		localisation_key = GetRelAdj_fallback
	}
}
#   (, /)
defined_text = {
	name = GetRelGroupNick
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetRelGroupNick_fallback
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F
	}
	text = {
		trigger = {
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_F
	}
	text = {
		trigger = {
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_M
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F
	}
	text = {
		trigger = {
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F
	}
	text = {
		trigger = {
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F
	}
	text = {
		trigger = {
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M
	}
	text = {
		trigger = {
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_F
	}
	text = {
		trigger = {
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_M
	}
	text = {
		trigger = {
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_F
	}
	text = {
		trigger = {
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_M
	}
	text = {
		trigger = {
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F
	}
	text = {
		trigger = {
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M
	}
	text = {
		trigger = {
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_F
	}
	text = {
		trigger = {
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_M
	}
}
defined_text = {
	name = GetRelGroupNickOpp
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetRelGroupNickOpp_fallback
	}
	text = {
		trigger = {
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M
	}
	text = {
		trigger = {
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_F
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_M
	}
	text = {
		trigger = {
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M
	}
	text = {
		trigger = {
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M
	}
	text = {
		trigger = {
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M
	}
	text = {
		trigger = {
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_F
	}
	text = {
		trigger = {
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_M
	}
	text = {
		trigger = {
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_F
	}
	text = {
		trigger = {
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_M
	}
	text = {
		trigger = {
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F
	}
	text = {
		trigger = {
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M
	}
	text = {
		trigger = {
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_F
	}
	text = {
		trigger = {
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_M
	}
}
defined_text = {
	name = GetRelGroupNickCap
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetRelGroupNick_fallback
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_F_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_M_CAP
	}
}
defined_text = {
	name = GetRelGroupNickCapOpp
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetRelGroupNickOpp_fallback
	}
	text = {
		trigger = {
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M_CAP
	}
	text = {
		trigger = {
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_F_CAP
	}
	text = {
		trigger = {
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_M_CAP
	}
}
#        (, "")
defined_text = {
	name = GetNumenFOA

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
		localisation_key = GOSPODI_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
		localisation_key = BOZHE_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = SOLNTSE_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
		}
		localisation_key = NEBO_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = buddhist
		}
		localisation_key = BUDDHA_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			AND = {
				religion_group = muslim
				NOT = { religion = yazidi }
			}
		}
		localisation_key = ALLAH_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			AND = {
				OR = {
					religion_group = pagan_group
					religion_group = indian_group
				}
				NOT = { religion = pagan }
				NOT = { religion = west_african_pagan }
				NOT = { religion = west_african_pagan_reformed }
				NOT = { religion = zun_pagan }
				NOT = { religion = zun_pagan_reformed }
				NOT = { religion = tengri_pagan }
				NOT = { religion = tengri_pagan_reformed }
				NOT = { religion = buddhist }
			}
		}
		localisation_key = BOGI_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = pagan
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
		}
		localisation_key = DUHI_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = yazidi
		}
		localisation_key = MALAK_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = zoroastrian_group
			NOT = { religion = khurmazta }
		}
		localisation_key = VOHUMANA_FOA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = khurmazta
		}
		localisation_key = GOD_ZARVANA
	}
	fallback_text = {
		localisation_key = BOGI_FOA
	}
}
#         (, ", ")
defined_text = {
	name = GetNumenExcl

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
		localisation_key = O_GOSPODI
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
		localisation_key = O_BOZHE
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = O_SOLNTSE
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
		}
		localisation_key = O_NEBO
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = buddhist
		}
		localisation_key = O_BUDDHA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			AND = {
				religion_group = muslim
				NOT = { religion = yazidi }
			}
		}
		localisation_key = O_ALLAH
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			AND = {
				OR = {
					religion_group = pagan_group
					religion_group = indian_group
					religion = khurmazta
				}
				NOT = { religion = pagan }
				NOT = { religion = west_african_pagan }
				NOT = { religion = west_african_pagan_reformed }
				NOT = { religion = zun_pagan }
				NOT = { religion = zun_pagan_reformed }
				NOT = { religion = tengri_pagan }
				NOT = { religion = tengri_pagan_reformed }
				NOT = { religion = buddhist }
				NOT = { religion = taoist }
			}
		}
		localisation_key = O_BOGI
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = pagan
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
		}
		localisation_key = O_DUHI
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = yazidi
		}
		localisation_key = O_MALAK
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = taoist
		}
		localisation_key = O_DAO
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = zoroastrian_group
			NOT = { religion = khurmazta }
		}
		localisation_key = O_MAZDA
	}
	fallback_text = {
		localisation_key = O_NEBO
	}
}
#         (, ", ") -   
defined_text = {
	name = GetTrueNumenExcl

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				true_religion_group = christian
				true_religion_group = jewish_group
			}
		}
		localisation_key = O_GOSPODI
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				true_religion_group = christian
				true_religion_group = jewish_group
			}
		}
		localisation_key = O_BOZHE
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				true_religion = zun_pagan
				true_religion = zun_pagan_reformed
			}
		}
		localisation_key = O_SOLNTSE
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				true_religion = tengri_pagan
				true_religion = tengri_pagan_reformed
			}
		}
		localisation_key = O_NEBO
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion = buddhist
		}
		localisation_key = O_BUDDHA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			AND = {
				true_religion_group = muslim
				NOT = { true_religion = yazidi }
			}
		}
		localisation_key = O_ALLAH
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			AND = {
				OR = {
					true_religion_group = pagan_group
					true_religion_group = indian_group
					true_religion = khurmazta
				}
				NOT = { true_religion = pagan }
				NOT = { true_religion = west_african_pagan }
				NOT = { true_religion = west_african_pagan_reformed }
				NOT = { true_religion = zun_pagan }
				NOT = { true_religion = zun_pagan_reformed }
				NOT = { true_religion = tengri_pagan }
				NOT = { true_religion = tengri_pagan_reformed }
				NOT = { true_religion = buddhist }
				NOT = { true_religion = taoist }
			}
		}
		localisation_key = O_BOGI
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				true_religion = pagan
				true_religion = west_african_pagan
				true_religion = west_african_pagan_reformed
			}
		}
		localisation_key = O_DUHI
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion = yazidi
		}
		localisation_key = O_MALAK
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion = taoist
		}
		localisation_key = O_DAO
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_group = zoroastrian_group
			NOT = { true_religion = khurmazta }
		}
		localisation_key = O_MAZDA
	}
	fallback_text = {
		localisation_key = O_NEBO
	}
}
defined_text = {
	name = GetMOFarewells
	text = {
		localisation_key = String_Go_with_God_Plural
		trigger = {
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
			is_christian_monastic_member_trigger = yes
		}
	}
	text = {
		localisation_key = String_Shubhaste_panthanah_santu
		trigger = {
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
			is_dharmic_monastic_member_trigger = yes
		}
	}
	fallback_text = {
		String_Go_in_peace_Plural
	}
}
#  (,   ..)
defined_text = { #Does not work for jain and buddhist
	name = GetMOGodDAT
	
	text = {
		localisation_key = String_GodDAT
		trigger = {
			OR = {
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_orthodox 
				society_member_of = monastic_order_nestorian 
				society_member_of = monastic_order_monophysite 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Vishnu
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = vaishnavist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Devi
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = shaktist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ShivaDAT
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = shaivist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_god_randomDAT
		trigger = {
			OR = {				
				society_member_of = monastic_order_stoics
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
}
#  (,   ..)
defined_text = { #Does not work for jain and buddhist
	name = GetMOGodGEN

	text = {
		localisation_key = String_GodGEN
		trigger = {
			OR = {
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_orthodox 
				society_member_of = monastic_order_nestorian 
				society_member_of = monastic_order_monophysite 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Vishnu
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = vaishnavist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Devi
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = shaktist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ShivaGEN
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = shaivist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_god_randomGEN
		trigger = {
			OR = {				
				society_member_of = monastic_order_stoics
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
}
#  (,   ..)
defined_text = { #Does not work for jain and buddhist
	name = GetMOGodPREP

	text = {
		localisation_key = String_GodPREP
		trigger = {
			OR = {
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_orthodox 
				society_member_of = monastic_order_nestorian 
				society_member_of = monastic_order_monophysite 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Vishnu
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = vaishnavist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Devi
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = shaktist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ShivaPREP
		trigger = {
			OR = {
				trait = smartist_hindu
				trait = shaivist_hindu 
			}
			society_member_of = monastic_order_hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_god_randomPREP
		trigger = {
			OR = {				
				society_member_of = monastic_order_stoics
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
}

#  ( ,   ..)
defined_text = {
	name = GetMOSaintGEN
	
	text = {
		localisation_key = String_Saint_BenedictGEN
		trigger = { society_member_of = monastic_order_benedictine
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Saint_DominicGEN
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Saint_BasilGEN
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_Saint_AbrahamGEN
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_Saint_AnthonyGEN
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_BuddhaGEN
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Adi_ShankaraGEN
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Acharya_KundakundaGEN
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZenoGEN
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_saint_genericGEN
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ( ,   ..)
defined_text = {
	name = GetMOSaintACC
	
	text = {
		localisation_key = String_Saint_BenedictGEN
		trigger = { society_member_of = monastic_order_benedictine
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Saint_DominicGEN
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Saint_BasilGEN
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_Saint_AbrahamGEN
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_Saint_AnthonyGEN
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_BuddhaACC
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Adi_ShankaraACC
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Acharya_KundakundaACC
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZenoGEN
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_saint_genericGEN
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ( ,   ..)
defined_text = {
	name = GetMOSaintINS
	
	text = {
		localisation_key = String_Saint_BenedictINS
		trigger = { society_member_of = monastic_order_benedictine
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Saint_DominicINS
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Saint_BasilINS
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_Saint_AbrahamINS
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_Saint_AnthonyINS
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_BuddhaINS
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Adi_ShankaraINS
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Acharya_KundakundaINS
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZenoINS
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_saint_genericINS
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ()
defined_text = {
	name = GetMOCodeACC

	text = {
		localisation_key = String_the_Rule_of_Saint_Benedict
		trigger = { society_member_of = monastic_order_benedictine 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_Augustine
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_Basil
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_Abraham
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_Anthony
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}		
	text = {
		localisation_key = String_the_Noble_Eightfold_Path
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_four_Purusartha
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_AnuvrataACC
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Aretai
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_the_code
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ()
defined_text = {
	name = GetMOCodeGEN

	text = {
		localisation_key = String_the_Rule_of_Saint_BenedictGEN
		trigger = { society_member_of = monastic_order_benedictine 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_AugustineGEN
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_BasilGEN
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AbrahamGEN
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AnthonyGEN
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}		
	text = {
		localisation_key = String_the_Noble_Eightfold_PathGEN
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_four_PurusarthaGEN
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_AnuvrataGEN
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Aretai
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_the_codeGEN
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ()
defined_text = {
	name = GetMOCodeDAT

	text = {
		localisation_key = String_the_Rule_of_Saint_BenedictDAT
		trigger = { society_member_of = monastic_order_benedictine 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_AugustineDAT
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_BasilDAT
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AbrahamDAT
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AnthonyDAT
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}		
	text = {
		localisation_key = String_the_Noble_Eightfold_PathDAT
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_four_PurusarthaDAT
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_AnuvrataDAT
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Aretai
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_the_codeDAT
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ()
defined_text = {
	name = GetMOCodeINS

	text = {
		localisation_key = String_the_Rule_of_Saint_BenedictINS
		trigger = { society_member_of = monastic_order_benedictine 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_AugustineINS
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_BasilINS
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AbrahamINS
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AnthonyINS
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}		
	text = {
		localisation_key = String_the_Noble_Eightfold_PathINS
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_four_PurusarthaINS
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_AnuvrataINS
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Aretai
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_the_codeINS
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ()
defined_text = {
	name = GetMOCodePREP

	text = {
		localisation_key = String_the_Rule_of_Saint_BenedictPREP
		trigger = { society_member_of = monastic_order_benedictine 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_AugustinePREP
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_BasilPREP
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AbrahamPREP
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AnthonyPREP
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}		
	text = {
		localisation_key = String_the_Noble_Eightfold_PathPREP
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_four_PurusarthaPREP
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_AnuvrataPREP
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Aretai
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_the_codePREP
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#    / ( )
defined_text = {
	name = GetMOCodePREP_O

	text = {
		localisation_key = String_the_Rule_of_Saint_BenedictPREP_O
		trigger = { society_member_of = monastic_order_benedictine 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_AugustinePREP_O
		trigger = { society_member_of = monastic_order_dominican 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Rule_of_Saint_BasilPREP_O
		trigger = { society_member_of = monastic_order_orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AbrahamPREP_O
		trigger = { society_member_of = monastic_order_nestorian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = {
		localisation_key = String_the_Rule_of_Saint_AnthonyPREP_O
		trigger = { society_member_of = monastic_order_monophysite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}		
	text = {
		localisation_key = String_the_Noble_Eightfold_PathPREP_O
		trigger = { society_member_of = monastic_order_buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_four_PurusarthaPREP_O
		trigger = { society_member_of = monastic_order_hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_AnuvrataPREP_O
		trigger = { society_member_of = monastic_order_jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_the_Aretai
		trigger = { society_member_of = monastic_order_stoics
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = string_the_codePREP_O
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
}
#  ( ,  )
defined_text = {
	name = GetSRTrinketSymbolACC
	text = {
		localisation_key = String_Cross
		trigger = { is_christian_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_crescent
		trigger = { is_muslim_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_six_pointed_starACC
		trigger = { is_jewish_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_figurine_of_BuddhaACC
		trigger = { true_religion_buddhist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_figurine_of_GaneshaACC
		trigger = { true_religion_hindu_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_figurine_of_jain_godACC
		trigger = { true_religion_jain_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_fire_symbol
		trigger = { true_religion_group_zoroastrian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Thors_hammer
		trigger = { is_norse_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_hatchet_amulet
		trigger = { is_slavic_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_world_tree_symbol
		trigger = { is_baltic_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_life_tree_symbol
		trigger = { is_tengri_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Ukkos_hammer
		trigger = { is_finnish_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ancestors_symbol
		trigger = { 
			OR = {
				is_west_african_secret_religious_society_member_trigger = yes 
				is_hellenic_secret_religious_society_member_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_sun_symbol
		trigger = { is_zun_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_hummingbird_symbol
		trigger = { is_aztec_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Animal_made_of_bread
		trigger = { is_bon_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Yinyang_symbol
		trigger = { is_taoist_secret_religious_society_member_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = String_god_symbol
	}
}
#  ( )
#Hermes Tirismegistus or other suitably old person spreading arcane and ancient knowledge
defined_text = {
	name = GetHermesThriceBlessedGEN

	text = {
		trigger = {
			OR = {
				NOT = { religion_group = muslim }
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
		localisation_key = String_hermes_trismegistusGEN
	}
	text = {
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
		localisation_key = String_idrisGEN
	}
}
# 
defined_text = {
	name = GetHouseOfWorshipACC # Returns a suitable name for the house of worship of your religion (WIP)
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetHouseOfWorship_Pagan
	}
	text = {
		localisation_key = GetHouseOfWorship_Christian
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = GetHouseOfWorship_Muslim
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = GetHouseOfWorship_Pagan
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_Zoroastrian
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_JewishACC
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_Hindu
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = GetHouseOfWorship_Buddhist
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = GetHouseOfWorship_Jain
		trigger = { religion = jain }
	}
	text = {
		localisation_key = GetHouseOfWorship_Taoist
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = GetHouseOfWorship_Pagan
	}
}
# 
defined_text = {
	name = GetHouseOfWorshipPREP # Returns a suitable name for the house of worship of your religion (WIP)
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetHouseOfWorship_PaganPREP
	}
	text = {
		localisation_key = GetHouseOfWorship_ChristianPREP
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = GetHouseOfWorship_MuslimPREP
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = GetHouseOfWorship_PaganPREP
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_ZoroastrianPREP
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_JewishPREP
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_HinduPREP
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = GetHouseOfWorship_BuddhistPREP
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = GetHouseOfWorship_JainPREP
		trigger = { religion = jain }
	}
	text = {
		localisation_key = GetHouseOfWorship_TaoistPREP
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = GetHouseOfWorship_PaganPREP
	}
}
# 
defined_text = {
	name = GetHouseOfWorshipGEN # Returns a suitable name for the house of worship of your religion (WIP)
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetHouseOfWorship_PaganGEN
	}
	text = {
		localisation_key = GetHouseOfWorship_ChristianPREP
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = GetHouseOfWorship_MuslimPREP
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = GetHouseOfWorship_PaganGEN
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_ZoroastrianGEN
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_JewishGEN
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_HinduGEN
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = GetHouseOfWorship_BuddhistGEN
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = GetHouseOfWorship_JainGEN
		trigger = { religion = jain }
	}
	text = {
		localisation_key = GetHouseOfWorship_TaoistGEN
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = GetHouseOfWorship_PaganGEN
	}
}
# ()
defined_text = {
	name = GetHouseOfWorshipAdj # Returns a suitable adjective for the house of worship of your religion (WIP)
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetHouseOfWorship_PaganAdj
	}
	text = {
		localisation_key = GetHouseOfWorship_ChristianAdj
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = GetHouseOfWorship_MuslimAdj
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = GetHouseOfWorship_PaganAdj
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_ZoroastrianAdj
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_JewishAdj
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_HinduAdj
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = GetHouseOfWorship_BuddhistAdj
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = GetHouseOfWorship_JainAdj
		trigger = { religion = jain }
	}
	text = {
		localisation_key = GetHouseOfWorship_TaoistAdj
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = GetHouseOfWorship_PaganAdj
	}
}
#    ()
defined_text = {
	name = GetHouseOfWorshipAdjCap # Returns a suitable adjective for the house of worship of your religion (WIP)
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = GetHouseOfWorship_PaganAdjCap
	}
	text = {
		localisation_key = GetHouseOfWorship_ChristianAdjCap
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = GetHouseOfWorship_MuslimAdjCap
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = GetHouseOfWorship_PaganAdjCap
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_ZoroastrianAdjCap
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_JewishAdjCap
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = GetHouseOfWorship_HinduAdjCap
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = GetHouseOfWorship_BuddhistAdjCap
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = GetHouseOfWorship_JainAdjCap
		trigger = { religion = jain }
	}
	text = {
		localisation_key = GetHouseOfWorship_TaoistAdjCap
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = GetHouseOfWorship_PaganAdjCap
	}
}
#   (/)       
defined_text = {
	name = GetHOWOyOm
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = END_OM
	}
	text = {
		localisation_key = END_OY
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = END_OY
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = END_OM
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = END_OM
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = END_OY
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = END_OM
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = END_OM
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = END_OM
		trigger = { religion = jain }
	}
	text = {
		localisation_key = END_OM
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
#   (/)       
defined_text = {
	name = GetHOWOyOgo
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = END_OGO
	}
	text = {
		localisation_key = END_OY
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = END_OY
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = END_OGO
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = END_OGO
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = END_OY
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = END_OGO
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = END_OGO
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = END_OGO
		trigger = { religion = jain }
	}
	text = {
		localisation_key = END_OGO
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = END_OGO
	}
}
# 
defined_text = {
	name = GetReligiousRiteGEN # Returns a suitable name for a common rite in the character's religion

	text = {
		localisation_key = String_massGEN
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = String_prayerGEN
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = String_worshipGEN
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = String_worshipGEN
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = String_prayerGEN
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = String_prayerGEN
		trigger = { religion_group = indian_group }
	}
}
# 
defined_text = {
	name = GetReligiousRiteINS # Returns a suitable name for a common rite in the character's religion

	text = {
		localisation_key = String_massINS
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = String_prayerINS
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = String_worshipINS
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = String_worshipINS
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = String_prayerINS
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = String_prayerINS
		trigger = { religion_group = indian_group }
	}
}
# ( ) 
defined_text = {
	name = GetReligionWarriorPluralGEN #Returns an appropriate word for a warrior/soldier depending on religion (and culture)

	text = {
		localisation_key = String_druzhinnikiGEN
		trigger = {
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
				culture_group = east_slavic
				culture = polish
			}
		}
	}
	text = {
		localisation_key = String_huscarlsGEN
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
				AND = {
					OR = {
						culture_group = north_germanic
						culture = saxon
						culture = old_saxon
					}
					is_tribal = yes
				}
			}
		}
	}
	text = {
		localisation_key = String_men_at_armsGEN
		trigger = {
			religion = catholic
			is_tribal = no
			is_nomadic = no
		}
	}
	text = {
		localisation_key = String_spahis
		trigger = {
			culture_group = iranian
		}
	}
	text = {
		localisation_key = String_ghazis
		trigger = {
			religion_group = muslim
		}
	}
	text = {
		localisation_key = String_sainikonGEN
		trigger = {
			OR = {
				culture_group = indo_aryan_group
				culture_group = dravidian_group
			}
		}
	}
	text = {
		localisation_key = String_kheshigsGEN
		trigger = {
			culture_group = altaic
		}
	}

	text = {
		localisation_key = String_warriorsGEN
		#generic
	}
}
#.  -     
defined_text = { 
	name = GetReligiousPersons
	use_first_valid = yes
	text = { 
		localisation_key = string_worshipers
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
	text = { 
		localisation_key = String_Catholics
		trigger = {
			religion = catholic
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = { 
		localisation_key = String_Christians
		trigger = { 
			religion_group = christian
			NOT = { religion = catholic }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Muslims
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	text = {
		localisation_key = String_Jews
		trigger = {
			religion_group = jewish_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zoroastrians
		trigger = {
			religion = zoroastrian
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Mazdakis
		trigger = {
			religion = mazdaki
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = {
		localisation_key = String_Manicheans
		trigger = {
			religion = manichean
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Buddhists
		trigger = {
			religion = buddhist
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Jains
		trigger = {
			religion = jain
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hindus
		trigger = {
			religion = hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Taoists
		trigger = {
			religion = taoist
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Norses
		trigger = { 
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = { 
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Romuvans
		trigger = { 
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Finns
		trigger = { 
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_West_Africans
		trigger = { 
			OR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = { 
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = { 
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Aztecs
		trigger = { 
			OR = {
				religion = aztec
				religion = aztec_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Khurmaztas
		trigger = {
			religion = khurmazta
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Bons
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = {
		localisation_key = String_Hellenes
		trigger = { 
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_pagans
		trigger = { 
			religion = pagan
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
}
# 
defined_text = { 
	name = GetReligiousPersonGEN
	use_first_valid = yes
	text = { 
		localisation_key = string_worshiperGEN
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
	text = { 
		localisation_key = String_CatholicPGEN
		trigger = {
			religion = catholic
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = { 
		localisation_key = String_ChristianPGEN
		trigger = { 
			religion_group = christian
			NOT = { religion = catholic }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimPGEN
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	text = {
		localisation_key = String_JewPGEN
		trigger = {
			religion_group = jewish_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastrianPGEN
		trigger = {
			religion = zoroastrian
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_MazdakiPGEN
		trigger = {
			religion = mazdaki
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = {
		localisation_key = String_ManicheanPGEN
		trigger = {
			religion = manichean
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BuddhistPGEN
		trigger = {
			religion = buddhist
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JainPGEN
		trigger = {
			religion = jain
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HinduPGEN
		trigger = {
			religion = hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_TaoistPGEN
		trigger = {
			religion = taoist
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_NorsePGEN
		trigger = { 
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_SlavPGEN
		trigger = { 
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_RomuvanPGEN
		trigger = { 
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FinnPGEN
		trigger = { 
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_West_AfricanPGEN
		trigger = { 
			OR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_TengriPGEN
		trigger = { 
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZunPGEN
		trigger = { 
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_AztecPGEN
		trigger = { 
			OR = {
				religion = aztec
				religion = aztec_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_KhurmaztaPGEN
		trigger = {
			religion = khurmazta
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BonPGEN
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = {
		localisation_key = String_HellenePGEN
		trigger = { 
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_PaganPGEN
		trigger = { 
			religion = pagan
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
}
# 
defined_text = { 
	name = GetReligiousPersonINS
	use_first_valid = yes
	text = { 
		localisation_key = string_worshiperINS
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
	text = { 
		localisation_key = String_CatholicPINS
		trigger = {
			religion = catholic
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = { 
		localisation_key = String_ChristianPINS
		trigger = { 
			religion_group = christian
			NOT = { religion = catholic }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimPINS
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	text = {
		localisation_key = String_JewPINS
		trigger = {
			religion_group = jewish_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastrianPINS
		trigger = {
			religion = zoroastrian
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_MazdakiPINS
		trigger = {
			religion = mazdaki
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = {
		localisation_key = String_ManicheanPINS
		trigger = {
			religion = manichean
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BuddhistPINS
		trigger = {
			religion = buddhist
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JainPINS
		trigger = {
			religion = jain
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HinduPINS
		trigger = {
			religion = hindu
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_TaoistPINS
		trigger = {
			religion = taoist
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_NorsePINS
		trigger = { 
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = { 
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = { 
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FinnPINS
		trigger = { 
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = { 
			OR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = { 
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = { 
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = { 
			OR = {
				religion = aztec
				religion = aztec_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_KhurmaztaPINS
		trigger = {
			religion = khurmazta
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BonPINS
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = {
		localisation_key = String_HellenePINS
		trigger = { 
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_PaganPINS
		trigger = { 
			religion = pagan
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
}
# 
defined_text = {
	name = GetTrueReligionPersonINS
	use_first_valid = yes
	text = { 
		localisation_key = String_CatholicPINS
		trigger = { true_religion_catholic_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ChristianPINS
		trigger = { 
			true_religion_group_christian_trigger = yes
			NOT = { true_religion_catholic_trigger = yes }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimPINS
		trigger = { true_religion_group_muslim_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_JewPINS
		trigger = { true_religion_group_jewish_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZoroastrianPINS
		trigger = { true_religion_group_zoroastrian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BuddhistPINS
		trigger = { true_religion_buddhist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JainPINS
		trigger = { true_religion_jain_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HinduPINS
		trigger = { true_religion_hindu_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_NorsePINS
		trigger = { 
			OR = {
				true_religion_norse_pagan_trigger = yes
				true_religion_norse_pagan_reformed_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = { 
			OR = {
				true_religion_baltic_pagan_trigger = yes
				true_religion_baltic_pagan_reformed_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = { 
			OR = {
				true_religion_slavic_pagan_trigger = yes
				true_religion_slavic_pagan_reformed_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FinnPINS
		trigger = { 
			OR = {
				true_religion_finnish_pagan_reformed_trigger = yes
				true_religion_finnish_pagan_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = { 
			OR = {
				true_religion_tengri_pagan_trigger = yes
				true_religion_tengri_pagan_reformed_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = { 
			OR = {
				true_religion_west_african_pagan_trigger = yes
				true_religion_west_african_pagan_reformed_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = { 
			OR = {
				true_religion_zun_pagan_trigger = yes
				true_religion_zun_pagan_reformed_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_AztecPINS
		trigger = { 
			OR = {
				true_religion_aztec_reformed_trigger = yes 
				true_religion_aztec_trigger = yes
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_KhurmaztaPINS
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BonPINS
		trigger = { 
			OR = {
				true_religion_bon_trigger = yes 
				true_religion_bon_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_HellenePINS
		trigger = { 
			OR = {
				true_religion_hellenic_pagan_trigger = yes 
				true_religion_hellenic_pagan_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TaoistPINS
		trigger = { true_religion_taoist_trigger = yes
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_PaganPINS
		trigger = { 
			true_religion_pagan_trigger = yes
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomINS
	}
}
# 
defined_text = {
	name = GetArtifactSourceGEN
	use_first_valid = yes
	text = {
		localisation_key = String_famous_holy_manGEN
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
	text = {
		localisation_key = String_saintGEN
		trigger = {
			religion_group = christian
		}
	}
	text = {
		localisation_key = String_famous_holy_manGEN
		trigger = {
			OR = {
				religion_group = zoroastrian_group
				religion_group = indian_group
				religion_group = jewish_group
				religion_group = muslim
			}
		}
	}
	text = {
		localisation_key = String_great_heroGEN
		trigger = {
			religion_group = pagan_group
		}
	}
}
# 
defined_text = {
	name = GetArtifactSourceDAT
	use_first_valid = yes
	text = {
		localisation_key = String_famous_holy_manDAT
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
	}
	text = {
		localisation_key = String_saintDAT
		trigger = {
			religion_group = christian
		}
	}
	text = {
		localisation_key = String_famous_holy_manDAT
		trigger = {
			OR = {
				religion_group = zoroastrian_group
				religion_group = indian_group
				religion_group = jewish_group
				religion_group = muslim
			}
		}
	}
	text = {
		localisation_key = String_great_heroDAT
		trigger = {
			religion_group = pagan_group
		}
	}
}
# 
defined_text = {
	name = GetReligionAdherentACC

	text = {
		localisation_key = String_CatholicPACC
		trigger = { religion = catholic 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianACC
		trigger = { religion = orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ChristianPACC
		trigger = {
			religion_group = christian
			NOT = { religion = catholic }
			NOT = { religion = orthodox }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_SunniPACC
		trigger = { religion = sunni 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ShiaPACC
		trigger = { religion = shiite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimPACC
		trigger = {
			religion_group = muslim
			NOT = { religion = sunni }
			NOT = { religion = shiite }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_JewPACC
		trigger = { religion = jewish 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastrianPACC
		trigger = { religion = zoroastrian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HinduPACC
		trigger = { religion = hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BuddhistPACC
		trigger = { religion = buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JainPACC
		trigger = { religion = jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TaoistPACC
		trigger = { religion = taoist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_FollowerACC
		trigger = {
			OR = {
				religion = norse_pagan_reformed
				religion = norse_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_SlavPACC
		trigger = {
			OR = {
				religion = slavic_pagan_reformed
				religion = slavic_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_TengriPACC
		trigger = {
			OR = {
				religion = tengri_pagan_reformed
				religion = tengri_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_RomuvanPACC
		trigger = {
			OR = {
				religion = baltic_pagan_reformed
				religion = baltic_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_FollowerACC
		trigger = {
			OR = {
				religion = finnish_pagan_reformed
				religion = finnish_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_West_AfricanPACC
		trigger = {
			OR = {
				religion = west_african_pagan_reformed
				religion = west_african_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_ZunPACC
		trigger = {
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_KhurmaztaPACC
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BonPACC
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TaoistPACC
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_AztecPACC
		trigger = {
			OR = {
				religion = aztec_reformed
				religion = aztec
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HellenePACC
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = { 
		localisation_key = String_PaganPACC
		trigger = {
			religion = pagan
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomACC
	}
}
# 
defined_text = {
	name = GetReligionAdherents

	text = {
		localisation_key = String_Catholics
		trigger = { religion = catholic 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_Christians
		trigger = { religion = orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Christians
		trigger = {
			religion_group = christian
			NOT = { religion = catholic }
			NOT = { religion = orthodox }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_Sunnis
		trigger = { religion = sunni 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Shias
		trigger = { religion = shiite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Muslims
		trigger = {
			religion_group = muslim
			NOT = { religion = sunni }
			NOT = { religion = shiite }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_Jews
		trigger = { religion = jewish 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zoroastrians
		trigger = { religion = zoroastrian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hindus
		trigger = { religion = hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Buddhists
		trigger = { religion = buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Jains
		trigger = { religion = jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Taoists
		trigger = { religion = taoist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers
		trigger = {
			OR = {
				religion = norse_pagan_reformed
				religion = norse_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs
		trigger = {
			OR = {
				religion = slavic_pagan_reformed
				religion = slavic_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			OR = {
				religion = tengri_pagan_reformed
				religion = tengri_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_Romuvans
		trigger = {
			OR = {
				religion = baltic_pagan_reformed
				religion = baltic_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_Followers
		trigger = {
			OR = {
				religion = finnish_pagan_reformed
				religion = finnish_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_West_Africans
		trigger = {
			OR = {
				religion = west_african_pagan_reformed
				religion = west_african_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_Zuns
		trigger = {
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_Khurmaztas
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Bons
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Taoists
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Aztecs
		trigger = {
			OR = {
				religion = aztec_reformed
				religion = aztec
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hellenes
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = { 
		localisation_key = String_Pagans
		trigger = {
			religion = pagan
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randoms
	}
}
# ( ) 
defined_text = {
	name = GetTrueReligionGroupPersonsGEN

	text = { 
		localisation_key = String_ChristiansGEN
		trigger = { true_religion_group_christian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_MuslimsGEN
		trigger = { true_religion_group_muslim_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_pagansGEN
		trigger = { true_religion_group_pagan_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastriansGEN
		trigger = { true_religion_group_zoroastrian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JewsGEN
		trigger = { true_religion_group_jewish_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_IndiansGEN
		trigger = { true_religion_group_indian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_randomGEN
	}
}
# 
defined_text = {
	name = GetTrueReligionGroupPersonsDAT

	text = { 
		localisation_key = String_ChristiansDAT
		trigger = { true_religion_group_christian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_MuslimsDAT
		trigger = { true_religion_group_muslim_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_pagansDAT
		trigger = { true_religion_group_pagan_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastriansDAT
		trigger = { true_religion_group_zoroastrian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JewsDAT
		trigger = { true_religion_group_jewish_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_IndiansDAT
		trigger = { true_religion_group_indian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_randomDAT
	}
}
# 
defined_text = {
	name = GetTrueReligionGroupPersonsPREP

	text = { 
		localisation_key = String_ChristiansPREP
		trigger = { true_religion_group_christian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_MuslimsPREP
		trigger = { true_religion_group_muslim_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_pagansPREP
		trigger = { true_religion_group_pagan_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastriansPREP
		trigger = { true_religion_group_zoroastrian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JewsPREP
		trigger = { true_religion_group_jewish_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_IndiansPREP
		trigger = { true_religion_group_indian_group_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_randomPREP
	}
}
# 
defined_text = {
	name = GetReligionAdherentINS

	text = {
		localisation_key = String_CatholicPINS
		trigger = { religion = catholic 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = { religion = orthodox 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ChristianPINS
		trigger = {
			religion_group = christian
			NOT = { religion = catholic }
			NOT = { religion = orthodox }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_SunniPINS
		trigger = { religion = sunni 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ShiaPINS
		trigger = { religion = shiite 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimPINS
		trigger = {
			religion_group = muslim
			NOT = { religion = sunni }
			NOT = { religion = shiite }
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_JewPINS
		trigger = { religion = jewish 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastrianPINS
		trigger = { religion = zoroastrian 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HinduPINS
		trigger = { religion = hindu 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BuddhistPINS
		trigger = { religion = buddhist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JainPINS
		trigger = { religion = jain 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TaoistPINS
		trigger = { religion = taoist 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_FollowerINS
		trigger = {
			OR = {
				religion = norse_pagan_reformed
				religion = norse_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_SlavPINS
		trigger = {
			OR = {
				religion = slavic_pagan_reformed
				religion = slavic_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			OR = {
				religion = tengri_pagan_reformed
				religion = tengri_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_RomuvanPINS
		trigger = {
			OR = {
				religion = baltic_pagan_reformed
				religion = baltic_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			OR = {
				religion = finnish_pagan_reformed
				religion = finnish_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	 text = { 
		localisation_key = String_West_AfricanPINS
		trigger = {
			OR = {
				religion = west_african_pagan_reformed
				religion = west_african_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_ZunPINS
		trigger = {
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}		
		}
	}
	text = { 
		localisation_key = String_KhurmaztaPINS
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BonPINS
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TaoistPINS
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_AztecPINS
		trigger = {
			OR = {
				religion = aztec_reformed
				religion = aztec
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HellenePINS
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
	}
	text = { 
		localisation_key = String_PaganPINS
		trigger = {
			religion = pagan
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomINS
	}
}
# 
defined_text = {
	name = GetTrueReligionAdherentINS

	text = {
		localisation_key = String_CatholicPINS
		trigger = { true_religion_catholic_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = { true_religion_orthodox_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_CatharPINS
		trigger = { true_religion_cathar_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = { true_religion_fraticelli_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_WaldensianPINS
		trigger = { true_religion_waldensian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_LollardPINS
		trigger = { true_religion_lollard_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_BogomilistPINS
		trigger = { true_religion_bogomilist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MonothelitePINS
		trigger = { true_religion_monothelite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_IconoclastPINS
		trigger = { true_religion_iconoclast_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_PaulicianPINS
		trigger = { true_religion_paulician_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MiaphysitePINS
		trigger = { true_religion_miaphysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MonophysitePINS
		trigger = { true_religion_monophysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_NestorianPINS
		trigger = { true_religion_nestorian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MessalianPINS
		trigger = { true_religion_messalian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_SunniPINS
		trigger = { true_religion_sunni_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZikriPINS
		trigger = { true_religion_zikri_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_YazidiPINS
		trigger = { true_religion_yazidi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ShiaPINS
		trigger = { true_religion_shiite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_DruzeP
		trigger = { true_religion_druze_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HurufiPINS
		trigger = { true_religion_hurufi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_IbadiPINS
		trigger = { true_religion_ibadi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_KharijitePINS
		trigger = { true_religion_kharijite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = { 
		localisation_key = String_JewPINS
		trigger = { true_religion_jewish_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_SamaritanPINS
		trigger = { true_religion_samaritan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_KaraitePINS
		trigger = { true_religion_karaite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZoroastrianPINS
		trigger = { true_religion_zoroastrian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_MazdakiPINS
		trigger = { true_religion_mazdaki_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ManicheanPINS
		trigger = { true_religion_manichean_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HinduPINS
		trigger = { true_religion_hindu_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BuddhistPINS
		trigger = { true_religion_buddhist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_JainPINS
		trigger = { true_religion_jain_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_FollowerINS
		trigger = { true_religion_norse_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_SlavPINS
		trigger = { true_religion_slavic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TengriPINS
		trigger = { true_religion_tengri_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_RomuvanPINS
		trigger = { true_religion_baltic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_FollowerINS
		trigger = { true_religion_finnish_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_West_AfricanPINS
		trigger = { true_religion_west_african_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZunPINS
		trigger = { true_religion_zun_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_AztecPINS
		trigger = { true_religion_aztec_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	
	text = { 
		localisation_key = String_AztecPINS
		trigger = { true_religion_aztec_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_FollowerINS
		trigger = { true_religion_norse_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_SlavPINS
		trigger = { true_religion_slavic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TengriPINS
		trigger = { true_religion_tengri_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_RomuvanPINS
		trigger = { true_religion_baltic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_FollowerINS
		trigger = { true_religion_finnish_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_West_AfricanPINS
		trigger = { true_religion_west_african_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_ZunPINS
		trigger = { true_religion_zun_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_KhurmaztaPINS
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_BonPINS
		trigger = { 
			OR = {
				true_religion_bon_trigger = yes 
				true_religion_bon_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_HellenePINS
		trigger = { 
			OR = {
				true_religion_hellenic_pagan_trigger = yes 
				true_religion_hellenic_pagan_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_TaoistPINS
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_PaganPINS
		trigger = { true_religion_pagan_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomINS
	}
}
# 
defined_text = {
	name = GetTrueReligionAdherents

	text = {
		localisation_key = String_Catholics
		trigger = { true_religion_catholic_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_Christians
		trigger = { true_religion_orthodox_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Cathars
		trigger = { true_religion_cathar_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = { true_religion_fraticelli_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Waldensians
		trigger = { true_religion_waldensian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Lollards
		trigger = { true_religion_lollard_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Bogomilists
		trigger = { true_religion_bogomilist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Monothelites
		trigger = { true_religion_monothelite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Iconoclasts
		trigger = { true_religion_iconoclast_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Paulicians
		trigger = { true_religion_paulician_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Miaphysites
		trigger = { true_religion_miaphysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Monophysites
		trigger = { true_religion_monophysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Nestorians
		trigger = { true_religion_nestorian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Messalians
		trigger = { true_religion_messalian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Sunnis
		trigger = { true_religion_sunni_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zikris
		trigger = { true_religion_zikri_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Yazidis
		trigger = { true_religion_yazidi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Shias
		trigger = { true_religion_shiite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_DruzeP
		trigger = { true_religion_druze_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hurufis
		trigger = { true_religion_hurufi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Ibadis
		trigger = { true_religion_ibadi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Kharijites
		trigger = { true_religion_kharijite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = { 
		localisation_key = String_Jews
		trigger = { true_religion_jewish_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Samaritans
		trigger = { true_religion_samaritan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Karaites
		trigger = { true_religion_karaite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zoroastrians
		trigger = { true_religion_zoroastrian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Mazdakis
		trigger = { true_religion_mazdaki_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Manicheans
		trigger = { true_religion_manichean_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hindus
		trigger = { true_religion_hindu_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Buddhists
		trigger = { true_religion_buddhist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Jains
		trigger = { true_religion_jain_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers
		trigger = { true_religion_norse_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs
		trigger = { true_religion_slavic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Tengris
		trigger = { true_religion_tengri_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Romuvans
		trigger = { true_religion_baltic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_Followers
		trigger = { true_religion_finnish_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_West_Africans
		trigger = { true_religion_west_african_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zuns
		trigger = { true_religion_zun_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Aztecs
		trigger = { true_religion_aztec_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	
	text = { 
		localisation_key = String_Aztecs
		trigger = { true_religion_aztec_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers
		trigger = { true_religion_norse_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs
		trigger = { true_religion_slavic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Tengris
		trigger = { true_religion_tengri_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Romuvans
		trigger = { true_religion_baltic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_Followers
		trigger = { true_religion_finnish_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_West_Africans
		trigger = { true_religion_west_african_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zuns
		trigger = { true_religion_zun_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Khurmaztas
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Bons
		trigger = { 
			OR = {
				true_religion_bon_trigger = yes 
				true_religion_bon_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hellenes
		trigger = { 
			OR = {
				true_religion_hellenic_pagan_trigger = yes 
				true_religion_hellenic_pagan_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Taoists
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Pagans
		trigger = { true_religion_pagan_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomINS
	}
}
# ,    
defined_text = {
	name = GetTrueReligionAdherentsGENACC

	text = {
		localisation_key = String_Catholics_GENACC
		trigger = { true_religion_catholic_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = { true_religion_orthodox_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Cathars_GENACC
		trigger = { true_religion_cathar_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = { true_religion_fraticelli_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Waldensians_GENACC
		trigger = { true_religion_waldensian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Lollards_GENACC
		trigger = { true_religion_lollard_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Bogomilists_GENACC
		trigger = { true_religion_bogomilist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Monothelites_GENACC
		trigger = { true_religion_monothelite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Iconoclasts_GENACC
		trigger = { true_religion_iconoclast_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Paulicians_GENACC
		trigger = { true_religion_paulician_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Miaphysites_GENACC
		trigger = { true_religion_miaphysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Monophysites_GENACC
		trigger = { true_religion_monophysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Nestorians_GENACC
		trigger = { true_religion_nestorian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Messalians_GENACC
		trigger = { true_religion_messalian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Sunnis_GENACC
		trigger = { true_religion_sunni_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zikris_GENACC
		trigger = { true_religion_zikri_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Yazidis_GENACC
		trigger = { true_religion_yazidi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Shias_GENACC
		trigger = { true_religion_shiite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_DruzeP
		trigger = { true_religion_druze_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hurufis_GENACC
		trigger = { true_religion_hurufi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Ibadis_GENACC
		trigger = { true_religion_ibadi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Kharijites_GENACC
		trigger = { true_religion_kharijite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = { 
		localisation_key = String_Jews_GENACC
		trigger = { true_religion_jewish_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Samaritans_GENACC
		trigger = { true_religion_samaritan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Karaites_GENACC
		trigger = { true_religion_karaite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zoroastrians_GENACC
		trigger = { true_religion_zoroastrian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Mazdakis_GENACC
		trigger = { true_religion_mazdaki_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Manicheans_GENACC
		trigger = { true_religion_manichean_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hindus_GENACC
		trigger = { true_religion_hindu_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Buddhists_GENACC
		trigger = { true_religion_buddhist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Jains_GENACC
		trigger = { true_religion_jain_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers_GENACC
		trigger = { true_religion_norse_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs_GENACC
		trigger = { true_religion_slavic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Tengris_GENACC
		trigger = { true_religion_tengri_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Romuvans_GENACC
		trigger = { true_religion_baltic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_Followers_GENACC
		trigger = { true_religion_finnish_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_West_Africans_GENACC
		trigger = { true_religion_west_african_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zuns_GENACC
		trigger = { true_religion_zun_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Aztecs_GENACC
		trigger = { true_religion_aztec_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	
	text = { 
		localisation_key = String_Aztecs_GENACC
		trigger = { true_religion_aztec_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers_GENACC
		trigger = { true_religion_norse_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs_GENACC
		trigger = { true_religion_slavic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Tengris_GENACC
		trigger = { true_religion_tengri_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Romuvans_GENACC
		trigger = { true_religion_baltic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_Followers_GENACC
		trigger = { true_religion_finnish_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_West_Africans_GENACC
		trigger = { true_religion_west_african_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zuns_GENACC
		trigger = { true_religion_zun_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Khurmaztas_GENACC
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Bons_GENACC
		trigger = { 
			OR = {
				true_religion_bon_trigger = yes 
				true_religion_bon_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hellenes_GENACC
		trigger = { 
			OR = {
				true_religion_hellenic_pagan_trigger = yes 
				true_religion_hellenic_pagan_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Taoists_GENACC
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Pagans_GENACC
		trigger = { true_religion_pagan_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomsGENACC
	}
}
# ,  
defined_text = {
	name = GetTrueReligionAdherentsINS

	text = {
		localisation_key = String_Catholics_INS
		trigger = { true_religion_catholic_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = { true_religion_orthodox_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Cathars_INS
		trigger = { true_religion_cathar_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = { true_religion_fraticelli_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Waldensians_INS
		trigger = { true_religion_waldensian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Lollards_INS
		trigger = { true_religion_lollard_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Bogomilists_INS
		trigger = { true_religion_bogomilist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Monothelites_INS
		trigger = { true_religion_monothelite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Iconoclasts_INS
		trigger = { true_religion_iconoclast_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Paulicians_INS
		trigger = { true_religion_paulician_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Miaphysites_INS
		trigger = { true_religion_miaphysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Monophysites_INS
		trigger = { true_religion_monophysite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Nestorians_INS
		trigger = { true_religion_nestorian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Messalians_INS
		trigger = { true_religion_messalian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Sunnis_INS
		trigger = { true_religion_sunni_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zikris_INS
		trigger = { true_religion_zikri_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Yazidis_INS
		trigger = { true_religion_yazidi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Shias_INS
		trigger = { true_religion_shiite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_DruzeP
		trigger = { true_religion_druze_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hurufis_INS
		trigger = { true_religion_hurufi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Ibadis_INS
		trigger = { true_religion_ibadi_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Kharijites_INS
		trigger = { true_religion_kharijite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}	
	text = { 
		localisation_key = String_Jews_INS
		trigger = { true_religion_jewish_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Samaritans_INS
		trigger = { true_religion_samaritan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Karaites_INS
		trigger = { true_religion_karaite_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zoroastrians_INS
		trigger = { true_religion_zoroastrian_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Mazdakis_INS
		trigger = { true_religion_mazdaki_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Manicheans_INS
		trigger = { true_religion_manichean_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hindus_INS
		trigger = { true_religion_hindu_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Buddhists_INS
		trigger = { true_religion_buddhist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Jains_INS
		trigger = { true_religion_jain_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers_INS
		trigger = { true_religion_norse_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs_INS
		trigger = { true_religion_slavic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Tengris_INS
		trigger = { true_religion_tengri_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Romuvans_INS
		trigger = { true_religion_baltic_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_Suomenusko_Followers_INS
		trigger = { true_religion_finnish_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	 text = { 
		localisation_key = String_West_Africans_INS
		trigger = { true_religion_west_african_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zuns_INS
		trigger = { true_religion_zun_pagan_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Aztecs_INS
		trigger = { true_religion_aztec_reformed_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	
	text = { 
		localisation_key = String_Aztecs_INS
		trigger = { true_religion_aztec_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Norse_Followers_INS
		trigger = { true_religion_norse_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Slavs_INS
		trigger = { true_religion_slavic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Tengris_INS
		trigger = { true_religion_tengri_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Romuvans_INS
		trigger = { true_religion_baltic_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_Followers_INS
		trigger = { true_religion_finnish_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_West_Africans_INS
		trigger = { true_religion_west_african_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Zuns_INS
		trigger = { true_religion_zun_pagan_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Khurmaztas_INS
		trigger = { true_religion_khurmazta_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Bons_INS
		trigger = { 
			OR = {
				true_religion_bon_trigger = yes 
				true_religion_bon_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Hellenes_INS
		trigger = { 
			OR = {
				true_religion_hellenic_pagan_trigger = yes 
				true_religion_hellenic_pagan_reformed_trigger = yes 
			}
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Taoists_INS
		trigger = { true_religion_taoist_trigger = yes 
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = { 
		localisation_key = String_Pagans_INS
		trigger = { true_religion_pagan_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomsINS
	}
}
# 
defined_text = {
	name = GetTrueReligionScriptureNameGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleGEN
		trigger = { 
			true_religion_group_christian_trigger = yes
			NOT = { true_religion_messalian_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_AsceticusGEN
		trigger = { true_religion_messalian_trigger = yes }
	}
	text = {
		localisation_key = String_KoranGEN
		trigger = { 
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_yazidi_trigger = yes }
			NOT = { true_religion_druze_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationGEN
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomGEN
		trigger = { true_religion_druze_trigger = yes }
	}
	text = { 
		localisation_key = String_TorahGEN
		trigger = { true_religion_group_jewish_group_trigger = yes }
	}
	text = { 
		localisation_key = String_GathasGEN
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_mazdaki_trigger = yes }
			NOT = { true_religion_manichean_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Great_SecretGEN
		trigger = { true_religion_mazdaki_trigger = yes }
	}
	text = { 
		localisation_key = String_MahabharataGEN
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = String_BuddhacavanaGEN
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = String_Angas_SutrasGEN
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = String_SagasGEN
		trigger = { 
			OR = {
				true_religion_norse_pagan_trigger = yes
				true_religion_norse_pagan_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_LegendsGEN
		trigger = { 
			true_religion_group_pagan_group_trigger = yes
			NOR = {
				true_religion_norse_pagan_trigger = yes
				true_religion_norse_pagan_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXTS_GEN
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = THE_GATHAS_GEN
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = MDODUS_GEN
		trigger = { true_religion_bon_trigger = yes }
	}
	text = { 
		localisation_key = TAO_TE_CHING_GEN
		trigger = { true_religion_taoist_trigger = yes }
	}
}
# 
defined_text = {
	name = GetTrueReligionScriptureNameACC
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleACC
		trigger = { 
			true_religion_group_christian_trigger = yes
			NOT = { true_religion_messalian_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Asceticus
		trigger = { true_religion_messalian_trigger = yes }
	}
	text = {
		localisation_key = String_Koran
		trigger = { 
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_yazidi_trigger = yes }
			NOT = { true_religion_druze_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationACC
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomACC
		trigger = { true_religion_druze_trigger = yes }
	}
	text = { 
		localisation_key = String_TorahACC
		trigger = { true_religion_group_jewish_group_trigger = yes }
	}
	text = { 
		localisation_key = String_Gathas
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_mazdaki_trigger = yes }
			NOT = { true_religion_manichean_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Great_SecretACC
		trigger = { true_religion_mazdaki_trigger = yes }
	}
	text = { 
		localisation_key = String_MahabharataACC
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = String_BuddhacavanaACC
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = String_Angas_Sutras
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = String_Sagas
		trigger = { 
			OR = {
				true_religion_norse_pagan_trigger = yes
				true_religion_norse_pagan_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Legends
		trigger = { 
			true_religion_group_pagan_group_trigger = yes
			NOR = {
				true_religion_norse_pagan_trigger = yes
				true_religion_norse_pagan_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXTS
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = THE_GATHAS
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = MDODUS
		trigger = { true_religion_bon_trigger = yes }
	}
	text = { 
		localisation_key = TAO_TE_CHING
		trigger = { true_religion_taoist_trigger = yes }
	}
}
#     
defined_text = {
	name = GetTrueReligionScriptureAdjAndName
	use_first_valid = yes
	text = {
		localisation_key = TrueReligionScriptureAdjAndName_Fallback
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = { 
		localisation_key = String_Catholic_Bible
		trigger = { true_religion_catholic_trigger = yes }
	}
	text = { 
		localisation_key = String_Orthodox_Bible
		trigger = { true_religion_orthodox_trigger = yes }
	}
	text = { 
		localisation_key = String_Asceticus
		trigger = { true_religion_messalian_trigger = yes }
	}
	text = { 
		localisation_key = String_Other_Bible
		trigger = { 
			true_religion_group_christian_trigger = yes
			NOT = { true_religion_messalian_trigger = yes }
			NOT = { true_religion_catholic_trigger = yes }
			NOT = { true_religion_orthodox_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Sunni_Koran
		trigger = { true_religion_sunni_trigger = yes }
	}
	text = { 
		localisation_key = String_Shia_Koran
		trigger = { true_religion_shiite_trigger = yes }
	}
	text = { 
		localisation_key = String_Book_of_Illumination
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = String_Epistles_of_Wisdom
		trigger = { true_religion_druze_trigger = yes }
	}
	text = {
		localisation_key = String_Other_Koran
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_sunni_trigger = yes }
			NOT = { true_religion_shiite_trigger = yes }
			NOT = { true_religion_yazidi_trigger = yes }
			NOT = { true_religion_druze_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Torah
		trigger = { true_religion_jewish_trigger = yes }
	}
	text = { 
		localisation_key = String_Torah_Other
		trigger = {
			true_religion_group_jewish_group_trigger = yes
			NOT = { true_religion_jewish_trigger = yes }
		}
	}

	text = { 
		localisation_key = String_Gathas
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_mazdaki_trigger = yes }
			NOT = { true_religion_manichean_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Great_Secret
		trigger = { true_religion_mazdaki_trigger = yes }
	}
	text = { 
		localisation_key = String_Hindu_Mahabharata
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = String_Buddhacavana
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = String_Jain_Angas_Sutras
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = String_Norse_Sagas
		trigger = { 
			OR = {
				true_religion_norse_pagan_reformed_trigger = yes
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Slavic_Legends
		trigger = { 
			OR = {
				true_religion_slavic_pagan_reformed_trigger = yes
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Tengri_Legends
		trigger = { 
			OR = {
				true_religion_tengri_pagan_reformed_trigger = yes
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Romuva_Legends
		trigger = { 
			OR = {
				true_religion_baltic_pagan_reformed_trigger = yes
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_Legends
		trigger = { 
			OR = {
				true_religion_finnish_pagan_reformed_trigger = yes
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_West_African_Legends
		trigger = { 
			OR = {
				true_religion_west_african_pagan_reformed_trigger = yes
				true_religion_west_african_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Zun_Legends
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Aztec_Legends
		trigger = { 
			OR = {
				true_religion_aztec_reformed_trigger = yes
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Hellenic_Legends
		trigger = { true_religion_hellenic_pagan_trigger = yes }
	}
	text = { 
		localisation_key = String_Pagan_Legends
		trigger = { true_religion_pagan_trigger = yes }
	}
	text = { 
		localisation_key = MANI_TEXTS
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = THE_GATHAS
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = MDODUS
		trigger = { true_religion_bon_trigger = yes }
	}
	text = { 
		localisation_key = TAO_TE_CHING
		trigger = { true_religion_taoist_trigger = yes }
	}
}
# 
defined_text = {
	name = GetTrueReligionScriptureAdjAndNameGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomTrueReligionScriptureAdjAndName_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = { 
		localisation_key = String_Catholic_BibleGEN
		trigger = { true_religion_catholic_trigger = yes }
	}
	text = { 
		localisation_key = String_Orthodox_BibleGEN
		trigger = { true_religion_orthodox_trigger = yes }
	}
	text = { 
		localisation_key = String_AsceticusGEN
		trigger = { true_religion_messalian_trigger = yes }
	}
	text = { 
		localisation_key = String_Other_BibleGEN
		trigger = { 
			true_religion_group_christian_trigger = yes
			NOT = { true_religion_messalian_trigger = yes }
			NOT = { true_religion_catholic_trigger = yes }
			NOT = { true_religion_orthodox_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Sunni_KoranGEN
		trigger = { true_religion_sunni_trigger = yes }
	}
	text = { 
		localisation_key = String_Shia_KoranGEN
		trigger = { true_religion_shiite_trigger = yes }
	}
	text = { 
		localisation_key = String_Book_of_IlluminationGEN
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomGEN
		trigger = { true_religion_druze_trigger = yes }
	}
	text = {
		localisation_key = String_Other_KoranGEN
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_sunni_trigger = yes }
			NOT = { true_religion_shiite_trigger = yes }
			NOT = { true_religion_yazidi_trigger = yes }
			NOT = { true_religion_druze_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_TorahGEN
		trigger = { true_religion_jewish_trigger = yes }
	}
	text = { 
		localisation_key = String_Torah_OtherGEN
		trigger = {
			true_religion_group_jewish_group_trigger = yes
			NOT = { true_religion_jewish_trigger = yes }
		}
	}

	text = { 
		localisation_key = String_GathasGEN
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_mazdaki_trigger = yes }
			NOT = { true_religion_manichean_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Great_SecretGEN
		trigger = { true_religion_mazdaki_trigger = yes }
	}
	text = { 
		localisation_key = String_Hindu_MahabharataGEN
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = String_BuddhacavanaGEN
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = String_Jain_Angas_SutrasGEN
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = String_Norse_SagasGEN
		trigger = { 
			OR = {
				true_religion_norse_pagan_reformed_trigger = yes
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Slavic_LegendsGEN
		trigger = { 
			OR = {
				true_religion_slavic_pagan_reformed_trigger = yes
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Tengri_LegendsGEN
		trigger = { 
			OR = {
				true_religion_tengri_pagan_reformed_trigger = yes
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Romuva_LegendsGEN
		trigger = { 
			OR = {
				true_religion_baltic_pagan_reformed_trigger = yes
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_LegendsGEN
		trigger = { 
			OR = {
				true_religion_finnish_pagan_reformed_trigger = yes
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_West_African_LegendsGEN
		trigger = { 
			OR = {
				true_religion_west_african_pagan_reformed_trigger = yes
				true_religion_west_african_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Zun_LegendsGEN
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Aztec_LegendsGEN
		trigger = { 
			OR = {
				true_religion_aztec_reformed_trigger = yes
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Hellenic_LegendsGEN
		trigger = { true_religion_hellenic_pagan_trigger = yes }
	}
	text = { 
		localisation_key = String_Pagan_LegendsGEN
		trigger = { true_religion_pagan_trigger = yes }
	}
	text = { 
		localisation_key = MANI_TEXTS_GEN
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = THE_GATHAS_GEN
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = MDODUS_GEN
		trigger = { true_religion_bon_trigger = yes }
	}
	text = { 
		localisation_key = TAO_TE_CHING_GEN
		trigger = { true_religion_taoist_trigger = yes }
	}
}
# 
defined_text = {
	name = GetTrueReligionScriptureAdjAndNameACC
	use_first_valid = yes
	text = {
		localisation_key = RandomTrueReligionScriptureAdjAndName_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = { 
		localisation_key = String_Catholic_BibleACC
		trigger = { true_religion_catholic_trigger = yes }
	}
	text = { 
		localisation_key = String_Orthodox_BibleACC
		trigger = { true_religion_orthodox_trigger = yes }
	}
	text = { 
		localisation_key = String_Asceticus
		trigger = { true_religion_messalian_trigger = yes }
	}
	text = { 
		localisation_key = String_Other_BibleACC
		trigger = { 
			true_religion_group_christian_trigger = yes
			NOT = { true_religion_messalian_trigger = yes }
			NOT = { true_religion_catholic_trigger = yes }
			NOT = { true_religion_orthodox_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Sunni_Koran
		trigger = { true_religion_sunni_trigger = yes }
	}
	text = { 
		localisation_key = String_Shia_Koran
		trigger = { true_religion_shiite_trigger = yes }
	}
	text = { 
		localisation_key = String_Book_of_IlluminationACC
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomACC
		trigger = { true_religion_druze_trigger = yes }
	}
	text = {
		localisation_key = String_Other_Koran
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_sunni_trigger = yes }
			NOT = { true_religion_shiite_trigger = yes }
			NOT = { true_religion_yazidi_trigger = yes }
			NOT = { true_religion_druze_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_TorahACC
		trigger = { true_religion_jewish_trigger = yes }
	}
	text = { 
		localisation_key = String_Torah_Other
		trigger = {
			true_religion_group_jewish_group_trigger = yes
			NOT = { true_religion_jewish_trigger = yes }
		}
	}

	text = { 
		localisation_key = String_Gathas
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_mazdaki_trigger = yes }
			NOT = { true_religion_manichean_trigger = yes }
		}
	}
	text = { 
		localisation_key = String_Great_SecretACC
		trigger = { true_religion_mazdaki_trigger = yes }
	}
	text = { 
		localisation_key = String_Hindu_Mahabharata
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = String_BuddhacavanaACC
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = String_Jain_Angas_Sutras
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = String_Norse_Sagas
		trigger = { 
			OR = {
				true_religion_norse_pagan_reformed_trigger = yes
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Slavic_Legends
		trigger = { 
			OR = {
				true_religion_slavic_pagan_reformed_trigger = yes
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Tengri_Legends
		trigger = { 
			OR = {
				true_religion_tengri_pagan_reformed_trigger = yes
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Romuva_Legends
		trigger = { 
			OR = {
				true_religion_baltic_pagan_reformed_trigger = yes
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_Legends
		trigger = { 
			OR = {
				true_religion_finnish_pagan_reformed_trigger = yes
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_West_African_Legends
		trigger = { 
			OR = {
				true_religion_west_african_pagan_reformed_trigger = yes
				true_religion_west_african_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Zun_Legends
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Aztec_Legends
		trigger = { 
			OR = {
				true_religion_aztec_reformed_trigger = yes
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = String_Hellenic_Legends
		trigger = { true_religion_hellenic_pagan_trigger = yes }
	}
	text = { 
		localisation_key = String_Pagan_Legends
		trigger = { true_religion_pagan_trigger = yes }
	}
	text = { 
		localisation_key = MANI_TEXTS
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = THE_GATHAS
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = MDODUS
		trigger = { true_religion_bon_trigger = yes }
	}
	text = { 
		localisation_key = TAO_TE_CHING
		trigger = { true_religion_taoist_trigger = yes }
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodVOC
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_VOC
		trigger = { 
			true_religion_group_christian_trigger = yes
		}
	}
	text = {
		localisation_key = GOD_ALLAH
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_yazidi_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = GOD_GOD_VOC
		trigger = { true_religion_group_jewish_group_trigger = yes }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_manichean_trigger = yes }
			NOT = { true_religion_khurmazta_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = GOD_ODIN
		trigger = { 
			OR = {
				AND = {
					true_religion_norse_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN
		trigger = { 
			OR = {
				AND = {
					true_religion_slavic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_slavic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					true_religion_tengri_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_tengri_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS
		trigger = { 
			OR = {
				AND = {
					true_religion_baltic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_baltic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					true_religion_finnish_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_finnish_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_VOC
		trigger = { 
			OR = {
				AND = {
					true_religion_west_african_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_west_african_pagan_trigger = yes
				true_religion_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_west_african_pagan_reformed_trigger = yes 
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					true_religion_aztec_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER
		trigger = { true_religion_taoist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_JUPITER
		trigger = {
			OR = {
				AND = {
					true_religion_hellenic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							true_religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			true_religion_hellenic_pagan_trigger = yes
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER
		trigger = {
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_dlc = "Holy Fury"
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_true_god_name
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				true_religion = norse_pagan_reformed
				true_religion = tengri_pagan_reformed
				true_religion = baltic_pagan_reformed
				true_religion = finnish_pagan_reformed
				true_religion = aztec_reformed
				true_religion = slavic_pagan_reformed
				true_religion = west_african_pagan_reformed
				true_religion = zun_pagan_reformed
				true_religion = hellenic_pagan_reformed
				true_religion = bon_reformed
			}
			true_religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodACC
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_ACC
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = { 
			true_religion_group_christian_trigger = yes
		}
	}
	text = {
		localisation_key = GOD_ALLAH_GEN
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_yazidi_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_GEN
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = GOD_GOD_GEN
		trigger = { true_religion_group_jewish_group_trigger = yes }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_ACC
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_manichean_trigger = yes }
			NOT = { true_religion_khurmazta_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_GEN
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA_ACC
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA_ACC
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_ACC
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = GOD_ODIN_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_norse_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_slavic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_ACC
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_slavic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					true_religion_tengri_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_tengri_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_baltic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_ACC
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_baltic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					true_religion_finnish_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_finnish_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_west_african_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_west_african_pagan_trigger = yes
				true_religion_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_ACC
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_west_african_pagan_reformed_trigger = yes 
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_GEN
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					true_religion_aztec_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_ACC
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_GEN
		trigger = { true_religion_taoist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_JUPITER_GEN
		trigger = {
			OR = {
				AND = {
					true_religion_hellenic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							true_religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			true_religion_hellenic_pagan_trigger = yes
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_GEN
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_ACC
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_dlc = "Holy Fury"
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_GEN
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_ACC
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_true_god_name_ACC
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				true_religion = norse_pagan_reformed
				true_religion = tengri_pagan_reformed
				true_religion = baltic_pagan_reformed
				true_religion = finnish_pagan_reformed
				true_religion = aztec_reformed
				true_religion = slavic_pagan_reformed
				true_religion = west_african_pagan_reformed
				true_religion = zun_pagan_reformed
				true_religion = hellenic_pagan_reformed
				true_religion = bon_reformed
			}
			true_religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = { 
			true_religion_group_christian_trigger = yes
		}
	}
	text = {
		localisation_key = GOD_ALLAH_GEN
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_yazidi_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_GEN
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = GOD_GOD_GEN
		trigger = { true_religion_group_jewish_group_trigger = yes }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_GEN
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_manichean_trigger = yes }
			NOT = { true_religion_khurmazta_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_GEN
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA_GEN
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA_GEN
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_GEN
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = GOD_ODIN_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_norse_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_slavic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_slavic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					true_religion_tengri_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_tengri_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_baltic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_baltic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					true_religion_finnish_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_finnish_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_GEN
		trigger = { 
			OR = {
				AND = {
					true_religion_west_african_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_west_african_pagan_trigger = yes
				true_religion_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_west_african_pagan_reformed_trigger = yes 
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_GEN
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					true_religion_aztec_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_GEN
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_GEN
		trigger = { true_religion_taoist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_JUPITER_GEN
		trigger = {
			OR = {
				AND = {
					true_religion_hellenic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							true_religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			true_religion_hellenic_pagan_trigger = yes
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_GEN
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_GEN
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_dlc = "Holy Fury"
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_GEN
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_GEN
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_true_god_name_GEN
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				true_religion = norse_pagan_reformed
				true_religion = tengri_pagan_reformed
				true_religion = baltic_pagan_reformed
				true_religion = finnish_pagan_reformed
				true_religion = aztec_reformed
				true_religion = slavic_pagan_reformed
				true_religion = west_african_pagan_reformed
				true_religion = zun_pagan_reformed
				true_religion = hellenic_pagan_reformed
				true_religion = bon_reformed
			}
			true_religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodDAT
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_DAT
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_DAT
		trigger = { 
			true_religion_group_christian_trigger = yes
		}
	}
	text = {
		localisation_key = GOD_ALLAH_DAT
		trigger = {
			true_religion_group_muslim_trigger = yes
			NOT = { true_religion_yazidi_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_DAT
		trigger = { true_religion_yazidi_trigger = yes }
	}
	text = { 
		localisation_key = GOD_GOD_DAT
		trigger = { true_religion_group_jewish_group_trigger = yes }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_DAT
		trigger = { 
			true_religion_group_zoroastrian_group_trigger = yes 
			NOT = { true_religion_manichean_trigger = yes }
			NOT = { true_religion_khurmazta_trigger = yes }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_DAT
		trigger = { true_religion_manichean_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA_DAT
		trigger = { true_religion_hindu_trigger = yes }
	}
	text = { 
		localisation_key = GOD_BRAHMA_DAT
		trigger = { true_religion_buddhist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_DAT
		trigger = { true_religion_jain_trigger = yes }
	}
	text = { 
		localisation_key = GOD_ODIN_DAT
		trigger = { 
			OR = {
				AND = {
					true_religion_norse_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				true_religion_norse_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_norse_pagan_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_DAT
		trigger = { 
			OR = {
				AND = {
					true_religion_slavic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_slavic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_slavic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					true_religion_tengri_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_tengri_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_tengri_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_DAT
		trigger = { 
			OR = {
				AND = {
					true_religion_baltic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_baltic_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_baltic_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					true_religion_finnish_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_finnish_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_finnish_pagan_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_DAT
		trigger = { 
			OR = {
				AND = {
					true_religion_west_african_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				true_religion_west_african_pagan_trigger = yes
				true_religion_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_west_african_pagan_reformed_trigger = yes 
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_DAT
		trigger = { 
			OR = {
				true_religion_zun_pagan_reformed_trigger = yes
				true_religion_zun_pagan_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					true_religion_aztec_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						true_religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				true_religion_aztec_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_DAT
		trigger = { true_religion_khurmazta_trigger = yes }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_DAT
		trigger = { true_religion_taoist_trigger = yes }
	}
	text = { 
		localisation_key = GOD_JUPITER_DAT
		trigger = {
			OR = {
				AND = {
					true_religion_hellenic_pagan_reformed_trigger = yes
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							true_religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			true_religion_hellenic_pagan_trigger = yes
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_DAT
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_DAT
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { culture = greek }
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_DAT
		trigger = {
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_dlc = "Holy Fury"
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_DAT
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_DAT
		trigger = {
			has_dlc = "Holy Fury"
			true_religion_hellenic_pagan_reformed_trigger = yes
			culture = greek
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_true_god_name_DAT
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				true_religion = norse_pagan_reformed
				true_religion = tengri_pagan_reformed
				true_religion = baltic_pagan_reformed
				true_religion = finnish_pagan_reformed
				true_religion = aztec_reformed
				true_religion = slavic_pagan_reformed
				true_religion = west_african_pagan_reformed
				true_religion = zun_pagan_reformed
				true_religion = hellenic_pagan_reformed
				true_religion = bon_reformed
			}
			true_religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#  ,  GetHolding,   ""   "".
defined_text = {
	name = GetHoldingPlace # Returns a suitable name for a holding

	text = {
		localisation_key = GetHolding_Castle_1
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_City_1
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_City_2
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_City_3
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_settlement
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}
			}
		}
	}
}
#  ,  GetHolding,    ""  "".
defined_text = {
	name = GetHoldingGenericPlace # Returns a suitable name for a holding

	text = {
		localisation_key = GetHolding_Settlement_1
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Settlement_1
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_City_1
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_City_2
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_City_3
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}
			}
		}
	}
}
# 
defined_text = {
	name = GetCapitalHoldingGEN # Returns a suitable name for the main building of your capital

	text = {
		localisation_key = GetHolding_Castle_1GEN
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2GEN
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3GEN
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1GEN
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = GetHolding_Nomad_1GEN
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2GEN
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3GEN
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1GEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2GEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3GEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_City_1GEN
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_City_2GEN
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_City_3GEN
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_City_1GEN
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1GEN
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
						holding_type = family_palace
					}
				}
			}
		}
	}
}
# 
defined_text = {
	name = GetCapitalHoldingPREP # Returns a suitable name for the main building of your capital

	text = {
		localisation_key = GetHolding_Castle_1PREP
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2PREP
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3PREP
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1PREP
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = GetHolding_Nomad_1PREP
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2PREP
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3PREP
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1PREP
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2PREP
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3PREP
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_City_1PREP
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_City_2PREP
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_City_3PREP
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_City_1PREP
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1PREP
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
						holding_type = family_palace
					}
				}
			}
		}
	}
}
# 
defined_text = {
	name = GetHoldingGEN # Returns a suitable name for a holding

	text = {
		localisation_key = GetHolding_Castle_1GEN
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2GEN
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3GEN
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1GEN
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1GEN
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2GEN
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3GEN
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1GEN
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2GEN
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3GEN
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_City_1GEN
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_City_2GEN
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_City_3GEN
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_settlementGEN
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}
			}
		}
	}
}
# 
defined_text = {
	name = GetHoldingPREP # Returns a suitable name for a holding

	text = {
		localisation_key = GetHolding_Castle_1PREP
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2PREP
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3PREP
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1PREP
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1PREP
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2PREP
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3PREP
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1PREP
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2PREP
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3PREP
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_City_1PREP
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_City_2PREP
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_City_3PREP
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = String_settlementPREP
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}	
			}
		}
	}
}
#- 
defined_text = {
	name = GetBuilding # Returns a suitable name for a building

	text = {
		localisation_key = GetHolding_Castle_1
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
					holding_type = family_palace
				}	
			}
		}
	}
}
# . - 
defined_text = {
	name = GetBuildingGEN # Returns a suitable name for a building

	text = {
		localisation_key = GetHolding_Castle_1GEN
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2GEN
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3GEN
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1GEN
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1GEN
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2GEN
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3GEN
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1GEN
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2GEN
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3GEN
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1GEN
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2GEN
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3GEN
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1GEN
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
					holding_type = family_palace
				}	
			}
		}
	}
}
# . - 
defined_text = {
	name = GetBuildingDAT # Returns a suitable name for a building

	text = {
		localisation_key = GetHolding_Castle_1DAT
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2DAT
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3DAT
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1DAT
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1DAT
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2DAT
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3DAT
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1DAT
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2DAT
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3DAT
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1DAT
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2DAT
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3DAT
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1DAT
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
					holding_type = family_palace
				}	
			}
		}
	}
}
# . - 
defined_text = {
	name = GetBuildingPREP # Returns a suitable name for a building

	text = {
		localisation_key = GetHolding_Castle_1PREP
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2PREP
		trigger = {
			holding_type = castle
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3PREP
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1PREP
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Nomad_1PREP
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2PREP
		trigger = {
			holding_type = nomad
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3PREP
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1PREP
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2PREP
		trigger = {
			holding_type = tribal
			county = { 
				holder_scope = { 
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3PREP
		trigger = {
			holding_type = tribal
			county = { holder_scope = { higher_tier_than = DUKE } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1PREP
		trigger = {
			holding_type = city
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2PREP
		trigger = {
			holding_type = city
			county = { 
				holder_scope = { 
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3PREP
		trigger = {
			holding_type = city
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1PREP
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
					holding_type = family_palace
				}	
			}
		}
	}
}
#  
defined_text = {
	name = GetCapitalBuilding # Returns a suitable name for the main building of your capital holding

	text = {
		localisation_key = GetHolding_Castle_1
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = GetHolding_Nomad_1
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
						holding_type = family_palace
					}
				}
			}
		}
	}
}
# .   
defined_text = {
	name = GetCapitalBuildingGEN # Returns a suitable name for the main building of your capital holding

	text = {
		localisation_key = GetHolding_Castle_1GEN
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2GEN
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3GEN
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1GEN
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = GetHolding_Nomad_1GEN
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2GEN
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3GEN
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1GEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2GEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3GEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1GEN
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2GEN
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3GEN
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1GEN
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1GEN
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
						holding_type = family_palace
					}
				}
			}
		}
	}
}
# .   
defined_text = {
	name = GetCapitalBuildingDAT # Returns a suitable name for the main building of your capital holding

	text = {
		localisation_key = GetHolding_Castle_1DAT
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2DAT
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3DAT
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1DAT
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = GetHolding_Nomad_1DAT
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2DAT
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3DAT
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1DAT
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2DAT
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3DAT
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1DAT
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2DAT
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3DAT
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1DAT
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1DAT
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
						holding_type = family_palace
					}
				}
			}
		}
	}
}
# .   
defined_text = {
	name = GetCapitalBuildingPREP # Returns a suitable name for the main building of your capital holding

	text = {
		localisation_key = GetHolding_Castle_1PREP
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2PREP
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3PREP
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1PREP
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = GetHolding_Nomad_1PREP
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2PREP
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3PREP
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_1PREP
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_2PREP
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Tribal_3PREP
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1PREP
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_2PREP
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_3PREP
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Mansion_1PREP
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = GetHolding_Fallback_1PREP
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
						holding_type = family_palace
					}
				}
			}
		}
	}
}
# 
defined_text = {
	name = GetChamberACC
	text = {
		localisation_key = GetChamber_Chambers
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_TentACC
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_TentACC
	}
}
# 
defined_text = {
	name = GetChamberGEN
	text = {
		localisation_key = GetChamber_ChambersGEN
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_TentGEN
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_TentGEN
	}
}
# 
defined_text = {
	name = GetChamberPREP
	text = {
		localisation_key = GetChamber_ChambersPREP
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_TentPREP
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_TentPREP
	}
}
#/.   
defined_text = {
	name = GetChamberFloorPREP
	text = {
		localisation_key = GetChamber_FloorPREP
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_GroundPREP
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_GroundPREP
	}
}
#C /
defined_text = {
	name = GetMyChamber
	text = {
		localisation_key = GetChamber_MyChambers
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTent
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTent
	}
}
#   /
defined_text = {
	name = GetMyChamberACC
	text = {
		localisation_key = GetChamber_MyChambers
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTentACC
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTentACC
	}
}
# 
defined_text = {
	name = GetMyChamberGEN
	text = {
		localisation_key = GetChamber_MyChambersGEN
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTentGEN
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTentGEN
	}
}
#   /
defined_text = {
	name = GetMyChamberPREP
	text = {
		localisation_key = GetChamber_MyChambersPREP
		trigger = {
			OR = {
				capital_scope = { holding_type = city }
				capital_scope = { holding_type = castle }
				capital_scope = { holding_type = tribal }
				capital_scope = { holding_type = temple }
				capital_scope = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTentPREP
		trigger = { capital_scope = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTentPREP
	}
}
defined_text = {
	name = GetLocChamberOpening
	text = {
		localisation_key = GetChamberOpening_Door
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamberOpening_TentOpening
		trigger = { location = { holding_type = nomad} }
	}
	fallback_text = {
		localisation_key = GetChamberOpening_TentOpening
	}
}

defined_text = {
	name = GetLocChamber
	text = {
		localisation_key = GetChamber_Chambers
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_Tent
		trigger = { location = { holding_type = nomad} }
	}
	fallback_text = {
		localisation_key = GetChamber_Tent
	}
}
defined_text = {
	name = GetLocChamberACC
	text = {
		localisation_key = GetChamber_Chambers
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_TentACC
		trigger = { location = { holding_type = nomad} }
	}
	fallback_text = {
		localisation_key = GetChamber_TentACC
	}
}
#C /
defined_text = {
	name = GetLocMyChamber
	text = {
		localisation_key = GetChamber_MyChambers
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTent
		trigger = { location = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTent
	}
}
#   /
defined_text = {
	name = GetLocMyChamberACC
	text = {
		localisation_key = GetChamber_MyChambers
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTentACC
		trigger = { location = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTentACC
	}
}
# 
defined_text = {
	name = GetLocMyChamberGEN
	text = {
		localisation_key = GetChamber_MyChambersGEN
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTentGEN
		trigger = { location = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTentGEN
	}
}
#   /
defined_text = {
	name = GetLocMyChamberPREP
	text = {
		localisation_key = GetChamber_MyChambersPREP
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_MyTentPREP
		trigger = { location = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_MyTentPREP
	}
}
#/.   
defined_text = {
	name = GetLocChamberFloorPREP
	text = {
		localisation_key = GetChamber_FloorPREP
		trigger = {
			OR = {
				location = { holding_type = city }
				location = { holding_type = castle }
				location = { holding_type = tribal }
				location = { holding_type = temple }
				location = { holding_type = family_palace }
			}
		}
	}
	text = {
		localisation_key = GetChamber_GroundPREP
		trigger = { location = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_GroundPREP
	}
}
# 
defined_text = {
	name = GetRulersRoomACC
	text = {
		localisation_key = String_throne_roomACC
		trigger = {
			is_patrician = no
			is_nomadic = no
			is_ruler = yes
		}
	}
	text = {
		localisation_key = GetChamber_TentACC
		trigger = { is_nomadic = yes }
	}
	text = {
		localisation_key = String_studyACC
		trigger = { is_patrician = yes }
	}
	fallback_text = {
		localisation_key = String_roomACC
	}
}
# 
defined_text = {
	name = GetRulersRoomPREP
	text = {
		localisation_key = String_throne_roomPREP
		trigger = {
			is_patrician = no
			is_nomadic = no
			is_ruler = yes
		}
	}
	text = {
		localisation_key = String_tentPREP
		trigger = { is_nomadic = yes }
	}
	text = {
		localisation_key = String_studyPREP
		trigger = { is_patrician = yes }
	}
	fallback_text = {
		localisation_key = String_roomPREP
	}
}
#  ()
defined_text = {
	name = GetMyRulersRoomPREP
	text = {
		localisation_key = String_throne_roomMyPREP
		trigger = {
			is_patrician = no
			is_nomadic = no
			is_ruler = yes
		}
	}
	text = {
		localisation_key = String_tentMyPREP
		trigger = { is_nomadic = yes }
	}
	text = {
		localisation_key = String_studyMyPREP
		trigger = { is_patrician = yes }
	}
	fallback_text = {
		localisation_key = String_roomMyPREP
	}
}
defined_text = {
	name = GetMatterOfImportancePREP

	text = {
		trigger = { any_child = { is_female = yes } }
		localisation_key = String_daughterPREP
		weight_multiplier = { factor = 3 }
	}
	text = {
		trigger = { any_child = { is_female = no } }
		localisation_key = String_sonPREP
		weight_multiplier = { factor = 3 }
	}
	text = {
		trigger = { is_married = yes }
		localisation_key = String_GetHusbandWifeOppPREP
		weight_multiplier = { factor = 3 }
	}
	text = {
		trigger = { trait = greedy }
		localisation_key = String_investmentsPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { trait = gardener }
		localisation_key = String_gardenPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { trait = architect }
		localisation_key = String_building_plansPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = {
			OR = {
				trait = strategist
				trait = duelist
			}
		}
		localisation_key = String_sword_practicePREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { is_learned_trigger = yes }
		localisation_key = String_tome_collectionPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { 
			OR = {
				num_of_friends = 1
				trait = socializer
			}
		}
		localisation_key = String_friendsPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { num_of_lovers = 1 }
		localisation_key = String_lovePREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { 
			OR = {
				has_character_modifier = pet_hunting_dog 
				has_character_modifier = guide_dog 
			}
		}
		localisation_key = String_dogPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = {
			has_character_modifier = pet_cat
			has_character_flag = cat_name_shieldmaiden
		}
		localisation_key = String_cat_femalePREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = {
			has_character_modifier = pet_cat
			NOT = { has_character_flag = cat_name_shieldmaiden }
		}
		localisation_key = String_catPREP
		weight_multiplier = { factor = 6 }
	}
	text = {
		localisation_key = String_health
		weight_multiplier = { 
			factor = 1 #0.5
			modifier = {
				trait = craven
				factor = 6
			} 
		}
	}
}
#  ( ,  ,    ..)
defined_text = {
	name = GetMyMatterOfImportancePREP

	text = {
		trigger = { any_child = { is_female = yes } }
		localisation_key = String_daughterPREP_My
		weight_multiplier = { factor = 3 }
	}
	text = {
		trigger = { any_child = { is_female = no } }
		localisation_key = String_sonPREP_My
		weight_multiplier = { factor = 3 }
	}
	text = {
		trigger = { is_married = yes }
		localisation_key = String_GetHusbandWifeOppPREP_My
		weight_multiplier = { factor = 3 }
	}
	text = {
		trigger = { trait = greedy }
		localisation_key = String_investmentsPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { trait = gardener }
		localisation_key = String_gardenPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { trait = architect }
		localisation_key = String_building_plansPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = {
			OR = {
				trait = strategist
				trait = duelist
			}
		}
		localisation_key = String_sword_practicePREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { is_learned_trigger = yes }
		localisation_key = String_tome_collectionPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { 
			OR = {
				num_of_friends = 1
				trait = socializer
			}
		}
		localisation_key = String_friendsPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { num_of_lovers = 1 }
		localisation_key = String_lovePREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = { 
			OR = {
				has_character_modifier = pet_hunting_dog 
				has_character_modifier = guide_dog 
			}
		}
		localisation_key = String_dogPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = {
			has_character_modifier = pet_cat
			has_character_flag = cat_name_shieldmaiden
		}
		localisation_key = String_cat_femalePREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		trigger = {
			has_character_modifier = pet_cat
			NOT = { has_character_flag = cat_name_shieldmaiden }
		}
		localisation_key = String_catPREP_My
		weight_multiplier = { factor = 6 }
	}
	text = {
		localisation_key = String_health_My
		weight_multiplier = { 
			factor = 1 #0.5
			modifier = {
				trait = craven
				factor = 6
			} 
		}
	}
}
# 
defined_text = {
	name = GetDWRandomDemonGEN
	
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_MammonGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BeelzebubGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_AbaddonGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BelphegorGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_AsmodeusGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_LeviathanGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_AstarothGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BelialGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BerithGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_Lilith
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_PythiusGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_AkomanGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_IndarGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_Nanghait
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_SawarGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_TaurizGEN
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_Zarizi
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_AkatashGEN
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Karash_HanGEN
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Shyngay_HanGEN
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Badysh_HanGEN
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Kerey_HanGEN
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Yabash_HanGEN
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_Baba_YagaGEN
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_BerstukGEN
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_the_ShishigasGEN
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_PolunocnicaGEN
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_BakasuraGEN
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_KirmiraGEN
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_JatasurGEN
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_RavanaGEN
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_Mahakali
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_AngrbodaGEN
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_Beli
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_FenrirGEN
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_Great_Loki
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_AmpelosGEN
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_KomosGEN
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_KrotosGEN
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_LenaiGEN
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_LeneusGEN
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_PoimeniosGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_SakpataGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_GuruhiGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_HeitsiGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_LezaGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_NenaunirGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_NgamiGEN
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_NyamiaGEN
	}
}
# 
defined_text = {
	name = GetDWRandomDemonDAT
	
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_MammonDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BeelzebubDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_AbaddonDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BelphegorDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_AsmodeusDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_LeviathanDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_AstarothDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BelialDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_BerithDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_Lilith
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			NOT = { religion_group = zoroastrian_group }
		}
		localisation_key = String_PythiusDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_AkomanDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_IndarDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_Nanghait
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_SawarDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_TaurizDAT
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_Zarizi
	}
	text = {
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = String_AkatashDAT
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Karash_HanDAT
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Shyngay_HanDAT
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Badysh_HanDAT
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Kerey_HanDAT
	}
	text = {
		trigger = {
			society_member_of = the_plaguebringers
		}
		localisation_key = String_Yabash_HanDAT
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_Baba_YagaDAT
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_BerstukDAT
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_the_ShishigasDAT
	}
	text = {
		trigger = {
			society_member_of = the_cold_ones
		}
		localisation_key = String_PolunocnicaDAT
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_BakasuraDAT
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_KirmiraDAT
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_JatasurDAT
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_RavanaDAT
	}
	text = {
		trigger = {
			society_member_of = the_cult_of_kali
		}
		localisation_key = String_Mahakali
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_AngrbodaDAT
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_Beli
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_FenrirDAT
	}
	text = {
		trigger = {
			society_member_of = the_trollcrafters
		}
		localisation_key = String_Great_Loki
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_AmpelosDAT
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_KomosDAT
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_KrotosDAT
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_LenaiDAT
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_LeneusDAT
	}
	text = {
		trigger = {
			society_member_of = the_bacchants
		}
		localisation_key = String_PoimeniosDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_SakpataDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_GuruhiDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_HeitsiDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_LezaDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_NenaunirDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_NgamiDAT
	}
	text = {
		trigger = {
			society_member_of = the_vodouns
		}
		localisation_key = String_NyamiaDAT
	}
}
#    
defined_text = {
	name = GetReligionHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = { 
			religion_group = christian
		}
	}
	text = {
		localisation_key = GOD_ALLAH_GEN
		trigger = {
			religion_group = muslim
			NOT = { religion = yazidi }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_GEN
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = GOD_GOD_GEN
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_GEN
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_GEN
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = GOD_BRAHMA_GEN
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = GOD_BRAHMA_GEN
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_GEN
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = GOD_ODIN_GEN
		trigger = { 
			OR = {
				AND = {
					religion = norse_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_GEN
		trigger = { 
			OR = {
				AND = {
					religion = slavic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = slavic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					religion = tengri_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			religion = tengri_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_GEN
		trigger = { 
			OR = {
				AND = {
					religion = baltic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = baltic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					religion = finnish_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			religion = finnish_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_GEN
		trigger = { 
			OR = {
				AND = {
					religion = west_african_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = west_african_pagan
				religion = pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = west_african_pagan_reformed 
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_GEN
		trigger = { 
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					religion = aztec_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				religion = aztec
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_GEN
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_GEN
		trigger = { religion = taoist }
	}
	text = { 
		localisation_key = GOD_JUPITER_GEN
		trigger = {
			OR = {
				AND = {
					religion = hellenic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			religion = hellenic_pagan
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_GEN
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_GEN
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_GEN
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_GEN
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_god_name_GEN
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				religion = norse_pagan_reformed
				religion = tengri_pagan_reformed
				religion = baltic_pagan_reformed
				religion = finnish_pagan_reformed
				religion = aztec_reformed
				religion = slavic_pagan_reformed
				religion = west_african_pagan_reformed
				religion = zun_pagan_reformed
				religion = hellenic_pagan_reformed
				religion = bon_reformed
			}
			religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#    
defined_text = {
	name = GetReligionHighGodACC
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = { 
			religion_group = christian
		}
	}
	text = {
		localisation_key = GOD_ALLAH_GEN
		trigger = {
			religion_group = muslim
			NOT = { religion = yazidi }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_GEN
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = GOD_GOD_GEN
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_ACC
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_GEN
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = GOD_BRAHMA_ACC
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = GOD_BRAHMA_ACC
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_ACC
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = GOD_ODIN_GEN
		trigger = { 
			OR = {
				AND = {
					religion = norse_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_GEN
		trigger = { 
			OR = {
				AND = {
					religion = slavic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_ACC
		trigger = { 
			has_dlc = "Holy Fury"
			religion = slavic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					religion = tengri_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			religion = tengri_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_GEN
		trigger = { 
			OR = {
				AND = {
					religion = baltic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_ACC
		trigger = { 
			has_dlc = "Holy Fury"
			religion = baltic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					religion = finnish_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			religion = finnish_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_GEN
		trigger = { 
			OR = {
				AND = {
					religion = west_african_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = west_african_pagan
				religion = pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_ACC
		trigger = { 
			has_dlc = "Holy Fury"
			religion = west_african_pagan_reformed 
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_GEN
		trigger = { 
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					religion = aztec_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				religion = aztec
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_ACC
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_GEN
		trigger = { religion = taoist }
	}
	text = { 
		localisation_key = GOD_JUPITER_GEN
		trigger = {
			OR = {
				AND = {
					religion = hellenic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			religion = hellenic_pagan
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_GEN
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_ACC
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_GEN
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_ACC
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_god_name_ACC
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				religion = norse_pagan_reformed
				religion = tengri_pagan_reformed
				religion = baltic_pagan_reformed
				religion = finnish_pagan_reformed
				religion = aztec_reformed
				religion = slavic_pagan_reformed
				religion = west_african_pagan_reformed
				religion = zun_pagan_reformed
				religion = hellenic_pagan_reformed
				religion = bon_reformed
			}
			religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#    
defined_text = {
	name = GetReligionHighGodDAT
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_DAT
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_DAT
		trigger = { 
			religion_group = christian
		}
	}
	text = {
		localisation_key = GOD_ALLAH_DAT
		trigger = {
			religion_group = muslim
			NOT = { religion = yazidi }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_DAT
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = GOD_GOD_DAT
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_DAT
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_DAT
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = GOD_BRAHMA_DAT
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = GOD_BRAHMA_DAT
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_DAT
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = GOD_ODIN_DAT
		trigger = { 
			OR = {
				AND = {
					religion = norse_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_DAT
		trigger = { 
			OR = {
				AND = {
					religion = slavic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			religion = slavic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					religion = tengri_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			religion = tengri_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_DAT
		trigger = { 
			OR = {
				AND = {
					religion = baltic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			religion = baltic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					religion = finnish_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			religion = finnish_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_DAT
		trigger = { 
			OR = {
				AND = {
					religion = west_african_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = west_african_pagan
				religion = pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			religion = west_african_pagan_reformed 
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_DAT
		trigger = { 
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					religion = aztec_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				religion = aztec
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_DAT
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_DAT
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_DAT
		trigger = { religion = taoist }
	}
	text = { 
		localisation_key = GOD_JUPITER_DAT
		trigger = {
			OR = {
				AND = {
					religion = hellenic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			religion = hellenic_pagan
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_DAT
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_DAT
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_DAT
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_DAT
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_DAT
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_god_name_DAT
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				religion = norse_pagan_reformed
				religion = tengri_pagan_reformed
				religion = baltic_pagan_reformed
				religion = finnish_pagan_reformed
				religion = aztec_reformed
				religion = slavic_pagan_reformed
				religion = west_african_pagan_reformed
				religion = zun_pagan_reformed
				religion = hellenic_pagan_reformed
				religion = bon_reformed
			}
			religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#    
defined_text = {
	name = GetReligionHighGodINS
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_INS
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_INS
		trigger = { 
			religion_group = christian
		}
	}
	text = {
		localisation_key = GOD_ALLAH_INS
		trigger = {
			religion_group = muslim
			NOT = { religion = yazidi }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_INS
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = GOD_GOD_INS
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_INS
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_INS
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = GOD_BRAHMA_INS
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = GOD_BRAHMA_INS
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_INS
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = GOD_ODIN_INS
		trigger = { 
			OR = {
				AND = {
					religion = norse_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_INS
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_INS
		trigger = { 
			OR = {
				AND = {
					religion = slavic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_INS
		trigger = { 
			has_dlc = "Holy Fury"
			religion = slavic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					religion = tengri_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			religion = tengri_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_INS
		trigger = { 
			OR = {
				AND = {
					religion = baltic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_INS
		trigger = { 
			has_dlc = "Holy Fury"
			religion = baltic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					religion = finnish_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			religion = finnish_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_INS
		trigger = { 
			OR = {
				AND = {
					religion = west_african_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = west_african_pagan
				religion = pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_INS
		trigger = { 
			has_dlc = "Holy Fury"
			religion = west_african_pagan_reformed 
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_INS
		trigger = { 
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					religion = aztec_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				religion = aztec
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_INS
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_INS
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_INS
		trigger = { religion = taoist }
	}
	text = { 
		localisation_key = GOD_JUPITER_INS
		trigger = {
			OR = {
				AND = {
					religion = hellenic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			religion = hellenic_pagan
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_INS
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_INS
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_INS
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_INS
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_INS
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_god_name_INS
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				religion = norse_pagan_reformed
				religion = tengri_pagan_reformed
				religion = baltic_pagan_reformed
				religion = finnish_pagan_reformed
				religion = aztec_reformed
				religion = slavic_pagan_reformed
				religion = west_african_pagan_reformed
				religion = zun_pagan_reformed
				religion = hellenic_pagan_reformed
				religion = bon_reformed
			}
			religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#    
defined_text = {
	name = GetReligionHighGodPREP
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_PREP
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_PREP
		trigger = { 
			religion_group = christian
		}
	}
	text = {
		localisation_key = GOD_ALLAH_PREP
		trigger = {
			religion_group = muslim
			NOT = { religion = yazidi }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_PREP
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = GOD_GOD_PREP
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_PREP
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_PREP
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = GOD_BRAHMA_PREP
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = GOD_BRAHMA_PREP
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_PREP
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = GOD_ODIN_PREP
		trigger = { 
			OR = {
				AND = {
					religion = norse_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_PREP
		trigger = { 
			has_dlc = "Holy Fury"
			religion = norse_pagan_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_PREP
		trigger = { 
			OR = {
				AND = {
					religion = slavic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_PREP
		trigger = { 
			has_dlc = "Holy Fury"
			religion = slavic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					religion = tengri_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			religion = tengri_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_PREP
		trigger = { 
			OR = {
				AND = {
					religion = baltic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_PREP
		trigger = { 
			has_dlc = "Holy Fury"
			religion = baltic_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					religion = finnish_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			religion = finnish_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_PREP
		trigger = { 
			OR = {
				AND = {
					religion = west_african_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				religion = west_african_pagan
				religion = pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_PREP
		trigger = { 
			has_dlc = "Holy Fury"
			religion = west_african_pagan_reformed 
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_PREP
		trigger = { 
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					religion = aztec_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				religion = aztec
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_PREP
		trigger = { 
			has_dlc = "Holy Fury"
			religion = aztec_reformed
			religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_PREP
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_PREP
		trigger = { religion = taoist }
	}
	text = { 
		localisation_key = GOD_JUPITER_PREP
		trigger = {
			OR = {
				AND = {
					religion = hellenic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			religion = hellenic_pagan
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_PREP
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_PREP
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_PREP
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_PREP
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_PREP
		trigger = {
			has_dlc = "Holy Fury"
			religion = hellenic_pagan_reformed
			culture = greek
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_god_name_PREP
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				religion = norse_pagan_reformed
				religion = tengri_pagan_reformed
				religion = baltic_pagan_reformed
				religion = finnish_pagan_reformed
				religion = aztec_reformed
				religion = slavic_pagan_reformed
				religion = west_african_pagan_reformed
				religion = zun_pagan_reformed
				religion = hellenic_pagan_reformed
				religion = bon_reformed
			}
			religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#  /     FROM   
defined_text = {
	name = GetSmithSexualAct #DONT USE IT WITH [From.<>]!

	text = {
		trigger = {
			is_female = no
			ROOT_FROM = { is_female = yes }
		}
		localisation_key = String_smith_sexual_act_M
	}
	text = {
		trigger = {
			is_female = yes
			ROOT_FROM = { is_female = no }
		}
		localisation_key = String_smith_sexual_act_F
	}
	text = {
		trigger = {
			is_female = no
			ROOT_FROM = { is_female = no }
		}
		localisation_key = String_smith_sexual_act_HM
	}
	text = {
		trigger = {
			is_female = yes
			ROOT_FROM = { is_female = yes }
		}
		localisation_key = String_smith_sexual_act_HF
	}
	fallback_text = {
		localisation_key = String_smith_sexual_act_M
	}
}
# 
defined_text = {
	name = GetSmithWorkshopACC

	text = {
		trigger = { has_character_flag = weaponsmith }
		localisation_key = String_forgeACC
	}
	fallback_text = {
		localisation_key = String_workshopACC
	}
}
defined_text = {
	name = GetWeaponsmithWeaponACC
	
	text = {
		trigger = { has_character_flag = weapon_sword }
		localisation_key = String_sword
	}
	text = {
		trigger = { has_character_flag = weapon_scimitar }
		localisation_key = String_scimitarACC
	}
	text = {
		trigger = { has_character_flag = weapon_lance }
		localisation_key = String_lance
	}
	text = {
		trigger = { has_character_flag = weapon_axe }
		localisation_key = String_axeACC
	}
	text = {
		trigger = { has_character_flag = weapon_mace }
		localisation_key = String_maceACC
	}
	text = {
		trigger = { has_character_flag = weapon_bow }
		localisation_key = String_bow
	}
	text = {
		trigger = { has_character_flag = armor_set }
		localisation_key = String_set_of_armor
	}
}
# 
defined_text = {
	name = GetWeaponsmithWeaponGEN
	
	text = {
		trigger = { has_character_flag = weapon_sword }
		localisation_key = String_swordGEN
	}
	text = {
		trigger = { has_character_flag = weapon_scimitar }
		localisation_key = String_scimitarGEN
	}
	text = {
		trigger = { has_character_flag = weapon_lance }
		localisation_key = String_lanceGEN
	}
	text = {
		trigger = { has_character_flag = weapon_axe }
		localisation_key = String_axeGEN
	}
	text = {
		trigger = { has_character_flag = weapon_mace }
		localisation_key = String_maceGEN
	}
	text = {
		trigger = { has_character_flag = weapon_bow }
		localisation_key = String_bowGEN
	}
	text = {
		trigger = { has_character_flag = armor_set }
		localisation_key = String_set_of_armorGEN
	}
}
# 
defined_text = {
	name = GetRandomPlanetNameGEN
	
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mercury_englishGEN
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Mercury_arabicGEN
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Mercury_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Mercury_hellenicGEN
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mercury_farsiGEN
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Venus_englishGEN
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Venus_arabicGEN
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Venus_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Venus_hellenicGEN
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Venus_farsiGEN
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mars_englishGEN
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Mars_arabicGEN
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Mars_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Mars_hellenicGEN
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mars_farsiGEN
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Jupiter_englishGEN
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Jupiter_arabicGEN
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Jupiter_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Jupiter_hellenicGEN
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Jupiter_farsiGEN
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Saturn_englishGEN
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Saturn_arabicGEN
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Saturn_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Saturn_hellenicGEN
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Saturn_farsiGEN
	}
}
# 
defined_text = {
	name = GetRandomPlanetNameINS
	
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mercury_englishINS
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Mercury_arabicINS
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Mercury_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Mercury_hellenicINS
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mercury_farsiINS
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Venus_englishINS
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Venus_arabicINS
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Venus_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Venus_hellenicINS
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Venus_farsiINS
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mars_englishINS
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Mars_arabicINS
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Mars_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Mars_hellenicINS
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Mars_farsiINS
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Jupiter_englishINS
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Jupiter_arabicINS
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Jupiter_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Jupiter_hellenicINS
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Jupiter_farsiINS
	}
	text = {
		trigger = {
			NOR = {
				religion_group = muslim
				culture = nahuatl
				AND = { #"English" names are the ones Latins would use, only Greek Hellenics would use the greek gods names.
					OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
					culture_group = byzantine
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Saturn_englishINS
	}
	text = {
		trigger = {
			religion_group = muslim
		}
		localisation_key = String_Saturn_arabicINS
	}
	text = {
		trigger = {
			culture = nahuatl
		}
		localisation_key = String_Saturn_nahuatl
	}
	text = {
		trigger = {
			OR = { religion = hellenic_pagan religion = hellenic_pagan_reformed } 
			culture_group = byzantine
		}
		localisation_key = String_Saturn_hellenicINS
	}
	text = {
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		localisation_key = String_Saturn_farsiINS
	}
}
# 
defined_text = {
	name = GetHermeticsDestinedRoleINS
	
	text = {
		trigger = {
			has_character_flag = destined_steward
		}
		localisation_key = String_stewardINS
	}
	text = {
		trigger = {
			has_character_flag = destined_fighter
		}
		localisation_key = String_figtherINS
	}
	text = {
		trigger = {
			has_character_flag = destined_diplomat
		}
		localisation_key = String_diplomatINS
	}
	text = {
		trigger = {
			has_character_flag = destined_schemer
		}
		localisation_key = String_schemerINS
	}
	text = {
		trigger = {
			has_character_flag = destined_scholar
		}
		localisation_key = String_scholarINS
	}
}
#  ( )
defined_text = {
	name = GetHermeticsDestinedRoleWithAdjINS
	
	text = {
		trigger = {
			has_character_flag = destined_steward
		}
		localisation_key = String_steward_w_adjINS
	}
	text = {
		trigger = {
			has_character_flag = destined_fighter
		}
		localisation_key = String_figther_w_adjINS
	}
	text = {
		trigger = {
			has_character_flag = destined_diplomat
		}
		localisation_key = String_diplomat_w_adjINS
	}
	text = {
		trigger = {
			has_character_flag = destined_schemer
		}
		localisation_key = String_schemer_w_adjINS
	}
	text = {
		trigger = {
			has_character_flag = destined_scholar
		}
		localisation_key = String_scholar_w_adjINS
	}
}
# 
defined_text = {
	name = GetHermeticsDestinedExpertiseACC
	
	text = {
		trigger = {
			has_character_flag = destined_steward
		}
		localisation_key = String_administrationACC
	}
	text = {
		trigger = {
			has_character_flag = destined_fighter
		}
		localisation_key = String_battle
	}
	text = {
		trigger = {
			has_character_flag = destined_diplomat
		}
		localisation_key = String_diplomacyACC
	}
	text = {
		trigger = {
			has_character_flag = destined_schemer
		}
		localisation_key = String_intrigue
	}
	text = {
		trigger = {
			has_character_flag = destined_scholar
		}
		localisation_key = String_scholarshipACC
	}
}
# 
defined_text = {
	name = GetHermeticsDestinedExpertiseGEN
	
	text = {
		trigger = {
			has_character_flag = destined_steward
		}
		localisation_key = String_administrationGEN
	}
	text = {
		trigger = {
			has_character_flag = destined_fighter
		}
		localisation_key = String_battleGEN
	}
	text = {
		trigger = {
			has_character_flag = destined_diplomat
		}
		localisation_key = String_diplomacyGEN
	}
	text = {
		trigger = {
			has_character_flag = destined_schemer
		}
		localisation_key = String_intrigueGEN
	}
	text = {
		trigger = {
			has_character_flag = destined_scholar
		}
		localisation_key = String_scholarshipGEN
	}
}
# 
defined_text = {
	name = GetHermeticsDestinedExpertiseINS
	
	text = {
		trigger = {
			has_character_flag = destined_steward
		}
		localisation_key = String_administrationINS
	}
	text = {
		trigger = {
			has_character_flag = destined_fighter
		}
		localisation_key = String_battleINS
	}
	text = {
		trigger = {
			has_character_flag = destined_diplomat
		}
		localisation_key = String_diplomacyINS
	}
	text = {
		trigger = {
			has_character_flag = destined_schemer
		}
		localisation_key = String_intrigueINS
	}
	text = {
		trigger = {
			has_character_flag = destined_scholar
		}
		localisation_key = String_scholarshipINS
	}
}
# 
defined_text = {
	name = GetWesternZodiacSignGEN
	
	text = {
		trigger = {
			is_born_under_Aries_trigger = yes
		}
		localisation_key = String_AriesGEN
	}
	text = {
		trigger = {
			is_born_under_Taurus_trigger = yes
		}
		localisation_key = String_TaurusGEN
	}
	text = {
		trigger = {
			is_born_under_Gemini_trigger = yes
		}
		localisation_key = String_GeminiGEN
	}
	text = {
		trigger = {
			is_born_under_Cancer_trigger = yes
		}
		localisation_key = String_CancerGEN
	}
	text = {
		trigger = {
			is_born_under_Leo_trigger = yes
		}
		localisation_key = String_LeoGEN
	}
	text = {
		trigger = {
			is_born_under_Virgo_trigger = yes
		}
		localisation_key = String_VirgoGEN
	}
	text = {
		trigger = {
			is_born_under_Libra_trigger = yes
		}
		localisation_key = String_LibraGEN
	}
	text = {
		trigger = {
			is_born_under_Scorpius_trigger = yes
		}
		localisation_key = String_ScorpiusGEN
	}
	text = {
		trigger = {
			is_born_under_Sagittarius_trigger = yes
		}
		localisation_key = String_SagittariusGEN
	}
	text = {
		trigger = {
			is_born_under_Capricorn_trigger = yes
		}
		localisation_key = String_CapricornGEN
	}
	text = {
		trigger = {
			is_born_under_Aquarius_trigger = yes
		}
		localisation_key = String_AquariusGEN
	}
	text = {
		trigger = {
			is_born_under_Pisces_trigger = yes
		}
		localisation_key = String_PiscesGEN
	}
}
#     /
defined_text = {
	name = GetHermeticDebateSubjectPREPV

	text = {
		localisation_key = String_Universal_TheologyPREPV
	}
	text = {
		trigger = {
			OR = { 
				religion = catholic
				religion = orthodox
			}
		}
		localisation_key = String_origin_of_the_Trinity_before_MessiahPREPV
	}
	text = {
		trigger = {
			religion = jewish
		}
		localisation_key = String_QabalahPREPV
	}
	text = {
		localisation_key = String_unity_with_the_OnePREPV
	}
	text = {
		localisation_key = String_nature_of_Prima_materiaPREPV
	}
	text = {
		localisation_key = String_nature_of_the_Inner_and_the_Outer_cosmosPREPV
	}
	text = {
		localisation_key = String_Prisca_theologiaPREPV
	}
	text = {
		localisation_key = String_esoteric_meaning_of_the_CaduceusPREPV
	}
	text = {
		localisation_key = String_truth_inherent_to_Divine_ConsciousnessPREPV
	}
	text = {
		localisation_key = String_interaction_of_the_soul_and_alchemyPREPV
	}
	text = {
		localisation_key = String_very_definition_of_a_true_magnum_opusPREPV
	}
	text = {
		weight_multiplier = { factor = 0.1 }
		localisation_key = String_the_nature_of_the_Judgements_and_the_BazaarPREPV
	}
	text = {
		localisation_key = String_the_movement_of_celestial_bodiesPREPV
	}
	text = {
		localisation_key = String_the_laws_of_the_starsPREPV
	}
}
# 
defined_text = {
	name = GetDWDarkMagicGEN # Returns a an appropriate name for dark magic

	text = {
		localisation_key = String_black_magicGEN
		trigger = { 
			society_member_of = the_satanists 
			religion_group = christian
		} 
	}
	text = {
		localisation_key = String_sihrGEN
		trigger = { 
			society_member_of = the_satanists 
			religion_group = muslim
		} 
	}
	text = {
		localisation_key = String_QliphothGEN
		trigger = { 
			society_member_of = the_satanists 
			religion_group = jewish_group
		} 
	}
	text = {
		localisation_key = String_black_magicGEN
		trigger = {
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_koldovstvoGEN
		trigger = { society_member_of = the_cold_ones } 
	}
	text = {
		localisation_key = String_seirGEN
		trigger = { society_member_of = the_trollcrafters } 
	}
	text = {
		localisation_key = String_black_magicGEN
		trigger = { society_member_of = the_plaguebringers } 
	}
	text = {
		localisation_key = String_dark_tantrasGEN
		trigger = { society_member_of = the_cult_of_kali } 
	}
	text = {
		localisation_key = String_sorceryGEN
		trigger = { society_member_of = the_bacchants } 
	}
	text = {
		localisation_key = String_vodoun_sorceryGEN
		trigger = { society_member_of = the_vodouns } 
	}
}
# 
defined_text = {
	name = GetSelectedIngredient_1GEN
	#herbs... 
	text = {
		localisation_key = String_HibiscusGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_Ginger_RootGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_MandrakeGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_Lemon_GrassGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_NettlesGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_WormwoodGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ValerianGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_VioletGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_YarrowGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts...
	text = {
		localisation_key = String_Gall_BladderGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_KidneyGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_EyeballsGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_Cloven_hoovesGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_AntlersGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_SnoutGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_HeartGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_LiverGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_IntestinesGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals... (powder?)
	text = {
		localisation_key = String_SilverGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_MercuryGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_Aqua_Regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_Aqua_Fortis
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_BrimstoneGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_GoldGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_CopperGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_IronGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_TinGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_1
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}
defined_text = {
	name = GetSelectedIngredient_2GEN
	#herbs... 
	text = {
		localisation_key = String_HibiscusGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb1
			}
		}
	}
	text = {
		localisation_key = String_Ginger_RootGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb2
			}
		}
	}
	text = {
		localisation_key = String_MandrakeGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb3
			}
		}
	}
	text = {
		localisation_key = String_Lemon_GrassGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb4
			}
		}
	}
	text = {
		localisation_key = String_NettlesGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb5
			}
		}
	}
	text = {
		localisation_key = String_WormwoodGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb6
			}
		}
	}
	text = {
		localisation_key = String_ValerianGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb7
			}
		}
	}
	text = {
		localisation_key = String_VioletGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb8
			}
		}
	}
	text = {
		localisation_key = String_YarrowGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_herb9
			}
		}
	}
	#animal parts...
	text = {
		localisation_key = String_Gall_BladderGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal1
			}
		}
	}
	text = {
		localisation_key = String_KidneyGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal2
			}
		}
	}
	text = {
		localisation_key = String_EyeballsGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal3
			}
		}
	}
	text = {
		localisation_key = String_Cloven_hoovesGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal4
			}
		}
	}
	text = {
		localisation_key = String_AntlersGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal5
			}
		}
	}
	text = {
		localisation_key = String_SnoutGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal6
			}
		}
	}
	text = {
		localisation_key = String_HeartGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal7
			}
		}
	}
	text = {
		localisation_key = String_LiverGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal8
			}
		}
	}
	text = {
		localisation_key = String_IntestinesGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_animal9
			}
		}
	}
	#metals... (powder?)
	text = {
		localisation_key = String_SilverGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic1
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_MercuryGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic2
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_Aqua_Regia
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic3
			}
		}
	}
	text = { #(liquid)
		localisation_key = String_Aqua_Fortis
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic4
			}
		}
	}
	text = {
		localisation_key = String_BrimstoneGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic5
			}
		}
	}
	text = {
		localisation_key = String_GoldGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic6
			}
		}
	}
	text = {
		localisation_key = String_CopperGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic7
			}
		}
	}
	text = {
		localisation_key = String_IronGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic8
			}
		}
	}
	text = {
		localisation_key = String_TinGEN
		trigger = {
			any_artifact = {
				has_artifact_flag = selected_ingredient_2
				artifact_type = ingredient_metal_exotic9
			}
		}
	}
}
# 
defined_text = {
	name = GetDWDevilGEN # Returns a an appropriate name for the Devil (Fellow scripters, do expand upon all of the following once you have a good one)

	text = {
		localisation_key = String_SatanGEN
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
	}
	text = {
		localisation_key = String_IblisGEN
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			religion_group = muslim
		}
	}
	text = {
		localisation_key = String_AhrimanGEN
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ChernobogGEN
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cold_ones
		}
	}
	text = {
		localisation_key = String_KaliGEN
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cult_of_kali
		}
	}
	text = {
		localisation_key = String_ErlikGEN
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_plaguebringers
		}
	}
	text = {
		localisation_key = String_Hel
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_trollcrafters
		}
	text = {
		localisation_key = String_BacchusGEN
		trigger = { society_member_of = the_bacchants 
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	text = {
		localisation_key = String_CagnGEN
		trigger = { society_member_of = the_vodouns
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	fallback_text = {
		localisation_key = String_Random_DevilGEN
	}
}
# 
defined_text = {
	name = GetDWDevilDAT # Returns a an appropriate name for the Devil (Fellow scripters, do expand upon all of the following once you have a good one)

	text = {
		localisation_key = String_SatanDAT
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
	}
	text = {
		localisation_key = String_IblisDAT
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			religion_group = muslim
		}
	}
	text = {
		localisation_key = String_AhrimanDAT
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ChernobogDAT
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cold_ones
		}
	}
	text = {
		localisation_key = String_KaliDAT
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cult_of_kali
		}
	}
	text = {
		localisation_key = String_ErlikDAT
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_plaguebringers
		}
	}
	text = {
		localisation_key = String_Hel
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_trollcrafters
		}
	text = {
		localisation_key = String_BacchusDAT
		trigger = { society_member_of = the_bacchants 
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	text = {
		localisation_key = String_CagnDAT
		trigger = { society_member_of = the_vodouns
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	fallback_text = {
		localisation_key = String_Random_DevilDAT
	}
}
# 
defined_text = {
	name = GetDWDevilACC # Returns a an appropriate name for the Devil (Fellow scripters, do expand upon all of the following once you have a good one)

	text = {
		localisation_key = String_SatanACC
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			OR = {
				religion_group = christian
				religion_group = jewish_group
			}
		}
	}
	text = {
		localisation_key = String_IblisACC
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			religion_group = muslim
		}
	}
	text = {
		localisation_key = String_AhrimanACC
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
			OR = {
				religion_group = zoroastrian_group
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_ChernobogACC
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cold_ones
		}
	}
	text = {
		localisation_key = String_KaliACC
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cult_of_kali
		}
	}
	text = {
		localisation_key = String_ErlikACC
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_plaguebringers
		}
	}
	text = {
		localisation_key = String_Hel
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_trollcrafters
		}
	text = {
		localisation_key = String_BacchusACC
		trigger = { society_member_of = the_bacchants 
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	text = {
		localisation_key = String_CagnACC
		trigger = { society_member_of = the_vodouns
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	fallback_text = {
		localisation_key = String_Random_DevilACC
	}
}
#GetSheHe for Devil
defined_text = {
	name = GetDWDevilSheHe # Returns a an appropriate sex of the Devil

	text = {
		localisation_key = EV_HE
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
		}
	}
	text = {
		localisation_key = EV_HE
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cold_ones
		}
	}
	text = {
		localisation_key = EV_SHE
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cult_of_kali
		}
	}
	text = {
		localisation_key = EV_HE
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_plaguebringers
		}
	}
	text = {
		localisation_key = EV_SHE
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_trollcrafters
		}
	}
	text = {
		localisation_key = EV_HE
		trigger = { society_member_of = the_bacchants 
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	text = {
		localisation_key = EV_HE
		trigger = { society_member_of = the_vodouns
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	fallback_text = {
		localisation_key = EV_HE
	}
}
#GetSheHeCap for Devil
defined_text = {
	name = GetDWDevilSheHeCap # Returns a an appropriate sex of the Devil

	text = {
		localisation_key = EV_HE_S
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_satanists
		}
	}
	text = {
		localisation_key = EV_HE_S
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cold_ones
		}
	}
	text = {
		localisation_key = EV_SHE_S
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_cult_of_kali
		}
	}
	text = {
		localisation_key = EV_HE_S
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_plaguebringers
		}
	}
	text = {
		localisation_key = EV_SHE_S
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			society_member_of = the_trollcrafters
		}
	}
	text = {
		localisation_key = EV_HE_S
		trigger = { society_member_of = the_bacchants 
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	text = {
		localisation_key = EV_HE_S
		trigger = { society_member_of = the_vodouns
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
	}
	fallback_text = {
		localisation_key = EV_HE_S
	}
}
# ( )    
defined_text = {
	name = GetSocietyNameGEN # Returns the name of target's society
	use_first_valid = yes
	text = {
		localisation_key = the_assassinsGEN
		trigger = { society_member_of = the_assassins }
	}
	text = {
		localisation_key = the_satanistsGEN
		trigger = { society_member_of = the_satanists }
	}
	text = {
		localisation_key = the_cold_onesGEN
		trigger = { society_member_of = the_cold_ones }
	}
	text = {
		localisation_key = the_trollcraftersGEN
		trigger = { society_member_of = the_trollcrafters }
	}
	text = {
		localisation_key = the_cult_of_kaliGEN
		trigger = { society_member_of = the_cult_of_kali }
	}
	text = {
		localisation_key = the_plaguebringersGEN
		trigger = { society_member_of = the_plaguebringers }
	}
	text = {
		localisation_key = String_the_VodounsGEN
		trigger = { society_member_of = the_vodouns }
	}
	text = {
		localisation_key = String_the_BacchantsGEN
		trigger = { society_member_of = the_bacchants }
	}
	text = {
		localisation_key = monastic_order_benedictineGEN
		trigger = { society_member_of = monastic_order_benedictine }
	}
	text = {
		localisation_key = monastic_order_dominicanGEN
		trigger = { society_member_of = monastic_order_dominican }
	}
	text = {
		localisation_key = monastic_order_orthodoxGEN
		trigger = { society_member_of = monastic_order_orthodox }
	}
	text = {
		localisation_key = monastic_order_nestorianGEN
		trigger = { society_member_of = monastic_order_nestorian }
	}
	text = {
		localisation_key = monastic_order_monophysiteGEN
		trigger = { society_member_of = monastic_order_monophysite }
	}
	text = {
		localisation_key = monastic_order_jain
		trigger = { society_member_of = monastic_order_jain }
	}
	text = {
		localisation_key = monastic_order_hindu
		trigger = { society_member_of = monastic_order_hindu }
	}
	text = {
		localisation_key = monastic_order_buddhist
		trigger = { society_member_of = monastic_order_buddhist }
	}
	text = {
		localisation_key = String_StoicsGEN
		trigger = { society_member_of = monastic_order_stoics }
	}
	text = {
		localisation_key = hermeticsGEN
		trigger = { society_member_of = hermetics }
	}
	text = {
		localisation_key = secret_religious_society_catholicGEN
		trigger = { society_member_of = secret_religious_society_catholic }
	}
	text = {
		localisation_key = secret_religious_society_catharGEN
		trigger = { society_member_of = secret_religious_society_cathar }
	}
	text = {
		localisation_key = secret_religious_society_fraticelliGEN
		trigger = { society_member_of = secret_religious_society_fraticelli }
	}
	text = {
		localisation_key = secret_religious_society_waldensianGEN
		trigger = { society_member_of = secret_religious_society_waldensian }
	}
	text = {
		localisation_key = secret_religious_society_lollardGEN
		trigger = { society_member_of = secret_religious_society_lollard }
	}
	text = {
		localisation_key = secret_religious_society_orthodoxGEN
		trigger = { society_member_of = secret_religious_society_orthodox }
	}
	text = {
		localisation_key = secret_religious_society_miaphysiteGEN
		trigger = { society_member_of = secret_religious_society_miaphysite }
	}
	text = {
		localisation_key = secret_religious_society_monophysiteGEN
		trigger = { society_member_of = secret_religious_society_monophysite }
	}
	text = {
		localisation_key = secret_religious_society_bogomilistGEN
		trigger = { society_member_of = secret_religious_society_bogomilist }
	}
	text = {
		localisation_key = secret_religious_society_monotheliteGEN
		trigger = { society_member_of = secret_religious_society_monothelite }
	}
	text = {
		localisation_key = secret_religious_society_iconoclastGEN
		trigger = { society_member_of = secret_religious_society_iconoclast }
	}
	text = {
		localisation_key = secret_religious_society_paulicianGEN
		trigger = { society_member_of = secret_religious_society_paulician }
	}
	text = {
		localisation_key = secret_religious_society_nestorianGEN
		trigger = { society_member_of = secret_religious_society_nestorian }
	}
	text = {
		localisation_key = secret_religious_society_messalianGEN
		trigger = { society_member_of = secret_religious_society_messalian }
	}
	text = {
		localisation_key = secret_religious_society_sunniGEN
		trigger = { society_member_of = secret_religious_society_sunni }
	}
	text = {
		localisation_key = secret_religious_society_zikriGEN
		trigger = { society_member_of = secret_religious_society_zikri }
	}
	text = {
		localisation_key = secret_religious_society_yazidiGEN
		trigger = { society_member_of = secret_religious_society_yazidi }
	}
	text = {
		localisation_key = secret_religious_society_ibadiGEN
		trigger = { society_member_of = secret_religious_society_ibadi }
	}
	text = {
		localisation_key = secret_religious_society_kharijiteGEN
		trigger = { society_member_of = secret_religious_society_kharijite }
	}
	text = {
		localisation_key = secret_religious_society_shiiteGEN
		trigger = { society_member_of = secret_religious_society_shiite }
	}
	text = {
		localisation_key = secret_religious_society_druzeGEN
		trigger = { society_member_of = secret_religious_society_druze }
	}
	text = {
		localisation_key = secret_religious_society_hurufiGEN
		trigger = { society_member_of = secret_religious_society_hurufi }
	}
	text = {
		localisation_key = secret_religious_society_jewishGEN
		trigger = { society_member_of = secret_religious_society_jewish }
	}
	text = {
		localisation_key = secret_religious_society_karaiteGEN
		trigger = { society_member_of = secret_religious_society_karaite }
	}
	text = {
		localisation_key = secret_religious_society_samaritanGEN
		trigger = { society_member_of = secret_religious_society_samaritan }
	}
	text = {
		localisation_key = secret_religious_society_zoroastrianGEN
		trigger = { society_member_of = secret_religious_society_zoroastrian }
	}
	text = {
		localisation_key = secret_religious_society_mazdakiGEN
		trigger = { society_member_of = secret_religious_society_mazdaki }
	}
	text = {
		localisation_key = secret_religious_society_manicheanGEN
		trigger = { society_member_of = secret_religious_society_manichean }
	}
	text = {
		localisation_key = secret_religious_society_hindu
		trigger = { society_member_of = secret_religious_society_hindu }
	}
	text = {
		localisation_key = secret_religious_society_buddhistGEN
		trigger = { society_member_of = secret_religious_society_buddhist }
	}
	text = {
		localisation_key = secret_religious_society_jainGEN
		trigger = { society_member_of = secret_religious_society_jain }
	}
	text = {
		localisation_key = secret_religious_society_norse_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_norse_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_slavic_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_slavic_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_tengri_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_tengri_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_baltic_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_baltic_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_finnish_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_finnish_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_west_african_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_west_african_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_bon_reformedGEN
		trigger = { society_member_of = secret_religious_society_bon_reformed }
	}
	text = {
		localisation_key = secret_religious_society_hellenic_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_hellenic_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_zun_pagan_reformedGEN
		trigger = { society_member_of = secret_religious_society_zun_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_norse_paganGEN
		trigger = { society_member_of = secret_religious_society_norse_pagan }
	}
	text = {
		localisation_key = secret_religious_society_slavic_paganGEN
		trigger = { society_member_of = secret_religious_society_slavic_pagan }
	}
	text = {
		localisation_key = secret_religious_society_tengri_paganGEN
		trigger = { society_member_of = secret_religious_society_tengri_pagan }
	}
	text = {
		localisation_key = secret_religious_society_baltic_paganGEN
		trigger = { society_member_of = secret_religious_society_baltic_pagan }
	}
	text = {
		localisation_key = secret_religious_society_finnish_paganGEN
		trigger = { society_member_of = secret_religious_society_finnish_pagan }
	}
	text = {
		localisation_key = secret_religious_society_west_african_paganGEN
		trigger = { society_member_of = secret_religious_society_west_african_pagan }
	}
	text = {
		localisation_key = secret_religious_society_zun_paganGEN
		trigger = { society_member_of = secret_religious_society_zun_pagan }
	}
	text = {
		localisation_key = secret_religious_society_hellenic_paganGEN
		trigger = { society_member_of = secret_religious_society_hellenic_pagan }
	}
	text = {
		localisation_key = secret_religious_society_aztecGEN
		trigger = { society_member_of = secret_religious_society_aztec }
	}
	text = {
		localisation_key = secret_religious_society_aztec_reformedGEN
		trigger = { society_member_of = secret_religious_society_aztec_reformed }
	}
	text = {
		localisation_key = secret_religious_society_khurmaztaGEN
		trigger = { society_member_of = secret_religious_society_khurmazta }
	}
	text = {
		localisation_key = secret_religious_society_bonGEN
		trigger = { society_member_of = secret_religious_society_bon }
	}
	text = {
		localisation_key = secret_religious_society_taoistGEN
		trigger = { society_member_of = secret_religious_society_taoist }
	}
	text = {
		localisation_key = warrior_lodge_tengriGEN
		trigger = { society_member_of = warrior_lodge_tengri }
	}
	text = {
		localisation_key = warrior_lodge_balticGEN
		trigger = { society_member_of = warrior_lodge_baltic }
	}
	text = {
		localisation_key = warrior_lodge_norseGEN
		trigger = { society_member_of = warrior_lodge_norse }
	}
	text = {
		localisation_key = warrior_lodge_finnishGEN
		trigger = { society_member_of = warrior_lodge_finnish }
	}
	text = {
		localisation_key = warrior_lodge_slavicGEN
		trigger = { society_member_of = warrior_lodge_slavic }
	}
	text = {
		localisation_key = warrior_lodge_west_africanGEN
		trigger = { society_member_of = warrior_lodge_west_african }
	}
	text = {
		localisation_key = warrior_lodge_zunGEN
		trigger = { society_member_of = warrior_lodge_zun }
	}
	text = {
		localisation_key = warrior_lodge_bonGEN
		trigger = { society_member_of = warrior_lodge_bon }
	}
	text = {
		localisation_key = warrior_lodge_hellenicGEN
		trigger = { society_member_of = warrior_lodge_hellenic }
	}
}
#    
defined_text = {
	name = GetSocietyNameDAT # Returns the name of target's society
	use_first_valid = yes
	text = {
		localisation_key = the_assassinsDAT
		trigger = { society_member_of = the_assassins }
	}
	text = {
		localisation_key = the_satanistsDAT
		trigger = { society_member_of = the_satanists }
	}
	text = {
		localisation_key = the_cold_onesDAT
		trigger = { society_member_of = the_cold_ones }
	}
	text = {
		localisation_key = the_trollcraftersDAT
		trigger = { society_member_of = the_trollcrafters }
	}
	text = {
		localisation_key = the_cult_of_kaliDAT
		trigger = { society_member_of = the_cult_of_kali }
	}
	text = {
		localisation_key = the_plaguebringersDAT
		trigger = { society_member_of = the_plaguebringers }
	}
	text = {
		localisation_key = String_the_VodounsDAT
		trigger = { society_member_of = the_vodouns }
	}
	text = {
		localisation_key = String_the_BacchantsDAT
		trigger = { society_member_of = the_bacchants }
	}
	text = {
		localisation_key = monastic_order_benedictineDAT
		trigger = { society_member_of = monastic_order_benedictine }
	}
	text = {
		localisation_key = monastic_order_dominicanDAT
		trigger = { society_member_of = monastic_order_dominican }
	}
	text = {
		localisation_key = monastic_order_orthodoxDAT
		trigger = { society_member_of = monastic_order_orthodox }
	}
	text = {
		localisation_key = monastic_order_nestorianDAT
		trigger = { society_member_of = monastic_order_nestorian }
	}
	text = {
		localisation_key = monastic_order_monophysiteDAT
		trigger = { society_member_of = monastic_order_monophysite }
	}
	text = {
		localisation_key = monastic_order_jain
		trigger = { society_member_of = monastic_order_jain }
	}
	text = {
		localisation_key = monastic_order_hindu
		trigger = { society_member_of = monastic_order_hindu }
	}
	text = {
		localisation_key = monastic_order_buddhist
		trigger = { society_member_of = monastic_order_buddhist }
	}
	text = {
		localisation_key = String_StoicsDAT
		trigger = { society_member_of = monastic_order_stoics }
	}
	text = {
		localisation_key = hermeticsDAT
		trigger = { society_member_of = hermetics }
	}
	text = {
		localisation_key = secret_religious_society_catholicDAT
		trigger = { society_member_of = secret_religious_society_catholic }
	}
	text = {
		localisation_key = secret_religious_society_catharDAT
		trigger = { society_member_of = secret_religious_society_cathar }
	}
	text = {
		localisation_key = secret_religious_society_fraticelliDAT
		trigger = { society_member_of = secret_religious_society_fraticelli }
	}
	text = {
		localisation_key = secret_religious_society_waldensianDAT
		trigger = { society_member_of = secret_religious_society_waldensian }
	}
	text = {
		localisation_key = secret_religious_society_lollardDAT
		trigger = { society_member_of = secret_religious_society_lollard }
	}
	text = {
		localisation_key = secret_religious_society_orthodoxDAT
		trigger = { society_member_of = secret_religious_society_orthodox }
	}
	text = {
		localisation_key = secret_religious_society_miaphysiteDAT
		trigger = { society_member_of = secret_religious_society_miaphysite }
	}
	text = {
		localisation_key = secret_religious_society_monophysiteDAT
		trigger = { society_member_of = secret_religious_society_monophysite }
	}
	text = {
		localisation_key = secret_religious_society_bogomilistDAT
		trigger = { society_member_of = secret_religious_society_bogomilist }
	}
	text = {
		localisation_key = secret_religious_society_monotheliteDAT
		trigger = { society_member_of = secret_religious_society_monothelite }
	}
	text = {
		localisation_key = secret_religious_society_iconoclastDAT
		trigger = { society_member_of = secret_religious_society_iconoclast }
	}
	text = {
		localisation_key = secret_religious_society_paulicianDAT
		trigger = { society_member_of = secret_religious_society_paulician }
	}
	text = {
		localisation_key = secret_religious_society_nestorianDAT
		trigger = { society_member_of = secret_religious_society_nestorian }
	}
	text = {
		localisation_key = secret_religious_society_messalianDAT
		trigger = { society_member_of = secret_religious_society_messalian }
	}
	text = {
		localisation_key = secret_religious_society_sunniDAT
		trigger = { society_member_of = secret_religious_society_sunni }
	}
	text = {
		localisation_key = secret_religious_society_zikriDAT
		trigger = { society_member_of = secret_religious_society_zikri }
	}
	text = {
		localisation_key = secret_religious_society_yazidiDAT
		trigger = { society_member_of = secret_religious_society_yazidi }
	}
	text = {
		localisation_key = secret_religious_society_ibadiDAT
		trigger = { society_member_of = secret_religious_society_ibadi }
	}
	text = {
		localisation_key = secret_religious_society_kharijiteDAT
		trigger = { society_member_of = secret_religious_society_kharijite }
	}
	text = {
		localisation_key = secret_religious_society_shiiteDAT
		trigger = { society_member_of = secret_religious_society_shiite }
	}
	text = {
		localisation_key = secret_religious_society_druzeDAT
		trigger = { society_member_of = secret_religious_society_druze }
	}
	text = {
		localisation_key = secret_religious_society_hurufiDAT
		trigger = { society_member_of = secret_religious_society_hurufi }
	}
	text = {
		localisation_key = secret_religious_society_jewishDAT
		trigger = { society_member_of = secret_religious_society_jewish }
	}
	text = {
		localisation_key = secret_religious_society_karaiteDAT
		trigger = { society_member_of = secret_religious_society_karaite }
	}
	text = {
		localisation_key = secret_religious_society_samaritanDAT
		trigger = { society_member_of = secret_religious_society_samaritan }
	}
	text = {
		localisation_key = secret_religious_society_zoroastrianDAT
		trigger = { society_member_of = secret_religious_society_zoroastrian }
	}
	text = {
		localisation_key = secret_religious_society_mazdakiDAT
		trigger = { society_member_of = secret_religious_society_mazdaki }
	}
	text = {
		localisation_key = secret_religious_society_manicheanDAT
		trigger = { society_member_of = secret_religious_society_manichean }
	}
	text = {
		localisation_key = secret_religious_society_hindu
		trigger = { society_member_of = secret_religious_society_hindu }
	}
	text = {
		localisation_key = secret_religious_society_buddhistDAT
		trigger = { society_member_of = secret_religious_society_buddhist }
	}
	text = {
		localisation_key = secret_religious_society_jainDAT
		trigger = { society_member_of = secret_religious_society_jain }
	}
	text = {
		localisation_key = secret_religious_society_norse_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_norse_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_slavic_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_slavic_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_tengri_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_tengri_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_baltic_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_baltic_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_finnish_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_finnish_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_west_african_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_west_african_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_bon_reformedDAT
		trigger = { society_member_of = secret_religious_society_bon_reformed }
	}
	text = {
		localisation_key = secret_religious_society_hellenic_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_hellenic_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_zun_pagan_reformedDAT
		trigger = { society_member_of = secret_religious_society_zun_pagan_reformed }
	}
	text = {
		localisation_key = secret_religious_society_norse_paganDAT
		trigger = { society_member_of = secret_religious_society_norse_pagan }
	}
	text = {
		localisation_key = secret_religious_society_slavic_paganDAT
		trigger = { society_member_of = secret_religious_society_slavic_pagan }
	}
	text = {
		localisation_key = secret_religious_society_tengri_paganDAT
		trigger = { society_member_of = secret_religious_society_tengri_pagan }
	}
	text = {
		localisation_key = secret_religious_society_baltic_paganDAT
		trigger = { society_member_of = secret_religious_society_baltic_pagan }
	}
	text = {
		localisation_key = secret_religious_society_finnish_paganDAT
		trigger = { society_member_of = secret_religious_society_finnish_pagan }
	}
	text = {
		localisation_key = secret_religious_society_west_african_paganDAT
		trigger = { society_member_of = secret_religious_society_west_african_pagan }
	}
	text = {
		localisation_key = secret_religious_society_zun_paganDAT
		trigger = { society_member_of = secret_religious_society_zun_pagan }
	}
	text = {
		localisation_key = secret_religious_society_hellenic_paganDAT
		trigger = { society_member_of = secret_religious_society_hellenic_pagan }
	}
	text = {
		localisation_key = secret_religious_society_aztecDAT
		trigger = { society_member_of = secret_religious_society_aztec }
	}
	text = {
		localisation_key = secret_religious_society_aztec_reformedDAT
		trigger = { society_member_of = secret_religious_society_aztec_reformed }
	}
	text = {
		localisation_key = secret_religious_society_khurmaztaDAT
		trigger = { society_member_of = secret_religious_society_khurmazta }
	}
	text = {
		localisation_key = secret_religious_society_bonDAT
		trigger = { society_member_of = secret_religious_society_bon }
	}
	text = {
		localisation_key = secret_religious_society_taoistDAT
		trigger = { society_member_of = secret_religious_society_taoist }
	}
	text = {
		localisation_key = warrior_lodge_tengriDAT
		trigger = { society_member_of = warrior_lodge_tengri }
	}
	text = {
		localisation_key = warrior_lodge_balticDAT
		trigger = { society_member_of = warrior_lodge_baltic }
	}
	text = {
		localisation_key = warrior_lodge_norseDAT
		trigger = { society_member_of = warrior_lodge_norse }
	}
	text = {
		localisation_key = warrior_lodge_finnishDAT
		trigger = { society_member_of = warrior_lodge_finnish }
	}
	text = {
		localisation_key = warrior_lodge_slavicDAT
		trigger = { society_member_of = warrior_lodge_slavic }
	}
	text = {
		localisation_key = warrior_lodge_west_africanDAT
		trigger = { society_member_of = warrior_lodge_west_african }
	}
	text = {
		localisation_key = warrior_lodge_zunDAT
		trigger = { society_member_of = warrior_lodge_zun }
	}
	text = {
		localisation_key = warrior_lodge_bonDAT
		trigger = { society_member_of = warrior_lodge_bon }
	}
	text = {
		localisation_key = warrior_lodge_hellenicDAT
		trigger = { society_member_of = warrior_lodge_hellenic }
	}
}
#  (  )
defined_text = {
	name = GetShortAdjective

	text = {
		trigger = {
			OR = {
				title = e_germany
				title = k_saxony
				title = k_lotharingia
				title = k_germany
				title = e_tartaria
				title = e_france
				title = k_africa
				title = e_abyssinia
				title = k_abyssinia
				title = e_britannia
				title = e_latin_empire
			}
		}
		localisation_key = GetShortAdjective_Default
	}
	text = {
		trigger = {
			OR = {
				title = e_mongol_empire
				title = e_golden_horde
				title = k_mongolia
			}
		}
		localisation_key = mongol_shortadj
	}
	text = {
		trigger = {
			OR = {
				title = e_italy
				title = k_italy
			}
		}
		localisation_key = italy_shortadj
	}
	text = {
		trigger = {
			OR = {
				title = k_finland
				title = d_finland
				title = c_finland
			}
		}
		localisation_key = fin_shortadj
	}
	text = {
		trigger = {
			title = k_france
		}
		localisation_key = frankish_shortadj
	}
	text = {
		trigger = {
			title = k_england
		}
		localisation_key = england_shortadj
	}
	text = {
		trigger = {
			title = e_india
		}
		localisation_key = india_shortadj
	}
	fallback_text = {
		localisation_key = GetShortAdjective_Fallback
	}
}
defined_text = {
	name = GetReligiousGreeting
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_Peace_be_upon_you2
	}
	text = {
		localisation_key = String_Gods_blessing_upon_thee2
		trigger = { 
			OR = {
				religion_group = christian 
				religion = yazidi
				religion = druze
				religion = mazdaki
				religion = manichean
			}
		}
	}
	text = {
		localisation_key = String_As_salam_alaykum
		trigger = { 
			religion_group = muslim
			NOR = {
				religion = yazidi
				religion = druze
			}
		}
	}
	text = {
		localisation_key = String_Peace_be_upon_you2
		trigger = {
			OR = {
				religion_group = indian_group
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = {
		localisation_key = String_Shalom_aleikhem
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = String_Hamazor_hama_asho_bed
		trigger = {
			religion = zoroastrian
		}
	}
	text = {
		localisation_key = String_Allfathers_strength2
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Svarogs_blessings2
		trigger = {
			OR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
		}
	}

	text = {
		localisation_key = String_Ancestors_blessings2
		trigger = {
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
				religion = pagan
				religion = west_african_pagan_reformed
				religion = west_african_pagan
			}
		}
	}

	text = {
		localisation_key = String_Dievas_blessings2
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Ukkos_blessings2
		trigger = {
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Zuns_blessings2
		trigger = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Huitzilopochtlis_strength_to_you2
		trigger = {
			OR = {
				religion = aztec
				religion = aztec_reformed
			}
		}
	}
	text = {
		localisation_key = String_May_the_Gods_protect_you2
		trigger = {
			religion_group = pagan_group
			NOR = {
				religion = aztec
				religion = aztec_reformed
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion = finnish_pagan
				religion = finnish_pagan_reformed
				religion = baltic_pagan
				religion = baltic_pagan_reformed
				religion = tengri_pagan
				religion = tengri_pagan_reformed
				religion = pagan
				religion = west_african_pagan_reformed
				religion = west_african_pagan
				religion = slavic_pagan
				religion = slavic_pagan_reformed
				religion = norse_pagan
				religion = norse_pagan_reformed
				religion = bon
				religion = bon_reformed
				religion = khurmazta
			}
		}
	}
	fallback_text = {
		localisation_key = String_Peace_be_upon_you2
	}
}
defined_text = {
	name = GetTrueReligiousGreeting
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_Peace_be_upon_you2
	}
	text = {
		localisation_key = String_Gods_blessing_upon_thee2
		trigger = { 
			OR = {
				true_religion_group = christian 
				true_religion = yazidi
				true_religion = druze
				true_religion = mazdaki
				true_religion = manichean
			}
		}
	}
	text = {
		localisation_key = String_As_salam_alaykum
		trigger = { 
			true_religion_group = muslim
			NOR = {
				true_religion = yazidi
				true_religion = druze
			}
		}
	}
	text = {
		localisation_key = String_Peace_be_upon_you2
		trigger = {
			OR = {
				true_religion_group = indian_group
				true_religion = bon
				true_religion = bon_reformed
			}
		}
	}
	text = {
		localisation_key = String_Shalom_aleikhem
		trigger = { true_religion_group = jewish_group }
	}
	text = {
		localisation_key = String_Hamazor_hama_asho_bed
		trigger = {
			true_religion = zoroastrian
		}
	}
	text = {
		localisation_key = String_Allfathers_strength2
		trigger = {
			OR = {
				true_religion = norse_pagan
				true_religion = norse_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Svarogs_blessings2
		trigger = {
			OR = {
				true_religion = slavic_pagan
				true_religion = slavic_pagan_reformed
			}
		}
	}

	text = {
		localisation_key = String_Ancestors_blessings2
		trigger = {
			OR = {
				true_religion = tengri_pagan
				true_religion = tengri_pagan_reformed
				true_religion = pagan
				true_religion = west_african_pagan_reformed
				true_religion = west_african_pagan
			}
		}
	}

	text = {
		localisation_key = String_Dievas_blessings2
		trigger = {
			OR = {
				true_religion = baltic_pagan
				true_religion = baltic_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Ukkos_blessings2
		trigger = {
			OR = {
				true_religion = finnish_pagan
				true_religion = finnish_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Zuns_blessings2
		trigger = {
			OR = {
				true_religion = zun_pagan
				true_religion = zun_pagan_reformed
			}
		}
	}
	text = {
		localisation_key = String_Huitzilopochtlis_strength_to_you2
		trigger = {
			OR = {
				true_religion = aztec
				true_religion = aztec_reformed
			}
		}
	}
	text = {
		localisation_key = String_May_the_Gods_protect_you2
		trigger = {
			true_religion_group = pagan_group
			NOR = {
				true_religion = aztec
				true_religion = aztec_reformed
				true_religion = zun_pagan
				true_religion = zun_pagan_reformed
				true_religion = finnish_pagan
				true_religion = finnish_pagan_reformed
				true_religion = baltic_pagan
				true_religion = baltic_pagan_reformed
				true_religion = tengri_pagan
				true_religion = tengri_pagan_reformed
				true_religion = pagan
				true_religion = west_african_pagan_reformed
				true_religion = west_african_pagan
				true_religion = slavic_pagan
				true_religion = slavic_pagan_reformed
				true_religion = norse_pagan
				true_religion = norse_pagan_reformed
				true_religion = bon
				true_religion = bon_reformed
				true_religion = khurmazta
			}
		}
	}
	fallback_text = {
		localisation_key = String_Peace_be_upon_you2
	}
}
defined_text = {
	name = GetReligiousPraise
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_So_Be_It
	}
	text = {
		localisation_key = String_Slava_Gospodu
		trigger = { 
			OR = {
				religion = catholic
				religion = fraticelli
				religion = waldensian
				religion = lollard
			}
		}
	}
	text = {
		localisation_key = String_Hallelujah
		trigger = { 
			OR = {
				religion = nestorian
				religion = miaphysite
				religion = monophysite
				religion_group  = jewish_group
			}
		}
	}
	text = {
		localisation_key = String_Slava_Tebe_Bozhe
		trigger = { 
			OR = {
				religion = orthodox
				religion = bogomilist
				religion = monothelite
				religion = iconoclast
				religion = paulician
			}
		}
	}
	text = {
		localisation_key = String_Hvala_Vsevyshnemu
		trigger = { 
			OR = {
				religion = yazidi
				religion = cathar
				religion = messalian
			}
		}
	}
	text = {
		localisation_key = String_Allah_Akbar
		trigger = { 
			religion_group = muslim
			NOT = { religion = yazidi }
		}
	}
	text = {
		localisation_key = String_Hamazor_hama_asho_bed
		trigger = {
			religion_group = zoroastrian_group
			NOT = { religion = khurmazta }
		}
	}
	text = {
		localisation_key = String_So_Be_It
		trigger = {
			OR = {
				religion = khurmazta
				religion = buddhist
				religion = taoist
			}
		}
	}
	text = {
		localisation_key = String_Hvala_Bogam
		trigger = {
			OR = {
				religion = hindu
				religion = jain
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = {
		localisation_key = String_Slava_Yupiteru
		trigger = { religion = hellenic_pagan }
	}
	text = {
		localisation_key = String_Vo_Slavu_Predkov
		trigger = {
			OR = {
				religion = west_african_pagan_reformed
				religion = west_african_pagan
			}
		}
	}
	text = {
		localisation_key = String_Pust_Vsegda_Budet_Solntse
		trigger = {
			OR = {
				religion = zun_pagan_reformed
				religion = zun_pagan
			}
		}
	}
	text = {
		localisation_key = String_Slava_Perunu
		trigger = {
			OR = {
				religion = slavic_pagan_reformed
				religion = slavic_pagan
			}
		}
	}
	text = {
		localisation_key = String_Fire_and_blood
		trigger = {
			OR = {
				religion = aztec_reformed
				religion = aztec
			}
		}
	}
	text = {
		localisation_key = String_For_the_Ukko
		trigger = {
			OR = {
				religion = finnish_pagan_reformed
				religion = finnish_pagan
			}
		}
	}
	text = {
		localisation_key = String_Dievas_S_Nami
		trigger = {
			OR = {
				religion = baltic_pagan_reformed
				religion = baltic_pagan
			}
		}
	}
	text = {
		localisation_key = String_Skyfather_with_us
		trigger = {
			OR = {
				religion = tengri_pagan_reformed
				religion = tengri_pagan
			}
		}
	}
	text = {
		localisation_key = String_Allfather_with_us
		trigger = {
			OR = {
				religion = norse_pagan_reformed
				religion = norse_pagan
			}
		}
	}
	fallback_text = {
		localisation_key = String_So_Be_It
	}
}
#,   
defined_text = {
	name = GetSkinDescription

	text = {
		trigger = { 
			graphical_culture = norsegfx 
		}
		localisation_key = String_ruddy
	}
	text = {
		trigger = { 
			OR = {
				graphical_culture = occitangfx 
				graphical_culture = italiangfx 
				graphical_culture = southerngfx
				graphical_culture = byzantinegfx
				graphical_culture = byzantinegfx
				graphical_culture = easternslavicgfx
				graphical_culture = byzantinegfx
				graphical_culture = turkishgfx 
				graphical_culture = cumangfx
				graphical_culture = mongolgfx
				graphical_culture = persiangfx
			}
		}
		localisation_key = String_tanned
	}
	text = {
		trigger = { 
			OR = {
				graphical_culture = arabicgfx
				graphical_culture = andalusiangfx
				graphical_culture = muslimgfx
				graphical_culture = mesoamericangfx
			}
		}
		localisation_key = String_bronzed
	}
	text = {
		trigger = {
			OR = {
				graphical_culture = africangfx
				graphical_culture = westafricangfx
			}
		}
		localisation_key = String_dark_skinned
	}
	text = {
		trigger = { 
			OR = {
				graphical_culture = indiangfx
				graphical_culture = southindiangfx
			}
		}
		localisation_key = String_copper_skinned
	}
	text = {
		trigger = { graphical_culture = horsegfx }
		localisation_key = String_long
	}
	text = {
		trigger = {
			OR = {
				graphical_culture = catgfx
				graphical_culture = beargfx
			}
		}
		localisation_key = String_Shaggy
	}
	text = {
		trigger = {
			graphical_culture = elephantgfx
		}
		localisation_key = String_Gray
	}
	text = {
		trigger = {
			graphical_culture = dogfx
		}
		localisation_key = String_Spotty
	}
	text = {
		trigger = {
			graphical_culture = dragongfx
		}
		localisation_key = String_Scaly
	}
	text = {
		trigger = {
			graphical_culture = duckgfx
		}
		localisation_key = String_Feathery
	}
	text = {
		trigger = {
			graphical_culture = hedgehoggfx
		}
		localisation_key = String_Bristly
	}
	text = {
		weight_multiplier = { factor = 100 }
		trigger = {
			NOR = {
				graphical_culture = occitangfx 
				graphical_culture = italiangfx
				graphical_culture = southerngfx
				graphical_culture = byzantinegfx
				graphical_culture = byzantinegfx
				graphical_culture = easternslavicgfx
				graphical_culture = byzantinegfx
				graphical_culture = turkishgfx 
				graphical_culture = cumangfx
				graphical_culture = mongolgfx
				graphical_culture = persiangfx
				graphical_culture = arabicgfx
				graphical_culture = andalusiangfx
				graphical_culture = muslimgfx
				graphical_culture = mesoamericangfx
				graphical_culture = africangfx
				graphical_culture = westafricangfx
				graphical_culture = indiangfx
				graphical_culture = southindiangfx
				graphical_culture = horsegfx
				graphical_culture = catgfx
				graphical_culture = beargfx
				graphical_culture = hedgehoggfx
				graphical_culture = duckgfx
				graphical_culture = doggfx
				graphical_culture = elephantgfx
				graphical_culture = dragongfx
			}
		}
		localisation_key = String_pale
	}
}
#     ( / // / ). - " ".
defined_text = {
	name = GetStateStructuresDAT

	text = {
		trigger = { is_feudal = yes }
		localisation_key = String_Feudal_Lords_DAT
	}
	text = {
		trigger = { is_nomadic = yes }
		localisation_key = String_Nomadic_Tribes_DAT
	}
	text = {
		trigger = { is_republic = yes }
		localisation_key = String_Free_Cities_DAT
	}
	text = {
		trigger = { is_theocracy = yes }
		localisation_key = String_Clergy_DAT
	}
	text = {
		trigger = { is_tribal = yes }
		localisation_key = String_Tribes_DAT
	}
	fallback_text = {
		localisation_key = GetStateStructuresDAT_Fallback
	}

}
# 
defined_text = {
	name = GetRegionalBigAnimalACC
	
	text = {
		localisation_key = String_stagACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_bearACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = String_tigerACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_lionACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_animal_fallbackACC #Beast
	}
}
# 
defined_text = {
	name = GetHunchbackOfNotreDame # Returns a suitable name for the book

	text = {
		localisation_key = GetHunchbackOfNotreDame_Castle
		trigger = { capital_holding = { holding_type = castle } }
	}
	text = {
		localisation_key = GetHunchbackOfNotreDame_Temple
		trigger = { capital_holding = { holding_type = temple } }
	}
	text = {
		localisation_key = GetHunchbackOfNotreDame_Nomad
		trigger = { capital_holding = { holding_type = nomad } }
	}
	text = {
		localisation_key = GetHunchbackOfNotreDame_Tribal
		trigger = { capital_holding = { holding_type = tribal } }
	}
	text = {
		localisation_key = GetHunchbackOfNotreDame_City
		trigger = { capital_holding = { holding_type = city } }
	}
	text = {
		localisation_key = GetHunchbackOfNotreDame_FP
		trigger = { capital_holding = { holding_type = family_palace } }
	}
	fallback_text = {
		localisation_key = GetHunchbackOfNotreDame_Fallback
	}
}
#//////      
defined_text = {
	name = GetCulturalPrincePrincess

	text = {
		localisation_key = Princess_Polish
		trigger = {
			is_female = yes
			culture = polish
		}
	}
	text = {
		localisation_key = Prince_Polish
		trigger = {
			is_female = no
			culture = polish
		}
	}
	text = {
		localisation_key = Princess_East_Slavic
		trigger = {
			is_female = yes
			culture_group = east_slavic
		}
	}
	text = {
		localisation_key = Prince_East_Slavic
		trigger = {
			is_female = no
			culture_group = east_slavic
		}
	}
	text = {
		localisation_key = Prince_Iberian
		trigger = { culture_group = iberian }
	}
	text = {
		localisation_key = Prince_Fallback
		trigger = {
			is_female = no
			NOR = {
				culture_group = east_slavic
				culture_group = iberian
				culture = polish
			}
		}
	}
	text = {
		localisation_key = Princess_Fallback
		trigger = {
			is_female = yes
			NOR = {
				culture_group = east_slavic
				culture_group = iberian
				culture = polish
			}
		}
	}
	fallback_text = {
		localisation_key = Prince_Fallback
	}
}
defined_text = {
	name = GetCulturalPrincePrincessOpp

	text = {
		localisation_key = Princess_Polish
		trigger = {
			is_female = no
			culture = polish
		}
	}
	text = {
		localisation_key = Prince_Polish
		trigger = {
			is_female = yes
			culture = polish
		}
	}
	text = {
		localisation_key = Princess_East_Slavic
		trigger = {
			is_female = no
			culture_group = east_slavic
		}
	}
	text = {
		localisation_key = Prince_East_Slavic
		trigger = {
			is_female = yes
			culture_group = east_slavic
		}
	}
	text = {
		localisation_key = Prince_Iberian
		trigger = { culture_group = iberian }
	}
	text = {
		localisation_key = Prince_Fallback
		trigger = {
			is_female = yes
			NOR = {
				culture_group = east_slavic
				culture_group = iberian
				culture = polish
			}
		}
	}
	text = {
		localisation_key = Princess_Fallback
		trigger = {
			is_female = no
			NOR = {
				culture_group = east_slavic
				culture_group = iberian
				culture = polish
			}
		}
	}
	fallback_text = {
		localisation_key = Princess_Fallback
	}
}
#/
defined_text = {
	name = GetStandardInsult

	text = {
		localisation_key = String_personality_evil_name
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_personality_unpleasant_female_name
		trigger = { is_female = yes }
	}
	fallback_text = {
		localisation_key = String_personality_evil_name
	}
}
defined_text = {
	name = GetStandardInsultOpp

	text = {
		localisation_key = String_personality_evil_name
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_personality_unpleasant_female_name
		trigger = { is_female = no }
	}
	fallback_text = {
		localisation_key = String_personality_unpleasant_female_name
	}
}
#    
defined_text = {
	name = GetPersonalityName

	#General personality groups
	text = {
		localisation_key = String_personality_benevolent_name
		trigger = {
			is_benevolent_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_evil_name
		trigger = {
			is_female = no
			is_evil_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_evil_female_name
		trigger = {
			is_female = yes
			is_evil_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_pious_name
		trigger = {
			is_pious_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_impious_name
		trigger = {
			is_impious_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_unpleasant_name
		trigger = {
			is_female = no
			has_unpleasant_personality_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_unpleasant_female_name
		trigger = {
			is_female = yes
			has_unpleasant_personality_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_attractive_name
		trigger = {
			is_female = no
			trait = fair
		}
	}
	text = {
		localisation_key = String_personality_attractive_female_name
		trigger = {
			is_female = yes
			trait = fair
		}
	}
	text = {
		localisation_key = String_personality_unattractive_name
		trigger = {
			is_female = no
			trait = ugly
		}
	}
	text = {
		localisation_key = String_personality_unattractive_female_name
		trigger = {
			is_female = yes
			trait = ugly
		}
	}
	text = {
		localisation_key = String_personality_smart_name
		trigger = {
			is_smart_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_dumb_name
		trigger = {
			is_female = no
			is_dumb_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_dumb_female_name
		trigger = {
			is_female = yes
			is_dumb_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_stressed_depressed_name
		trigger = {
			OR = {
				trait = stressed
				trait = depressed
			}
		}
	}
	## Education...
	text = {
		localisation_key = String_personality_education_diplomacy_name
		trigger = {
			is_female = no
			has_education_diplomacy_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_diplomacy_female_name
		trigger = {
			is_female = yes
			has_education_diplomacy_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_martial_name
		trigger = {
			has_education_martial_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_stewardship_name
		trigger = {
			has_education_stewardship_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_intrigue_name
		trigger = {
			has_education_intrigue_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_learning_name
		trigger = {
			has_education_learning_trigger = yes
		}
	}
	### lifestyle/misc
	text = {
		localisation_key = String_personality_hunter_name
		trigger = {
			trait = hunter
		}
	}
	text = {
		localisation_key = String_personality_learned_name
		trigger = {
			is_learned_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_council_member_name
		trigger = {
			has_job_title = yes
		}
	}
	fallback_text = {
		localisation_key = String_personality_name_fallback
	}
}
#      
defined_text = {
	name = GetPersonalityNameGEN

	#General personality groups
	text = {
		localisation_key = String_personality_benevolent_nameGEN
		trigger = {
			is_benevolent_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_evil_nameGEN
		trigger = {
			is_female = no
			is_evil_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_evil_female_nameGEN
		trigger = {
			is_female = yes
			is_evil_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_pious_nameGEN
		trigger = {
			is_pious_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_impious_nameGEN
		trigger = {
			is_impious_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_unpleasant_nameGEN
		trigger = {
			is_female = no
			has_unpleasant_personality_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_unpleasant_female_nameGEN
		trigger = {
			is_female = yes
			has_unpleasant_personality_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_attractive_nameGEN
		trigger = {
			is_female = no
			trait = fair
		}
	}
	text = {
		localisation_key = String_personality_attractive_female_nameGEN
		trigger = {
			is_female = yes
			trait = fair
		}
	}
	text = {
		localisation_key = String_personality_unattractive_nameGEN
		trigger = {
			is_female = no
			trait = ugly
		}
	}
	text = {
		localisation_key = String_personality_unattractive_female_nameGEN
		trigger = {
			is_female = yes
			trait = ugly
		}
	}
	text = {
		localisation_key = String_personality_smart_nameGEN
		trigger = {
			is_smart_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_dumb_nameGEN
		trigger = {
			is_female = no
			is_dumb_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_dumb_female_nameGEN
		trigger = {
			is_female = yes
			is_dumb_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_stressed_depressed_nameGEN
		trigger = {
			OR = {
				trait = stressed
				trait = depressed
			}
		}
	}
	## Education...
	text = {
		localisation_key = String_personality_education_diplomacy_nameGEN
		trigger = {
			is_female = no
			has_education_diplomacy_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_diplomacy_female_nameGEN
		trigger = {
			is_female = yes
			has_education_diplomacy_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_martial_nameGEN
		trigger = {
			has_education_martial_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_stewardship_nameGEN
		trigger = {
			has_education_stewardship_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_intrigue_nameGEN
		trigger = {
			has_education_intrigue_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_education_learning_nameGEN
		trigger = {
			has_education_learning_trigger = yes
		}
	}
	### lifestyle/misc
	text = {
		localisation_key = String_personality_hunter_nameGEN
		trigger = {
			trait = hunter
		}
	}
	text = {
		localisation_key = String_personality_learned_nameGEN
		trigger = {
			is_learned_trigger = yes
		}
	}
	text = {
		localisation_key = String_personality_council_member_nameGEN
		trigger = {
			has_job_title = yes
		}
	}
	fallback_text = {
		localisation_key = String_personality_name_fallbackGEN
	}
}
#/<>    
defined_text = {
	name = GetMFLoverEndA

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_A
	}
}
#/<>    
defined_text = {
	name = GetMFLoverEndLa

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = FEMALE_ENDING_E
	}
}
#/    
defined_text = {
	name = GetMFLoverSheHe

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = EV_SHE
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = EV_HE
	}
	fallback_text = {
		localisation_key = EV_SHE
	}
}
#/    
defined_text = {
	name = GetMFLover

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = REL_LOVER_FEMALE
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = REL_LOVER_MALE
	}
	fallback_text = {
		localisation_key = REL_LOVER_FEMALE
	}
}
# 
defined_text = {
	name = GetRootRelationGEN

	text = {
		localisation_key = GetRelation_WifeGEN
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConcubineGEN
		trigger = {
			is_female = yes
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConsortGEN
		trigger = {
			is_female = no
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_MotherWifeGEN
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifeGEN
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifeGEN
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_MotherGEN
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherGEN
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandfatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandmotherGEN
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandfatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterGEN
		trigger = {
			is_female = yes
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SonGEN
		trigger = {
			is_female = no
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterGEN
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonGEN
		trigger = {
			is_female = no
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterGEN
		trigger = {
			is_female = yes
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandsonGEN
		trigger = {
			is_female = no
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SisterGEN
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherGEN
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_NieceGEN
		trigger = {
			is_female = yes
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_NephewGEN
		trigger = {
			is_female = no
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_AuntGEN
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_UncleGEN
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemaleGEN
		trigger = {
			is_female = yes
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_MaleGEN
		trigger = {
			is_female = no
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfWifeGEN
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfHusbandGEN
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfBrotherGEN
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = no
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfWifeGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfHusbandGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfSisterGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = yes
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_MaleGEN
		trigger = {
			is_female = no
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemaleGEN
		trigger = {
			is_female = yes
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MaleGEN
		trigger = {
			is_female = no
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemaleGEN
		trigger = {
			is_female = yes
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MaleGEN
		trigger = {
			is_female = no
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemaleGEN
		trigger = {
			is_female = yes
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanGEN
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_KinsmanGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_Liege_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Liege_FemaleGEN
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_FemaleGEN
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Ward_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NOT = { is_liege_of = ROOT }
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Ward_FemaleGEN
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOT = { is_liege_of = ROOT }
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_FemaleGEN
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_FemaleGEN
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_AcquaintanceGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_Acquaintance_FemaleGEN
		trigger = { 
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfWifeGEN
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfHusbandGEN
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfWifeGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfHusbandGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfFathersSonGEN
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { father_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfMothersSonGEN
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { mother_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfDaughterGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			OR = {
				any_spouse = { mother_even_if_dead = { character = ROOT } }
				any_spouse = { father_even_if_dead = { character = ROOT } }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvakhaGEN
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvatGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackGEN
	}
}
# 
defined_text = {
	name = GetRootRelationACC

	text = {
		localisation_key = GetRelation_WifeACC
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConcubineACC
		trigger = {
			is_female = yes
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConsortGEN
		trigger = {
			is_female = no
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_MotherWifeACC
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifeACC
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifeACC
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandGEN
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_MotherACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandfatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandmotherACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandfatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterACC
		trigger = {
			is_female = yes
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SonGEN
		trigger = {
			is_female = no
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterACC
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonGEN
		trigger = {
			is_female = no
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterACC
		trigger = {
			is_female = yes
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandsonGEN
		trigger = {
			is_female = no
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SisterACC
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherGEN
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_NieceACC
		trigger = {
			is_female = yes
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_NephewGEN
		trigger = {
			is_female = no
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_AuntACC
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_UncleACC
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemaleACC
		trigger = {
			is_female = yes
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_MaleGEN
		trigger = {
			is_female = no
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfWifeACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfHusbandACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfBrotherACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = no
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfWifeGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfHusbandGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfSisterGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = yes
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_MaleGEN
		trigger = {
			is_female = no
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemaleACC
		trigger = {
			is_female = yes
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MaleACC
		trigger = {
			is_female = no
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemaleACC
		trigger = {
			is_female = yes
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MaleGEN
		trigger = {
			is_female = no
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemaleACC
		trigger = {
			is_female = yes
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanACC
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_KinsmanGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_Liege_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Liege_FemaleACC
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_FemaleACC
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Ward_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NOT = { is_liege_of = ROOT }
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Ward_FemaleACC
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOT = { is_liege_of = ROOT }
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_FemaleACC
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_MaleGEN
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_FemaleACC
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_AcquaintanceGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_Acquaintance_FemaleACC
		trigger = { 
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfWifeACC
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfHusbandACC
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfWifeGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfHusbandGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfFathersSonACC
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { father_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfMothersSonACC
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { mother_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfDaughterGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			OR = {
				any_spouse = { mother_even_if_dead = { character = ROOT } }
				any_spouse = { father_even_if_dead = { character = ROOT } }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvakhaACC
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvatGEN
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackACC
	}
}
# 
defined_text = {
	name = GetRootRelationDAT

	text = {
		localisation_key = GetRelation_WifeDAT
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandDAT
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConcubineDAT
		trigger = {
			is_female = yes
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConsortDAT
		trigger = {
			is_female = no
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_MotherWifeDAT
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandDAT
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifeDAT
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandDAT
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifeDAT
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandDAT
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_MotherDAT
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherDAT
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherDAT
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandfatherDAT
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandmotherDAT
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandfatherDAT
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterDAT
		trigger = {
			is_female = yes
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SonDAT
		trigger = {
			is_female = no
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterDAT
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonDAT
		trigger = {
			is_female = no
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterDAT
		trigger = {
			is_female = yes
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandsonDAT
		trigger = {
			is_female = no
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SisterDAT
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherDAT
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_NieceDAT
		trigger = {
			is_female = yes
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_NephewDAT
		trigger = {
			is_female = no
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_AuntDAT
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_UncleDAT
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemaleDAT
		trigger = {
			is_female = yes
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_MaleDAT
		trigger = {
			is_female = no
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfWifeDAT
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfHusbandDAT
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfBrotherDAT
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = no
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfWifeDAT
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfHusbandDAT
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfSisterDAT
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = yes
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_MaleDAT
		trigger = {
			is_female = no
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemaleDAT
		trigger = {
			is_female = yes
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MaleDAT
		trigger = {
			is_female = no
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemaleDAT
		trigger = {
			is_female = yes
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MaleDAT
		trigger = {
			is_female = no
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemaleDAT
		trigger = {
			is_female = yes
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanDAT
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_KinsmanDAT
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_Liege_MaleDAT
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Liege_FemaleDAT
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_MaleDAT
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_FemaleDAT
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Ward_MaleDAT
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NOT = { is_liege_of = ROOT }
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Ward_FemaleDAT
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOT = { is_liege_of = ROOT }
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_MaleDAT
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_FemaleDAT
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_MaleDAT
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_FemaleDAT
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_AcquaintanceDAT
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_Acquaintance_FemaleDAT
		trigger = { 
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfWifeDAT
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfHusbandDAT
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfWifeDAT
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfHusbandDAT
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfFathersSonDAT
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { father_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfMothersSonDAT
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { mother_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfDaughterDAT
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			OR = {
				any_spouse = { mother_even_if_dead = { character = ROOT } }
				any_spouse = { father_even_if_dead = { character = ROOT } }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvakhaDAT
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvatDAT
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackDAT
	}
}
# 
defined_text = {
	name = GetRootRelationPREP

	text = {
		localisation_key = GetRelation_WifePREP
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandPREP
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConcubinePREP
		trigger = {
			is_female = yes
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConsortPREP
		trigger = {
			is_female = no
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_MotherWifePREP
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandPREP
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifePREP
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandPREP
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifePREP
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandPREP
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_MotherPREP
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherPREP
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherPREP
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandfatherPREP
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandmotherPREP
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandfatherPREP
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterPREP
		trigger = {
			is_female = yes
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SonPREP
		trigger = {
			is_female = no
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterPREP
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonPREP
		trigger = {
			is_female = no
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterPREP
		trigger = {
			is_female = yes
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandsonPREP
		trigger = {
			is_female = no
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SisterPREP
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherPREP
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_NiecePREP
		trigger = {
			is_female = yes
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_NephewPREP
		trigger = {
			is_female = no
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_AuntPREP
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_UnclePREP
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemalePREP
		trigger = {
			is_female = yes
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_MalePREP
		trigger = {
			is_female = no
			is_cousin_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
			NOT = { is_consort = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfWifePREP
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfHusbandPREP
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfBrotherPREP
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = no
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfWifePREP
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfHusbandPREP
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfSisterPREP
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
			relationship_with_root_trigger = no
			any_spouse = {
				is_female = yes
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_MalePREP
		trigger = {
			is_female = no
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemalePREP
		trigger = {
			is_female = yes
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MalePREP
		trigger = {
			is_female = no
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemalePREP
		trigger = {
			is_female = yes
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MalePREP
		trigger = {
			is_female = no
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemalePREP
		trigger = {
			is_female = yes
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanPREP
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_KinsmanPREP
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_Liege_MalePREP
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Liege_FemalePREP
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_MalePREP
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_FemalePREP
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Ward_MalePREP
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NOT = { is_liege_of = ROOT }
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Ward_FemalePREP
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOT = { is_liege_of = ROOT }
			NOR = {
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_MalePREP
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_FemalePREP
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_MalePREP
		trigger = {
			is_female = no
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_FemalePREP
		trigger = {
			is_female = yes
			relationship_with_root_trigger = no
			family_of_root_trigger = no
			NOR = {
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_AcquaintancePREP
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_Acquaintance_FemalePREP
		trigger = { 
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				is_consort = ROOT
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child = {
					OR = {
						any_spouse = { mother_even_if_dead = { character = ROOT } }
						any_spouse = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfWifePREP
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfHusbandPREP
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfWifePREP
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = yes
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfHusbandPREP
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child = {
				is_female = no
				any_spouse = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfFathersSonPREP
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { father_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfMothersSonPREP
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse = { mother_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfDaughterPREP
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			OR = {
				any_spouse = { mother_even_if_dead = { character = ROOT } }
				any_spouse = { father_even_if_dead = { character = ROOT } }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvakhaPREP
		trigger = {
			is_female = yes
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvatPREP
		trigger = {
			is_female = no
			NOR = { 
				relationship_with_root_trigger = yes
				family_of_root_trigger = yes
				any_spouse = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child = { any_spouse = { character = ROOT } } #Parent in law
				any_spouse = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child = {
				OR = {
					any_spouse = { mother_even_if_dead = { character = ROOT } }
					any_spouse = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackPREP
	}
}
defined_text = {
	name = GetRootDeadRelation

	text = {
		localisation_key = GetRelation_Wife
		trigger = {
			is_female = yes
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	text = {
		localisation_key = GetRelation_Husband
		trigger = {
			is_female = no
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	fallback_text = {
		localisation_key = GetRootDeadRelation_fallback
	}
}
# 
defined_text = {
	name = GetRootDeadRelationGEN

	text = {
		localisation_key = GetRelation_WifeGEN
		trigger = {
			is_female = yes
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandGEN
		trigger = {
			is_female = no
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	fallback_text = {
		localisation_key = GetRootDeadRelationGEN_fallback
	}
}
# 
defined_text = {
	name = GetRootDeadRelationACC

	text = {
		localisation_key = GetRelation_WifeACC
		trigger = {
			is_female = yes
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandGEN
		trigger = {
			is_female = no
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	fallback_text = {
		localisation_key = GetRootDeadRelationACC_fallback
	}
}
# 
defined_text = {
	name = GetRootDeadRelationDAT

	text = {
		localisation_key = GetRelation_WifeDAT
		trigger = {
			is_female = yes
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandDAT
		trigger = {
			is_female = no
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	fallback_text = {
		localisation_key = GetRootDeadRelationDAT_fallback
	}
}
# 
defined_text = {
	name = GetRootDeadRelationPREP

	text = {
		localisation_key = GetRelation_WifePREP
		trigger = {
			is_female = yes
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandPREP
		trigger = {
			is_female = no
			is_alive = no
			ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
		}
	}
	fallback_text = {
		localisation_key = GetRootDeadRelationPREP_fallback
	}
}
# 
defined_text = {
	name = GetRootDeadRelationFamACC

	text = {
		localisation_key = GetRelation_WifeFamACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandFamACC
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConcubineFamACC
		trigger = {
			is_female = yes
			is_consort = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_ConsortFamACC
		trigger = {
			is_female = no
			is_consort = ROOT
			NOT = { any_spouse = { character = ROOT } }
			NOT = { is_child_of = ROOT }
			NOT = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_sibling_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_MotherWifeFamACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandFamACC
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifeFamACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandFamACC
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifeFamACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandFamACC
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_MotherFamACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherFamACC
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherFamACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandfatherFamACC
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandmotherFamACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandfatherFamACC
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterFamACC
		trigger = {
			is_female = yes
			is_child_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SonFamACC
		trigger = {
			is_female = no
			is_child_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterFamACC
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonFamACC
		trigger = {
			is_female = no
			is_grandchild_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterFamACC
		trigger = {
			is_female = yes
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandsonFamACC
		trigger = {
			is_female = no
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
			}
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SisterFamACC
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherFamACC
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_NieceFamACC
		trigger = {
			is_female = yes
			is_nibling_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_NephewFamACC
		trigger = {
			is_female = no
			is_nibling_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_AuntFamACC
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_UncleFamACC
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_MaleFamACC
		trigger = {
			is_female = no
			is_cousin_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOT = { is_consort = ROOT }
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemaleFamACC
		trigger = {
			is_female = yes
			is_cousin_of = ROOT
			NOT = { any_spouse_even_if_dead = { character = ROOT } }
			NOT = { is_consort = ROOT }
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfWifeFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfHusbandFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfBrotherFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
			any_spouse_even_if_dead = {
				is_female = no
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfWifeFamACC
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfHusbandFamACC
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfSisterFamACC
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
			any_spouse_even_if_dead = {
				is_female = yes
				any_sibling_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_MaleFamACC
		trigger = {
			is_female = no
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemaleFamACC
		trigger = {
			is_female = yes
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MaleFamACC
		trigger = {
			is_female = no
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemaleFamACC
		trigger = {
			is_female = yes
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MaleFamACC
		trigger = {
			is_female = no
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemaleFamACC
		trigger = {
			is_female = yes
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_KinsmanFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			dynasty = ROOT
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_Liege_MaleFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Liege_FemaleFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			is_liege_of = ROOT
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_MaleFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_FemaleFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
			}
			NOT = { is_liege_of = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			is_guardian = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_Ward_MaleFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NOT = { is_liege_of = ROOT }
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Ward_FemaleFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			NOT = { is_liege_of = ROOT }
			NAND = {
				is_landed = yes
				liege = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			guardian = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_MaleFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_FemaleFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_MaleFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_FemaleFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT }
			NOT = { guardian = { character = ROOT } }
			NOT = { is_guardian = ROOT }
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_AcquaintanceFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_Acquaintance_FemaleFamACC
		trigger = { 
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				is_consort = ROOT
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
				liege = { character = ROOT }
				is_liege_of = ROOT
				guardian = { character = ROOT }
				is_guardian = ROOT
				AND = {
					dynasty = ROOT
					NOT = { dynasty = none }
				}
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfWifeFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfHusbandFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfWifeFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfHusbandFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_child_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfFathersSonFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfMothersSonFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfDaughterFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
			}
			OR = {
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvakhaFamACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child_even_if_dead = {
				OR = {
					any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
					any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvatFamACC
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT
				is_friend = ROOT
				is_rival = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT #cousins
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT } } }
				any_spouse_even_if_dead = { character = ROOT }
				mother_even_if_dead = { is_grandchild_of = ROOT }
				father_even_if_dead = { is_grandchild_of = ROOT }
				any_child_even_if_dead = { is_grandparent_of = ROOT }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } } #Child in law
				is_liege_of = ROOT
				is_guardian = ROOT
				is_consort = ROOT
				guardian = { character = ROOT }
			}
			OR = {
				NOT = { dynasty = ROOT }
				dynasty = none
			}
			any_child_even_if_dead = {
				OR = {
					any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT } }
					any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackFamACC
	}
}
# 
defined_text = {
	name = GetFromFromDeadRelationACC

	text = {
		localisation_key = GetRelation_WifeACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			NOT = { is_child_of = ROOT_FROMFROM }
			NOT = { any_child_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { any_sibling_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandGEN
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			NOT = { is_child_of = ROOT_FROMFROM }
			NOT = { any_child_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { any_sibling_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_ConcubineACC
		trigger = {
			is_female = yes
			is_consort = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { is_child_of = ROOT_FROMFROM }
			NOT = { any_child_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { any_sibling_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_ConsortGEN
		trigger = {
			is_female = no
			is_consort = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { is_child_of = ROOT_FROMFROM }
			NOT = { any_child_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { any_sibling_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_MotherWifeACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			any_child_even_if_dead = { character = ROOT_FROMFROM }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandGEN
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			any_child_even_if_dead = { character = ROOT_FROMFROM }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifeACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			is_child_of = ROOT_FROMFROM
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandGEN
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			is_child_of = ROOT_FROMFROM
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifeACC
		trigger = {
			is_female = yes
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			any_sibling_even_if_dead = { character = ROOT_FROMFROM }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandGEN
		trigger = {
			is_female = no
			any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			any_sibling_even_if_dead = { character = ROOT_FROMFROM }
		}
	}
	text = {
		localisation_key = GetRelation_MotherACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT_FROMFROM }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT_FROMFROM }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandfatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandmotherACC
		trigger = {
			is_female = yes
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandfatherGEN
		trigger = {
			is_female = no
			any_child_even_if_dead = { any_child_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterACC
		trigger = {
			is_female = yes
			is_child_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_SonGEN
		trigger = {
			is_female = no
			is_child_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterACC
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonGEN
		trigger = {
			is_female = no
			is_grandchild_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterACC
		trigger = {
			is_female = yes
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
			}
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGrandsonGEN
		trigger = {
			is_female = no
			OR = {
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
			}
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_SisterACC
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT_FROMFROM }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherGEN
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT_FROMFROM }
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_NieceACC
		trigger = {
			is_female = yes
			is_nibling_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
			}
		}
	}
	text = {
		localisation_key = GetRelation_NephewGEN
		trigger = {
			is_female = no
			is_nibling_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
			}
		}
	}
	text = {
		localisation_key = GetRelation_AuntACC
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
			}
		}
	}
	text = {
		localisation_key = GetRelation_UncleACC
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
			}
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_MaleGEN
		trigger = {
			is_female = no
			is_cousin_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { is_consort = ROOT_FROMFROM }
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
			}
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemaleACC
		trigger = {
			is_female = yes
			is_cousin_of = ROOT_FROMFROM
			NOT = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } }
			NOT = { is_consort = ROOT_FROMFROM }
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfWifeACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SisterOfHusbandACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfBrotherACC
		trigger = {
			is_female = yes
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
			any_spouse_even_if_dead = {
				is_female = no
				any_sibling_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfWifeGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
			any_sibling_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_BrotherOfHusbandGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
			any_sibling_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfSisterGEN
		trigger = {
			is_female = no
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
			any_spouse_even_if_dead = {
				is_female = yes
				any_sibling_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_MaleGEN
		trigger = {
			is_female = no
			is_rival = ROOT_FROMFROM
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemaleACC
		trigger = {
			is_female = yes
			is_rival = ROOT_FROMFROM
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MaleGEN
		trigger = {
			is_female = no
			is_friend = ROOT_FROMFROM
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemaleACC
		trigger = {
			is_female = yes
			is_friend = ROOT_FROMFROM
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MaleGEN
		trigger = {
			is_female = no
			is_lover = ROOT_FROMFROM
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemaleACC
		trigger = {
			is_female = yes
			is_lover = ROOT_FROMFROM
			NOR = {
				is_close_relative = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			dynasty = ROOT_FROMFROM
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_KinsmanGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			dynasty = ROOT_FROMFROM
			NOT = { dynasty = none }
		}
	}
	text = {
		localisation_key = GetRelation_Liege_MaleGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
			}
			is_liege_of = ROOT_FROMFROM
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Liege_FemaleACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
			}
			is_liege_of = ROOT_FROMFROM
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_MaleGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
			}
			NOT = { is_liege_of = ROOT_FROMFROM }
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			is_guardian = ROOT_FROMFROM
		}
	}
	text = {
		localisation_key = GetRelation_Guardian_FemaleACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
			}
			NOT = { is_liege_of = ROOT_FROMFROM }
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			is_guardian = ROOT_FROMFROM
		}
	}
	text = {
		localisation_key = GetRelation_Ward_MaleGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			NOT = { is_liege_of = ROOT_FROMFROM }
			NAND = {
				is_landed = yes
				liege = { character = ROOT_FROMFROM }
			}
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			guardian = { character = ROOT_FROMFROM }
		}
	}
	text = {
		localisation_key = GetRelation_Ward_FemaleACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			NOT = { is_liege_of = ROOT_FROMFROM }
			NAND = {
				is_landed = yes
				liege = { character = ROOT_FROMFROM }
			}
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			guardian = { character = ROOT_FROMFROM }
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_MaleGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT_FROMFROM }
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Vassal_FemaleACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			is_landed = yes
			liege = { character = ROOT_FROMFROM }
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_MaleGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT_FROMFROM }
			NOT = { guardian = { character = ROOT_FROMFROM } }
			NOT = { is_guardian = ROOT_FROMFROM }
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_Courtier_FemaleACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
			}
			is_landed = no
			liege = { character = ROOT_FROMFROM }
			NOT = { guardian = { character = ROOT_FROMFROM } }
			NOT = { is_guardian = ROOT_FROMFROM }
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			NOT = {
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_AcquaintanceGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				liege = { character = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				guardian = { character = ROOT_FROMFROM }
				is_guardian = ROOT_FROMFROM
				AND = {
					dynasty = ROOT_FROMFROM
					NOT = { dynasty = none }
				}
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_Acquaintance_FemaleACC
		trigger = { 
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				is_consort = ROOT_FROMFROM
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				liege = { character = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				guardian = { character = ROOT_FROMFROM }
				is_guardian = ROOT_FROMFROM
				AND = {
					dynasty = ROOT_FROMFROM
					NOT = { dynasty = none }
				}
				any_child_even_if_dead = {
					OR = {
						any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
						any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
					}
				}
			} 
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfWifeACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			any_child_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_MotherOfHusbandACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			any_child_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfWifeGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			any_child_even_if_dead = {
				is_female = yes
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_FatherOfHusbandGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			any_child_even_if_dead = {
				is_female = no
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
			}
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfFathersSonACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_WifeOfMothersSonACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
		}
	}
	text = {
		localisation_key = GetRelation_HusbandOfDaughterGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
			}
			OR = {
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvakhaACC
		trigger = {
			is_female = yes
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				guardian = { character = ROOT_FROMFROM }
			}
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			any_child_even_if_dead = {
				OR = {
					any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
					any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_SvatGEN
		trigger = {
			is_female = no
			NOR = {
				is_lover = ROOT_FROMFROM
				is_friend = ROOT_FROMFROM
				is_rival = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_cousin_of = ROOT_FROMFROM #cousins
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				mother_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { character = ROOT_FROMFROM }
				mother_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				father_even_if_dead = { is_grandchild_of = ROOT_FROMFROM }
				any_child_even_if_dead = { is_grandparent_of = ROOT_FROMFROM }
				any_child_even_if_dead = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } #Parent in law
				any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } } #Child in law
				is_liege_of = ROOT_FROMFROM
				is_guardian = ROOT_FROMFROM
				is_consort = ROOT_FROMFROM
				guardian = { character = ROOT_FROMFROM }
			}
			OR = {
				NOT = { dynasty = ROOT_FROMFROM }
				dynasty = none
			}
			any_child_even_if_dead = {
				OR = {
					any_spouse_even_if_dead = { mother_even_if_dead = { character = ROOT_FROMFROM } }
					any_spouse_even_if_dead = { father_even_if_dead = { character = ROOT_FROMFROM } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackACC
	}
}
defined_text = {
	name = GetDiseasePREP
	text = {
		trigger = { trait = ill }
		localisation_key = String_feverPREP
	}
	text = {
		trigger = { trait = pneumonic }
		localisation_key = string_pneumoniaPREP
	}
	text = {
		trigger = { trait = syphilitic }
		localisation_key = String_syphilisPREP
	}
	text = {
		trigger = { trait = leper }
		localisation_key = String_leprocyPREP
	}
	text = {
		trigger = { trait = has_tuberculosis }
		localisation_key = String_consumptionPREP
	}
	text = {
		trigger = { trait = has_typhoid_fever }
		localisation_key = String_slow_feverPREP
	}
	text = {
		trigger = { trait = has_typhus }
		localisation_key = String_camp_feverPREP
	}
	text = {
		trigger = { trait = has_bubonic_plague }
		localisation_key = String_the_PlaguePREP
	}
	text = {
		trigger = { trait = has_measles }
		localisation_key = String_measlesPREP
	}
	text = {
		trigger = { trait = has_small_pox }
		localisation_key = String_smallpoxPREP
	}
	text = {
		trigger = { trait = has_aztec_disease }
		localisation_key = String_syphilisPREP
	}
	text = {
		trigger = { trait = flu }
		localisation_key = String_fluPREP
	}
	text = {
		trigger = { trait = dysentery }
		localisation_key = String_dysenteryPREP
	}
	text = {
		trigger = { trait = gout }
		localisation_key = String_goutPREP
	}
	text = {
		trigger = { trait = food_poisoning }
		localisation_key = String_food_poisoningPREP
	}
	text = {
		trigger = { trait = rabies }
		localisation_key = String_rabiesPREP
	}
	text = {
		trigger = { trait = dancing_plague }
		localisation_key = String_dancing_plaguePREP
	}
	text = {
		trigger = { trait = scurvy }
		localisation_key = String_scurvyPREP
	}
	text = {
		trigger = { trait = cancer }
		localisation_key = String_CancerPREP
	}
}
#Pet cat
defined_text = {
	name = GetPetCatName
	use_first_valid = yes
	
	text = {
		trigger = {
			has_character_flag = cat_name_shieldmaiden
		}
		localisation_key = PET_CAT_NAME_SM
	}
	text = {
		trigger = {
			has_character_flag = cat_name_1
		}
		localisation_key = PET_CAT_NAME1
	}
	text = {
		trigger = {
			has_character_flag = cat_name_2
		}
		localisation_key = PET_CAT_NAME2
	}
	text = {
		trigger = {
			has_character_flag = cat_name_3
		}
		localisation_key = PET_CAT_NAME3
	}
	fallback_text = {
		localisation_key = PET_CAT_NAME_Fallback
	}
}
defined_text = {
	name = GetPetCat

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = CAT_FEMALE
	}
	fallback_text = {
		localisation_key = CAT_MALE
	}
}
defined_text = {
	name = GetPetCatCap

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = CAT_FEMALE_CAP
	}
	fallback_text = {
		localisation_key = CAT_MALE_CAP
	}
}
defined_text = {
	name = GetPetCatGEN

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = WOMAN_CAT_GEN
	}
	fallback_text = {
		localisation_key = MAN_CAT_GEN
	}
}
defined_text = {
	name = GetPetCatACC

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = WOMAN_CAT_ACC
	}
	fallback_text = {
		localisation_key = MAN_CAT_ACC
	}
}
defined_text = {
	name = GetPetCatDAT

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = WOMAN_CAT_DAT
	}
	fallback_text = {
		localisation_key = MAN_CAT_DAT
	}
}
defined_text = {
	name = GetPetCatINS

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = WOMAN_CAT_INS
	}
	fallback_text = {
		localisation_key = MAN_CAT_INS
	}
}
defined_text = {
	name = GetPetCatPREP

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = String_cat_femalePREP
	}
	fallback_text = {
		localisation_key = String_catPREP
	}
}
defined_text = {
	name = GetPetCatSheHe

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = EV_SHE
	}
	fallback_text = {
		localisation_key = EV_HE
	}
}
defined_text = {
	name = GetPetCatSheHeCap

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = EV_SHE_S
	}
	fallback_text = {
		localisation_key = EV_HE_S
	}
}
defined_text = {
	name = GetPetCatHersHis

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = POSS_PRONOUN_FEM
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
defined_text = {
	name = GetPetCatHerHim

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = EV_HER
	}
	fallback_text = {
		localisation_key = EV_HIM
	}
}
defined_text = {
	name = GetPetCatEndA

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_A
	}
}
defined_text = {
	name = GetPetCatEndLa

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetPetCatUEgo

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_U
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
defined_text = {
	name = GetPetCatYuEgo

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_YU
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
defined_text = {
	name = GetPetCatEyIm

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = EV_HER
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
defined_text = {
	name = GetPetCatEyYom

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = EV_HER
	}
	fallback_text = {
		localisation_key = END_YOM
	}
}
defined_text = {
	name = GetPetCatYGo

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_Y
	}
	fallback_text = {
		localisation_key = END_GO
	}
}
defined_text = {
	name = GetPetCatAyaYy

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = AYA_POSTFIX
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
defined_text = {
	name = GetPetCatOyaOy

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_OYA
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetPetCatOyYm

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_YM
	}
}
defined_text = {
	name = GetPetCatLasLsya

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_LAS
	}
	fallback_text = {
		localisation_key = END_LSYA
	}
}

defined_text = {
	name = GetPreferredCommoners

	text = {
		localisation_key = COMMONERS_FEMALE
		trigger = { prefers_men_trigger = no }
	}
	text = {
		localisation_key = COMMONERS_MALE
		trigger = { prefers_men_trigger = yes }
	}
	fallback_text = {
		localisation_key = COMMONERS_FB
	}
}
defined_text = {
	name = GetMyLustfulPersonality

	text = {
		localisation_key = String_about_my_lustfulness_female
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_about_my_lustfulness_male
		trigger = { is_female = no }
	}
	fallback_text = {
		localisation_key = String_about_my_lustfulness_fallback
	}
}
defined_text = {
	name = GetSmithFemalePostfix

	text = {
		localisation_key = String_smith_female_postfix
		trigger = { is_female = yes }
	}
}
defined_text = {
	name = GetSmithMalePrefix

	text = {
		localisation_key = String_smith_male_prefix
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEducationalTopicPluralACC

	text = {
		localisation_key = String_strategiesACC
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_troop_compositionsACC
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_diplomatsACC
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_alliancesACC
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_phrasingsACC
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_trade_routesACC
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_investment_opportunitiesACC
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_building_plansACC
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_tax_levelsACC
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_poisonsACC
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_spiesACC
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_travel_routesACC
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_potential_accomplicesACC
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_GetPriestName_pluralACC
		trigger = { has_education_learning_trigger = yes }
	}
	text = {
		localisation_key = String_translationsACC
		trigger = { has_education_learning_trigger = yes }
	}
	text = {
		localisation_key = String_doctrinesACC
		trigger = { has_education_learning_trigger = yes }
	}
	text = {
		localisation_key = String_passages_from_GetScriptureNameACC
		trigger = { has_education_learning_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_GetEducationalTopicPluralACC_fallback
	}
}
defined_text = {
	name = GetEducationalTopicPluralGEN

	text = {
		localisation_key = String_strategiesGEN
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_troop_compositionsGEN
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_diplomatsGEN
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_alliancesGEN
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_phrasingsGEN
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_trade_routesGEN
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_investment_opportunitiesGEN
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_building_plansGEN
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_tax_levelsGEN
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_poisonsGEN
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_spiesGEN
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_travel_routesGEN
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_potential_accomplicesGEN
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_GetPriestName_pluralGEN
		trigger = { has_education_learning_trigger = yes }
	}
	text = {
		localisation_key = String_translationsGEN
		trigger = { has_education_learning_trigger = yes }
	}
	text = {
		localisation_key = String_doctrinesGEN
		trigger = { has_education_learning_trigger = yes }
	}
	text = {
		localisation_key = String_passages_from_GetScriptureNameGEN
		trigger = { has_education_learning_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_GetEducationalTopicPluralGEN_fallback
	}
}
#############2.8 JD#############
# 
defined_text = {
	name = GetPrincessPrinceGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = String_PrincessGEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_PrinceGEN
	}
}
defined_text = {
	name = GetPrincessPrinceOppGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = String_PrincessGEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_PrinceGEN
	}
}
# 
defined_text = {
	name = GetPrincessPrinceINS

	text = {
		trigger = { is_female = yes }
		localisation_key = String_PrincessINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_PrinceINS
	}
}
defined_text = {
	name = GetPrincessPrinceOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = String_PrincessINS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_PrinceINS
	}
}
# 
defined_text = {
	name = GetBrideGroomACC

	text = {
		trigger = { is_female = yes }
		localisation_key = String_brideACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_groomACC
	}	
}
defined_text = {
	name = GetBrideGroomOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = String_brideACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_groomACC
	}	
}
# 
defined_text = {
	name = GetMOBuildingDAT

	text = {
		localisation_key = String_monasteryDAT
		trigger = {
			OR = {
				society_member_of = monastic_order_dominican
				society_member_of = monastic_order_benedictine
				society_member_of = monastic_order_orthodox
				society_member_of = monastic_order_nestorian
				society_member_of = monastic_order_monophysite
			}
		}
	}
	text = {
		localisation_key = String_mathaDAT
		trigger = { society_member_of = monastic_order_hindu }
	}
	text = {
		localisation_key = String_templeDAT
		trigger = {
			OR = {
				society_member_of = monastic_order_jain
				society_member_of = monastic_order_buddhist
			}
		}
	}
	text = {
		localisation_key = String_agoraDAT
		trigger = { society_member_of = monastic_order_stoics }
	}
	fallback_text = {
		localisation_key = String_templeDAT
	}
}
#/
defined_text = {
	name = GetTsarineTsar

	text = {
		localisation_key = String_Tsarine
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_Tsar
		trigger = { is_female = no }
	}
}
#Opp, CapOpp
defined_text = {
	name = GetEmpressEmperorOpp

	text = {
		localisation_key = String_empress
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperor
		trigger = { is_female = yes }
	}
}
defined_text = {
	name = GetEmpressEmperorCapOpp

	text = {
		localisation_key = String_Empress
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_Emperor
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetEmpressEmperorGEN

	text = {
		localisation_key = String_empressGEN
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorGEN
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorOppGEN

	text = {
		localisation_key = String_empressGEN
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorGEN
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetEmpressEmperorDAT

	text = {
		localisation_key = String_empressDAT
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorDAT
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorOppDAT

	text = {
		localisation_key = String_empressDAT
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorDAT
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetEmpressEmperorINS

	text = {
		localisation_key = String_empressINS
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorINS
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorOppINS

	text = {
		localisation_key = String_empressINS
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorINS
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetEmpressEmperorCapGEN

	text = {
		localisation_key = String_empressCapGEN
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorCapGEN
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorCapOppGEN

	text = {
		localisation_key = String_empressCapGEN
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorCapGEN
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetEmpressEmperorCapDAT

	text = {
		localisation_key = String_empressCapDAT
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorCapDAT
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorCapOppDAT

	text = {
		localisation_key = String_empressCapDAT
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorCapDAT
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetEmpressEmperorCapINS

	text = {
		localisation_key = String_empressCapINS
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorCapINS
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorCapOppINS

	text = {
		localisation_key = String_empressCapINS
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorCapINS
		trigger = { is_female = yes }
	}
}
# 
defined_text = {
	name = GetShortChineseEmperorNameGEN
	text = {
		trigger = { always = yes }
		localisation_key = GetShortChineseEmperorName_stringGEN
	}
}
# 
defined_text = {
	name = GetShortChineseEmperorNameDAT
	text = {
		trigger = { always = yes }
		localisation_key = GetShortChineseEmperorName_stringDAT
	}
}
# 
defined_text = {
	name = GetShortChineseEmperorNameINS
	text = {
		trigger = { always = yes }
		localisation_key = GetShortChineseEmperorName_stringINS
	}
}
# 
defined_text = {
	name = GetWeaponArmorSmithACC

	text = {
		trigger = { has_character_flag = weaponsmith }
		localisation_key = String_weaponsmithACC
	}
	text = {
		trigger = { has_character_flag = armorsmith }
		localisation_key = String_armorsmithACC
	}
}
# 
defined_text = {
	name = GetWeaponArmorSmithGEN

	text = {
		trigger = { has_character_flag = weaponsmith }
		localisation_key = String_weaponsmithGEN
	}
	text = {
		trigger = { has_character_flag = armorsmith }
		localisation_key = String_armorsmithGEN
	}
}
# 
defined_text = {
	name = GetWeaponArmorSmithPREP

	text = {
		trigger = { has_character_flag = weaponsmith }
		localisation_key = String_weaponsmithPREP
	}
	text = {
		trigger = { has_character_flag = armorsmith }
		localisation_key = String_armorsmithPREP
	}
}
# 
defined_text = {
	name = GetChinaStatusINS

	text = {
		trigger = { has_status = china_stable }
		localisation_key = china_stableINS
	}
	text = {
		trigger = { has_status = china_unrest }
		localisation_key = china_unrestINS
	}
	text = {
		trigger = { has_status = china_civil_war }
		localisation_key = china_civil_warINS
	}
	text = {
		trigger = { has_status = china_mongol_invasion }
		localisation_key = china_mongol_invasionINS
	}
	text = {
		trigger = { has_status = china_jurchen_invasion }
		localisation_key = china_jurchen_invasionINS
	}
	text = {
		trigger = { has_status = china_famine }
		localisation_key = china_famineINS
	}
	text = {
		trigger = { has_status = china_plague }
		localisation_key = china_plagueINS
	}
	text = {
		trigger = { has_status = china_golden_age }
		localisation_key = china_golden_ageINS
	}
}
# 
defined_text = {
	name = GetChinaPrevStatusINS

	text = {
		trigger = { prev_status = china_stable }
		localisation_key = china_stableINS
	}
	text = {
		trigger = { prev_status = china_unrest }
		localisation_key = china_unrestINS
	}
	text = {
		trigger = { prev_status = china_civil_war }
		localisation_key = china_civil_warINS
	}
	text = {
		trigger = { prev_status = china_mongol_invasion }
		localisation_key = china_mongol_invasionINS
	}
	text = {
		trigger = { prev_status = china_jurchen_invasion }
		localisation_key = china_jurchen_invasionINS
	}
	text = {
		trigger = { prev_status = china_famine }
		localisation_key = china_famineINS
	}
	text = {
		trigger = { prev_status = china_plague }
		localisation_key = china_plagueINS
	}
	text = {
		trigger = { prev_status = china_golden_age }
		localisation_key = china_golden_ageINS
	}
}
# 
defined_text = {
	name = GetChinaPrevStatusGEN

	text = {
		trigger = { prev_status = china_stable }
		localisation_key = china_stableGEN
	}
	text = {
		trigger = { prev_status = china_unrest }
		localisation_key = china_unrestGEN
	}
	text = {
		trigger = { prev_status = china_civil_war }
		localisation_key = china_civil_warGEN
	}
	text = {
		trigger = { prev_status = china_mongol_invasion }
		localisation_key = china_mongol_invasionGEN
	}
	text = {
		trigger = { prev_status = china_jurchen_invasion }
		localisation_key = china_jurchen_invasionGEN
	}
	text = {
		trigger = { prev_status = china_famine }
		localisation_key = china_famineGEN
	}
	text = {
		trigger = { prev_status = china_plague }
		localisation_key = china_plagueGEN
	}
	text = {
		trigger = { prev_status = china_golden_age }
		localisation_key = china_golden_ageGEN
	}
}
# 
defined_text = {
	name = GetChinaPrevStatusACC

	text = {
		trigger = { prev_status = china_stable }
		localisation_key = china_stableACC
	}
	text = {
		trigger = { prev_status = china_unrest }
		localisation_key = china_unrestACC
	}
	text = {
		trigger = { prev_status = china_civil_war }
		localisation_key = china_civil_warACC
	}
	text = {
		trigger = { prev_status = china_mongol_invasion }
		localisation_key = china_mongol_invasionACC
	}
	text = {
		trigger = { prev_status = china_jurchen_invasion }
		localisation_key = china_jurchen_invasionACC
	}
	text = {
		trigger = { prev_status = china_famine }
		localisation_key = china_famineACC
	}
	text = {
		trigger = { prev_status = china_plague }
		localisation_key = china_plagueACC
	}
	text = {
		trigger = { prev_status = china_golden_age }
		localisation_key = china_golden_ageACC
	}
}
# 
defined_text = {
	name = GetChinaPolicyGEN

	text = {
		trigger = { has_policy = china_open }
		localisation_key = china_openGEN
	}
	text = {
		trigger = { has_policy = china_isolationist }
		localisation_key = china_isolationistGEN
	}
	text = {
		trigger = { has_policy = china_expansionist }
		localisation_key = china_expansionistGEN
	}
}
defined_text = {
	name = GetChinaPrevPolicyGEN

	text = {
		trigger = { prev_policy = china_open }
		localisation_key = china_openGEN
	}
	text = {
		trigger = { prev_policy = china_isolationist }
		localisation_key = china_isolationistGEN
	}
	text = {
		trigger = { prev_policy = china_expansionist }
		localisation_key = china_expansionistGEN
	}
}
# 
defined_text = {
	name = GetChinaPolicyACC

	text = {
		trigger = { has_policy = china_open }
		localisation_key = china_openACC
	}
	text = {
		trigger = { has_policy = china_isolationist }
		localisation_key = china_isolationistACC
	}
	text = {
		trigger = { has_policy = china_expansionist }
		localisation_key = china_expansionistACC
	}
}
defined_text = {
	name = GetChinaPrevPolicyACC

	text = {
		trigger = { prev_policy = china_open }
		localisation_key = china_openACC
	}
	text = {
		trigger = { prev_policy = china_isolationist }
		localisation_key = china_isolationistACC
	}
	text = {
		trigger = { prev_policy = china_expansionist }
		localisation_key = china_expansionistACC
	}
}
# 
defined_text = {
	name = GetChinaPolicyDAT

	text = {
		trigger = { has_policy = china_open }
		localisation_key = china_openDAT
	}
	text = {
		trigger = { has_policy = china_isolationist }
		localisation_key = china_isolationistDAT
	}
	text = {
		trigger = { has_policy = china_expansionist }
		localisation_key = china_expansionistDAT
	}
}
defined_text = {
	name = GetChinaPrevPolicyDAT

	text = {
		trigger = { prev_policy = china_open }
		localisation_key = china_openDAT
	}
	text = {
		trigger = { prev_policy = china_isolationist }
		localisation_key = china_isolationistDAT
	}
	text = {
		trigger = { prev_policy = china_expansionist }
		localisation_key = china_expansionistDAT
	}
}
# 
defined_text = {
	name = GetChinaPolicyINS

	text = {
		trigger = { has_policy = china_open }
		localisation_key = china_openINS
	}
	text = {
		trigger = { has_policy = china_isolationist }
		localisation_key = china_isolationistINS
	}
	text = {
		trigger = { has_policy = china_expansionist }
		localisation_key = china_expansionistINS
	}
}
defined_text = {
	name = GetChinaPrevPolicyINS

	text = {
		trigger = { prev_policy = china_open }
		localisation_key = china_openINS
	}
	text = {
		trigger = { prev_policy = china_isolationist }
		localisation_key = china_isolationistINS
	}
	text = {
		trigger = { prev_policy = china_expansionist }
		localisation_key = china_expansionistINS
	}
}
# 
defined_text = {
	name = GetChinaPolicyPREP

	text = {
		trigger = { has_policy = china_open }
		localisation_key = china_openPREP
	}
	text = {
		trigger = { has_policy = china_isolationist }
		localisation_key = china_isolationistPREP
	}
	text = {
		trigger = { has_policy = china_expansionist }
		localisation_key = china_expansionistPREP
	}
}
defined_text = {
	name = GetChinaPrevPolicyPREP

	text = {
		trigger = { prev_policy = china_open }
		localisation_key = china_openPREP
	}
	text = {
		trigger = { prev_policy = china_isolationist }
		localisation_key = china_isolationistPREP
	}
	text = {
		trigger = { prev_policy = china_expansionist }
		localisation_key = china_expansionistPREP
	}
}
# . Names of important Chinese regions off-map
defined_text = {
	name = GetRandomChineseRegionGEN

	text = {
		localisation_key = String_LuoyangGEN
	}
	text = {
		localisation_key = String_Chengdu
	}
	text = {
		localisation_key = String_DatongGEN
	}
	text = {
		localisation_key = String_Guangzhou
	}
	text = {
		localisation_key = String_Hangzhou
	}
	text = {
		localisation_key = String_KaifengGEN
	}
	text = {
		localisation_key = String_NanjingGEN
	}
	text = {
		localisation_key = String_ChanganGEN
	}
}
# . Names of important Chinese regions off-map
defined_text = {
	name = GetRandomChineseRegionPREP

	text = {
		localisation_key = String_LuoyangPREP
	}
	text = {
		localisation_key = String_Chengdu
	}
	text = {
		localisation_key = String_DatongPREP
	}
	text = {
		localisation_key = String_Guangzhou
	}
	text = {
		localisation_key = String_Hangzhou
	}
	text = {
		localisation_key = String_KaifengPREP
	}
	text = {
		localisation_key = String_NanjingPREP
	}
	text = {
		localisation_key = String_ChanganPREP
	}
}
# . Names of typical Chinese troublemakers
defined_text = {
	name = GetRandomChineseFactionGEN

	text = {
		localisation_key = String_Militant_MonksGEN
	}
	text = {
		localisation_key = String_Rogue_MandarinsGEN
	}
	text = {
		localisation_key = String_Ambitious_EunuchsGEN
	}
	text = {
		localisation_key = String_Disgruntled_OfficersGEN
	}
}
# . Names of typical Chinese troublemakers
defined_text = {
	name = GetRandomChineseFactionINS

	text = {
		localisation_key = String_Militant_MonksINS
	}
	text = {
		localisation_key = String_Rogue_MandarinsINS
	}
	text = {
		localisation_key = String_Ambitious_EunuchsINS
	}
	text = {
		localisation_key = String_Disgruntled_OfficersINS
	}
}
# . Gets the name of the Chinese refugee's specialty
defined_text = {
	name = GetChineseProfessionGEN
	
	text = {
		trigger = {
			has_character_flag = is_chinese_administrator
		}
		localisation_key = String_administratorGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_master_engineer
		}
		localisation_key = String_engineerGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_strategist
		}
		localisation_key = String_strategistGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_doctor
		}
		localisation_key = String_physicianGEN
	}
	fallback_text = {
		localisation_key = String_chinese_profession_fallbackGEN #Chinese refugee
	}
}
#Gets the name of the Chinese courtier's invite reason (for when they die, mostly? Could be used elsewhere though.)
defined_text = {
	name = GetChineseCharacterRoleGEN
	
	text = {
		trigger = {
			has_character_flag = is_chinese_administrator
		}
		localisation_key = String_administratorGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_master_engineer
		}
		localisation_key = String_engineerGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_siege_engineer
		}
		localisation_key = String_siege_engineerGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_strategist
		}
		localisation_key = String_strategistGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_doctor
		}
		localisation_key = String_physicianGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_imperial_marriage
		}
		localisation_key = String_chinese_royaltyGEN
	}
	fallback_text = {
		localisation_key = String_chinese_character_role_fallbackGEN #courtier
	}
}
#"  "  ..
defined_text = {
	name = GetYourChineseCharacterRoleGEN
	
	text = {
		trigger = {
			has_character_flag = is_chinese_administrator
		}
		localisation_key = String_your_administratorGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_master_engineer
		}
		localisation_key = String_your_engineerGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_siege_engineer
		}
		localisation_key = String_your_siege_engineerGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_strategist
		}
		localisation_key = String_your_strategistGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_doctor
		}
		localisation_key = String_your_physicianGEN
	}
	text = {
		trigger = {
			has_character_flag = is_chinese_imperial_marriage
		}
		localisation_key = String_your_chinese_royaltyGEN
	}
	fallback_text = {
		localisation_key = String_your_chinese_character_role_fallbackGEN #courtier
	}
}
# 
defined_text = {
	name = GetLikeACC
	
	text = {
		trigger = {
			offmap_has_like = likes_concubines
		}
		localisation_key = likes_concubines
	}
	text = {
		trigger = {
			offmap_has_like = likes_eunuchs
		}
		localisation_key = likes_eunuchs
	}
	text = {
		trigger = {
			offmap_has_like = likes_wealth
		}
		localisation_key = likes_wealth
	}
	text = {
		trigger = {
			offmap_has_like = likes_tributaries
		}
		localisation_key = likes_tributaries
	}
	text = {
		trigger = {
			offmap_has_like = likes_indians
		}
		localisation_key = likes_indians
	}
	text = {
		trigger = {
			offmap_has_like = likes_dravidians
		}
		localisation_key = likes_dravidians
	}
	text = {
		trigger = {
			offmap_has_like = likes_tibetans
		}
		localisation_key = likes_tibetans
	}
	text = {
		trigger = {
			offmap_has_like = likes_germanics
		}
		localisation_key = likes_germanics
	}
	text = {
		trigger = {
			offmap_has_like = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians
	}
	text = {
		trigger = {
			offmap_has_like = likes_byzantines
		}
		localisation_key = likes_byzantines
	}
	text = {
		trigger = {
			offmap_has_like = likes_celts
		}
		localisation_key = likes_celts
	}
	text = {
		trigger = {
			offmap_has_like = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics
	}
	text = {
		trigger = {
			offmap_has_like = likes_altaics
		}
		localisation_key = likes_altaics
	}
	text = {
		trigger = {
			offmap_has_like = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics
	}
	text = {
		trigger = {
			offmap_has_like = likes_arabs
		}
		localisation_key = likes_arabs
	}
	text = {
		trigger = {
			offmap_has_like = likes_iranians
		}
		localisation_key = likes_iranians
	}
	text = {
		trigger = {
			offmap_has_like = likes_africans
		}
		localisation_key = likes_africans
	}
	text = {
		trigger = {
			offmap_has_like = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans
	}

	text = {
		trigger = {
			offmap_has_like = likes_muslims
		}
		localisation_key = likes_muslims
	}
	text = {
		trigger = {
			offmap_has_like = likes_christians
		}
		localisation_key = likes_christians
	}
	text = {
		trigger = {
			offmap_has_like = likes_mazdans
		}
		localisation_key = likes_mazdans
	}
	text = {
		trigger = {
			offmap_has_like = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians
	}
	text = {
		trigger = {
			offmap_has_like = likes_mazdakis
		}
		localisation_key = likes_mazdakis
	}
	text = {
		trigger = {
			offmap_has_like = likes_manicheans
		}
		localisation_key = likes_manicheans
	}
	text = {
		trigger = {
			offmap_has_like = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans
	}
	text = {
		trigger = {
			offmap_has_like = likes_buddhists
		}
		localisation_key = likes_buddhists
	}
	text = {
		trigger = {
			offmap_has_like = likes_hindus
		}
		localisation_key = likes_hindus
	}
	text = {
		trigger = {
			offmap_has_like = likes_jains
		}
		localisation_key = likes_jains
	}
	text = {
		trigger = {
			offmap_has_like = likes_tengris
		}
		localisation_key = likes_tengris
	}
	text = {
		trigger = {
			offmap_has_like = likes_zunists
		}
		localisation_key = likes_zunists
	}
	text = {
		trigger = {
			offmap_has_like = likes_jews
		}
		localisation_key = likes_jews
	}
	text = {
		trigger = {
			offmap_has_like = likes_bon
		}
		localisation_key = likes_bon
	}
	fallback_text = {
		localisation_key = GetLike_fallback
	}
}
defined_text = {
	name = GetDislikeACC
	
	text = {
		trigger = {
			offmap_has_dislike = likes_concubines
		}
		localisation_key = likes_concubines
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_eunuchs
		}
		localisation_key = likes_eunuchs
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_wealth
		}
		localisation_key = likes_wealth
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_tributaries
		}
		localisation_key = likes_tributaries
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_indians
		}
		localisation_key = likes_indians
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_dravidians
		}
		localisation_key = likes_dravidians
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_tibetans
		}
		localisation_key = likes_tibetans
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_germanics
		}
		localisation_key = likes_germanics
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_byzantines
		}
		localisation_key = likes_byzantines
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_celts
		}
		localisation_key = likes_celts
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_altaics
		}
		localisation_key = likes_altaics
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_arabs
		}
		localisation_key = likes_arabs
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_iranians
		}
		localisation_key = likes_iranians
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_africans
		}
		localisation_key = likes_africans
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans
	}

	text = {
		trigger = {
			offmap_has_dislike = likes_muslims
		}
		localisation_key = likes_muslims
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_christians
		}
		localisation_key = likes_christians
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_mazdans
		}
		localisation_key = likes_mazdans
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_mazdakis
		}
		localisation_key = likes_mazdakis
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_manicheans
		}
		localisation_key = likes_manicheans
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_buddhists
		}
		localisation_key = likes_buddhists
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_hindus
		}
		localisation_key = likes_hindus
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_jains
		}
		localisation_key = likes_jains
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_tengris
		}
		localisation_key = likes_tengris
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_zunists
		}
		localisation_key = likes_zunists
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_jews
		}
		localisation_key = likes_jews
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_bon
		}
		localisation_key = likes_bon
	}
	fallback_text = {
		localisation_key = GetLike_fallback
	}
}
# 
defined_text = {
	name = GetLikeDAT
	
	text = {
		trigger = {
			offmap_has_like = likes_concubines
		}
		localisation_key = likes_concubinesDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_eunuchs
		}
		localisation_key = likes_eunuchsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_wealth
		}
		localisation_key = likes_wealthDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_tributaries
		}
		localisation_key = likes_tributariesDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_indians
		}
		localisation_key = likes_indiansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_dravidians
		}
		localisation_key = likes_dravidiansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_tibetans
		}
		localisation_key = likes_tibetansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_germanics
		}
		localisation_key = likes_germanicsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_latino_iberians
		}
		localisation_key = likes_latino_iberiansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_byzantines
		}
		localisation_key = likes_byzantinesDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_celts
		}
		localisation_key = likes_celtsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugricsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_altaics
		}
		localisation_key = likes_altaicsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_balto_slavics
		}
		localisation_key = likes_balto_slavicsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_arabs
		}
		localisation_key = likes_arabsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_iranians
		}
		localisation_key = likes_iraniansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_africans
		}
		localisation_key = likes_africansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_mesoamericans
		}
		localisation_key = likes_mesoamericansDAT
	}

	text = {
		trigger = {
			offmap_has_like = likes_muslims
		}
		localisation_key = likes_muslimsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_christians
		}
		localisation_key = likes_christiansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_mazdans
		}
		localisation_key = likes_mazdansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_zoroastrians
		}
		localisation_key = likes_zoroastriansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_mazdakis
		}
		localisation_key = likes_mazdakisDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_manicheans
		}
		localisation_key = likes_manicheansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_khurmaztans
		}
		localisation_key = likes_khurmaztansDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_buddhists
		}
		localisation_key = likes_buddhistsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_hindus
		}
		localisation_key = likes_hindusDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_jains
		}
		localisation_key = likes_jainsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_tengris
		}
		localisation_key = likes_tengrisDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_zunists
		}
		localisation_key = likes_zunistsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_jews
		}
		localisation_key = likes_jewsDAT
	}
	text = {
		trigger = {
			offmap_has_like = likes_bon
		}
		localisation_key = likes_bonDAT
	}
	fallback_text = {
		localisation_key = GetLikeDAT_fallback
	}
}
defined_text = {
	name = GetDislikeDAT
	
	text = {
		trigger = {
			offmap_has_dislike = likes_concubines
		}
		localisation_key = likes_concubinesDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_eunuchs
		}
		localisation_key = likes_eunuchsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_wealth
		}
		localisation_key = likes_wealthDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_tributaries
		}
		localisation_key = likes_tributariesDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_indians
		}
		localisation_key = likes_indiansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_dravidians
		}
		localisation_key = likes_dravidiansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_tibetans
		}
		localisation_key = likes_tibetansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_germanics
		}
		localisation_key = likes_germanicsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_latino_iberians
		}
		localisation_key = likes_latino_iberiansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_byzantines
		}
		localisation_key = likes_byzantinesDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_celts
		}
		localisation_key = likes_celtsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugricsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_altaics
		}
		localisation_key = likes_altaicsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_balto_slavics
		}
		localisation_key = likes_balto_slavicsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_arabs
		}
		localisation_key = likes_arabsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_iranians
		}
		localisation_key = likes_iraniansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_africans
		}
		localisation_key = likes_africansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_mesoamericans
		}
		localisation_key = likes_mesoamericansDAT
	}

	text = {
		trigger = {
			offmap_has_dislike = likes_muslims
		}
		localisation_key = likes_muslimsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_christians
		}
		localisation_key = likes_christiansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_mazdans
		}
		localisation_key = likes_mazdansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_zoroastrians
		}
		localisation_key = likes_zoroastriansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_mazdakis
		}
		localisation_key = likes_mazdakisDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_manicheans
		}
		localisation_key = likes_manicheansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_khurmaztans
		}
		localisation_key = likes_khurmaztansDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_buddhists
		}
		localisation_key = likes_buddhistsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_hindus
		}
		localisation_key = likes_hindusDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_jains
		}
		localisation_key = likes_jainsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_tengris
		}
		localisation_key = likes_tengrisDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_zunists
		}
		localisation_key = likes_zunistsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_jews
		}
		localisation_key = likes_jewsDAT
	}
	text = {
		trigger = {
			offmap_has_dislike = likes_bon
		}
		localisation_key = likes_bonDAT
	}
	fallback_text = {
		localisation_key = GetLikeDAT_fallback
	}
}
#  
defined_text = {
	name = GetChineseComplimentAdjectiveCap
	text = {
		localisation_key = String_honoredCap
	}
	text = {
		trigger = { 
			OR = {
				trait = chaste
				trait = celibate
				AND = {
					NOT = { num_of_lovers = 1 }
					is_married = no
					NOR = {
						trait = seducer
						trait = seductress
						trait = lustful
						has_focus = focus_seduction
					}
				}
			}
		}
		localisation_key = String_chasteCap
	}
	text = {
		trigger = {
			OR = {
				is_strong_trigger = yes
				trait = fair
			}
		}
		localisation_key = String_radiantCap
	}
	text = {
		trigger = {
			OR = {
				is_learned_trigger = yes
				tier = EMPEROR
			}
		}
		localisation_key = String_illustriousCap
	}
	text = {
		trigger = {
			OR = {
				trait = brave
				trait = charitable
				trait = honest
				trait = diligent
				trait = patient
				trait = kind
				trait = humble
				trait = just
			}
			NOR = {
				trait = drunkard
				trait = deceitful
				trait = cruel
				trait = gluttonous
				trait = slothful
				trait = schemer
				trait = wroth
				is_any_kinslayer_trigger = yes
				trait = cannibal_trait
			}
		}
		localisation_key = String_honorableCap
	}
	text = {
		trigger = {
			OR = {
				is_smart_trigger = yes
				is_learned_trigger = yes
				learning = 15
			}
		}
		localisation_key = String_wiseCap
	}
	text = {
		trigger = {
			OR = {
				is_smart_trigger = yes
				is_learned_trigger = yes
				learning = 15
			}
		}
		localisation_key = String_sageCap
	}
	text = {
		trigger = {
			OR = {
				piety = 1000
				trait = zealous
				trait = content
			}
			NOT = { trait = cynical }
		}
		localisation_key = String_piousCap
	}
	text = {
		trigger = {
			OR = {
				trait = just
				AND = {
					OR = {
						trait = kind
						trait = charitable
					}
					NOR = {
						trait = arbitrary
						trait = craven
						trait = slothful
						trait = content
					}
				}
			}	
		}
		localisation_key = String_righteousCap
	}
	text = {
		trigger = {
			OR = {
				trait = just
				trait = kind
				trait = charitable
			}	
			NOR = {
				trait = wroth
				trait = cruel
				trait = impaler
			}
		}
		localisation_key = String_benevolentCap
	}
	text = {
		trigger = { trait = brave }
		localisation_key = String_braveCap
	}
	text = {
		trigger = { trait = honest }
		localisation_key = String_sincereCap
	}
	text = {
		trigger = {
			is_female = yes
			is_attractive_trigger = yes
		}
		localisation_key = String_lovelyCap
	}
	text = {
		trigger = {
			OR = {
				trait = fair
				trait = gregarious
				trait = socializer
			}
			has_unpleasant_trait_trigger = no
			NOR = {
				trait = ugly
				trait = drunkard
				trait = hedonist
				trait = lustful
			}
		}
		localisation_key = String_gracefulCap
	}
	text = {
		trigger = {
			higher_tier_than = DUKE
		}
		localisation_key = String_greatCap
	}
	text = {
		trigger = {
			higher_tier_than = DUKE
		}
		localisation_key = String_eminentCap
	}
	text = {
		trigger = {
			tier = EMPEROR
		}
		localisation_key = String_exaltedCap
	}
	text = {
		trigger = {
			tier = EMPEROR
		}
		localisation_key = String_magnificentCap
	}
	text = {
		trigger = {
			is_offmap_ruler = yes
		}
		localisation_key = String_heavenlyCap
	}
}
#  
defined_text = {
	name = GetWeaponTypeSmall

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_sword_s
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_blade_s
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_falchion_s
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_longsword_s
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_greatsword_s
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = scimitar_tier_1
				has_character_flag = scimitar_tier_2
			}
		}
		localisation_key = string_scimitar_s
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = scimitar_tier_1
				has_character_flag = scimitar_tier_2
			}
		}
		localisation_key = string_shamshir_s
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = lance_tier_1
				has_character_flag = lance_tier_2
			}		
		}
		localisation_key = string_lance_s
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = lance_tier_1
				has_character_flag = lance_tier_2
			}
		}
		localisation_key = string_spear_s
	}

	text = {
		trigger = {
			#OR = {
				has_character_flag = axe_tier_1
			#	has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_axe_s
	}

	text = {
		trigger = {
			#OR = {
			#	has_character_flag = axe_tier_1
				has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_battleaxe_s
	}

	text = {
		trigger = {
			#OR = {
			#	has_character_flag = axe_tier_1
				has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_waraxe_s
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = mace_tier_1
				has_character_flag = mace_tier_2
			}
		}
		localisation_key = string_mace_s
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = mace_tier_1
				has_character_flag = mace_tier_2
			}
		}
		localisation_key = string_warhammer_s
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_1
		}
		localisation_key = string_bow_s
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_longbow_s
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_compositebow_s
	}
	text = {
		trigger = {
			has_character_flag = armor_tier_2
		}
		localisation_key = string_armor_s
	}
	fallback_text = {
		localisation_key = string_weapon_s
	}
}
defined_text = {
	name = GetWeaponTypeAdjPostfix

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_sword_ap
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_blade_ap
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_falchion_ap
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_longsword_ap
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_greatsword_ap
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = scimitar_tier_1
				has_character_flag = scimitar_tier_2
			}
		}
		localisation_key = string_scimitar_ap
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = scimitar_tier_1
				has_character_flag = scimitar_tier_2
			}
		}
		localisation_key = string_shamshir_ap
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = lance_tier_1
				has_character_flag = lance_tier_2
			}		
		}
		localisation_key = string_lance_ap
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = lance_tier_1
				has_character_flag = lance_tier_2
			}
		}
		localisation_key = string_spear_ap
	}

	text = {
		trigger = {
			#OR = {
				has_character_flag = axe_tier_1
			#	has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_axe_ap
	}

	text = {
		trigger = {
			#OR = {
			#	has_character_flag = axe_tier_1
				has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_battleaxe_ap
	}

	text = {
		trigger = {
			#OR = {
			#	has_character_flag = axe_tier_1
				has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_waraxe_ap
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = mace_tier_1
				has_character_flag = mace_tier_2
			}
		}
		localisation_key = string_mace_ap
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = mace_tier_1
				has_character_flag = mace_tier_2
			}
		}
		localisation_key = string_warhammer_ap
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_1
		}
		localisation_key = string_bow_ap
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_longbow_ap
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_compositebow_ap
	}
	text = {
		trigger = {
			has_character_flag = armor_tier_2
		}
		localisation_key = string_armor_ap
	}
	fallback_text = {
		localisation_key = string_weapon_ap
	}
}
defined_text = {
	name = GetWeaponTypeAdjPostfix2

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_longsword_ap
	}
	
	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_greatsword_ap
	}
	
	text = {
		trigger = {
			has_character_flag = scimitar_tier_2
		}
		localisation_key = string_scimitar_ap
	}
	
	text = {
		trigger = {
			has_character_flag = scimitar_tier_2
		}
		localisation_key = string_shamshir_ap
	}
	
	text = {
		trigger = {
			has_character_flag = lance_tier_2
		}
		localisation_key = string_lance_ap
	}
	
	text = {
		trigger = {
			has_character_flag = lance_tier_2
		}
		localisation_key = string_spear_ap
	}
	
	text = {
		trigger = {
			has_character_flag = axe_tier_2
		}
		localisation_key = string_battleaxe_ap
	}
	
	text = {
		trigger = {
			has_character_flag = axe_tier_2
		}
		localisation_key = string_waraxe_ap
	}
	
	text = {
		trigger = {
			has_character_flag = mace_tier_2
		}
		localisation_key = string_mace_ap
	}
	
	text = {
		trigger = {
			has_character_flag = mace_tier_2
		}
		localisation_key = string_warhammer_ap
	}
	
	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_longbow_ap
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_compositebow_ap
	}
	text = {
		trigger = {
			has_character_flag = armor_tier_2
		}
		localisation_key = string_armor_ap
	}
}
defined_text = {
	name = GetWeaponTypeAdjSoftPostfix

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_sword_asp
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_blade_asp
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_1
		}
		localisation_key = string_falchion_asp
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_longsword_asp
	}

	text = {
		trigger = {
			has_character_flag = sword_tier_2
		}
		localisation_key = string_greatsword_asp
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = scimitar_tier_1
				has_character_flag = scimitar_tier_2
			}
		}
		localisation_key = string_scimitar_asp
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = scimitar_tier_1
				has_character_flag = scimitar_tier_2
			}
		}
		localisation_key = string_shamshir_asp
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = lance_tier_1
				has_character_flag = lance_tier_2
			}		
		}
		localisation_key = string_lance_asp
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = lance_tier_1
				has_character_flag = lance_tier_2
			}
		}
		localisation_key = string_spear_asp
	}

	text = {
		trigger = {
			#OR = {
				has_character_flag = axe_tier_1
			#	has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_axe_asp
	}

	text = {
		trigger = {
			#OR = {
			#	has_character_flag = axe_tier_1
				has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_battleaxe_asp
	}

	text = {
		trigger = {
			#OR = {
			#	has_character_flag = axe_tier_1
				has_character_flag = axe_tier_2
			#}
		}
		localisation_key = string_waraxe_asp
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = mace_tier_1
				has_character_flag = mace_tier_2
			}
		}
		localisation_key = string_mace_asp
	}

	text = {
		trigger = {
			OR = {
				has_character_flag = mace_tier_1
				has_character_flag = mace_tier_2
			}
		}
		localisation_key = string_warhammer_asp
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_1
		}
		localisation_key = string_bow_asp
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_longbow_asp
	}

	text = {
		trigger = {
			has_character_flag = bow_tier_2
		}
		localisation_key = string_compositebow_asp
	}
	text = {
		trigger = {
			has_character_flag = armor_tier_2
		}
		localisation_key = string_armor_asp
	}
	fallback_text = {
		localisation_key = string_weapon_asp
	}
}
#  (Secret)
defined_text = {
	name = GetSecretReligionHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_SECRET_HIGHGOD_RANDOM_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = { 
			secret_religion_group = christian
		}
	}
	text = {
		localisation_key = GOD_ALLAH_GEN
		trigger = {
			secret_religion_group = muslim
			NOT = { secret_religion = yazidi }
		}
	}
	text = { 
		localisation_key = GOD_SHAYTAN_GEN
		trigger = { secret_religion = yazidi }
	}
	text = { 
		localisation_key = GOD_GOD_GEN
		trigger = { secret_religion_group = jewish_group }
	}
	text = { 
		localisation_key = GOD_AHURA_MAZDA_GEN
		trigger = { 
			secret_religion_group = zoroastrian_group 
			NOT = { secret_religion = manichean }
			NOT = { secret_religion = khurmazta }
		}
	}
	text = { 
		localisation_key = GOD_ZURVAN_GEN
		trigger = { secret_religion = manichean }
	}
	text = { 
		localisation_key = GOD_BRAHMA_GEN
		trigger = { secret_religion = hindu }
	}
	text = { 
		localisation_key = GOD_BRAHMA_GEN
		trigger = { secret_religion = buddhist }
	}
	text = { 
		localisation_key = GOD_THE_TIRTHANKARAS_GEN
		trigger = { secret_religion = jain }
	}
	text = { 
		localisation_key = GOD_ODIN_GEN
		trigger = { 
			OR = {
				AND = {
					secret_religion = norse_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = { has_religion_feature = religion_patriarchal }
					}
				}
				secret_religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_FRIGG
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = norse_pagan_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = norse_pagan_reformed
			secret_religion_scope = {
				NOR = {
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_matriarchal
				}
			}
		}
	}
	text = { 
		localisation_key = GOD_PERUN_GEN
		trigger = { 
			OR = {
				AND = {
					secret_religion = slavic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				secret_religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_MEDEINA_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = slavic_pagan_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_TENGRI
		trigger = { 
			OR = {
				AND = {
					secret_religion = tengri_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				secret_religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_UMAY
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = tengri_pagan_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_DIEVAS_GEN
		trigger = { 
			OR = {
				AND = {
					secret_religion = baltic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				secret_religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_GABIJA_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = baltic_pagan_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_UKKO
		trigger = { 
			OR = {
				AND = {
					secret_religion = finnish_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				secret_religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_KUU
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = finnish_pagan_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_THE_CREATOR_GEN
		trigger = { 
			OR = {
				AND = {
					secret_religion = west_african_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = { NOT = { has_religion_feature = religion_matriarchal } }
					}
				}
				secret_religion = west_african_pagan
				secret_religion = pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_THE_MOTHER_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = west_african_pagan_reformed 
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_ZUN_GEN
		trigger = { 
			OR = {
				secret_religion = zun_pagan_reformed
				secret_religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = { 
			OR = {
				AND = {
					secret_religion = aztec_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						secret_religion_scope = {
							OR = {
								has_religion_feature = religion_dogmatic
								has_religion_feature = religion_patriarchal
							}
						}
					}
				}
				secret_religion = aztec
			}
		}
	}
	text = { 
		localisation_key = GOD_CIHUACOATL
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = aztec_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = { 
			has_dlc = "Holy Fury"
			secret_religion = aztec_reformed
			secret_religion_scope = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
	}
	text = { 
		localisation_key = GOD_ZARVANA_GEN
		trigger = { secret_religion = khurmazta }
	}
	text = { 
		localisation_key = GOD_SANGPO_BUMTRI
		trigger = {
			OR = {
				secret_religion = bon
				secret_religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = GOD_HEAVENLY_ORDER_GEN
		trigger = { secret_religion = taoist }
	}
	text = { 
		localisation_key = GOD_JUPITER_GEN
		trigger = {
			OR = {
				AND = {
					secret_religion = hellenic_pagan_reformed
					OR = {
						NOT = { has_dlc = "Holy Fury" }
						AND = {
							NOT = { culture = greek }
							secret_religion_scope = {
								NOT = { has_religion_feature = religion_seafaring }
								NOT = { has_religion_feature = religion_matriarchal }
							}
						}
					}
				}
			}
			secret_religion = hellenic_pagan
		}
	}
	text = { 
		localisation_key = GOD_NEPTUNE_GEN
		trigger = {
			has_dlc = "Holy Fury"
			secret_religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			secret_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_JUNO_GEN
		trigger = {
			has_dlc = "Holy Fury"
			secret_religion = hellenic_pagan_reformed
			NOT = { culture = greek }
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			secret_religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			culture = greek
			secret_religion_scope = {
				NOT = { has_religion_feature = religion_seafaring }
				NOT = { has_religion_feature = religion_matriarchal }
			}
		}
	}
	text = { 
		localisation_key = GOD_POSEIDON_GEN
		trigger = {
			has_dlc = "Holy Fury"
			secret_religion = hellenic_pagan_reformed
			culture = greek
			secret_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = { 
		localisation_key = GOD_HERA_GEN
		trigger = {
			has_dlc = "Holy Fury"
			secret_religion = hellenic_pagan_reformed
			culture = greek
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = { 
		localisation_key = string_reformer_secret_god_name_GEN
		trigger = {
			has_dlc = "Holy Fury"
			OR = {
				secret_religion = norse_pagan_reformed
				secret_religion = tengri_pagan_reformed
				secret_religion = baltic_pagan_reformed
				secret_religion = finnish_pagan_reformed
				secret_religion = aztec_reformed
				secret_religion = slavic_pagan_reformed
				secret_religion = west_african_pagan_reformed
				secret_religion = zun_pagan_reformed
				secret_religion = hellenic_pagan_reformed
				secret_religion = bon_reformed
			}
			secret_religion_scope = {
				OR = { 
					has_religion_feature = religion_holy_family 
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
}
#  (Secret)
defined_text = {
	name = GetSecretReligionScriptureNameGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleGEN
		trigger = { 
			secret_religion_group = christian
			NOT = { secret_religion = messalian }
		}
	}
	text = { 
		localisation_key = String_AsceticusGEN
		trigger = { secret_religion = messalian }
	}
	text = {
		localisation_key = String_KoranGEN
		trigger = { 
			secret_religion_group = muslim
			NOT = { secret_religion = yazidi }
			NOT = { secret_religion = druze }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationGEN
		trigger = { secret_religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomGEN
		trigger = { secret_religion = druze }
	}
	text = { 
		localisation_key = String_TorahGEN
		trigger = { secret_religion_group = jewish_group }
	}
	text = { 
		localisation_key = String_GathasGEN
		trigger = { 
			secret_religion_group = zoroastrian_group 
			NOT = { secret_religion = mazdaki }
			NOT = { secret_religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretGEN
		trigger = { secret_religion = mazdaki }
	}
	text = { 
		localisation_key = String_MahabharataGEN
		trigger = { secret_religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaGEN
		trigger = { secret_religion = buddhist }
	}
	text = { 
		localisation_key = String_Angas_SutrasGEN
		trigger = { secret_religion = jain }
	}
	text = { 
		localisation_key = String_SagasGEN
		trigger = { 
			OR = {
				secret_religion = norse_pagan
				secret_religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_LegendsGEN
		trigger = { 
			secret_religion_group = pagan_group
			NOR = {
				secret_religion = norse_pagan
				secret_religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXTS_GEN
		trigger = { secret_religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS_GEN
		trigger = { secret_religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS_GEN
		trigger = {
			OR = {
				secret_religion = bon
				secret_religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING_GEN
		trigger = { secret_religion = taoist }
	}
}
#  (Secret)
defined_text = {
	name = GetSecretReligionScriptureNameACC
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleACC
		trigger = { 
			secret_religion_group = christian
			NOT = { secret_religion = messalian }
		}
	}
	text = { 
		localisation_key = String_Asceticus
		trigger = { secret_religion = messalian }
	}
	text = {
		localisation_key = String_Koran
		trigger = { 
			secret_religion_group = muslim
			NOT = { secret_religion = yazidi }
			NOT = { secret_religion = druze }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationACC
		trigger = { secret_religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomACC
		trigger = { secret_religion = druze }
	}
	text = { 
		localisation_key = String_TorahACC
		trigger = { secret_religion_group = jewish_group }
	}
	text = { 
		localisation_key = String_Gathas
		trigger = { 
			secret_religion_group = zoroastrian_group 
			NOT = { secret_religion = mazdaki }
			NOT = { secret_religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretACC
		trigger = { secret_religion = mazdaki }
	}
	text = { 
		localisation_key = String_MahabharataACC
		trigger = { secret_religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaACC
		trigger = { secret_religion = buddhist }
	}
	text = { 
		localisation_key = String_Angas_Sutras
		trigger = { secret_religion = jain }
	}
	text = { 
		localisation_key = String_Sagas
		trigger = { 
			OR = {
				secret_religion = norse_pagan
				secret_religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_Legends
		trigger = { 
			secret_religion_group = pagan_group
			NOR = {
				secret_religion = norse_pagan
				secret_religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXTS
		trigger = { secret_religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS
		trigger = { secret_religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS
		trigger = {
			OR = {
				secret_religion = bon
				secret_religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING
		trigger = { secret_religion = taoist }
	}
}
#  (Secret)
defined_text = {
	name = GetSecretReligionScriptureAdjAndNameGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomSecretReligionScriptureAdjAndName_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = { 
		localisation_key = String_Catholic_BibleGEN
		trigger = { secret_religion = catholic }
	}
	text = { 
		localisation_key = String_Orthodox_BibleGEN
		trigger = { secret_religion = orthodox }
	}
	text = { 
		localisation_key = String_AsceticusGEN
		trigger = { secret_religion = messalian }
	}
	text = { 
		localisation_key = String_Other_BibleGEN
		trigger = { 
			secret_religion_group = christian
			NOT = { secret_religion = messalian }
			NOT = { secret_religion = catholic }
			NOT = { secret_religion = orthodox }
		}
	}
	text = { 
		localisation_key = String_Sunni_KoranGEN
		trigger = { secret_religion = sunni }
	}
	text = { 
		localisation_key = String_Shia_KoranGEN
		trigger = { secret_religion = shiite }
	}
	text = { 
		localisation_key = String_Book_of_IlluminationGEN
		trigger = { secret_religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomGEN
		trigger = { secret_religion = druze }
	}
	text = {
		localisation_key = String_Other_KoranGEN
		trigger = {
			secret_religion_group = muslim
			NOT = { secret_religion = sunni }
			NOT = { secret_religion = shiite }
			NOT = { secret_religion = yazidi }
			NOT = { secret_religion = druze }
		}
	}
	text = { 
		localisation_key = String_TorahGEN
		trigger = { secret_religion = jewish }
	}
	text = { 
		localisation_key = String_Torah_OtherGEN
		trigger = {
			secret_religion_group = jewish_group
			NOT = { secret_religion = jewish }
		}
	}

	text = { 
		localisation_key = String_GathasGEN
		trigger = { 
			secret_religion_group = zoroastrian_group 
			NOT = { secret_religion = mazdaki }
			NOT = { secret_religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretGEN
		trigger = { secret_religion = mazdaki }
	}
	text = { 
		localisation_key = String_Hindu_MahabharataGEN
		trigger = { secret_religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaGEN
		trigger = { secret_religion = buddhist }
	}
	text = { 
		localisation_key = String_Jain_Angas_SutrasGEN
		trigger = { secret_religion = jain }
	}
	text = { 
		localisation_key = String_Norse_SagasGEN
		trigger = { 
			OR = {
				secret_religion = norse_pagan_reformed
				secret_religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Slavic_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = slavic_pagan_reformed
				secret_religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Tengri_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = tengri_pagan_reformed
				secret_religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Romuva_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = baltic_pagan_reformed
				secret_religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = finnish_pagan_reformed
				secret_religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = String_West_African_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = west_african_pagan_reformed
				secret_religion = west_african_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Zun_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = zun_pagan_reformed
				secret_religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Aztec_LegendsGEN
		trigger = { 
			OR = {
				secret_religion = aztec_reformed
				secret_religion = aztec
			}
		}
	}
	text = { 
		localisation_key = String_Hellenic_LegendsGEN
		trigger = {
			OR = {
				secret_religion = hellenic_pagan
				secret_religion = hellenic_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_Pagan_LegendsGEN
		trigger = { secret_religion = pagan }
	}
	text = { 
		localisation_key = MANI_TEXTS_GEN
		trigger = { secret_religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS_GEN
		trigger = { secret_religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS_GEN
		trigger = {
			OR = {
				secret_religion = bon
				secret_religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING_GEN
		trigger = { secret_religion = taoist }
	}
}
# 
defined_text = {
	name = GetSecretReligionScriptureAdjAndNameACC
	use_first_valid = yes
	text = {
		localisation_key = RandomSecretReligionScriptureAdjAndName_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = { 
		localisation_key = String_Catholic_BibleACC
		trigger = { secret_religion = catholic }
	}
	text = { 
		localisation_key = String_Orthodox_BibleACC
		trigger = { secret_religion = orthodox }
	}
	text = { 
		localisation_key = String_Asceticus
		trigger = { secret_religion = messalian }
	}
	text = { 
		localisation_key = String_Other_BibleACC
		trigger = { 
			secret_religion_group = christian
			NOT = { secret_religion = messalian }
			NOT = { secret_religion = catholic }
			NOT = { secret_religion = orthodox }
		}
	}
	text = { 
		localisation_key = String_Sunni_Koran
		trigger = { secret_religion = sunni }
	}
	text = { 
		localisation_key = String_Shia_Koran
		trigger = { secret_religion = shiite }
	}
	text = { 
		localisation_key = String_Book_of_IlluminationACC
		trigger = { secret_religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomACC
		trigger = { secret_religion = druze }
	}
	text = {
		localisation_key = String_Other_Koran
		trigger = {
			secret_religion_group = muslim
			NOT = { secret_religion = sunni }
			NOT = { secret_religion = shiite }
			NOT = { secret_religion = yazidi }
			NOT = { secret_religion = druze }
		}
	}
	text = { 
		localisation_key = String_TorahACC
		trigger = { secret_religion = jewish }
	}
	text = { 
		localisation_key = String_Torah_Other
		trigger = {
			secret_religion_group = jewish_group
			NOT = { secret_religion = jewish }
		}
	}

	text = { 
		localisation_key = String_Gathas
		trigger = { 
			secret_religion_group = zoroastrian_group 
			NOT = { secret_religion = mazdaki }
			NOT = { secret_religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretACC
		trigger = { secret_religion = mazdaki }
	}
	text = { 
		localisation_key = String_Hindu_Mahabharata
		trigger = { secret_religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaACC
		trigger = { secret_religion = buddhist }
	}
	text = { 
		localisation_key = String_Jain_Angas_Sutras
		trigger = { secret_religion = jain }
	}
	text = { 
		localisation_key = String_Norse_Sagas
		trigger = { 
			OR = {
				secret_religion = norse_pagan_reformed
				secret_religion = norse_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Slavic_Legends
		trigger = { 
			OR = {
				secret_religion = slavic_pagan_reformed
				secret_religion = slavic_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Tengri_Legends
		trigger = { 
			OR = {
				secret_religion = tengri_pagan_reformed
				secret_religion = tengri_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Romuva_Legends
		trigger = { 
			OR = {
				secret_religion = baltic_pagan_reformed
				secret_religion = baltic_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Suomenusko_Legends
		trigger = { 
			OR = {
				secret_religion = finnish_pagan_reformed
				secret_religion = finnish_pagan
			}
		}
	}
	text = { 
		localisation_key = String_West_African_Legends
		trigger = { 
			OR = {
				secret_religion = west_african_pagan_reformed
				secret_religion = west_african_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Zun_Legends
		trigger = { 
			OR = {
				secret_religion = zun_pagan_reformed
				secret_religion = zun_pagan
			}
		}
	}
	text = { 
		localisation_key = String_Aztec_Legends
		trigger = { 
			OR = {
				secret_religion = aztec_reformed
				secret_religion = aztec
			}
		}
	}
	text = { 
		localisation_key = String_Hellenic_Legends
		trigger = {
			OR = {
				secret_religion = hellenic_pagan
				secret_religion = hellenic_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_Pagan_Legends
		trigger = { secret_religion = pagan }
	}
	text = { 
		localisation_key = MANI_TEXTS
		trigger = { secret_religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS
		trigger = { secret_religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS
		trigger = {
			OR = {
				secret_religion = bon
				secret_religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING
		trigger = { secret_religion = taoist }
	}
}
#  (Generic)
defined_text = {
	name = GetReligionScriptureGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleGEN
		trigger = { 
			religion_group = christian
			NOT = { religion = messalian }
		}
	}
	text = { 
		localisation_key = String_AsceticusGEN
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_KoranGEN
		trigger = { 
			religion_group = muslim
			NOT = { religion = yazidi }
			NOT = { religion = druze }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationGEN
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomGEN
		trigger = { religion = druze }
	}
	text = { 
		localisation_key = String_TorahGEN
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = String_GathasGEN
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = mazdaki }
			NOT = { religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretGEN
		trigger = { religion = mazdaki }
	}
	text = { 
		localisation_key = String_MahabharataGEN
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaGEN
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = String_Angas_SutrasGEN
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = String_SagasGEN
		trigger = { 
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_LegendsGEN
		trigger = { 
			religion_group = pagan_group
			NOR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXTS_GEN
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS_GEN
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS_GEN
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING_GEN
		trigger = { religion = taoist }
	}
}
#  (Generic)
defined_text = {
	name = GetReligionScriptureACC
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_GEN
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleACC
		trigger = { 
			religion_group = christian
			NOT = { religion = messalian }
		}
	}
	text = { 
		localisation_key = String_Asceticus
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_Koran
		trigger = { 
			religion_group = muslim
			NOT = { religion = yazidi }
			NOT = { religion = druze }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationACC
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomACC
		trigger = { religion = druze }
	}
	text = { 
		localisation_key = String_TorahACC
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = String_Gathas
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = mazdaki }
			NOT = { religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretACC
		trigger = { religion = mazdaki }
	}
	text = { 
		localisation_key = String_MahabharataACC
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaACC
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = String_Angas_Sutras
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = String_Sagas
		trigger = { 
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_Legends
		trigger = { 
			religion_group = pagan_group
			NOR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXTS
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING
		trigger = { religion = taoist }
	}
}
#  (Generic)
defined_text = {
	name = GetReligionScriptureINS
	use_first_valid = yes
	text = {
		localisation_key = RandomReligionScripture_INS
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
	}
	text = {
		localisation_key = String_BibleINS
		trigger = { 
			religion_group = christian
			NOT = { religion = messalian }
		}
	}
	text = { 
		localisation_key = String_AsceticusINS
		trigger = { religion = messalian }
	}
	text = {
		localisation_key = String_KoranINS
		trigger = { 
			religion_group = muslim
			NOT = { religion = yazidi }
			NOT = { religion = druze }
		}
	}
	text = { 
		localisation_key = String_Book_of_IlluminationINS
		trigger = { religion = yazidi }
	}
	text = { 
		localisation_key = String_Epistles_of_WisdomINS
		trigger = { religion = druze }
	}
	text = { 
		localisation_key = String_TorahINS
		trigger = { religion_group = jewish_group }
	}
	text = { 
		localisation_key = String_GathasINS
		trigger = { 
			religion_group = zoroastrian_group 
			NOT = { religion = mazdaki }
			NOT = { religion = manichean }
		}
	}
	text = { 
		localisation_key = String_Great_SecretINS
		trigger = { religion = mazdaki }
	}
	text = { 
		localisation_key = String_MahabharataINS
		trigger = { religion = hindu }
	}
	text = { 
		localisation_key = String_BuddhacavanaINS
		trigger = { religion = buddhist }
	}
	text = { 
		localisation_key = String_Angas_SutrasINS
		trigger = { religion = jain }
	}
	text = { 
		localisation_key = String_SagasINS
		trigger = { 
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = String_LegendsINS
		trigger = { 
			religion_group = pagan_group
			NOR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
	text = { 
		localisation_key = MANI_TEXT_INS
		trigger = { religion = manichean }
	}
	text = { 
		localisation_key = THE_GATHAS_INS
		trigger = { religion = khurmazta }
	}
	text = { 
		localisation_key = MDODUS_INS
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
	}
	text = { 
		localisation_key = TAO_TE_CHING_INS
		trigger = { religion = taoist }
	}
}
#GetHersHis - flag desecration_at_home - MNM_7113
defined_text = {
	name = Get_desecration_HersHis

	text = {
		trigger = {
			is_female = yes
			has_character_flag = desecration_at_home
		}
		localisation_key = POSS_PRONOUN_FEM
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
# /  (   ) - MNM_7837
defined_text = {
	name = GetMyServant_MNM_7837

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = String_My_Servant_M_GEN
	}
	fallback_text = {
		localisation_key = String_My_Servant_F_GEN
	}
}
#/ (   , , /)
defined_text = {
	name = GetServantSuffix

	text = {
		trigger = { is_female = yes }
		localisation_key = String_ServantSuffix_Female
	}
	fallback_text = {
		localisation_key = String_ServantSuffix_Male
	}
}
#//     - MNM.1214
defined_text = {
	name = GetPetType_MNM_1214

	text = {
		trigger = {
			has_character_flag = cat_death_omen
			has_character_flag = cat_name_shieldmaiden
		}
		localisation_key = String_Pet_Type_Cat_Female
	}
	text = {
		trigger = {
			has_character_flag = cat_death_omen
			NOT = { has_character_flag = cat_name_shieldmaiden }
		}
		localisation_key = String_Pet_Type_Cat
	}
	text = {
		trigger = { has_character_flag = dog_death_omen }
		localisation_key = String_Pet_Type_Dog
	}
	fallback_text = {
		localisation_key = String_Pet_Type_Fallback
	}
}
#WOL_1150 - /
defined_text = {
	name = GetLoversGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			any_lover = {
				is_female = yes
			}
			NOT = {
				any_lover = {
					is_female = no
				}
			}
		}
		localisation_key = String_Lovers_Female_GEN
	}
	text = {
		trigger = {
			any_lover = {
				is_female = no
			}
			NOT = {
				any_lover = {
					is_female = yes
				}
			}
		}
		localisation_key = String_Lovers_Male_GEN
	}
	text = {
		trigger = {
			prefers_men_trigger = no
			OR = {
				NOT = {
					any_lover = {
						always = yes
					}
				}
				AND = {
					any_lover = {
						is_female = no
					}
					any_lover = {
						is_female = yes
					}
				}
			}
		}
		localisation_key = String_Lovers_Female_GEN
	}
	text = {
		trigger = {
			prefers_men_trigger = yes
			OR = {
				NOT = {
					any_lover = {
						always = yes
					}
				}
				AND = {
					any_lover = {
						is_female = no
					}
					any_lover = {
						is_female = yes
					}
				}
			}
		}
		localisation_key = String_Lovers_Male_GEN
	}
	fallback_text = {
		localisation_key = String_Lovers_GEN_Fallback
	}
}

#    ,  "()   "
defined_text = {
	name = GetEducationHobbyPastProg

	text = {
		localisation_key = String_war_table_hobby_PaP
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_correspondence_hobby_PaP
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_ledgers_hobby_PaP
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_maps_hobby_PaP
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_scrolls_hobby_PaP
		trigger = { has_education_learning_trigger = yes }
	}
}
#    ,  "   "
defined_text = {
	name = GetEducationHobbyPresProg

	text = {
		localisation_key = String_war_table_hobby_PrP
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_correspondence_hobby_PrP
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_ledgers_hobby_PrP
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_maps_hobby_PrP
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_scrolls_hobby_PrP
		trigger = { has_education_learning_trigger = yes }
	}
}
#    ,  "   "
defined_text = {
	name = GetEducationHobbyPresImperf

	text = {
		localisation_key = String_war_table_hobby_PrI
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = String_correspondence_hobby_PrI
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = String_ledgers_hobby_PrI
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = String_maps_hobby_PrI
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = String_scrolls_hobby_PrI
		trigger = { has_education_learning_trigger = yes }
	}
}
#High God endings
defined_text = {
	name = GetHGodEndA

	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_A
	}
}
defined_text = {
	name = GetHGodEndAOpp

	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_A
	}
}
defined_text = {
	name = GetHGodEndLA

	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetHGodEndLAOpp

	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetHGodHersHisCap

	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
}
defined_text = {
	name = GetHGodHersHisCapOpp

	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
}
defined_text = {
	name = GetHGodNaEn

	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_NA
	}
	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetHGodNaEnOpp

	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_NA
	}
	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
defined_text = {
	name = GetHGodAyaOy

	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetHGodAyaOyOpp

	text = {
		trigger = { NOT = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = AYA_POSTFIX
	}
}
#TrueReligion
defined_text = {
	name = GetTrueHGodEndA

	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_A
	}
}
defined_text = {
	name = GetTrueHGodEndAOpp

	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_A
	}
}
defined_text = {
	name = GetTrueHGodEndLA

	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetTrueHGodEndLAOpp

	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetTrueHGodHersHisCap

	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
}
defined_text = {
	name = GetTrueHGodHersHisCapOpp

	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
}
defined_text = {
	name = GetTrueHGodNaEn

	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_NA
	}
	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetTrueHGodNaEnOpp

	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_NA
	}
	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_EN
	}
	fallback_text = {
		localisation_key = END_NA
	}
}
defined_text = {
	name = GetTrueHGodAyaOy

	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetTrueHGodAyaOyOpp

	text = {
		trigger = { NOT = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } } }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } } }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = AYA_POSTFIX
	}
}
defined_text = {
	name = GetRulerGod

	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback
	}
}

defined_text = {
	name = GetRulerGodGEN

	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_GEN
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_GEN
	}
}
defined_text = {
	name = GetRulerGodACC

	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_ACC
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_ACC
	}
}
defined_text = {
	name = GetRulerGodDAT

	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_DAT
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_DAT
	}
}
defined_text = {
	name = GetRulerGodPREP

	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_PREP
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_PREP
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_PREP
	}
}

defined_text = {
	name = GetRulerGodINS

	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			religion_scope = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			religion_scope = { NOT = { has_flag = reformer_is_female } }
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_INS
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_INS
	}
}
#True Religion
defined_text = {
	name = GetTrueRulerGod

	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback
	}
}

defined_text = {
	name = GetTrueRulerGodGEN

	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_GEN
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_GEN
	}
}
defined_text = {
	name = GetTrueRulerGodACC

	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_ACC
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_ACC
	}
}
defined_text = {
	name = GetTrueRulerGodDAT

	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_DAT
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_DAT
	}
}
defined_text = {
	name = GetTrueRulerGodINS

	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			true_religion_scope = { NOT = { has_flag = reformer_is_female } }
			true_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_INS
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_INS
	}
}
#Secret Religion
defined_text = {
	name = GetSecretRulerGod

	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback
	}
}

defined_text = {
	name = GetSecretRulerGodGEN

	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_GEN
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_GEN
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_GEN
	}
}
defined_text = {
	name = GetSecretRulerGodACC

	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_ACC
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_ACC
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_ACC
	}
}
defined_text = {
	name = GetSecretRulerGodDAT

	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_DAT
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_DAT
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_DAT
	}
}
defined_text = {
	name = GetSecretRulerGodINS

	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God_INS
	}
	text = {
		trigger = {
			secret_religion_scope = { NOT = { has_flag = reformer_is_female } }
			secret_religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Male_God_INS
	}
	fallback_text = {
		localisation_key = String_Ruler_God_Fallback_INS
	}
}
# 
defined_text = {
	name = GetZeusJupiterNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_GREEK_JUPITER_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_JUPITER_GEN
	}

	fallback_text = {
		localisation_key = GOD_JUPITER_GEN
	}
}
defined_text = {
	name = GetPoseidonNeptuneNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_POSEIDON_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_NEPTUNE_GEN
	}

	fallback_text = {
		localisation_key = GOD_NEPTUNE_GEN
	}
}

defined_text = {
	name = GetHadesPlutoNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HADES_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_PLUTO_GEN
	}

	fallback_text = {
		localisation_key = GOD_PLUTO_GEN
	}
}
defined_text = {
	name = GetHeraJunoNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HERA_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_JUNO_GEN
	}

	fallback_text = {
		localisation_key = GOD_JUNO_GEN
	}
}
defined_text = {
	name = GetDemetraCeresNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_DEMETRA_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_CERES_GEN
	}

	fallback_text = {
		localisation_key = GOD_CERES_GEN
	}
}
defined_text = {
	name = GetAthenaMinervaNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ATHENA_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MINERVA_GEN
	}

	fallback_text = {
		localisation_key = GOD_MINERVA_GEN
	}
}
defined_text = {
	name = GetAresMarsNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ARES_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MARS_GEN
	}

	fallback_text = {
		localisation_key = GOD_MARS_GEN
	}
}
defined_text = {
	name = GetHephaestusVulcanNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HEPHAESTUS_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_VULCAN_GEN
	}

	fallback_text = {
		localisation_key = GOD_VULCAN_GEN
	}
}
defined_text = {
	name = GetAphroditeVenusNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_APHRODITE_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_VENUS_GEN
	}

	fallback_text = {
		localisation_key = GOD_VENUS_GEN
	}
}
defined_text = {
	name = GetArtemisDianaNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ARTEMIS_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_DIANA_GEN
	}

	fallback_text = {
		localisation_key = GOD_DIANA_GEN
	}
}
defined_text = {
	name = GetHestiaVestaNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HESTIA_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_VESTA_GEN
	}

	fallback_text = {
		localisation_key = GOD_VESTA_GEN
	}
}
defined_text = {
	name = GetKronosSaturnNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_KRONOS_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_SATURN_GEN
	}

	fallback_text = {
		localisation_key = GOD_SATURN_GEN
	}
}
defined_text = {
	name = GetDionysusBacchusNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_DIONYSUS_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_BACCHUS_GEN
	}

	fallback_text = {
		localisation_key = GOD_BACCHUS_GEN
	}
}

defined_text = {
	name = GetHermesMercuryNameGEN
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HERMES_GEN
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MERCURY_GEN
	}

	fallback_text = {
		localisation_key = GOD_MERCURY_GEN
	}
}
# 
defined_text = {
	name = GetZeusJupiterNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_GREEK_JUPITER_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_JUPITER_DAT
	}

	fallback_text = {
		localisation_key = GOD_JUPITER_DAT
	}
}
defined_text = {
	name = GetPoseidonNeptuneNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_POSEIDON_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_NEPTUNE_DAT
	}

	fallback_text = {
		localisation_key = GOD_NEPTUNE_DAT
	}
}

defined_text = {
	name = GetHadesPlutoNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HADES_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_PLUTO_DAT
	}

	fallback_text = {
		localisation_key = GOD_PLUTO_DAT
	}
}
defined_text = {
	name = GetHeraJunoNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HERA_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_JUNO_DAT
	}

	fallback_text = {
		localisation_key = GOD_JUNO_DAT
	}
}
defined_text = {
	name = GetDemetraCeresNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_DEMETRA_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_CERES_DAT
	}

	fallback_text = {
		localisation_key = GOD_CERES_DAT
	}
}
defined_text = {
	name = GetAthenaMinervaNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ATHENA_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MINERVA_DAT
	}

	fallback_text = {
		localisation_key = GOD_MINERVA_DAT
	}
}
defined_text = {
	name = GetAresMarsNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ARES_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MARS_DAT
	}

	fallback_text = {
		localisation_key = GOD_MARS_DAT
	}
}
defined_text = {
	name = GetHephaestusVulcanNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HEPHAESTUS_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_VULCAN_DAT
	}

	fallback_text = {
		localisation_key = GOD_VULCAN_DAT
	}
}
defined_text = {
	name = GetAphroditeVenusNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_APHRODITE_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_VENUS_DAT
	}

	fallback_text = {
		localisation_key = GOD_VENUS_DAT
	}
}
defined_text = {
	name = GetArtemisDianaNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ARTEMIS_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_DIANA_DAT
	}

	fallback_text = {
		localisation_key = GOD_DIANA_DAT
	}
}
defined_text = {
	name = GetHestiaVestaNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HESTIA_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_VESTA_DAT
	}

	fallback_text = {
		localisation_key = GOD_VESTA_DAT
	}
}
defined_text = {
	name = GetKronosSaturnNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_KRONOS_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_SATURN_DAT
	}

	fallback_text = {
		localisation_key = GOD_SATURN_DAT
	}
}
defined_text = {
	name = GetDionysusBacchusNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_DIONYSUS_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_BACCHUS_DAT
	}

	fallback_text = {
		localisation_key = GOD_BACCHUS_DAT
	}
}

defined_text = {
	name = GetHermesMercuryNameDAT
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_HERMES_DAT
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MERCURY_DAT
	}

	fallback_text = {
		localisation_key = GOD_MERCURY_DAT
	}
}
# Warrior Lodges
# 
## Norse
defined_text = {
	name = GetNorseWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_norse_randomGEN #the_satanists_random
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_norse_realGEN #the_satanists_real
	}
}
## Tengri
defined_text = {
	name = GetTengriWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_tengri_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_tengri_realGEN
	}
}
## Baltic
defined_text = {
	name = GetBalticWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_baltic_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_baltic_realGEN
	}
}
## Finnish
defined_text = {
	name = GetFinnishWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_finnish_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_finnish_realGEN
	}
}
## Slavic
defined_text = {
	name = GetSlavicWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_slavic_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_slavic_realGEN
	}
}
## West African
defined_text = {
	name = GetWestAfricanWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_west_african_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_west_african_realGEN
	}
}
## Zun
defined_text = {
	name = GetZunWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_zun_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_zun_realGEN
	}
}
## Bon
defined_text = {
	name = GetBonWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_bon_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_bon_realGEN
	}
}
## Hellenic
defined_text = {
	name = GetHellenicWarriorSocietyNameGEN
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_hellenic_randomGEN
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_hellenic_realGEN
	}
}
# 
## Norse
defined_text = {
	name = GetNorseWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_norse_randomDAT #the_satanists_random
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_norse_realDAT #the_satanists_real
	}
}
## Tengri
defined_text = {
	name = GetTengriWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_tengri_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_tengri_realDAT
	}
}
## Baltic
defined_text = {
	name = GetBalticWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_baltic_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_baltic_realDAT
	}
}
## Finnish
defined_text = {
	name = GetFinnishWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_finnish_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_finnish_realDAT
	}
}
## Slavic
defined_text = {
	name = GetSlavicWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_slavic_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_slavic_realDAT
	}
}
## West African
defined_text = {
	name = GetWestAfricanWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_west_african_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_west_african_realDAT
	}
}
## Zun
defined_text = {
	name = GetZunWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_zun_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_zun_realDAT
	}
}
## Bon
defined_text = {
	name = GetBonWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_bon_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_bon_realDAT
	}
}
## Hellenic
defined_text = {
	name = GetHellenicWarriorSocietyNameDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = warrior_lodge_hellenic_randomDAT
	}
	text = { trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = warrior_lodge_hellenic_realDAT
	}
}
