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.GetGroupName - short alt version
defined_text = {
	name = GetCultureGroupAdj #
	use_first_valid = yes
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			NOR = {
				culture_group = panda_group
				culture_group = horse_group
				culture_group = cat_group
				culture_group = bear_group
				culture_group = hedgehog_group
				culture_group = duck_group
				culture_group = dog_group
				culture_group = elephant_group
				culture_group = dragon_group
				culture_group = magyar
				culture_group = mesoamerican
				culture_group = chinese_group
			}
		}
		localisation_key = CULTURE_GROUP_ADJ_ALT
	}
	text = {
		trigger = {
			hungarian = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = magyar
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_MAGYAR
	}
	text = {
		trigger = {
			nahuatl = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = mesoamerican
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_MESOAMERICAN
	}
	text = {
		trigger = {
			han = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = chinese_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_CHINESE_GROUP
	}
	text = {
		trigger = {
			culture_scope = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = horse_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_HORSE
	}
	text = {
		trigger = {
			culture_scope = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = cat_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_CAT
	}
	text = {
		trigger = {
			culture_scope = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = bear_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_BEAR
	}
	text = {
		trigger = {
			hedgehog_culture = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = hedgehog_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_HEDGEHOG
	}
	text = {
		trigger = {
			duck_culture = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = duck_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_DUCK
	}
	text = {
		trigger = {
			dog_culture = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = dog_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_DOG
	}
	text = {
		trigger = {
			elephant_culture = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = elephant_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_ELEPHANT
	}
	text = {
		trigger = {
			dragon_culture = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = dragon_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_DRAGON
	}
	text = {
		trigger = {
			red_panda = { NOT = { has_flag = is_name_randomized_flag } }
			culture_group = panda_group
		}
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT_PANDA
	}
	text = {
		trigger = { NOT = { has_alternate_start_parameter = { key = culture_names value = random } } }
		localisation_key = CULTURE_GROUP_ADJ_DEFAULT
	}
	fallback_text = {
		localisation_key = CULTURE_GROUP_ADJ_ALT
	}
}
#Culture.GetGroupName - very short version
defined_text = {
	name = GetCultureGroupAdjShort #
	use_first_valid = yes
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			NOR = {
				culture_group = panda_group
				culture_group = horse_group
				culture_group = cat_group
				culture_group = bear_group
				culture_group = hedgehog_group
				culture_group = duck_group
				culture_group = dog_group
				culture_group = elephant_group
				culture_group = dragon_group
				culture_group = magyar
				culture_group = mesoamerican
				culture_group = chinese_group
			}
		}
		localisation_key = CULTURE_GROUP_ADJ_ALT_SHORT
	}
	text = {
		trigger = { culture_group = panda_group red_panda = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_panda_group
	}
	text = {
		trigger = { culture_group = horse_group culture_scope = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_horse_group
	}
	text = {
		trigger = { culture_group = cat_group culture_scope = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_cat_group
	}
	text = {
		trigger = { culture_group = bear_group culture_scope = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_bear_group
	}
	text = {
		trigger = { culture_group = hedgehog_group hedgehog_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_hedgehog_group
	}
	text = {
		trigger = { culture_group = duck_group duck_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_duck_group
	}
	text = {
		trigger = { culture_group = dog_group dog_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_dog_group
	}
	text = {
		trigger = { culture_group = elephant_group elephant_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_elephant_group
	}
	text = {
		trigger = { culture_group = dragon_group dragon_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_dragon_group
	}
	text = {
		trigger = { culture_group = north_germanic }
		localisation_key = cgsadj_north_germanic
	}
	text = {
		trigger = { culture_group = central_germanic }
		localisation_key = cgsadj_central_germanic
	}
	text = {
		trigger = { culture_group = west_germanic }
		localisation_key = cgsadj_west_germanic
	}
	text = {
		trigger = { culture_group = latin }
		localisation_key = cgsadj_latin
	}
	text = {
		trigger = { culture_group = iberian }
		localisation_key = cgsadj_iberian
	}
	text = {
		trigger = { culture_group = byzantine }
		localisation_key = cgsadj_byzantine
	}
	text = {
		trigger = { culture_group = celtic }
		localisation_key = cgsadj_celtic
	}
	text = {
		trigger = { culture_group = finno_ugric }
		localisation_key = cgsadj_finno_ugric
	}
	text = {
		trigger = { culture_group = baltic }
		localisation_key = cgsadj_baltic
	}
	text = {
		trigger = { culture_group = altaic }
		localisation_key = cgsadj_altaic
	}
	text = {
		trigger = { culture_group = arabic }
		localisation_key = cgsadj_arabic
	}
	text = {
		trigger = { culture_group = east_slavic }
		localisation_key = cgsadj_east_slavic
	}
	text = {
		trigger = { culture_group = west_slavic }
		localisation_key = cgsadj_west_slavic
	}
	text = {
		trigger = { culture_group = south_slavic }
		localisation_key = cgsadj_south_slavic
	}
	text = {
		trigger = { culture_group = magyar hungarian = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_magyar
	}
	text = {
		trigger = { culture_group = iranian }
		localisation_key = cgsadj_iranian
	}
	text = {
		trigger = { culture_group = east_african }
		localisation_key = cgsadj_east_african
	}
	text = {
		trigger = { culture_group = central_african }
		localisation_key = cgsadj_central_african
	}
	text = {
		trigger = { culture_group = west_african }
		localisation_key = cgsadj_west_african
	}
	text = {
		trigger = { culture_group = mesoamerican nahuatl = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_mesoamerican
	}
	text = {
		trigger = { culture_group = israelite }
		localisation_key = cgsadj_israelite
	}
	text = {
		trigger = { culture_group = indo_aryan_group }
		localisation_key = cgsadj_indo_aryan_group
	}
	text = {
		trigger = { culture_group = dravidian_group }
		localisation_key = cgsadj_dravidian_group
	}
	text = {
		trigger = { culture_group = tibetan_group }
		localisation_key = cgsadj_tibetan_group
	}
	text = {
		trigger = { culture_group = chinese_group han = { is_renamed_culture_trigger = no } }
		localisation_key = cgsadj_chinese_group
	}
	fallback_text = {
		localisation_key = CULTURE_GROUP_ADJ_ALT_SHORT
	}
}
#Plural Culture.GetGroupName
defined_text = {
	name = GetCultureGroupPlural #
	use_first_valid = yes
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			NOR = {
				culture_group = panda_group
				culture_group = horse_group
				culture_group = cat_group
				culture_group = bear_group
				culture_group = hedgehog_group
				culture_group = duck_group
				culture_group = dog_group
				culture_group = elephant_group
				culture_group = dragon_group
				culture_group = magyar
				culture_group = mesoamerican
				culture_group = chinese_group
			}
		}
		localisation_key = CULTURE_GROUP_PLU_ALT
	}
	text = {
		trigger = { culture_group = panda_group red_panda = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_panda_group
	}
	text = {
		trigger = { culture_group = horse_group culture_scope = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_horse_group
	}
	text = {
		trigger = { culture_group = cat_group culture_scope = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_cat_group
	}
	text = {
		trigger = { culture_group = bear_group culture_scope = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_bear_group
	}
	text = {
		trigger = { culture_group = hedgehog_group hedgehog_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_hedgehog_group
	}
	text = {
		trigger = { culture_group = duck_group duck_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_duck_group
	}
	text = {
		trigger = { culture_group = dog_group dog_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_dog_group
	}
	text = {
		trigger = { culture_group = elephant_group elephant_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_elephant_group
	}
	text = {
		trigger = { culture_group = dragon_group dragon_culture = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_dragon_group
	}
	text = {
		trigger = { culture_group = north_germanic }
		localisation_key = cgplu_north_germanic
	}
	text = {
		trigger = { culture_group = central_germanic }
		localisation_key = cgplu_central_germanic
	}
	text = {
		trigger = { culture_group = west_germanic }
		localisation_key = cgplu_west_germanic
	}
	text = {
		trigger = { culture_group = latin }
		localisation_key = cgplu_latin
	}
	text = {
		trigger = { culture_group = iberian }
		localisation_key = cgplu_iberian
	}
	text = {
		trigger = { culture_group = byzantine }
		localisation_key = cgplu_byzantine
	}
	text = {
		trigger = { culture_group = celtic }
		localisation_key = cgplu_celtic
	}
	text = {
		trigger = { culture_group = finno_ugric }
		localisation_key = cgplu_finno_ugric
	}
	text = {
		trigger = { culture_group = baltic }
		localisation_key = cgplu_baltic
	}
	text = {
		trigger = { culture_group = altaic }
		localisation_key = cgplu_altaic
	}
	text = {
		trigger = { culture_group = arabic }
		localisation_key = cgplu_arabic
	}
	text = {
		trigger = { culture_group = east_slavic }
		localisation_key = cgplu_east_slavic
	}
	text = {
		trigger = { culture_group = west_slavic }
		localisation_key = cgplu_west_slavic
	}
	text = {
		trigger = { culture_group = south_slavic }
		localisation_key = cgplu_south_slavic
	}
	text = {
		trigger = { culture_group = magyar hungarian = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_magyar
	}
	text = {
		trigger = { culture_group = iranian }
		localisation_key = cgplu_iranian
	}
	text = {
		trigger = { culture_group = east_african }
		localisation_key = cgplu_east_african
	}
	text = {
		trigger = { culture_group = central_african }
		localisation_key = cgplu_central_african
	}
	text = {
		trigger = { culture_group = west_african }
		localisation_key = cgplu_west_african
	}
	text = {
		trigger = { culture_group = mesoamerican nahuatl = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_mesoamerican
	}
	text = {
		trigger = { culture_group = israelite }
		localisation_key = cgplu_israelite
	}
	text = {
		trigger = { culture_group = indo_aryan_group }
		localisation_key = cgplu_indo_aryan_group
	}
	text = {
		trigger = { culture_group = dravidian_group }
		localisation_key = cgplu_dravidian_group
	}
	text = {
		trigger = { culture_group = tibetan_group }
		localisation_key = cgplu_tibetan_group
	}
	text = {
		trigger = { culture_group = chinese_group han = { is_renamed_culture_trigger = no } }
		localisation_key = cgplu_chinese_group
	}
	fallback_text = {
		localisation_key = CULTURE_GROUP_PLU_ALT
	}
}

#Culture.GetName - long version, !WARNING! - very heavy
defined_text = {
	name = GetCultureAdj
	use_first_valid = yes
	text = {
		trigger = { is_renamed_culture_trigger = yes }
		localisation_key = CULTURE_ADJ_FALLBACK
	}
	text = {
		trigger = { culture = slovieni }
		localisation_key = cadj_slovieni
	}
	text = {
		trigger = { culture = sardinian }
		localisation_key = cadj_sardinian
	}
	text = {
		trigger = { culture = nahuatl }
		localisation_key = cadj_nahuatl
	}
	text = {
		trigger = { culture_group = bear_group }
		localisation_key = cadj_ursine
	}
	text = {
		trigger = { culture_group = cat_group }
		localisation_key = cadj_feline
	}
	text = {
		trigger = { culture_group = horse_group }
		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 = 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
	}
	text = {
		trigger = { culture = red_panda }
		localisation_key = cadj_red_panda
	}
	fallback_text = {
		localisation_key = CULTURE_ADJ_FALLBACK
	}
}
#Culture.GetName - short version, !WARNING! - very heavy
defined_text = {
	name = GetCultureShortAdj
	use_first_valid = yes
	text = {
		trigger = { is_renamed_culture_trigger = yes }
		localisation_key = CULTURE_SHORT_ADJ_FALLBACK
	}
	text = {
		trigger = { culture = slovieni }
		localisation_key = cadjs_slovieni
	}
	text = {
		trigger = { culture = sardinian }
		localisation_key = cadjs_sardinian
	}
	text = {
		trigger = { culture = nahuatl }
		localisation_key = cadjs_nahuatl
	}
	text = {
		trigger = { culture_group = bear_group }
		localisation_key = cadjs_ursine
	}
	text = {
		trigger = { culture_group = cat_group }
		localisation_key = cadjs_feline
	}
	text = {
		trigger = { culture_group = horse_group }
		localisation_key = cadjs_equine
	}
	text = {
		trigger = { culture = ursine }
		localisation_key = cadjs_ursine
	}
	text = {
		trigger = { culture = feline }
		localisation_key = cadjs_feline
	}
	text = {
		trigger = { culture = equine }
		localisation_key = cadjs_equine
	}
	text = {
		trigger = { culture = han }
		localisation_key = cadjs_han
	}
	text = {
		trigger = { culture = jurchen }
		localisation_key = cadjs_jurchen
	}
	text = {
		trigger = { culture = tangut }
		localisation_key = cadjs_tangut
	}
	text = {
		trigger = { culture = bodpa }
		localisation_key = cadjs_bodpa
	}
	text = {
		trigger = { culture = nepali }
		localisation_key = cadjs_nepali
	}
	text = {
		trigger = { culture = assyrian }
		localisation_key = cadjs_assyrian
	}
	text = {
		trigger = { culture = sumpa }
		localisation_key = cadjs_sumpa
	}
	text = {
		trigger = { culture = zhangzhung }
		localisation_key = cadjs_zhangzhung
	}
	text = {
		trigger = { culture = saka }
		localisation_key = cadjs_saka
	}
	text = {
		trigger = { culture = tocharian }
		localisation_key = cadjs_tocharian
	}
	text = {
		trigger = { culture = uyghur }
		localisation_key = cadjs_uyghur
	}
	text = {
		trigger = { culture = khitan }
		localisation_key = cadjs_khitan
	}
	text = {
		trigger = { culture = sogdian }
		localisation_key = cadjs_sogdian
	}
	text = {
		trigger = { culture = frisian }
		localisation_key = cadjs_frisian
	}
	text = {
		trigger = { culture = frankish }
		localisation_key = cadjs_frankish
	}
	text = {
		trigger = { culture = old_frankish }
		localisation_key = cadjs_old_frankish
	}
	text = {
		trigger = { culture = old_saxon }
		localisation_key = cadjs_old_saxon
	}
	text = {
		trigger = { culture = lombard }
		localisation_key = cadjs_lombard
	}
	text = {
		trigger = { culture = visigothic }
		localisation_key = cadjs_visigothic
	}
	text = {
		trigger = { culture = somali }
		localisation_key = cadjs_somali
	}
	text = {
		trigger = { culture = suebi }
		localisation_key = cadjs_suebi
	}
	text = {
		trigger = { culture = ilmenian }
		localisation_key = cadjs_ilmenian
	}
	text = {
		trigger = { culture = severian }
		localisation_key = cadjs_severian
	}
	text = {
		trigger = { culture = volhynian }
		localisation_key = cadjs_volhynian
	}
	text = {
		trigger = { culture = pictish }
		localisation_key = cadjs_pictish
	}
	text = {
		trigger = { culture = nubian }
		localisation_key = cadjs_nubian
	}
	text = {
		trigger = { culture = karluk }
		localisation_key = cadjs_karluk
	}
	text = {
		trigger = { culture = kirghiz }
		localisation_key = cadjs_kirghiz
	}
	text = {
		trigger = { culture = khanty }
		localisation_key = cadjs_khanty
	}
	text = {
		trigger = { culture = afghan }
		localisation_key = cadjs_afghan
	}
	text = {
		trigger = { culture = baloch }
		localisation_key = cadjs_baloch
	}
	text = {
		trigger = { culture = bengali }
		localisation_key = cadjs_bengali
	}
	text = {
		trigger = { culture = hindustani }
		localisation_key = cadjs_hindustani
	}
	text = {
		trigger = { culture = sindhi }
		localisation_key = cadjs_sindhi
	}
	text = {
		trigger = { culture = marathi }
		localisation_key = cadjs_marathi
	}
	text = {
		trigger = { culture = sinhala }
		localisation_key = cadjs_sinhala
	}
	text = {
		trigger = { culture = telugu }
		localisation_key = cadjs_telugu
	}
	text = {
		trigger = { culture = kannada }
		localisation_key = cadjs_kannada
	}
	text = {
		trigger = { culture = tamil }
		localisation_key = cadjs_tamil
	}
	text = {
		trigger = { culture = gujurati }
		localisation_key = cadjs_gujurati
	}
	text = {
		trigger = { culture = panjabi }
		localisation_key = cadjs_panjabi
	}
	text = {
		trigger = { culture = rajput }
		localisation_key = cadjs_rajput
	}
	text = {
		trigger = { culture = oriya }
		localisation_key = cadjs_oriya
	}
	text = {
		trigger = { culture = assamese }
		localisation_key = cadjs_assamese
	}
	text = {
		trigger = { culture = ashkenazi }
		localisation_key = cadjs_ashkenazi
	}
	text = {
		trigger = { culture = sephardi }
		localisation_key = cadjs_sephardi
	}
	text = {
		trigger = { culture = norse }
		localisation_key = cadjs_norse
	}
	text = {
		trigger = { culture = avar }
		localisation_key = cadjs_avar
	}
	text = {
		trigger = { culture = samoyed }
		localisation_key = cadjs_samoyed
	}
	text = {
		trigger = { culture = mordvin }
		localisation_key = cadjs_mordvin
	}
	text = {
		trigger = { culture = khazar }
		localisation_key = cadjs_khazar
	}
	text = {
		trigger = { culture = bolghar }
		localisation_key = cadjs_bolghar
	}
	text = {
		trigger = { culture = roman }
		localisation_key = cadjs_roman
	}
	text = {
		trigger = { culture = maghreb_arabic }
		localisation_key = cadjs_maghreb_arabic
	}
	text = {
		trigger = { culture = manden }
		localisation_key = cadjs_manden
	}
	text = {
		trigger = { culture = kurdish }
		localisation_key = cadjs_kurdish
	}
	text = {
		trigger = { culture = romanian }
		localisation_key = cadjs_romanian
	}
	text = {
		trigger = { culture = pommeranian }
		localisation_key = cadjs_pommeranian
	}
	text = {
		trigger = { culture = lappish }
		localisation_key = cadjs_lappish
	}
	text = {
		trigger = { culture = swedish }
		localisation_key = cadjs_swedish
	}
	text = {
		trigger = { culture = norwegian }
		localisation_key = cadjs_norwegian
	}
	text = {
		trigger = { culture = danish }
		localisation_key = cadjs_danish
	}
	text = {
		trigger = { culture = german }
		localisation_key = cadjs_german
	}
	text = {
		trigger = { culture = english }
		localisation_key = cadjs_english
	}
	text = {
		trigger = { culture = saxon }
		localisation_key = cadjs_saxon
	}
	text = {
		trigger = { culture = dutch }
		localisation_key = cadjs_dutch
	}
	text = {
		trigger = { culture = norman }
		localisation_key = cadjs_norman
	}
	text = {
		trigger = { culture = italian }
		localisation_key = cadjs_italian
	}
	text = {
		trigger = { culture = occitan }
		localisation_key = cadjs_occitan
	}
	text = {
		trigger = { culture = basque }
		localisation_key = cadjs_basque
	}
	text = {
		trigger = { culture = castillan }
		localisation_key = cadjs_castillan
	}
	text = {
		trigger = { culture = catalan }
		localisation_key = cadjs_catalan
	}
	text = {
		trigger = { culture = portuguese }
		localisation_key = cadjs_portuguese
	}
	text = {
		trigger = { culture = armenian }
		localisation_key = cadjs_armenian
	}
	text = {
		trigger = { culture = greek }
		localisation_key = cadjs_greek
	}
	text = {
		trigger = { culture = alan }
		localisation_key = cadjs_alan
	}
	text = {
		trigger = { culture = georgian }
		localisation_key = cadjs_georgian
	}
	text = {
		trigger = { culture = irish }
		localisation_key = cadjs_irish
	}
	text = {
		trigger = { culture = scottish }
		localisation_key = cadjs_scottish
	}
	text = {
		trigger = { culture = welsh }
		localisation_key = cadjs_welsh
	}
	text = {
		trigger = { culture = breton }
		localisation_key = cadjs_breton
	}
	text = {
		trigger = { culture = finnish }
		localisation_key = cadjs_finnish
	}
	text = {
		trigger = { culture = ugricbaltic }
		localisation_key = cadjs_ugricbaltic
	}
	text = {
		trigger = { culture = komi }
		localisation_key = cadjs_komi
	}
	text = {
		trigger = { culture = lettigallish }
		localisation_key = cadjs_telugu
	}
	text = {
		trigger = { culture = lithuanian }
		localisation_key = cadjs_lithuanian
	}
	text = {
		trigger = { culture = prussian }
		localisation_key = cadjs_prussian
	}
	text = {
		trigger = { culture = turkish }
		localisation_key = cadjs_turkish
	}
	text = {
		trigger = { culture = mongol }
		localisation_key = cadjs_mongol
	}
	text = {
		trigger = { culture = cuman }
		localisation_key = cadjs_cuman
	}
	text = {
		trigger = { culture = pecheneg }
		localisation_key = cadjs_pecheneg
	}
	text = {
		trigger = { culture = bedouin_arabic }
		localisation_key = cadjs_bedouin_arabic
	}
	text = {
		trigger = { culture = levantine_arabic }
		localisation_key = cadjs_levantine_arabic
	}
	text = {
		trigger = { culture = egyptian_arabic }
		localisation_key = cadjs_egyptian_arabic
	}
	text = {
		trigger = { culture = andalusian_arabic }
		localisation_key = cadjs_andalusian_arabic
	}
	text = {
		trigger = { culture = russian }
		localisation_key = cadjs_russian
	}
	text = {
		trigger = { culture = bohemian }
		localisation_key = cadjs_bohemian
	}
	text = {
		trigger = { culture = polish }
		localisation_key = cadjs_polish
	}
	text = {
		trigger = { culture = croatian }
		localisation_key = cadjs_croatian
	}
	text = {
		trigger = { culture = serbian }
		localisation_key = cadjs_serbian
	}
	text = {
		trigger = { culture = bulgarian }
		localisation_key = cadjs_bulgarian
	}
	text = {
		trigger = { culture = hungarian }
		localisation_key = cadjs_hungarian
	}
	text = {
		trigger = { culture = persian }
		localisation_key = cadjs_persian
	}
	text = {
		trigger = { culture = ethiopian }
		localisation_key = cadjs_ethiopian
	}
	text = {
		trigger = { culture = dalmatian }
		localisation_key = cadjs_dalmatian
	}
	text = {
		trigger = { culture = outremer }
		localisation_key = cadjs_outremer
	}
	text = {
		trigger = { culture = arberian }
		localisation_key = cadjs_arberian
	}
	text = {
		trigger = { culture = bosnian }
		localisation_key = cadjs_bosnian
	}
	text = {
		trigger = { culture = coptic }
		localisation_key = cadjs_coptic
	}
	text = {
		trigger = { culture = crimean_gothic }
		localisation_key = cadjs_crimean_gothic
	}
	text = {
		trigger = { culture = meshchera }
		localisation_key = cadjs_meshchera
	}
	text = {
		trigger = { culture = carantanian }
		localisation_key = cadjs_carantanian
	}
	text = {
		trigger = { culture = daju }
		localisation_key = cadjs_daju
	}
	text = {
		trigger = { culture = kanuri }
		localisation_key = cadjs_kanuri
	}
	text = {
		trigger = { culture = hausa }
		localisation_key = cadjs_hausa
	}
	text = {
		trigger = { culture = zaghawa }
		localisation_key = cadjs_zaghawa
	}
	text = {
		trigger = { culture = soninke }
		localisation_key = cadjs_soninke
	}
	text = {
		trigger = { culture = songhay }
		localisation_key = cadjs_songhay
	}
	text = {
		trigger = { culture = hedgehog_culture }
		localisation_key = cadjs_hedgehog_culture
	}
	text = {
		trigger = { culture = duck_culture }
		localisation_key = cadjs_duck_culture
	}
	text = {
		trigger = { culture = dog_culture }
		localisation_key = cadjs_dog_culture
	}
	text = {
		trigger = { culture = elephant_culture }
		localisation_key = cadjs_elephant_culture
	}
	text = {
		trigger = { culture = dragon_culture }
		localisation_key = cadjs_dragon_culture
	}
	text = {
		trigger = { culture = red_panda }
		localisation_key = cadjs_red_panda
	}
	fallback_text = {
		localisation_key = CULTURE_SHORT_ADJ_FALLBACK
	}
}
defined_text = {
	name = GetCulturePlural
	use_first_valid = yes
	text = {
		trigger = { is_renamed_culture_trigger = yes }
		localisation_key = CULTURE_PLU_FALLBACK
	}
	text = {
		trigger = { culture = slovieni }
		localisation_key = plu_slovieni
	}
	text = {
		trigger = { culture = sardinian }
		localisation_key = plu_sardinian
	}
	text = {
		trigger = { culture = nahuatl }
		localisation_key = plu_nahuatl
	}
	text = {
		trigger = { culture_group = bear_group }
		localisation_key = plu_ursine
	}
	text = {
		trigger = { culture_group = cat_group }
		localisation_key = plu_feline
	}
	text = {
		trigger = { culture_group = horse_group }
		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 = 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
	}
	text = {
		trigger = { culture = red_panda }
		localisation_key = plu_red_panda
	}
	fallback_text = {
		localisation_key = CULTURE_PLU_FALLBACK
	}
}
# 
defined_text = {
	name = GetCulturePluralGEN
	use_first_valid = yes
	text = {
		trigger = { is_renamed_culture_trigger = yes }
		localisation_key = CULTURE_PLU_FALLBACK_GEN
	}
	text = {
		trigger = { culture = slovieni }
		localisation_key = plu_slovieniGEN
	}
	text = {
		trigger = { culture = sardinian }
		localisation_key = plu_sardinianGEN
	}
	text = {
		trigger = { culture = nahuatl }
		localisation_key = plu_nahuatlGEN
	}
	text = {
		trigger = { culture_group = bear_group }
		localisation_key = plu_ursineGEN
	}
	text = {
		trigger = { culture_group = cat_group }
		localisation_key = plu_felineGEN
	}
	text = {
		trigger = { culture_group = horse_group }
		localisation_key = plu_equineGEN
	}
	text = {
		trigger = { culture = ursine }
		localisation_key = plu_ursineGEN
	}
	text = {
		trigger = { culture = feline }
		localisation_key = plu_felineGEN
	}
	text = {
		trigger = { culture = equine }
		localisation_key = plu_equineGEN
	}
	text = {
		trigger = { culture = han }
		localisation_key = plu_hanGEN
	}
	text = {
		trigger = { culture = jurchen }
		localisation_key = plu_jurchenGEN
	}
	text = {
		trigger = { culture = tangut }
		localisation_key = plu_tangutGEN
	}
	text = {
		trigger = { culture = bodpa }
		localisation_key = plu_bodpaGEN
	}
	text = {
		trigger = { culture = nepali }
		localisation_key = plu_nepaliGEN
	}
	text = {
		trigger = { culture = assyrian }
		localisation_key = plu_assyrianGEN
	}
	text = {
		trigger = { culture = sumpa }
		localisation_key = plu_sumpaGEN
	}
	text = {
		trigger = { culture = zhangzhung }
		localisation_key = plu_zhangzhungGEN
	}
	text = {
		trigger = { culture = saka }
		localisation_key = plu_sakaGEN
	}
	text = {
		trigger = { culture = tocharian }
		localisation_key = plu_tocharianGEN
	}
	text = {
		trigger = { culture = uyghur }
		localisation_key = plu_uyghurGEN
	}
	text = {
		trigger = { culture = khitan }
		localisation_key = plu_khitanGEN
	}
	text = {
		trigger = { culture = sogdian }
		localisation_key = plu_sogdianGEN
	}
	text = {
		trigger = { culture = frisian }
		localisation_key = plu_frisianGEN
	}
	text = {
		trigger = { culture = frankish }
		localisation_key = plu_frankishGEN
	}
	text = {
		trigger = { culture = old_frankish }
		localisation_key = plu_old_frankishGEN
	}
	text = {
		trigger = { culture = old_saxon }
		localisation_key = plu_old_saxonGEN
	}
	text = {
		trigger = { culture = lombard }
		localisation_key = plu_lombardGEN
	}
	text = {
		trigger = { culture = visigothic }
		localisation_key = plu_visigothicGEN
	}
	text = {
		trigger = { culture = somali }
		localisation_key = plu_somaliGEN
	}
	text = {
		trigger = { culture = suebi }
		localisation_key = plu_suebiGEN
	}
	text = {
		trigger = { culture = ilmenian }
		localisation_key = plu_ilmenianGEN
	}
	text = {
		trigger = { culture = severian }
		localisation_key = plu_severianGEN
	}
	text = {
		trigger = { culture = volhynian }
		localisation_key = plu_volhynianGEN
	}
	text = {
		trigger = { culture = pictish }
		localisation_key = plu_pictishGEN
	}
	text = {
		trigger = { culture = nubian }
		localisation_key = plu_nubianGEN
	}
	text = {
		trigger = { culture = karluk }
		localisation_key = plu_karlukGEN
	}
	text = {
		trigger = { culture = kirghiz }
		localisation_key = plu_kirghizGEN
	}
	text = {
		trigger = { culture = khanty }
		localisation_key = plu_khantyGEN
	}
	text = {
		trigger = { culture = afghan }
		localisation_key = plu_afghanGEN
	}
	text = {
		trigger = { culture = baloch }
		localisation_key = plu_balochGEN
	}
	text = {
		trigger = { culture = bengali }
		localisation_key = plu_bengaliGEN
	}
	text = {
		trigger = { culture = hindustani }
		localisation_key = plu_hindustaniGEN
	}
	text = {
		trigger = { culture = sindhi }
		localisation_key = plu_sindhiGEN
	}
	text = {
		trigger = { culture = marathi }
		localisation_key = plu_marathiGEN
	}
	text = {
		trigger = { culture = sinhala }
		localisation_key = plu_sinhalaGEN
	}
	text = {
		trigger = { culture = telugu }
		localisation_key = plu_teluguGEN
	}
	text = {
		trigger = { culture = kannada }
		localisation_key = plu_kannadaGEN
	}
	text = {
		trigger = { culture = tamil }
		localisation_key = plu_tamilGEN
	}
	text = {
		trigger = { culture = gujurati }
		localisation_key = plu_gujuratiGEN
	}
	text = {
		trigger = { culture = panjabi }
		localisation_key = plu_panjabiGEN
	}
	text = {
		trigger = { culture = rajput }
		localisation_key = plu_rajputGEN
	}
	text = {
		trigger = { culture = oriya }
		localisation_key = plu_oriyaGEN
	}
	text = {
		trigger = { culture = assamese }
		localisation_key = plu_assameseGEN
	}
	text = {
		trigger = { culture = ashkenazi }
		localisation_key = plu_ashkenaziGEN
	}
	text = {
		trigger = { culture = sephardi }
		localisation_key = plu_sephardiGEN
	}
	text = {
		trigger = { culture = norse }
		localisation_key = plu_norseGEN
	}
	text = {
		trigger = { culture = avar }
		localisation_key = plu_avarGEN
	}
	text = {
		trigger = { culture = samoyed }
		localisation_key = plu_samoyedGEN
	}
	text = {
		trigger = { culture = mordvin }
		localisation_key = plu_mordvinGEN
	}
	text = {
		trigger = { culture = khazar }
		localisation_key = plu_khazarGEN
	}
	text = {
		trigger = { culture = bolghar }
		localisation_key = plu_bolgharGEN
	}
	text = {
		trigger = { culture = roman }
		localisation_key = plu_romanGEN
	}
	text = {
		trigger = { culture = maghreb_arabic }
		localisation_key = plu_maghreb_arabicGEN
	}
	text = {
		trigger = { culture = manden }
		localisation_key = plu_mandenGEN
	}
	text = {
		trigger = { culture = kurdish }
		localisation_key = plu_kurdishGEN
	}
	text = {
		trigger = { culture = romanian }
		localisation_key = plu_romanianGEN
	}
	text = {
		trigger = { culture = pommeranian }
		localisation_key = plu_pommeranianGEN
	}
	text = {
		trigger = { culture = lappish }
		localisation_key = plu_lappishGEN
	}
	text = {
		trigger = { culture = swedish }
		localisation_key = plu_swedishGEN
	}
	text = {
		trigger = { culture = norwegian }
		localisation_key = plu_norwegianGEN
	}
	text = {
		trigger = { culture = danish }
		localisation_key = plu_danishGEN
	}
	text = {
		trigger = { culture = german }
		localisation_key = plu_germanGEN
	}
	text = {
		trigger = { culture = english }
		localisation_key = plu_englishGEN
	}
	text = {
		trigger = { culture = saxon }
		localisation_key = plu_saxonGEN
	}
	text = {
		trigger = { culture = dutch }
		localisation_key = plu_dutchGEN
	}
	text = {
		trigger = { culture = norman }
		localisation_key = plu_normanGEN
	}
	text = {
		trigger = { culture = italian }
		localisation_key = plu_italianGEN
	}
	text = {
		trigger = { culture = occitan }
		localisation_key = plu_occitanGEN
	}
	text = {
		trigger = { culture = basque }
		localisation_key = plu_basqueGEN
	}
	text = {
		trigger = { culture = castillan }
		localisation_key = plu_castillanGEN
	}
	text = {
		trigger = { culture = catalan }
		localisation_key = plu_catalanGEN
	}
	text = {
		trigger = { culture = portuguese }
		localisation_key = plu_portugueseGEN
	}
	text = {
		trigger = { culture = armenian }
		localisation_key = plu_armenianGEN
	}
	text = {
		trigger = { culture = greek }
		localisation_key = plu_greekGEN
	}
	text = {
		trigger = { culture = alan }
		localisation_key = plu_alanGEN
	}
	text = {
		trigger = { culture = georgian }
		localisation_key = plu_georgianGEN
	}
	text = {
		trigger = { culture = irish }
		localisation_key = plu_irishGEN
	}
	text = {
		trigger = { culture = scottish }
		localisation_key = plu_scottishGEN
	}
	text = {
		trigger = { culture = welsh }
		localisation_key = plu_welshGEN
	}
	text = {
		trigger = { culture = breton }
		localisation_key = plu_bretonGEN
	}
	text = {
		trigger = { culture = finnish }
		localisation_key = plu_finnishGEN
	}
	text = {
		trigger = { culture = ugricbaltic }
		localisation_key = plu_ugricbalticGEN
	}
	text = {
		trigger = { culture = komi }
		localisation_key = plu_komiGEN
	}
	text = {
		trigger = { culture = lettigallish }
		localisation_key = plu_teluguGEN
	}
	text = {
		trigger = { culture = lithuanian }
		localisation_key = plu_lithuanianGEN
	}
	text = {
		trigger = { culture = prussian }
		localisation_key = plu_prussianGEN
	}
	text = {
		trigger = { culture = turkish }
		localisation_key = plu_turkishGEN
	}
	text = {
		trigger = { culture = mongol }
		localisation_key = plu_mongolGEN
	}
	text = {
		trigger = { culture = cuman }
		localisation_key = plu_cumanGEN
	}
	text = {
		trigger = { culture = pecheneg }
		localisation_key = plu_pechenegGEN
	}
	text = {
		trigger = { culture = bedouin_arabic }
		localisation_key = plu_bedouin_arabicGEN
	}
	text = {
		trigger = { culture = levantine_arabic }
		localisation_key = plu_levantine_arabicGEN
	}
	text = {
		trigger = { culture = egyptian_arabic }
		localisation_key = plu_egyptian_arabicGEN
	}
	text = {
		trigger = { culture = andalusian_arabic }
		localisation_key = plu_andalusian_arabicGEN
	}
	text = {
		trigger = { culture = russian }
		localisation_key = plu_russianGEN
	}
	text = {
		trigger = { culture = bohemian }
		localisation_key = plu_bohemianGEN
	}
	text = {
		trigger = { culture = polish }
		localisation_key = plu_polishGEN
	}
	text = {
		trigger = { culture = croatian }
		localisation_key = plu_croatianGEN
	}
	text = {
		trigger = { culture = serbian }
		localisation_key = plu_serbianGEN
	}
	text = {
		trigger = { culture = bulgarian }
		localisation_key = plu_bulgarianGEN
	}
	text = {
		trigger = { culture = hungarian }
		localisation_key = plu_hungarianGEN
	}
	text = {
		trigger = { culture = persian }
		localisation_key = plu_persianGEN
	}
	text = {
		trigger = { culture = ethiopian }
		localisation_key = plu_ethiopianGEN
	}
	text = {
		trigger = { culture = dalmatian }
		localisation_key = plu_dalmatianGEN
	}
	text = {
		trigger = { culture = outremer }
		localisation_key = plu_outremerGEN
	}
	text = {
		trigger = { culture = arberian }
		localisation_key = plu_arberianGEN
	}
	text = {
		trigger = { culture = bosnian }
		localisation_key = plu_bosnianGEN
	}
	text = {
		trigger = { culture = coptic }
		localisation_key = plu_copticGEN
	}
	text = {
		trigger = { culture = crimean_gothic }
		localisation_key = plu_crimean_gothicGEN
	}
	text = {
		trigger = { culture = meshchera }
		localisation_key = plu_meshcheraGEN
	}
	text = {
		trigger = { culture = carantanian }
		localisation_key = plu_carantanianGEN
	}
	text = {
		trigger = { culture = daju }
		localisation_key = plu_dajuGEN
	}
	text = {
		trigger = { culture = kanuri }
		localisation_key = plu_kanuriGEN
	}
	text = {
		trigger = { culture = hausa }
		localisation_key = plu_hausaGEN
	}
	text = {
		trigger = { culture = zaghawa }
		localisation_key = plu_zaghawaGEN
	}
	text = {
		trigger = { culture = soninke }
		localisation_key = plu_soninkeGEN
	}
	text = {
		trigger = { culture = songhay }
		localisation_key = plu_songhayGEN
	}
	text = {
		trigger = { culture = hedgehog_culture }
		localisation_key = plu_hedgehog_cultureGEN
	}
	text = {
		trigger = { culture = duck_culture }
		localisation_key = plu_duck_cultureGEN
	}
	text = {
		trigger = { culture = dog_culture }
		localisation_key = plu_dog_cultureGEN
	}
	text = {
		trigger = { culture = elephant_culture }
		localisation_key = plu_elephant_cultureGEN
	}
	text = {
		trigger = { culture = dragon_culture }
		localisation_key = plu_dragon_cultureGEN
	}
	text = {
		trigger = { culture = red_panda }
		localisation_key = plu_red_pandaGEN
	}
	fallback_text = {
		localisation_key = CULTURE_PLU_FALLBACK_GEN
	}
}
#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
	use_first_valid = yes
	text = {
		trigger = { offmap_ruler = { always = yes } is_offmap_tag = offmap_china }
		localisation_key = SHORT_NAME_FOR_CHINA
	}
	text = {
		trigger = { province_id = THIS }
		localisation_key = SHORT_NAME_FOR_PROVINCE
	}
	fallback_text = {
		localisation_key = BASE_NAME_FOR_TITLE
	}
}
#GetShortGenericName   ()
defined_text = {
	name = GetShortGenericNameGEN

	text = {
		trigger = { offmap_ruler = { always = yes } 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 = { offmap_ruler = { always = yes } 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 = { is_renamed_culture_trigger = yes }
		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 = sardinian
		}
		localisation_key = String_GetLangAdjective_Sard
	}
	text = {
		trigger = {
			culture_group = arabic
		}
		localisation_key = String_GetLangAdjective_Arabic
	}
	fallback_text = {
		localisation_key = String_GetLangAdjective_Fallback
	}
}
#Religion.GetName,    
defined_text = {
	name = GetReligionNameINS
	use_first_valid = yes
	text = {
		trigger = { is_renamed_religion_trigger = yes }
		localisation_key = religion_INS_Random
	}
	text = {
		trigger = { religion = catholic	catholic = { NOT = { is_name_randomized = yes } } }
		localisation_key = catholic_INS
	}
	text = {
		trigger = { religion = cathar	cathar  = { NOT = { is_name_randomized = yes } } }
		localisation_key = cathar_INS
	}
	text = {
		trigger = { religion = fraticelli	fraticelli  = { NOT = { is_name_randomized = yes } } }
		localisation_key = fraticelli_INS
	}
	text = {
		trigger = { religion = waldensian	waldensian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = waldensian_INS
	}
	text = {
		trigger = { religion = lollard	lollard  = { NOT = { is_name_randomized = yes } } }
		localisation_key = lollard_INS
	}
	text = {
		trigger = { religion = orthodox	orthodox  = { NOT = { is_name_randomized = yes } } }
		localisation_key = orthodox_INS
	}
	text = {
		trigger = { religion = miaphysite	miaphysite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = miaphysite_INS
	}
	text = {
		trigger = { religion = monophysite	monophysite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = monophysite_INS
	}
	text = {
		trigger = { religion = bogomilist	bogomilist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bogomilist_INS
	}
	text = {
		trigger = { religion = monothelite	monothelite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = monothelite_INS
	}
	text = {
		trigger = { religion = iconoclast	iconoclast  = { NOT = { is_name_randomized = yes } } }
		localisation_key = iconoclast_INS
	}
	text = {
		trigger = { religion = paulician	paulician  = { NOT = { is_name_randomized = yes } } }
		localisation_key = paulician_INS
	}
	text = {
		trigger = { religion = nestorian	nestorian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = nestorian_INS
	}
	text = {
		trigger = { religion = messalian	messalian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = messalian_INS
	}
	text = {
		trigger = { religion = sunni	sunni  = { NOT = { is_name_randomized = yes } } }
		localisation_key = sunni_INS
	}
	text = {
		trigger = { religion = zikri	zikri  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zikri_INS
	}
	text = {
		trigger = { religion = yazidi	yazidi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = yazidi_INS
	}
	text = {
		trigger = { religion = ibadi	ibadi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = ibadi_INS
	}
	text = {
		trigger = { religion = kharijite	kharijite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = kharijite_INS
	}
	text = {
		trigger = { religion = qarmatian	qarmatian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = qarmatian_INS
	}
	text = {
		trigger = { religion = shiite	shiite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = shiite_INS
	}
	text = {
		trigger = { religion = druze	druze  = { NOT = { is_name_randomized = yes } } }
		localisation_key = druze_INS
	}
	text = {
		trigger = { religion = hurufi	hurufi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hurufi_INS
	}
	text = {
		trigger = { religion = pagan	pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = pagan_INS
	}
	text = {
		trigger = { religion = norse_pagan_reformed	norse_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = norse_pagan_reformed_INS
	}
	text = {
		trigger = { religion = norse_pagan	norse_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = norse_pagan_INS
	}
	text = {
		trigger = { religion = tengri_pagan_reformed	tengri_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = tengri_pagan_reformed_INS
	}
	text = {
		trigger = { religion = tengri_pagan	tengri_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = tengri_pagan_INS
	}
	text = {
		trigger = { religion = baltic_pagan_reformed	baltic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = baltic_pagan_reformed_INS
	}
	text = {
		trigger = { religion = baltic_pagan	baltic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = baltic_pagan_INS
	}
	text = {
		trigger = { religion = finnish_pagan_reformed	finnish_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = finnish_pagan_reformed_INS
	}
	text = {
		trigger = { religion = finnish_pagan	finnish_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = finnish_pagan_INS
	}
	text = {
		trigger = { religion = aztec_reformed	aztec  = { NOT = { is_name_randomized = yes } } }
		localisation_key = aztec_reformed_INS
	}
	text = {
		trigger = { religion = aztec	aztec  = { NOT = { is_name_randomized = yes } } }
		localisation_key = aztec_INS
	}
	text = {
		trigger = { religion = slavic_pagan_reformed	slavic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = slavic_pagan_reformed_INS
	}
	text = {
		trigger = { religion = slavic_pagan	slavic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = slavic_pagan_INS
	}
	text = {
		trigger = { religion = west_african_pagan_reformed	west_african_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = west_african_pagan_reformed_INS
	}
	text = {
		trigger = { religion = west_african_pagan	west_african_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = west_african_pagan_INS
	}
	text = {
		trigger = { religion = zun_pagan_reformed	zun_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zun_pagan_reformed_INS
	}
	text = {
		trigger = { religion = zun_pagan	zun_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zun_pagan_INS
	}
	text = {
		trigger = { religion = hellenic_pagan	hellenic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hellenic_pagan_INS
	}
	text = {
		trigger = { religion = hellenic_pagan_reformed	hellenic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hellenic_pagan_INS
	}
	text = {
		trigger = { religion = bon	bon  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bon_INS
	}
	text = {
		trigger = { religion = bon_reformed	bon_reformed  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bon_INS
	}
	text = {
		trigger = { religion = zoroastrian	zoroastrian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zoroastrian_INS
	}
	text = {
		trigger = { religion = mazdaki	mazdaki  = { NOT = { is_name_randomized = yes } } }
		localisation_key = mazdaki_INS
	}
	text = {
		trigger = { religion = manichean	manichean  = { NOT = { is_name_randomized = yes } } }
		localisation_key = manichean_INS
	}
	text = {
		trigger = { religion = khurmazta	khurmazta  = { NOT = { is_name_randomized = yes } } }
		localisation_key = khurmazta_INS
	}
	text = {
		trigger = { religion = jewish	jewish  = { NOT = { is_name_randomized = yes } } }
		localisation_key = jewish_INS
	}
	text = {
		trigger = { religion = samaritan	samaritan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = samaritan_INS
	}
	text = {
		trigger = { religion = karaite	karaite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = karaite_INS
	}
	text = {
		trigger = { religion = hindu	hindu  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hindu_INS
	}
	text = {
		trigger = { religion = buddhist	buddhist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = buddhist_INS
	}
	text = {
		trigger = { religion = jain	jain  = { NOT = { is_name_randomized = yes } } }
		localisation_key = jain_INS
	}
	text = {
		trigger = { religion = taoist	taoist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = taoist_INS
	}
	fallback_text = {
		localisation_key = religion_INS_Fallback
	}
}
#Religion.GetName,    
defined_text = {
	name = GetReligionNameGEN
	use_first_valid = yes
	text = {
		trigger = { is_renamed_religion_trigger = yes }
		localisation_key = religion_GEN_Random
	}
	text = {
		trigger = { religion = catholic	catholic = { NOT = { is_name_randomized = yes } } }
		localisation_key = catholic_GEN
	}
	text = {
		trigger = { religion = cathar	cathar  = { NOT = { is_name_randomized = yes } } }
		localisation_key = cathar_GEN
	}
	text = {
		trigger = { religion = fraticelli	fraticelli  = { NOT = { is_name_randomized = yes } } }
		localisation_key = fraticelli_GEN
	}
	text = {
		trigger = { religion = waldensian	waldensian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = waldensian_GEN
	}
	text = {
		trigger = { religion = lollard	lollard  = { NOT = { is_name_randomized = yes } } }
		localisation_key = lollard_GEN
	}
	text = {
		trigger = { religion = orthodox	orthodox  = { NOT = { is_name_randomized = yes } } }
		localisation_key = orthodox_GEN
	}
	text = {
		trigger = { religion = miaphysite	miaphysite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = miaphysite_GEN
	}
	text = {
		trigger = { religion = monophysite	monophysite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = monophysite_GEN
	}
	text = {
		trigger = { religion = bogomilist	bogomilist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bogomilist_GEN
	}
	text = {
		trigger = { religion = monothelite	monothelite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = monothelite_GEN
	}
	text = {
		trigger = { religion = iconoclast	iconoclast  = { NOT = { is_name_randomized = yes } } }
		localisation_key = iconoclast_GEN
	}
	text = {
		trigger = { religion = paulician	paulician  = { NOT = { is_name_randomized = yes } } }
		localisation_key = paulician_GEN
	}
	text = {
		trigger = { religion = nestorian	nestorian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = nestorian_GEN
	}
	text = {
		trigger = { religion = messalian	messalian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = messalian_GEN
	}
	text = {
		trigger = { religion = sunni	sunni  = { NOT = { is_name_randomized = yes } } }
		localisation_key = sunni_GEN
	}
	text = {
		trigger = { religion = zikri	zikri  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zikri_GEN
	}
	text = {
		trigger = { religion = yazidi	yazidi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = yazidi_GEN
	}
	text = {
		trigger = { religion = ibadi	ibadi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = ibadi_GEN
	}
	text = {
		trigger = { religion = kharijite	kharijite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = kharijite_GEN
	}
	text = {
		trigger = { religion = qarmatian	qarmatian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = qarmatian_GEN
	}
	text = {
		trigger = { religion = shiite	shiite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = shiite_GEN
	}
	text = {
		trigger = { religion = druze	druze  = { NOT = { is_name_randomized = yes } } }
		localisation_key = druze_GEN
	}
	text = {
		trigger = { religion = hurufi	hurufi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hurufi_GEN
	}
	text = {
		trigger = { religion = pagan	pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = pagan_GEN
	}
	text = {
		trigger = { religion = norse_pagan_reformed	norse_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = norse_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = norse_pagan	norse_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = norse_pagan_GEN
	}
	text = {
		trigger = { religion = tengri_pagan_reformed	tengri_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = tengri_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = tengri_pagan	tengri_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = tengri_pagan_GEN
	}
	text = {
		trigger = { religion = baltic_pagan_reformed	baltic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = baltic_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = baltic_pagan	baltic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = baltic_pagan_GEN
	}
	text = {
		trigger = { religion = finnish_pagan_reformed	finnish_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = finnish_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = finnish_pagan	finnish_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = finnish_pagan_GEN
	}
	text = {
		trigger = { religion = aztec_reformed	aztec  = { NOT = { is_name_randomized = yes } } }
		localisation_key = aztec_reformed_GEN
	}
	text = {
		trigger = { religion = aztec	aztec  = { NOT = { is_name_randomized = yes } } }
		localisation_key = aztec_GEN
	}
	text = {
		trigger = { religion = slavic_pagan_reformed	slavic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = slavic_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = slavic_pagan	slavic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = slavic_pagan_GEN
	}
	text = {
		trigger = { religion = west_african_pagan_reformed	west_african_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = west_african_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = west_african_pagan	west_african_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = west_african_pagan_GEN
	}
	text = {
		trigger = { religion = zun_pagan_reformed	zun_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zun_pagan_reformed_GEN
	}
	text = {
		trigger = { religion = zun_pagan	zun_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zun_pagan_GEN
	}
	text = {
		trigger = { religion = hellenic_pagan	hellenic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { religion = hellenic_pagan_reformed	hellenic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { religion = bon	bon  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { religion = bon_reformed	bon_reformed  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { religion = zoroastrian	zoroastrian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zoroastrian_GEN
	}
	text = {
		trigger = { religion = mazdaki	mazdaki  = { NOT = { is_name_randomized = yes } } }
		localisation_key = mazdaki_GEN
	}
	text = {
		trigger = { religion = manichean	manichean  = { NOT = { is_name_randomized = yes } } }
		localisation_key = manichean_GEN
	}
	text = {
		trigger = { religion = khurmazta	khurmazta  = { NOT = { is_name_randomized = yes } } }
		localisation_key = khurmazta_GEN
	}
	text = {
		trigger = { religion = jewish	jewish  = { NOT = { is_name_randomized = yes } } }
		localisation_key = jewish_GEN
	}
	text = {
		trigger = { religion = samaritan	samaritan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = samaritan_GEN
	}
	text = {
		trigger = { religion = karaite	karaite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = karaite_GEN
	}
	text = {
		trigger = { religion = hindu	hindu  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hindu_GEN
	}
	text = {
		trigger = { religion = buddhist	buddhist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = buddhist_GEN
	}
	text = {
		trigger = { religion = jain	jain  = { NOT = { is_name_randomized = yes } } }
		localisation_key = jain_GEN
	}
	text = {
		trigger = { religion = taoist	taoist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = taoist_GEN
	}
	fallback_text = {
		localisation_key = religion_GEN_Fallback
	}
}
#TrueReligion.GetName,    
defined_text = {
	name = GetTrueReligionNameGEN
	use_first_valid = yes
	text = {
		trigger = { is_renamed_true_religion_trigger = yes }
		localisation_key = true_religion_GEN_Random
	}
	text = {
		trigger = { true_religion = catholic catholic  = { NOT = { is_name_randomized = yes } } }
		localisation_key = catholic_GEN
	}
	text = {
		trigger = { true_religion = cathar cathar  = { NOT = { is_name_randomized = yes } } }
		localisation_key = cathar_GEN
	}
	text = {
		trigger = { true_religion = fraticelli fraticelli  = { NOT = { is_name_randomized = yes } } }
		localisation_key = fraticelli_GEN
	}
	text = {
		trigger = { true_religion = waldensian waldensian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = waldensian_GEN
	}
	text = {
		trigger = { true_religion = lollard lollard  = { NOT = { is_name_randomized = yes } } }
		localisation_key = lollard_GEN
	}
	text = {
		trigger = { true_religion = orthodox orthodox  = { NOT = { is_name_randomized = yes } } }
		localisation_key = orthodox_GEN
	}
	text = {
		trigger = { true_religion = miaphysite miaphysite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = miaphysite_GEN
	}
	text = {
		trigger = { true_religion = monophysite monophysite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = monophysite_GEN
	}
	text = {
		trigger = { true_religion = bogomilist bogomilist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bogomilist_GEN
	}
	text = {
		trigger = { true_religion = monothelite monothelite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = monothelite_GEN
	}
	text = {
		trigger = { true_religion = iconoclast iconoclast  = { NOT = { is_name_randomized = yes } } }
		localisation_key = iconoclast_GEN
	}
	text = {
		trigger = { true_religion = paulician paulician  = { NOT = { is_name_randomized = yes } } }
		localisation_key = paulician_GEN
	}
	text = {
		trigger = { true_religion = nestorian nestorian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = nestorian_GEN
	}
	text = {
		trigger = { true_religion = messalian messalian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = messalian_GEN
	}
	text = {
		trigger = { true_religion = sunni sunni  = { NOT = { is_name_randomized = yes } } }
		localisation_key = sunni_GEN
	}
	text = {
		trigger = { true_religion = zikri zikri  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zikri_GEN
	}
	text = {
		trigger = { true_religion = yazidi yazidi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = yazidi_GEN
	}
	text = {
		trigger = { true_religion = ibadi ibadi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = ibadi_GEN
	}
	text = {
		trigger = { true_religion = kharijite kharijite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = kharijite_GEN
	}
	text = {
		trigger = { true_religion = qarmatian qarmatian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = qarmatian_GEN
	}
	text = {
		trigger = { true_religion = shiite shiite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = shiite_GEN
	}
	text = {
		trigger = { true_religion = druze druze  = { NOT = { is_name_randomized = yes } } }
		localisation_key = druze_GEN
	}
	text = {
		trigger = { true_religion = hurufi hurufi  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hurufi_GEN
	}
	text = {
		trigger = { true_religion = pagan pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = pagan_GEN
	}
	text = {
		trigger = { true_religion = norse_pagan_reformed norse_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = norse_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = norse_pagan norse_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = norse_pagan_GEN
	}
	text = {
		trigger = { true_religion = tengri_pagan_reformed tengri_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = tengri_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = tengri_pagan tengri_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = tengri_pagan_GEN
	}
	text = {
		trigger = { true_religion = baltic_pagan_reformed baltic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = baltic_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = baltic_pagan baltic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = baltic_pagan_GEN
	}
	text = {
		trigger = { true_religion = finnish_pagan_reformed finnish_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = finnish_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = finnish_pagan finnish_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = finnish_pagan_GEN
	}
	text = {
		trigger = { true_religion = aztec_reformed aztec  = { NOT = { is_name_randomized = yes } } }
		localisation_key = aztec_reformed_GEN
	}
	text = {
		trigger = { true_religion = aztec aztec  = { NOT = { is_name_randomized = yes } } }
		localisation_key = aztec_GEN
	}
	text = {
		trigger = { true_religion = slavic_pagan_reformed slavic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = slavic_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = slavic_pagan slavic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = slavic_pagan_GEN
	}
	text = {
		trigger = { true_religion = west_african_pagan_reformed west_african_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = west_african_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = west_african_pagan west_african_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = west_african_pagan_GEN
	}
	text = {
		trigger = { true_religion = zun_pagan_reformed zun_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zun_pagan_reformed_GEN
	}
	text = {
		trigger = { true_religion = zun_pagan zun_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zun_pagan_GEN
	}
	text = {
		trigger = { true_religion = hellenic_pagan hellenic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { true_religion = hellenic_pagan_reformed hellenic_pagan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hellenic_pagan_GEN
	}
	text = {
		trigger = { true_religion = bon bon  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { true_religion = bon_reformed bon_reformed  = { NOT = { is_name_randomized = yes } } }
		localisation_key = bon_GEN
	}
	text = {
		trigger = { true_religion = zoroastrian zoroastrian  = { NOT = { is_name_randomized = yes } } }
		localisation_key = zoroastrian_GEN
	}
	text = {
		trigger = { true_religion = mazdaki mazdaki  = { NOT = { is_name_randomized = yes } } }
		localisation_key = mazdaki_GEN
	}
	text = {
		trigger = { true_religion = manichean manichean  = { NOT = { is_name_randomized = yes } } }
		localisation_key = manichean_GEN
	}
	text = {
		trigger = { true_religion = khurmazta khurmazta  = { NOT = { is_name_randomized = yes } } }
		localisation_key = khurmazta_GEN
	}
	text = {
		trigger = { true_religion = jewish jewish  = { NOT = { is_name_randomized = yes } } }
		localisation_key = jewish_GEN
	}
	text = {
		trigger = { true_religion = samaritan samaritan  = { NOT = { is_name_randomized = yes } } }
		localisation_key = samaritan_GEN
	}
	text = {
		trigger = { true_religion = karaite karaite  = { NOT = { is_name_randomized = yes } } }
		localisation_key = karaite_GEN
	}
	text = {
		trigger = { true_religion = hindu hindu  = { NOT = { is_name_randomized = yes } } }
		localisation_key = hindu_GEN
	}
	text = {
		trigger = { true_religion = buddhist buddhist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = buddhist_GEN
	}
	text = {
		trigger = { true_religion = jain jain  = { NOT = { is_name_randomized = yes } } }
		localisation_key = jain_GEN
	}
	text = {
		trigger = { true_religion = taoist taoist  = { NOT = { is_name_randomized = yes } } }
		localisation_key = taoist_GEN
	}
	fallback_text = {
		localisation_key = true_religion_GEN_Fallback
	}
}
#     - 
defined_text = {
	name = GetFamiliarGuyFOA

	text = {
		trigger = { age = 45 }
		localisation_key = SON_FOA
	}
	text = {
		trigger = { age = 21 NOT = { age = 45 } }
		localisation_key = GUY_FOA
	}
	text = {
		trigger = { NOT = { age = 21} }
		localisation_key = FRIEND_FOA
	}
	fallback_text = {
		localisation_key = FRIEND_FOA
	}
}
#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
	}
}
#/
defined_text = {
	name = GetDaughterSonPlural

	text = {
		trigger = { is_female = yes }
		localisation_key = string_docheri
	}
	text = {
		trigger = { is_female = no }
		localisation_key = string_syniovya
	}
	fallback_text = {
		localisation_key = string_deti
	}
}
defined_text = {
	name = GetDaughterSonPluralOpp

	text = {
		trigger = { is_female = no }
		localisation_key = string_docheri
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = string_syniovya
	}
	fallback_text = {
		localisation_key = string_deti
	}
}
#/
defined_text = {
	name = GetMotherFatherPlural

	text = {
		trigger = { is_female = yes }
		localisation_key = string_materi
	}
	text = {
		trigger = { is_female = no }
		localisation_key = string_otsty
	}
	fallback_text = {
		localisation_key = string_roditeli
	}
}
defined_text = {
	name = GetMotherFatherPluralOpp

	text = {
		trigger = { is_female = no }
		localisation_key = string_materi
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = string_otsty
	}
	fallback_text = {
		localisation_key = string_roditeli
	}
}
# 
defined_text = {
	name = GetSisterBrotherACC

	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_SisterACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_BrotherGEN
	}
	fallback_text = {
		localisation_key = GetRelation_BrotherGEN
	}
}
defined_text = {
	name = GetSisterBrotherOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_SisterACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_BrotherGEN
	}
	fallback_text = {
		localisation_key = GetRelation_SisterACC
	}
}
# 
defined_text = {
	name = GetSisterBrotherGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_SisterGEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_BrotherGEN
	}
	fallback_text = {
		localisation_key = GetRelation_BrotherGEN
	}
}
defined_text = {
	name = GetSisterBrotherOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_SisterGEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_BrotherGEN
	}
	fallback_text = {
		localisation_key = GetRelation_SisterGEN
	}
}
# 
defined_text = {
	name = GetSisterBrotherDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_SisterDAT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_BrotherDAT
	}
	fallback_text = {
		localisation_key = GetRelation_BrotherDAT
	}
}
defined_text = {
	name = GetSisterBrotherOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_SisterDAT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_BrotherDAT
	}
	fallback_text = {
		localisation_key = GetRelation_SisterDAT
	}
}
# 
defined_text = {
	name = GetSisterBrotherINS

	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_SisterINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_BrotherINS
	}
	fallback_text = {
		localisation_key = GetRelation_BrotherINS
	}
}
defined_text = {
	name = GetSisterBrotherOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = GetRelation_SisterINS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = GetRelation_BrotherINS
	}
	fallback_text = {
		localisation_key = GetRelation_SisterINS
	}
}
#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
	}
}
#/
defined_text = {
	name = GetUncleAuntFOA

	text = {
		trigger = { is_female = yes }
		localisation_key = AUNT_FOA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = UNCLE_FOA
	}
	fallback_text = {
		localisation_key = UNCLE_FOA
	}
}
defined_text = {
	name = GetUncleAuntFOAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = AUNT_FOA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = UNCLE_FOA
	}
	fallback_text = {
		localisation_key = AUNT_FOA
	}
}
# 
defined_text = {
	name = GetLadLassINS

	text = {
		trigger = { is_female = yes }
		localisation_key = LGIRL_INS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LBOY_INS
	}
	fallback_text = {
		localisation_key = CHILD_FB_INS
	}
}
defined_text = {
	name = GetLadLassOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = LGIRL_INS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LBOY_INS
	}
	fallback_text = {
		localisation_key = CHILD_FB_INS
	}
}
#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
	}
}
#Forsed to show
defined_text = {
	name = GetSheHe_

	text = {
		trigger = { is_female = yes }
		localisation_key = EV_SHE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HE
	}
	fallback_text = {
		localisation_key = EV_HE
	}
}
defined_text = {
	name = GetSheHeOpp_

	text = {
		trigger = { is_female = no }
		localisation_key = EV_SHE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HE
	}
	fallback_text = {
		localisation_key = EV_SHE
	}
}
defined_text = {
	name = GetHersHis_

	text = {
		trigger = { is_female = yes }
		localisation_key = POSS_PRONOUN_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
#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 = GetEndIha

	text = {
		trigger = { is_female = yes }
		localisation_key = END_IHA
	}
}
defined_text = {
	name = GetEndIhaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_IHA
	}
}
#Returns the string named "" for female characters, "" - otherwise
defined_text = {
	name = GetIhoyOm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_IHOY
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
defined_text = {
	name = GetIhoyOmOpp

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_IHOY
	}
}
#SUCCESION_LOG Returns the string named "" for female characters, empty string for male characters
defined_text = {
	name = GetSuccesionLogEndA
	use_first_valid = yes
	text = {
		trigger = {
			FROM = {
				is_ruler = yes
				is_alive = yes
				is_female = yes
			}
		}
		localisation_key = END_A
	}
	text = {
		trigger = {
			FROM = {
				is_ruler = yes
				is_alive = yes
				is_female = no
			}
		}
		localisation_key = EMPTY_CHAR_EMU
	}
	text = {
		trigger = {
			ROOT = {
				is_ruler = yes
				is_alive = yes
				is_female = yes
			}
		}
		localisation_key = END_A
	}
	text = {
		trigger = {
			ROOT = {
				is_ruler = yes
				is_alive = yes
				is_female = no
			}
		}
		localisation_key = EMPTY_CHAR_EMU
	}
}
defined_text = {
	name = GetSuccesionLogEndAOpp
	use_first_valid = yes
	text = {
		trigger = {
			FROM = {
				is_ruler = yes
				is_alive = yes
				is_female = no
			}
		}
		localisation_key = END_A
	}
	text = {
		trigger = {
			FROM = {
				is_ruler = yes
				is_alive = yes
				is_female = yes
			}
		}
		localisation_key = EMPTY_CHAR_EMU
	}
	text = {
		trigger = {
			ROOT = {
				is_ruler = yes
				is_alive = yes
				is_female = no
			}
		}
		localisation_key = END_A
	}
	text = {
		trigger = {
			ROOT = {
				is_ruler = yes
				is_alive = yes
				is_female = yes
			}
		}
		localisation_key = EMPTY_CHAR_EMU
	}
}
#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
	}
}
#Returns the string named "" for female characters, "" for male characters
defined_text = {
	name = GetYiA

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YI
	}
	fallback_text = {
		localisation_key = END_A
	}
}
defined_text = {
	name = GetYiAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YI
	}
	fallback_text = {
		localisation_key = END_A
	}
}
#<>/     (, /)
defined_text = {
	name = GetEndK

	text = {
		trigger = { is_female = no }
		localisation_key = END_K
	}
}
defined_text = {
	name = GetEndKOpp

	text = {
		trigger = { is_female = yes }
		localisation_key = END_K
	}
}
#/     (, /)
defined_text = {
	name = GetKV

	text = {
		trigger = { is_female = yes }
		localisation_key = END_K
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_V
	}
	fallback_text = {
		localisation_key = END_V
	}
}
defined_text = {
	name = GetKVOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_K
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_V
	}
	fallback_text = {
		localisation_key = END_K
	}
}
#/     ( )
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
	}
}
#/     ( )
defined_text = {
	name = GetUKe

	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 = GetUKeOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_U
	}
	fallback_text = {
		localisation_key = END_KE
	}
}
#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 = GetSoftIA

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_I
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_A
	}
}
defined_text = {
	name = GetSoftIAOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_I
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_SOFT_I
	}
}
#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 (, /) if religion names aren't random
#Returns the string named "" for female characters, <empty> for male characters (, /) if religion names are random
defined_text = {
	name = GetTsaK_AltRelEndKa

	text = {
		trigger = {
			is_female = yes
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
		localisation_key = END_TSA
	}
	text = {
		trigger = {
			is_female = no
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
		localisation_key = END_K
	}
	text = {
		trigger = {
			is_female = yes
			has_alternate_start_parameter = { key = religion_names value = random }
		}
		localisation_key = END_KA
	}
}
defined_text = {
	name = GetTsaK_AltRelEndKaOpp

	text = {
		trigger = {
			is_female = no
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
		localisation_key = END_TSA
	}
	text = {
		trigger = {
			is_female = yes
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
		}
		localisation_key = END_K
	}
	text = {
		trigger = {
			is_female = no
			has_alternate_start_parameter = { key = religion_names value = random }
		}
		localisation_key = END_KA
	}
}
#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 = GetTsyKi

	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KI
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
defined_text = {
	name = GetTsyKiOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_TSY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KI
	}
	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 = GetChkeKu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_CHKE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_KU
	}
	fallback_text = {
		localisation_key = END_KU
	}
}
defined_text = {
	name = GetChkeKuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_CHKE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_KU
	}
	fallback_text = {
		localisation_key = END_CHKE
	}
}
#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 NON-ALTNAMED religion male characters (, /)
defined_text = {
	name = GetKaIn_AltRel

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
		}
		localisation_key = END_IN
	}
}
defined_text = {
	name = GetKaIn_AltRelOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = GetItseTsu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSU
	}
	fallback_text = {
		localisation_key = END_TSU
	}
}
defined_text = {
	name = GetItseTsuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSU
	}
	fallback_text = {
		localisation_key = END_ITSE
	}
}
#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 = GetItsyEtsa

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ITSY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_ETSA
	}
	fallback_text = {
		localisation_key = END_ETSA
	}
}
defined_text = {
	name = GetItsyEtsaOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ITSY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ETSA
	}
	fallback_text = {
		localisation_key = END_EITSY
	}
}
#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 = GetIstkeTsu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ISTKE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSU
	}
	fallback_text = {
		localisation_key = END_TSU
	}
}
defined_text = {
	name = GetIstkeTsuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_ISTKE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_TSU
	}
	fallback_text = {
		localisation_key = END_ISTKE
	}
}
#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 = GetSoftEyOm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_EY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
defined_text = {
	name = GetSoftEyOmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_EY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_SOFT_EY
	}
}
#    (/)
defined_text = {
	name = GetEyuIm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_EYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
defined_text = {
	name = GetEyuImOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_EYU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_EYU
	}
}
defined_text = {
	name = GetEyuImCap

	text = {
		trigger = { is_female = yes }
		localisation_key = END_EYU_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IM_CAP
	}
	fallback_text = {
		localisation_key = END_IM_CAP
	}
}
defined_text = {
	name = GetEyuImOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_EYU_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_IM_CAP
	}
	fallback_text = {
		localisation_key = END_EYU_CAP
	}
}
#    (/)
defined_text = {
	name = GetOyuIm

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
defined_text = {
	name = GetOyuImOpp

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

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YM
	}
	fallback_text = {
		localisation_key = END_YM
	}
}
defined_text = {
	name = GetOyuYmOpp

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

	text = {
		trigger = { is_female = yes }
		localisation_key = END_OYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
defined_text = {
	name = GetOyuOmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_OYU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OYU
	}
}
# /,  /
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 = GetManWomanPreferenceGEN
	text = {
		localisation_key = String_manGEN
		trigger = { prefers_men_trigger = yes }
	}
	text = {
		localisation_key = String_womanGEN
		trigger = { prefers_men_trigger = no }
	}
}
# 
defined_text = {
	name = GetManWomanPreferenceINS
	text = {
		localisation_key = String_manINS
		trigger = { prefers_men_trigger = yes }
	}
	text = {
		localisation_key = String_womanINS
		trigger = { prefers_men_trigger = no }
	}
}
defined_text = {
	name = GetPreferenceHersHis

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = POSS_PRONOUN_FEM
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
#Opp version of GetPreferenceHersHis
defined_text = {
	name = GetPreferenceHersHisOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = POSS_PRONOUN_FEM
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = EV_HIS
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
# "/" (  "?")
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 = GetPreferenceOyaOy

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_OYA
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OYA
	}
}
defined_text = {
	name = GetPreferenceOyaOyOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_OYA
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
# "/" (  "?")
defined_text = {
	name = GetPreferenceUyuOgo

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_UYU
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_UYU
	}
}
defined_text = {
	name = GetPreferenceUyuOgoOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_OGO
	}
	fallback_text = {
		localisation_key = END_OGO
	}
}
# "/" (  "?")
defined_text = {
	name = GetPreferenceYGo

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_Y
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_GO
	}
	fallback_text = {
		localisation_key = END_Y
	}
}
defined_text = {
	name = GetPreferenceYGoOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_GO
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_Y
	}
	fallback_text = {
		localisation_key = END_GO
	}
}
# "/" (  "?")
defined_text = {
	name = GetPreferenceOyYm

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_OY
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_YM
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetPreferenceOyYmOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_OY
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_YM
	}
	fallback_text = {
		localisation_key = END_YM
	}
}
# "e/" (  "?")
defined_text = {
	name = GetPreferenceEyIm

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = EV_HER
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = EV_HER
	}
}
defined_text = {
	name = GetPreferenceEyImOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = EV_HER
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
#    (/,  /)
defined_text = {
	name = GetPreferenceSoftEyOm

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_SOFT_EY
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_SOFT_EY
	}
}
defined_text = {
	name = GetPreferenceSoftEyOmOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_SOFT_EY
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_OM
	}
	fallback_text = {
		localisation_key = END_OM
	}
}
# "e/" (  " ?")
defined_text = {
	name = GetPreferenceEyuIm

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_EYU
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_EYU
	}
}
defined_text = {
	name = GetPreferenceEyuImOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_EYU
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_IM
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
# "/"
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 = GetPreferenceTsyKi

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_TSY
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_KI
	}
	fallback_text = {
		localisation_key = END_TSY
	}
}
defined_text = {
	name = GetPreferenceTsyKiOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_TSY
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_KY
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
# "/"
defined_text = {
	name = GetPreferenceTsyKa

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_TSY
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_TSY
	}
}
defined_text = {
	name = GetPreferenceTsyKaOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = END_TSY
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = END_KA
	}
	fallback_text = {
		localisation_key = END_KI
	}
}
#"/"
defined_text = {
	name = GetPreferenceBoyGirlACC

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = BOY_ACC
	}
	fallback_text = {
		localisation_key = GIRL_ACC
	}
}
defined_text = {
	name = GetPreferenceBoyGirlACCOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = BOY_ACC
	}
	fallback_text = {
		localisation_key = BOY_ACC
	}
}
#"/"
defined_text = {
	name = GetPreferenceBoyGirlDAT

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = GIRL_DAT
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = BOY_DAT
	}
	fallback_text = {
		localisation_key = GIRL_DAT
	}
}
defined_text = {
	name = GetPreferenceBoyGirlDATOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = GIRL_DAT
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = BOY_DAT
	}
	fallback_text = {
		localisation_key = BOY_DAT
	}
}
#"/"
defined_text = {
	name = GetPreferenceBoyGirlACC

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = GIRL_ACC
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = BOY_ACC
	}
	fallback_text = {
		localisation_key = GIRL_ACC
	}
}
#"/"
defined_text = {
	name = GetBoysGirlsGENACC

	text = {
		trigger = { is_female = yes }
		localisation_key = GIRLs_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = BOYs_GEN
	}
	fallback_text = {
		localisation_key = BOYs_GEN
	}
}
defined_text = {
	name = GetBoysGirlsGENACCOpp

	text = {
		trigger = { is_female = no }
		localisation_key = GIRLs_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = BOYs_GEN
	}
	fallback_text = {
		localisation_key = GIRLs_GEN
	}
}
defined_text = {
	name = GetPreferenceBoysGirlsGENACC

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = GIRLs_GEN
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = BOYs_GEN
	}
	fallback_text = {
		localisation_key = GIRLs_GEN
	}
}
defined_text = {
	name = GetPreferenceBoysGirlsGENACCOpp

	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = GIRLs_GEN
	}
	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = BOYs_GEN
	}
	fallback_text = {
		localisation_key = BOYs_GEN
	}
}
#" /"    
defined_text = {
	name = GetPreferenceAwardINS

	text = {
		trigger = { prefers_men_trigger = no }
		localisation_key = string_PreferenceAwardINS_FEM
	}
	text = {
		trigger = { prefers_men_trigger = yes }
		localisation_key = string_PreferenceAwardINS_MAL
	}
	fallback_text = {
		localisation_key = string_PreferenceAwardINS_FEM
	}
}
# "/" (  "?")
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 = GetSSya

	text = {
		trigger = { is_female = yes }
		localisation_key = END_S_
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SYA
	}
	fallback_text = {
		localisation_key = END_SYA
	}
}
defined_text = {
	name = GetSSyaOpp

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

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SYA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_ES_
	}
	fallback_text = {
		localisation_key = END_ES_
	}
}
defined_text = {
	name = GetSyaEsOpp

	text = {
		trigger = { is_female = yes }
		localisation_key = END_ES_
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SYA
	}
	fallback_text = {
		localisation_key = END_SYA
	}
}
# "/" (, /)
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 = GetUyuYy

	text = {
		trigger = { is_female = yes }
		localisation_key = END_UYU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YY
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
defined_text = {
	name = GetUyuYyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_UYU
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YY
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
# "/" (, /)
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 = GetIneOe

	text = {
		trigger = { is_female = yes }
		localisation_key = END_INE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OE
	}
	fallback_text = {
		localisation_key = END_OE
	}
}
defined_text = {
	name = GetIneOeOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_INE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OE
	}
	fallback_text = {
		localisation_key = END_INE
	}
}
# "/" (, /)
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 = GetEndKaSoft

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT
	}
	fallback_text = {
		localisation_key = END_SOFT
	}
}
defined_text = {
	name = GetEndKaSoftOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT
	}
	fallback_text = {
		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 = GetKeTsu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_TSU
	}
	fallback_text = {
		localisation_key = END_TSU
	}
}
defined_text = {
	name = GetKeTsuOpp

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

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_INU
	}
	fallback_text = {
		localisation_key = END_INU
	}
}
defined_text = {
	name = GetKeInuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_INU
	}
	fallback_text = {
		localisation_key = END_KE
	}
}
# "/" (, /)
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 = GetYkeYu

	text = {
		trigger = { is_female = yes }
		localisation_key = END_YKE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_YU
	}
	fallback_text = {
		localisation_key = END_YU
	}
}
defined_text = {
	name = GetYkeYuOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_YKE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_YU
	}
	fallback_text = {
		localisation_key = END_YKE
	}
}
# "/" (, /)
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 = GetKaOk

	text = {
		trigger = { is_female = yes }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OK
	}
	fallback_text = {
		localisation_key = END_OK
	}
}
defined_text = {
	name = GetKaOkOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_KA
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OK
	}
	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 = GetSoftNitsEy

	text = {
		trigger = { is_female = yes }
		localisation_key = END_SOFT_NITS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EV_HER
	}
	fallback_text = {
		localisation_key = EV_HER
	}
}
defined_text = {
	name = GetSoftNitsEyOpp

	text = {
		trigger = { is_female = no }
		localisation_key = END_SOFT_NITS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EV_HER
	}
	fallback_text = {
		localisation_key = END_SOFT_NITS
	}
}
#   "/" (, /)
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 = GetLaOl

	text = {
		trigger = { is_female = yes }
		localisation_key = FEMALE_ENDING_E
	}
	text = {
		trigger = { is_female = no }
		localisation_key = END_OL
	}
	fallback_text = {
		localisation_key = END_OL
	}
}
defined_text = {
	name = GetLaOlOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEMALE_ENDING_E
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = END_OL
	}
	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
	}
}
#"/" (, /) THIS + FROM
defined_text = {
	name = GetFromEO

	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_O
	}
	fallback_text = {
		localisation_key = END_O
	}
}
#"/" (, /) THIS + ROOT
defined_text = {
	name = GetRootEO

	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_O
	}
	fallback_text = {
		localisation_key = END_O
	}
}
#"/"    
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 = GetHumanOrNone
	
	text = {
		trigger = {
			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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = String_HUMAN
	}
}
#   EVTDESCAHFP20703
defined_text = {
	name = GetAHFP20703Humanity
	use_first_valid = yes
	
	text = {
		trigger = {
			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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = EVTDESCAHFP20703_HUMAN
	}
}
#"///..."    
defined_text = {
	name = GetCannibalMeat
	use_first_valid = yes
	
	text = {
		trigger = { graphical_culture = redpandagfx }
		localisation_key = String_Meat_Panda
	}
	text = {
		trigger = { graphical_culture = beargfx }
		localisation_key = String_Meat_Bear
	}
	text = {
		trigger = { graphical_culture = horsegfx }
		localisation_key = String_Meat_Horse
	}
	text = {
		trigger = { graphical_culture = catgfx }
		localisation_key = String_Meat_Cat
	}
	text = {
		trigger = { graphical_culture = hedgehoggfx }
		localisation_key = String_Meat_Hedgehog
	}
	text = {
		trigger = { graphical_culture = duckgfx }
		localisation_key = String_Meat_Duck
	}
	text = {
		trigger = { graphical_culture = doggfx }
		localisation_key = String_Meat_Dog
	}
	text = {
		trigger = { graphical_culture = elephantgfx }
		localisation_key = String_Meat_Elephant
	}
	text = {
		trigger = { graphical_culture = dragongfx }
		localisation_key = String_Meat_Dragon
	}
	text = {
		trigger = {
			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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = String_Meat_Human
	}
	fallback_text = {
		localisation_key = String_Meat_Human
	}
}
#" / /...",     
defined_text = {
	name = GetManOfWord
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MOW_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = beargfx
		}
		localisation_key = MOW_BEAR
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = horsegfx
		}
		localisation_key = MOW_HORSE
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = catgfx
		}
		localisation_key = MOW_CAT
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MOW_HEDGEHOG
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = duckgfx
		}
		localisation_key = MOW_DUCK
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = doggfx
		}
		localisation_key = MOW_DOG
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MOW_ELEPHANT
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = dragongfx
		}
		localisation_key = MOW_DRAGON
	}
	fallback_text = {
		localisation_key = MOW_HUMAN
	}
}
#"/", "/", "/"    
defined_text = {
	name = GetAgedPerson
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = IS_MALE
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
#"/", "/", "/"    
defined_text = {
	name = GetAgedPersonMP
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = GUY_FOA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = IS_MALE
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
defined_text = {
	name = GetAgedPersonMPOpp
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = GUY_FOA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = IS_MALE
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback
	}
}
#"/", "/", "/"    
defined_text = {
	name = GetAgedPersonMs
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDAs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDAs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDAs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDAs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEARs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEARs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEARs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEARs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSEs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSEs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSEs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSEs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CATs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CATs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CATs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CATs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOGs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOGs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOGs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOGs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCKs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCKs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCKs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCKs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOGs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOGs
	}
	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_DOGs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANTs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANTs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANTs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANTs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGONs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGONs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGONs
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGONs
	}
	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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = LASSs
	}
	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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = LADs
	}
	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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = GIRLs
	}
	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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = BOYs
	}
	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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = WOMEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = MEN
	}
	fallback_text = {
		localisation_key = CHARACTERs_Fallback
	}
}
#"/", "/", "/"  (-)    
defined_text = {
	name = GetAgedPersonC
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_ACC
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_ACC
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_ACC
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_ACC
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_ACC
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_ACC
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_ACC
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_GEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_GEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = HUMAN_ACC
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
#"//..."  . ,     
defined_text = {
	name = GetMalePersonGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEAR_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_COMMON_HORSE_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_COMMON_CAT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_COMMON_DUCK_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_COMMON_DOG_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANT_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGON_GEN
	}
	fallback_text = {
		localisation_key = HUMAN_ACC
	}
}
#"/", "/", "/"  (-)      . 
defined_text = {
	name = GetAgedPersonCGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_GEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_GEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_GEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_GEN
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = MAN_GEN
	}
	fallback_text = {
		localisation_key = CHARACTER_Fallback_ACC
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonsMGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGONs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGONs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGONs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGONs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = LGIRLs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = LBOYs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = GIRLs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = BOYs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = WOMANs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = MANs_GEN
	}
	fallback_text = {
		localisation_key = CHARACTERs_Fallbacks_GENACC
	}
}
defined_text = {
	name = GetAgedPersonsMOppGEN
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDAs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = GIRL_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = beargfx
		}
		localisation_key = BOY_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = WOMAN_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = beargfx
		}
		localisation_key = MAN_BEARs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = GIRL_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = horsegfx
		}
		localisation_key = BOY_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = WOMAN_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = horsegfx
		}
		localisation_key = MAN_HORSEs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = GIRL_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = catgfx
		}
		localisation_key = BOY_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = WOMAN_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = catgfx
		}
		localisation_key = MAN_CATs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = GIRL_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = hedgehoggfx
		}
		localisation_key = BOY_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = WOMAN_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = hedgehoggfx
		}
		localisation_key = MAN_HEDGEHOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = GIRL_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = duckgfx
		}
		localisation_key = BOY_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = WOMAN_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = duckgfx
		}
		localisation_key = MAN_DUCKs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = GIRL_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = doggfx
		}
		localisation_key = BOY_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = WOMAN_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = doggfx
		}
		localisation_key = MAN_DOGs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = GIRL_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = elephantgfx
		}
		localisation_key = BOY_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = WOMAN_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = elephantgfx
		}
		localisation_key = MAN_ELEPHANTs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = GIRL_DRAGONs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = dragongfx
		}
		localisation_key = BOY_DRAGONs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = WOMAN_DRAGONs_GEN
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = dragongfx
		}
		localisation_key = MAN_DRAGONs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = LGIRLs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = LBOYs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = GIRLs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = BOYs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = WOMANs_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
				graphical_culture = redpandagfx
			}
		}
		localisation_key = MANs_GEN
	}
	fallback_text = {
		localisation_key = CHARACTERs_Fallbacks_GENACC
	}
}
#"/", "/", "/"      . 
defined_text = {
	name = GetAgedPersonINS
	use_first_valid = yes
	
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = GIRL_PANDA_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_INS
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_INS
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_INS
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_PREP
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_PREP
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_PREP
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_DAT
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = redpandagfx
		}
		localisation_key = GIRL_PANDA_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = no
			graphical_culture = redpandagfx
		}
		localisation_key = BOY_PANDA_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = no
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = WOMAN_PANDA_DAT
	}
	text = {
		trigger = {
			has_game_started = yes
			is_female = yes
			is_marriage_adult = yes
			graphical_culture = redpandagfx
		}
		localisation_key = MAN_PANDA_DAT
	}
	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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = GetLordLadyEng

	text = {
		trigger = { is_female = yes }
		localisation_key = F_ENG_LADY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = M_ENG_LORD
	}
	fallback_text = {
		localisation_key = M_ENG_LORD
	}
}
defined_text = {
	name = GetLordLadyEngOpp

	text = {
		trigger = { is_female = no }
		localisation_key = F_ENG_LADY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = M_ENG_LORD
	}
	fallback_text = {
		localisation_key = F_ENG_LADY
	}
}
#"/"
defined_text = {
	name = GetLordLadyEngCap

	text = {
		trigger = { is_female = yes }
		localisation_key = F_ENG_LADY_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = M_ENG_LORD_CAP
	}
	fallback_text = {
		localisation_key = M_ENG_LORD_CAP
	}
}
defined_text = {
	name = GetLordLadyEngCapOpp

	text = {
		trigger = { is_female = no }
		localisation_key = F_ENG_LADY_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = M_ENG_LORD_CAP
	}
	fallback_text = {
		localisation_key = F_ENG_LADY_CAP
	}
}
#"/"
defined_text = {
	name = GetLordLadyEngDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = F_ENG_LADY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = M_ENG_LORD_DAT
	}
	fallback_text = {
		localisation_key = M_ENG_LORD
	}
}
defined_text = {
	name = GetLordLadyEngOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = F_ENG_LADY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = M_ENG_LORD_DAT
	}
	fallback_text = {
		localisation_key = F_ENG_LADY
	}
}
#"/"
defined_text = {
	name = GetLordLadyEngINS

	text = {
		trigger = { is_female = yes }
		localisation_key = F_ENG_LADY
	}
	text = {
		trigger = { is_female = no }
		localisation_key = M_ENG_LORD_INS
	}
	fallback_text = {
		localisation_key = M_ENG_LORD
	}
}
defined_text = {
	name = GetLordLadyEngOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = F_ENG_LADY
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = M_ENG_LORD_INS
	}
	fallback_text = {
		localisation_key = F_ENG_LADY
	}
}
#"/"
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 = GetLordLadyINS

	text = {
		trigger = { is_female = yes }
		localisation_key = LADY_INS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = LORD_INS
	}
	fallback_text = {
		localisation_key = LORD_INS
	}
}
defined_text = {
	name = GetLordLadyOppINS

	text = {
		trigger = { is_female = no }
		localisation_key = LADY_INS
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = LORD_INS
	}
	fallback_text = {
		localisation_key = LADY_INS
	}
}
#"/"
defined_text = {
	name = GetMotherFatherOpp #(- )

	text = {
		trigger = { is_female = yes }
		localisation_key = REL_FATHER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = REL_MOTHER
	}
	fallback_text = {
		localisation_key = REL_FATHER
	}
}
#"/" ( )
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 = GetHusbandsWifes

	text = {
		trigger = { is_female = yes }
		localisation_key = WIFE_PLU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = HUSBAND_PLU
	}
	fallback_text = {
		localisation_key = WIFE_PLU
	}
}
defined_text = {
	name = GetHusbandsWifesOpp

	text = {
		trigger = { is_female = yes }
		localisation_key = HUSBAND_PLU
	}
	text = {
		trigger = { is_female = no }
		localisation_key = WIFE_PLU
	}
	fallback_text = {
		localisation_key = HUSBAND_PLU
	}
}
#"/"
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 = GetWillMarry

	text = {
		trigger = { is_female = yes }
		localisation_key = VYIDU_ZAMUZH
	}
	text = {
		trigger = { is_female = no }
		localisation_key = ZHENUS
	}
	fallback_text = {
		localisation_key = ZHENUS
	}
}
defined_text = {
	name = GetWillMarryOpp

	text = {
		trigger = { is_female = no }
		localisation_key = VYIDU_ZAMUZH
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = ZHENUS
	}
	fallback_text = {
		localisation_key = ZHENUS
	}
}

#"  /"
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 = GetHussyInsolent

	text = {
		trigger = { is_female = yes }
		localisation_key = String_hussy
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_insolent
	}
	fallback_text = {
		localisation_key = String_insolent
	}
}
defined_text = {
	name = GetHussyInsolentOpp

	text = {
		trigger = { is_female = no }
		localisation_key = String_hussy
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_insolent
	}
	fallback_text = {
		localisation_key = String_hussy
	}
}
#""/"" -  
defined_text = {
	name = GetHussyInsolentACC

	text = {
		trigger = { is_female = yes }
		localisation_key = String_hussyACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_insolentACC
	}
	fallback_text = {
		localisation_key = String_insolentACC
	}
}
defined_text = {
	name = GetHussyInsolentOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = String_hussyACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = String_insolentACC
	}
	fallback_text = {
		localisation_key = String_hussyACC
	}
}
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 = GetEagle

	text = {
		trigger = { is_female = yes }
		localisation_key = EAGLE_FEM
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EAGLE_MAL
	}
	fallback_text = {
		localisation_key = EAGLE_MAL
	}
}
defined_text = {
	name = GetEagleOpp

	text = {
		trigger = { is_female = no }
		localisation_key = EAGLE_FEM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EAGLE_MAL
	}
	fallback_text = {
		localisation_key = EAGLE_FEM
	}
}
defined_text = {
	name = GetEagleCap

	text = {
		trigger = { is_female = yes }
		localisation_key = EAGLE_FEM_CAP
	}
	text = {
		trigger = { is_female = no }
		localisation_key = EAGLE_MAL_CAP
	}
	fallback_text = {
		localisation_key = EAGLE_MAL_CAP
	}
}
defined_text = {
	name = GetEagleOpp
	text = {
		trigger = { is_female = no }
		localisation_key = EAGLE_FEM_CAP
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = EAGLE_MAL_CAP
	}
	fallback_text = {
		localisation_key = EAGLE_FEM_CAP
	}
}
#"/"
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
	}
}
#"/"    
defined_text = {
	name = GetDeathReaperShort

	text = {
		trigger = { is_female = yes }
		localisation_key = N_DEATH
	}
	text = {
		trigger = { is_female = no }
		localisation_key = N_REAPER_SHORT
	}
	fallback_text = {
		localisation_key = N_DEATH
	}
}
defined_text = {
	name = GetDeathReaperShortOpp

	text = {
		trigger = { is_female = no }
		localisation_key = N_DEATH
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = N_REAPER_SHORT
	}
	fallback_text = {
		localisation_key = N_DEATH
	}
}
# 
defined_text = {
	name = GetDeathReaperACC

	text = {
		trigger = { is_female = yes }
		localisation_key = N_DEATH_ACC
	}
	text = {
		trigger = { is_female = no }
		localisation_key = N_REAPER_ACC
	}
	fallback_text = {
		localisation_key = N_DEATH_ACC
	}
}
defined_text = {
	name = GetDeathReaperOppACC

	text = {
		trigger = { is_female = no }
		localisation_key = N_DEATH_ACC
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = N_REAPER_ACC
	}
	fallback_text = {
		localisation_key = N_DEATH_ACC
	}
}
# 
defined_text = {
	name = GetDeathReaperGEN

	text = {
		trigger = { is_female = yes }
		localisation_key = N_DEATH_GEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = N_REAPER_GEN
	}
	fallback_text = {
		localisation_key = N_DEATH_GEN
	}
}
defined_text = {
	name = GetDeathReaperOppGEN

	text = {
		trigger = { is_female = no }
		localisation_key = N_DEATH_GEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = N_REAPER_GEN
	}
	fallback_text = {
		localisation_key = N_DEATH_GEN
	}
}
#"/" (nickname)
defined_text = {
	name = GetNickFair

	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_CAP
	}
	fallback_text = {
		localisation_key = MALE_HONORIFIC_CAP
	}
}
defined_text = {
	name = GetNickLordOfRealmOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_LORDOFREALM
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MALE_HONORIFIC_CAP
	}
	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 = GetNickScourge

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_SCOURGE
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_SCOURGE
	}
	fallback_text = {
		localisation_key = MAL_NICK_SCOURGE
	}
}
defined_text = {
	name = GetNickScourgeOfGodOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_SCOURGE
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_SCOURGE
	}
	fallback_text = {
		localisation_key = FEM_NICK_SCOURGE
	}
}
#" / "     (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
	}
}
#" / "     (nickname)
defined_text = {
	name = GetNickWhiteRaven

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_WHITE_RAVEN
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_WHITE_RAVEN
	}
	fallback_text = {
		localisation_key = MAL_NICK_WHITE_RAVEN
	}
}
defined_text = {
	name = GetNickWhiteRavenOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_WHITE_RAVEN
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_WHITE_RAVEN
	}
	fallback_text = {
		localisation_key = FEM_NICK_WHITE_RAVEN
	}
}
#" / "     (nickname)
defined_text = {
	name = GetNickCrimsonReaper

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_CRIMSON_REAPER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_CRIMSON_REAPER
	}
	fallback_text = {
		localisation_key = MAL_NICK_CRIMSON_REAPER
	}
}
defined_text = {
	name = GetNickCrimsonReaperOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_CRIMSON_REAPER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_CRIMSON_REAPER
	}
	fallback_text = {
		localisation_key = FEM_NICK_CRIMSON_REAPER
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickBulwark

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_BULWARK
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_BULWARK
	}
	fallback_text = {
		localisation_key = MAL_NICK_BULWARK
	}
}
defined_text = {
	name = GetNickBulwarkOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_BULWARK
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_BULWARK
	}
	fallback_text = {
		localisation_key = FEM_NICK_BULWARK
	}
}
#" /"     (nickname)
defined_text = {
	name = GetNickGnat

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_GNAT
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_GNAT
	}
	fallback_text = {
		localisation_key = MAL_NICK_GNAT
	}
}
defined_text = {
	name = GetNickGnatOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_GNAT
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_GNAT
	}
	fallback_text = {
		localisation_key = FEM_NICK_GNAT
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickMoaner

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_MOANER
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_MOANER
	}
	fallback_text = {
		localisation_key = MAL_NICK_MOANER
	}
}
defined_text = {
	name = GetNickMoanerOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_MOANER
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_MOANER
	}
	fallback_text = {
		localisation_key = FEM_NICK_MOANER
	}
}
#"/"     (nickname)
defined_text = {
	name = GetNickLiar

	text = {
		trigger = { is_female = yes }
		localisation_key = FEM_NICK_LIAR
	}
	text = {
		trigger = { is_female = no }
		localisation_key = MAL_NICK_LIAR
	}
	fallback_text = {
		localisation_key = MAL_NICK_LIAR
	}
}
defined_text = {
	name = GetNickLiarOpp

	text = {
		trigger = { is_female = no }
		localisation_key = FEM_NICK_LIAR
	}
	text = {
		trigger = { is_female = yes }
		localisation_key = MAL_NICK_LIAR
	}
	fallback_text = {
		localisation_key = FEM_NICK_LIAR
	}
}
#The Great Beast (nickname)
defined_text = {
	name = GetNickRegionalBigAnimal
	
	text = {
		localisation_key = String_Stag
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_Stag_Female
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_Bear
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
					region = world_himalayas					
				}
			}
		}
	}
	text = {
		localisation_key = String_Bear_Female
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
					region = world_himalayas					
				}
			}
		}
	}
	text = {
		localisation_key = String_Tiger
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
				}
			}
		}
	}
	text = {
		localisation_key = String_Tiger_Female
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
				}
			}
		}
	}
	text = {
		localisation_key = String_Lion
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	text = {
		localisation_key = String_Lion_Female
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	text = {
		localisation_key = String_animalCap_fallback #Beast
		trigger = {
			is_female = no
		}
	}
	text = {
		localisation_key = String_animalCap_Female_fallback #Beast
		trigger = {
			is_female = yes
		}
	}
}
#"/"    
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 = { is_renamed_religion_trigger = yes }
		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 = qarmatian }
		localisation_key = QARMATIAN_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 = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		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 = { is_renamed_religion_trigger = yes }
		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 = qarmatian }
		localisation_key = QARMATIAN_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 = {
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		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 = GetRelGroupAdj
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = CHRISTIAN_GROUP_ADJ
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = MUSLIM_GROUP_ADJ
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = pagan_group
		}
		localisation_key = PAGAN_ADJ
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = zoroastrian_group
		}
		localisation_key = ZOROASTRIAN_ADJ
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = JEWISH_ADJ
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_ADJ
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			religion = buddhist
		}
		localisation_key = BUDDHIST_ADJ
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			religion = taoist
		}
		localisation_key = TAOIST_ADJ
	}
	fallback_text = {
		localisation_key = GetRelGroupAdj_fallback
	}
}
#   (, /)
defined_text = {
	name = GetRelGroupNick
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_M
	}
	fallback_text = {
		localisation_key = GetRelGroupNick_fallback
	}
}
defined_text = {
	name = GetRelGroupNickOpp
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_F
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_M
	}
	fallback_text = {
		localisation_key = GetRelGroupNickOpp_fallback
	}
}
defined_text = {
	name = GetRelGroupNickCap
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_M_CAP
	}
	fallback_text = {
		localisation_key = GetRelGroupNick_fallback
	}
}
defined_text = {
	name = GetRelGroupNickCapOpp
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F_CAP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_F_CAP
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_M_CAP
	}
	fallback_text = {
		localisation_key = GetRelGroupNickOpp_fallback
	}
}
defined_text = {
	name = GetRelGroupNickGEN
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M_GEN
	}
	text = {
		trigger = {
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_M_GEN
	}
	fallback_text = {
		localisation_key = GetRelGroupNick_fallback_GEN
	}
}
defined_text = {
	name = GetRelGroupNickOppGEN
	use_first_valid = yes
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = christian
		}
		localisation_key = CHRISTIAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = christian
		}
		localisation_key = CHRISTIAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = muslim
		}
		localisation_key = MUSLIM_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = muslim
		}
		localisation_key = MUSLIM_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = pagan_group
		}
		localisation_key = PAGAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = pagan_group
		}
		localisation_key = PAGAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = zoroastrian_group
			NOT = { religion = manichean }
			NOT = { religion = khurmazta }
		}
		localisation_key = ZOROASTRIAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			religion_group = jewish_group
		}
		localisation_key = JEWISH_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			religion_group = jewish_group
		}
		localisation_key = JEWISH_M_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = no
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_F_GEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			is_female = yes
			OR = {
				religion = hindu
				religion = jain
			}
		}
		localisation_key = HINDU_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = buddhist
		}
		localisation_key = BUDDHIST_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = buddhist
		}
		localisation_key = BUDDHIST_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = manichean
		}
		localisation_key = MANICHEAN_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = manichean
		}
		localisation_key = MANICHEAN_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = khurmazta
		}
		localisation_key = KHURMAZTA_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			OR = {
				religion = bon
				religion = bon_reformed
			}
		}
		localisation_key = BON_M_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = no
			religion = taoist
		}
		localisation_key = TAOIST_F_GEN
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			is_female = yes
			religion = taoist
		}
		localisation_key = TAOIST_M_GEN
	}
	fallback_text = {
		localisation_key = GetRelGroupNickOpp_fallback_GEN
	}
}

#        (, "")
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 = { is_renamed_religion_trigger = yes }
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = SOLNTSE_FOA
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
		}
		localisation_key = NEBO_FOA
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			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 = { is_renamed_religion_trigger = yes }
			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 = { is_renamed_religion_trigger = yes }
			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 = { is_renamed_religion_trigger = yes }
			OR = {
				religion = zun_pagan
				religion = zun_pagan_reformed
			}
		}
		localisation_key = O_SOLNTSE
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			OR = {
				religion = tengri_pagan
				religion = tengri_pagan_reformed
			}
		}
		localisation_key = O_NEBO
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			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 = { is_renamed_religion_trigger = yes }
			religion = yazidi
		}
		localisation_key = O_MALAK
	}
	text = {
		trigger = {
			NOT = { is_renamed_religion_trigger = yes }
			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 = {
			zun_pagan = { NOT = { is_name_randomized = no } }
			OR = {
				true_religion = zun_pagan
				true_religion = zun_pagan_reformed
			}
		}
		localisation_key = O_SOLNTSE
	}
	text = {
		trigger = {
			tengri_pagan = { NOT = { is_name_randomized = no } }
			OR = {
				true_religion = tengri_pagan
				true_religion = tengri_pagan_reformed
			}
		}
		localisation_key = O_NEBO
	}
	text = {
		trigger = {
			buddhist = { NOT = { is_name_randomized = no } }
			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 = {
			yazidi = { NOT = { is_name_randomized = no } }
			true_religion = yazidi
		}
		localisation_key = O_MALAK
	}
	text = {
		trigger = {
			taoist = { NOT = { is_name_randomized = no } }
			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 = {
		localisation_key = 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 = { #Does not work for jain and buddhist
	name = GetMOGodPREP_O

	text = {
		localisation_key = String_GodPREP_O
		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_O
		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_O
		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_O
		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_O
		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 = GetHOWAyaYy
	use_first_valid = yes
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = END_YY
	}
	text = {
		localisation_key = AYA_POSTFIX
		trigger = { religion_group = christian }
	}
	text = {
		localisation_key = AYA_POSTFIX
		trigger = { religion_group = muslim }
	}
	text = {
		localisation_key = END_YY
		trigger = { religion_group = pagan_group }
	}
	text = {
		localisation_key = END_YY
		trigger = { religion_group = zoroastrian_group }
	}
	text = {
		localisation_key = AYA_POSTFIX
		trigger = { religion_group = jewish_group }
	}
	text = {
		localisation_key = END_YY
		trigger = { religion = hindu }
	}
	text = {
		localisation_key = END_YY
		trigger = { religion = buddhist }
	}
	text = {
		localisation_key = END_YY
		trigger = { religion = jain }
	}
	text = {
		localisation_key = END_YY
		trigger = { religion = taoist }
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
#   (/)       
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_Catholics
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_Christians
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Cathars
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Waldensians
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Lollards
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bogomilists
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Monothelites
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Iconoclasts
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Paulicians
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Miaphysites
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Monophysites
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Nestorians
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Messalians
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Sunnis
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zikris
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Yazidis
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Shias
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Druzes
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hurufis
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Ibadis
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Kharijites
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Qarmatians
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jews
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Samaritans
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Karaites
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zoroastrians
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Mazdakis
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Manicheans
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hindus
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Buddhists
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jains
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Followers
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Romuvans
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_Followers
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_Africans
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Aztecs
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Aztecs
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Followers
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Romuvans
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_Africans
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Khurmaztas
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bons
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hellenes
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Taoists
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Pagans
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_GetReligiousPersons_ALT
	}
}
# 
defined_text = {
	name = GetReligionAdherentGEN
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPGEN
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianGEN
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharPGEN
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianPGEN
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardPGEN
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistPGEN
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonothelitePGEN
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastPGEN
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianPGEN
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysitePGEN
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysitePGEN
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianPGEN
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianPGEN
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniPGEN
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriPGEN
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiPGEN
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaPGEN
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzePGEN
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiPGEN
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiPGEN
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijitePGEN
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianPGEN
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPGEN
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanPGEN
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraitePGEN
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianPGEN
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiPGEN
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanPGEN
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduPGEN
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistPGEN
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainPGEN
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerGEN
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPGEN
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPGEN
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanPGEN
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_FollowerGEN
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanPGEN
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPGEN
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPGEN
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPGEN
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerGEN
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPGEN
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPGEN
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanPGEN
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerGEN
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanPGEN
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPGEN
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaPGEN
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonPGEN
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HellenePGEN
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistPGEN
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganPGEN
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomGEN
	}
}
# 
defined_text = {
	name = GetReligionAdherentDAT
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPDAT
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianDAT
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharPDAT
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianPDAT
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardPDAT
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistPDAT
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonothelitePDAT
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastPDAT
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianPDAT
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysitePDAT
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysitePDAT
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianPDAT
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianPDAT
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniPDAT
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriPDAT
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiPDAT
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaPDAT
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzePDAT
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiPDAT
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiPDAT
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijitePDAT
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianPDAT
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPDAT
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanPDAT
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraitePDAT
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianPDAT
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiPDAT
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanPDAT
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduPDAT
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistPDAT
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainPDAT
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerDAT
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPDAT
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPDAT
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanPDAT
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_FollowerDAT
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanPDAT
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPDAT
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPDAT
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPDAT
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerDAT
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPDAT
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPDAT
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanPDAT
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerDAT
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanPDAT
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPDAT
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaPDAT
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonPDAT
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HellenePDAT
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistPDAT
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganPDAT
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomDAT
	}
}

# 
defined_text = {
	name = GetReligionAdherentINS
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPINS
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharPINS
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianPINS
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardPINS
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistPINS
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonothelitePINS
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastPINS
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianPINS
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysitePINS
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysitePINS
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianPINS
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianPINS
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniPINS
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriPINS
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiPINS
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaPINS
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzePINS
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiPINS
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiPINS
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijitePINS
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianPINS
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPINS
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanPINS
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraitePINS
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianPINS
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiPINS
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanPINS
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduPINS
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistPINS
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainPINS
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerINS
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerINS
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaPINS
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonPINS
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HellenePINS
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistPINS
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganPINS
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomINS
	}
}
# 
defined_text = {
	name = GetTrueReligionPersonINS
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPINS
		trigger = {
			true_religion_catholic_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	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
			true_religion_khurmazta_trigger = no
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_BuddhistPINS
		trigger = {
			true_religion_buddhist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_JainPINS
		trigger = {
			true_religion_jain_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_HinduPINS
		trigger = {
			true_religion_hindu_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_NorsePINS
		trigger = {
			OR = {
				true_religion_norse_pagan_trigger = yes
				true_religion_norse_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			OR = {
				true_religion_baltic_pagan_trigger = yes
				true_religion_baltic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			OR = {
				true_religion_slavic_pagan_trigger = yes
				true_religion_slavic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_FinnPINS
		trigger = {
			OR = {
				true_religion_finnish_pagan_reformed_trigger = yes
				true_religion_finnish_pagan_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			OR = {
				true_religion_tengri_pagan_trigger = yes
				true_religion_tengri_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			OR = {
				true_religion_west_african_pagan_trigger = yes
				true_religion_west_african_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			OR = {
				true_religion_zun_pagan_trigger = yes
				true_religion_zun_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			OR = {
				true_religion_aztec_reformed_trigger = yes
				true_religion_aztec_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_KhurmaztaPINS
		trigger = {
			true_religion_khurmazta_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_BonPINS
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_HellenePINS
		trigger = {
			OR = {
				true_religion_hellenic_pagan_trigger = yes
				true_religion_hellenic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_TaoistPINS
		trigger = {
			true_religion_taoist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_PaganPINS
		trigger = {
			true_religion_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	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 = GetReligionAdherent_M
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicP_M
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_Christian_M
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharP_M
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP_M
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianP_M
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardP_M
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistP_M
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonotheliteP_M
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastP_M
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianP_M
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysiteP_M
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysiteP_M
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianP_M
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianP_M
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniP_M
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriP_M
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiP_M
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaP_M
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzeP_M
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiP_M
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiP_M
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijiteP_M
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianP_M
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewP_M
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanP_M
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraiteP_M
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianP_M
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiP_M
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanP_M
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduP_M
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistP_M
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainP_M
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Follower_M
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavP_M
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriP_M
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanP_M
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_Follower_M
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanP_M
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunP_M
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecP_M
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecP_M
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Follower_M
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavP_M
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriP_M
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanP_M
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Follower_M
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanP_M
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunP_M
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaP_M
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonP_M
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HelleneP_M
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistP_M
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganP_M
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_random_M
	}
}
# 
defined_text = {
	name = GetReligionAdherentACC
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPACC
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianACC
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharPACC
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianPACC
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardPACC
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistPACC
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonothelitePACC
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastPACC
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianPACC
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysitePACC
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysitePACC
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianPACC
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianPACC
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniPACC
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriPACC
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiPACC
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaPACC
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzePACC
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiPACC
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiPACC
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijitePACC
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianPACC
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPACC
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanPACC
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraitePACC
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianPACC
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiPACC
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanPACC
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduPACC
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistPACC
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainPACC
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerACC
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPACC
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPACC
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanPACC
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_FollowerACC
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanPACC
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPACC
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPACC
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPACC
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerACC
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPACC
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPACC
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanPACC
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerACC
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanPACC
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPACC
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaPACC
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonPACC
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HellenePACC
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistPACC
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganPACC
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomACC
	}
}
#/ .   .
defined_text = {
	name = GetReligionAdherentGENACC_M
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPGENACC_M
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianGENACC_M
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharPGENACC_M
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliPGENACC_M
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianPGENACC_M
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardPGENACC_M
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistPGENACC_M
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonothelitePGENACC_M
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastPGENACC_M
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianPGENACC_M
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysitePGENACC_M
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysitePGENACC_M
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianPGENACC_M
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianPGENACC_M
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniPGENACC_M
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriPGENACC_M
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiPGENACC_M
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaPGENACC_M
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzePGENACC_M
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiPGENACC_M
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiPGENACC_M
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijitePGENACC_M
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianPGENACC_M
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPGENACC_M
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanPGENACC_M
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraitePGENACC_M
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianPGENACC_M
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiPGENACC_M
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanPGENACC_M
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduPGENACC_M
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistPGENACC_M
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainPGENACC_M
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerGENACC_M
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPGENACC_M
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPGENACC_M
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanPGENACC_M
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_FollowerGENACC_M
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanPGENACC_M
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPGENACC_M
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPGENACC_M
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPGENACC_M
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerGENACC_M
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPGENACC_M
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPGENACC_M
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanPGENACC_M
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerGENACC_M
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanPGENACC_M
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPGENACC_M
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaPGENACC_M
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonPGENACC_M
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HellenePGENACC_M
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistPGENACC_M
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganPGENACC_M
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomGENACC_M
	}
}
# 
defined_text = {
	name = GetReligionAdherents
	use_first_valid = yes
	text = {
		localisation_key = String_Catholics
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_Christians
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Cathars
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Waldensians
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Lollards
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bogomilists
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Monothelites
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Iconoclasts
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Paulicians
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Miaphysites
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Monophysites
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Nestorians
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Messalians
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Sunnis
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zikris
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Yazidis
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Shias
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Druzes
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hurufis
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Ibadis
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Kharijites
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Qarmatians
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jews
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Samaritans
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Karaites
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zoroastrians
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Mazdakis
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Manicheans
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hindus
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Buddhists
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jains
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Followers
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Romuvans
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_Followers
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_Africans
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Aztecs
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Aztecs
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Followers
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Romuvans
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_Africans
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Khurmaztas
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bons
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hellenes
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Taoists
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Pagans
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randoms
	}
}
# 
defined_text = {
	name = GetReligionAdherentsGENACC
	use_first_valid = yes
	text = {
		localisation_key = String_Catholics_GENACC
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_Christians_GENACC
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Cathars_GENACC
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Waldensians_GENACC
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Lollards_GENACC
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bogomilists_GENACC
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Monothelites_GENACC
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Iconoclasts_GENACC
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Paulicians_GENACC
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Miaphysites_GENACC
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Monophysites_GENACC
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Nestorians_GENACC
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Messalians_GENACC
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Sunnis_GENACC
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zikris_GENACC
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Yazidis_GENACC
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Shias_GENACC
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Druzes_GENACC
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hurufis_GENACC
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Ibadis_GENACC
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Kharijites_GENACC
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Qarmatians_GENACC
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jews_GENACC
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Samaritans_GENACC
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Karaites_GENACC
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zoroastrians_GENACC
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Mazdakis_GENACC
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Manicheans_GENACC
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hindus_GENACC
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Buddhists_GENACC
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jains_GENACC
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Followers_GENACC
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Slavs_GENACC
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Tengris_GENACC
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Romuvans_GENACC
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers_GENACC
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_Africans_GENACC
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zuns_GENACC
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Aztecs_GENACC
		trigger = {
			religion = aztec_reformed
			aztec_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	
	text = {
		localisation_key = String_Aztecs_GENACC
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Followers_GENACC
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Slavs_GENACC
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Tengris_GENACC
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Romuvans_GENACC
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers_GENACC
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_Africans_GENACC
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Zuns_GENACC
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Khurmaztas_GENACC
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bons_GENACC
		trigger = {
			religion = bon
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Bons_GENACC
		trigger = {
			religion = bon_reformed
			bon_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hellenes_GENACC
		trigger = {
			religion = hellenic_pagan
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Hellenes_GENACC
		trigger = {
			religion = hellenic_pagan_reformed
			hellenic_pagan_reformed = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Taoists_GENACC
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Pagans_GENACC
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomsGENACC
	}
}
defined_text = {
	name = GetReligionGroupPersons

	text = {
		localisation_key = String_Christians
		trigger = {
			religion_group = christian
			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_pagans
		trigger = {
			religion_group = pagan_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_Zoroastrians
		trigger = {
			religion_group = zoroastrian_group
			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_Indians
		trigger = {
			religion_group = indian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_random
	}
}
# ( ) 
defined_text = {
	name = GetReligionGroupPersonsGEN

	text = {
		localisation_key = String_ChristiansGEN
		trigger = {
			religion_group = christian
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimsGEN
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_pagansGEN
		trigger = {
			religion_group = pagan_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZoroastriansGEN
		trigger = {
			religion_group = zoroastrian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_JewsGEN
		trigger = {
			religion_group = jewish_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_IndiansGEN
		trigger = {
			religion_group = indian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_randomGEN
	}
}
# 
defined_text = {
	name = GetReligionGroupPersonsDAT

	text = {
		localisation_key = String_ChristiansDAT
		trigger = {
			religion_group = christian
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimsDAT
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_pagansDAT
		trigger = {
			religion_group = pagan_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZoroastriansDAT
		trigger = {
			religion_group = zoroastrian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_JewsDAT
		trigger = {
			religion_group = jewish_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_IndiansDAT
		trigger = {
			religion_group = indian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_randomDAT
	}
}
# 
defined_text = {
	name = GetReligionGroupPersonsPREP

	text = {
		localisation_key = String_ChristiansPREP
		trigger = {
			religion_group = christian
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_MuslimsPREP
		trigger = {
			religion_group = muslim
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_pagansPREP
		trigger = {
			religion_group = pagan_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_ZoroastriansPREP
		trigger = {
			religion_group = zoroastrian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_JewsPREP
		trigger = {
			religion_group = jewish_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	text = {
		localisation_key = String_IndiansPREP
		trigger = {
			religion_group = indian_group
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
	}
	fallback_text = {
		localisation_key = string_relgroup_randomPREP
	}
}

# ( ) 
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_truerelgroup_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_truerelgroup_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_truerelgroup_randomPREP
	}
}
# 
defined_text = {
	name = GetReligionAdherentINS
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPINS
		trigger = {
			religion = catholic
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = {
			religion = orthodox
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharPINS
		trigger = {
			religion = cathar
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			religion = fraticelli
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianPINS
		trigger = {
			religion = waldensian
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardPINS
		trigger = {
			religion = lollard
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistPINS
		trigger = {
			religion = bogomilist
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonothelitePINS
		trigger = {
			religion = monothelite
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastPINS
		trigger = {
			religion = iconoclast
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianPINS
		trigger = {
			religion = paulician
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysitePINS
		trigger = {
			religion = miaphysite
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysitePINS
		trigger = {
			religion = monophysite
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianPINS
		trigger = {
			religion = nestorian
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianPINS
		trigger = {
			religion = messalian
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniPINS
		trigger = {
			religion = sunni
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriPINS
		trigger = {
			religion = zikri
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiPINS
		trigger = {
			religion = yazidi
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaPINS
		trigger = {
			religion = shiite
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzePINS
		trigger = {
			religion = druze
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiPINS
		trigger = {
			religion = hurufi
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiPINS
		trigger = {
			religion = ibadi
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijitePINS
		trigger = {
			religion = kharijite
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianPINS
		trigger = {
			religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPINS
		trigger = {
			religion = jewish
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanPINS
		trigger = {
			religion = samaritan
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraitePINS
		trigger = {
			religion = karaite
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianPINS
		trigger = {
			religion = zoroastrian
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiPINS
		trigger = {
			religion = mazdaki
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanPINS
		trigger = {
			religion = manichean
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduPINS
		trigger = {
			religion = hindu
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistPINS
		trigger = {
			religion = buddhist
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainPINS
		trigger = {
			religion = jain
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerINS
		trigger = {
			religion = norse_pagan_reformed
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			religion = slavic_pagan_reformed
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			religion = tengri_pagan_reformed
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			religion = baltic_pagan_reformed
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			religion = finnish_pagan_reformed
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			religion = west_african_pagan_reformed
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			religion = zun_pagan_reformed
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			religion = aztec_reformed
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			religion = aztec
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_FollowerINS
		trigger = {
			religion = norse_pagan
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			religion = slavic_pagan
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			religion = tengri_pagan
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			religion = baltic_pagan
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			religion = finnish_pagan
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			religion = west_african_pagan
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			religion = zun_pagan
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaPINS
		trigger = {
			religion = khurmazta
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonPINS
		trigger = {
			OR = {
				religion = bon
				religion = bon_reformed
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HellenePINS
		trigger = {
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistPINS
		trigger = {
			religion = taoist
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganPINS
		trigger = {
			religion = pagan
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_randomINS
	}
}
# 
defined_text = {
	name = GetTrueReligionAdherentINS
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicPINS
		trigger = {
			true_religion_catholic_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = {
			true_religion_orthodox_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_CatharPINS
		trigger = {
			true_religion_cathar_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			true_religion_fraticelli_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_WaldensianPINS
		trigger = {
			true_religion_waldensian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_LollardPINS
		trigger = {
			true_religion_lollard_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_BogomilistPINS
		trigger = {
			true_religion_bogomilist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_MonothelitePINS
		trigger = {
			true_religion_monothelite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_IconoclastPINS
		trigger = {
			true_religion_iconoclast_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_PaulicianPINS
		trigger = {
			true_religion_paulician_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_MiaphysitePINS
		trigger = {
			true_religion_miaphysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_MonophysitePINS
		trigger = {
			true_religion_monophysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_NestorianPINS
		trigger = {
			true_religion_nestorian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_MessalianPINS
		trigger = {
			true_religion_messalian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_SunniPINS
		trigger = {
			true_religion_sunni_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ZikriPINS
		trigger = {
			true_religion_zikri_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_YazidiPINS
		trigger = {
			true_religion_yazidi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ShiaPINS
		trigger = {
			true_religion_shiite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_DruzeP
		trigger = {
			true_religion_druze_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_HurufiPINS
		trigger = {
			true_religion_hurufi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_IbadiPINS
		trigger = {
			true_religion_ibadi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_KharijitePINS
		trigger = {
			true_religion_kharijite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_QarmatianPINS
		trigger = {
			true_religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewPINS
		trigger = {
			true_religion_jewish_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_SamaritanPINS
		trigger = {
			true_religion_samaritan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_KaraitePINS
		trigger = {
			true_religion_karaite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ZoroastrianPINS
		trigger = {
			true_religion_zoroastrian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_MazdakiPINS
		trigger = {
			true_religion_mazdaki_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ManicheanPINS
		trigger = {
			true_religion_manichean_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_HinduPINS
		trigger = {
			true_religion_hindu_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_BuddhistPINS
		trigger = {
			true_religion_buddhist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_JainPINS
		trigger = {
			true_religion_jain_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_FollowerINS
		trigger = {
			true_religion_norse_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			true_religion_slavic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			true_religion_tengri_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			true_religion_baltic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			true_religion_finnish_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			true_religion_west_african_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			true_religion_zun_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			true_religion_aztec_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	
	text = {
		localisation_key = String_AztecPINS
		trigger = {
			true_religion_aztec_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_FollowerINS
		trigger = {
			true_religion_norse_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_SlavPINS
		trigger = {
			true_religion_slavic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_TengriPINS
		trigger = {
			true_religion_tengri_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_RomuvanPINS
		trigger = {
			true_religion_baltic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_FollowerINS
		trigger = {
			true_religion_finnish_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_AfricanPINS
		trigger = {
			true_religion_west_african_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_ZunPINS
		trigger = {
			true_religion_zun_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_KhurmaztaPINS
		trigger = {
			true_religion_khurmazta_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_BonPINS
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_HellenePINS
		trigger = {
			OR = {
				true_religion_hellenic_pagan_trigger = yes
				true_religion_hellenic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_TaoistPINS
		trigger = {
			true_religion_taoist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_PaganPINS
		trigger = {
			true_religion_pagan_trigger = yes }
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomINS
	}
}
# 
defined_text = {
	name = GetTrueReligionAdherents
	use_first_valid = yes
	text = {
		localisation_key = String_Catholics
		trigger = {
			true_religion_catholic_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_Christians
		trigger = {
			true_religion_orthodox_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Cathars
		trigger = {
			true_religion_cathar_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			true_religion_fraticelli_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Waldensians
		trigger = {
			true_religion_waldensian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Lollards
		trigger = {
			true_religion_lollard_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Bogomilists
		trigger = {
			true_religion_bogomilist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Monothelites
		trigger = {
			true_religion_monothelite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Iconoclasts
		trigger = {
			true_religion_iconoclast_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Paulicians
		trigger = {
			true_religion_paulician_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Miaphysites
		trigger = {
			true_religion_miaphysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Monophysites
		trigger = {
			true_religion_monophysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Nestorians
		trigger = {
			true_religion_nestorian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Messalians
		trigger = {
			true_religion_messalian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Sunnis
		trigger = {
			true_religion_sunni_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zikris
		trigger = {
			true_religion_zikri_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Yazidis
		trigger = {
			true_religion_yazidi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Shias
		trigger = {
			true_religion_shiite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_DruzeP
		trigger = {
			true_religion_druze_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hurufis
		trigger = {
			true_religion_hurufi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Ibadis
		trigger = {
			true_religion_ibadi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Kharijites
		trigger = {
			true_religion_kharijite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Qarmatians
		trigger = {
			true_religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jews
		trigger = {
			true_religion_jewish_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Samaritans
		trigger = {
			true_religion_samaritan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Karaites
		trigger = {
			true_religion_karaite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zoroastrians
		trigger = {
			true_religion_zoroastrian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Mazdakis
		trigger = {
			true_religion_mazdaki_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Manicheans
		trigger = {
			true_religion_manichean_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hindus
		trigger = {
			true_religion_hindu_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Buddhists
		trigger = {
			true_religion_buddhist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Jains
		trigger = {
			true_religion_jain_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_Followers
		trigger = {
			true_religion_norse_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = {
			true_religion_slavic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			true_religion_tengri_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Romuvans
		trigger = {
			true_religion_baltic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers
		trigger = {
			true_religion_finnish_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_Africans
		trigger = {
			true_religion_west_african_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = {
			true_religion_zun_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Aztecs
		trigger = {
			true_religion_aztec_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	
	text = {
		localisation_key = String_Aztecs
		trigger = {
			true_religion_aztec_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_Followers
		trigger = {
			true_religion_norse_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Slavs
		trigger = {
			true_religion_slavic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Tengris
		trigger = {
			true_religion_tengri_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Romuvans
		trigger = {
			true_religion_baltic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers
		trigger = {
			true_religion_finnish_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_Africans
		trigger = {
			true_religion_west_african_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zuns
		trigger = {
			true_religion_zun_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Khurmaztas
		trigger = {
			true_religion_khurmazta_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Bons
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hellenes
		trigger = {
			OR = {
				true_religion_hellenic_pagan_trigger = yes
				true_religion_hellenic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Taoists
		trigger = {
			true_religion_taoist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Pagans
		trigger = {
			true_religion_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomINS
	}
}
# ,    
defined_text = {
	name = GetTrueReligionAdherentsGENACC
	use_first_valid = yes
	text = {
		localisation_key = String_Catholics_GENACC
		trigger = {
			true_religion_catholic_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = {
			true_religion_orthodox_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Cathars_GENACC
		trigger = {
			true_religion_cathar_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			true_religion_fraticelli_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Waldensians_GENACC
		trigger = {
			true_religion_waldensian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Lollards_GENACC
		trigger = {
			true_religion_lollard_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Bogomilists_GENACC
		trigger = {
			true_religion_bogomilist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Monothelites_GENACC
		trigger = {
			true_religion_monothelite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Iconoclasts_GENACC
		trigger = {
			true_religion_iconoclast_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Paulicians_GENACC
		trigger = {
			true_religion_paulician_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Miaphysites_GENACC
		trigger = {
			true_religion_miaphysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Monophysites_GENACC
		trigger = {
			true_religion_monophysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Nestorians_GENACC
		trigger = {
			true_religion_nestorian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Messalians_GENACC
		trigger = {
			true_religion_messalian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Sunnis_GENACC
		trigger = {
			true_religion_sunni_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zikris_GENACC
		trigger = {
			true_religion_zikri_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Yazidis_GENACC
		trigger = {
			true_religion_yazidi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Shias_GENACC
		trigger = {
			true_religion_shiite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_DruzeP
		trigger = {
			true_religion_druze_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hurufis_GENACC
		trigger = {
			true_religion_hurufi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Ibadis_GENACC
		trigger = {
			true_religion_ibadi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Kharijites_GENACC
		trigger = {
			true_religion_kharijite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Qarmatians_GENACC
		trigger = {
			true_religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jews_GENACC
		trigger = {
			true_religion_jewish_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Samaritans_GENACC
		trigger = {
			true_religion_samaritan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Karaites_GENACC
		trigger = {
			true_religion_karaite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zoroastrians_GENACC
		trigger = {
			true_religion_zoroastrian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Mazdakis_GENACC
		trigger = {
			true_religion_mazdaki_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Manicheans_GENACC
		trigger = {
			true_religion_manichean_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hindus_GENACC
		trigger = {
			true_religion_hindu_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Buddhists_GENACC
		trigger = {
			true_religion_buddhist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Jains_GENACC
		trigger = {
			true_religion_jain_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_Followers_GENACC
		trigger = {
			true_religion_norse_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Slavs_GENACC
		trigger = {
			true_religion_slavic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Tengris_GENACC
		trigger = {
			true_religion_tengri_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Romuvans_GENACC
		trigger = {
			true_religion_baltic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers_GENACC
		trigger = {
			true_religion_finnish_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_Africans_GENACC
		trigger = {
			true_religion_west_african_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zuns_GENACC
		trigger = {
			true_religion_zun_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Aztecs_GENACC
		trigger = {
			true_religion_aztec_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	
	text = {
		localisation_key = String_Aztecs_GENACC
		trigger = {
			true_religion_aztec_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_Followers_GENACC
		trigger = {
			true_religion_norse_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Slavs_GENACC
		trigger = {
			true_religion_slavic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Tengris_GENACC
		trigger = {
			true_religion_tengri_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Romuvans_GENACC
		trigger = {
			true_religion_baltic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers_GENACC
		trigger = {
			true_religion_finnish_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_Africans_GENACC
		trigger = {
			true_religion_west_african_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zuns_GENACC
		trigger = {
			true_religion_zun_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Khurmaztas_GENACC
		trigger = {
			true_religion_khurmazta_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Bons_GENACC
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hellenes_GENACC
		trigger = {
			OR = {
				true_religion_hellenic_pagan_trigger = yes
				true_religion_hellenic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Taoists_GENACC
		trigger = {
			true_religion_taoist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Pagans_GENACC
		trigger = {
			true_religion_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomsGENACC
	}
}
# ,  
defined_text = {
	name = GetTrueReligionAdherentsINS
	use_first_valid = yes
	text = {
		localisation_key = String_Catholics_INS
		trigger = {
			true_religion_catholic_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Orthodox_ChristianINS
		trigger = {
			true_religion_orthodox_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Cathars_INS
		trigger = {
			true_religion_cathar_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			true_religion_fraticelli_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Waldensians_INS
		trigger = {
			true_religion_waldensian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Lollards_INS
		trigger = {
			true_religion_lollard_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Bogomilists_INS
		trigger = {
			true_religion_bogomilist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Monothelites_INS
		trigger = {
			true_religion_monothelite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Iconoclasts_INS
		trigger = {
			true_religion_iconoclast_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Paulicians_INS
		trigger = {
			true_religion_paulician_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Miaphysites_INS
		trigger = {
			true_religion_miaphysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Monophysites_INS
		trigger = {
			true_religion_monophysite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Nestorians_INS
		trigger = {
			true_religion_nestorian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Messalians_INS
		trigger = {
			true_religion_messalian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Sunnis_INS
		trigger = {
			true_religion_sunni_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zikris_INS
		trigger = {
			true_religion_zikri_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Yazidis_INS
		trigger = {
			true_religion_yazidi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Shias_INS
		trigger = {
			true_religion_shiite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_DruzeP
		trigger = {
			true_religion_druze_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hurufis_INS
		trigger = {
			true_religion_hurufi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Ibadis_INS
		trigger = {
			true_religion_ibadi_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Kharijites_INS
		trigger = {
			true_religion_kharijite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Qarmatians_INS
		trigger = {
			true_religion = qarmatian
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Jews_INS
		trigger = {
			true_religion_jewish_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Samaritans_INS
		trigger = {
			true_religion_samaritan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Karaites_INS
		trigger = {
			true_religion_karaite_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zoroastrians_INS
		trigger = {
			true_religion_zoroastrian_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Mazdakis_INS
		trigger = {
			true_religion_mazdaki_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Manicheans_INS
		trigger = {
			true_religion_manichean_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hindus_INS
		trigger = {
			true_religion_hindu_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Buddhists_INS
		trigger = {
			true_religion_buddhist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Jains_INS
		trigger = {
			true_religion_jain_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_Followers_INS
		trigger = {
			true_religion_norse_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Slavs_INS
		trigger = {
			true_religion_slavic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Tengris_INS
		trigger = {
			true_religion_tengri_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Romuvans_INS
		trigger = {
			true_religion_baltic_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers_INS
		trigger = {
			true_religion_finnish_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_Africans_INS
		trigger = {
			true_religion_west_african_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zuns_INS
		trigger = {
			true_religion_zun_pagan_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Aztecs_INS
		trigger = {
			true_religion_aztec_reformed_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	
	text = {
		localisation_key = String_Aztecs_INS
		trigger = {
			true_religion_aztec_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Norse_Followers_INS
		trigger = {
			true_religion_norse_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Slavs_INS
		trigger = {
			true_religion_slavic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Tengris_INS
		trigger = {
			true_religion_tengri_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Romuvans_INS
		trigger = {
			true_religion_baltic_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Suomenusko_Followers_INS
		trigger = {
			true_religion_finnish_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_West_Africans_INS
		trigger = {
			true_religion_west_african_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Zuns_INS
		trigger = {
			true_religion_zun_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Khurmaztas_INS
		trigger = {
			true_religion_khurmazta_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Bons_INS
		trigger = {
			OR = {
				true_religion_bon_trigger = yes
				true_religion_bon_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Hellenes_INS
		trigger = {
			OR = {
				true_religion_hellenic_pagan_trigger = yes
				true_religion_hellenic_pagan_reformed_trigger = yes
			}
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Taoists_INS
		trigger = {
			true_religion_taoist_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	text = {
		localisation_key = String_Pagans_INS
		trigger = {
			true_religion_pagan_trigger = yes
			NOT = {
				is_renamed_true_religion_trigger = yes
			}
		}
	}
	fallback_text = {
		localisation_key = String_TRadherent_randomsINS
	}
}
# 
defined_text = {
	name = GetTrueReligionScriptureNameGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomTrueReligionScripture_GEN
		trigger = { is_renamed_true_religion_trigger = yes }
	}
	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 = TrueReligionScripture_Fallback
		trigger = { is_renamed_true_religion_trigger = yes }
	}
	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 = TrueReligionScriptureAdjAndName_Fallback
		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 = { is_renamed_true_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_true_god_name
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_aztec_reformed_trigger = yes
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_JUNO
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			true_religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_HERA
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_VOC
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodACC
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_ACC
		trigger = { is_renamed_true_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_true_god_name_ACC
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_dlc = "Holy Fury"
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_ACC
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_GEN
		trigger = { is_renamed_true_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_true_god_name_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_GEN
	}
}
# 
defined_text = {
	name = GetTrueReligionHighGodDAT
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_DAT
		trigger = { is_renamed_true_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_true_god_name_DAT
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			true_religion_hellenic_pagan_reformed_trigger = yes
			has_global_flag = flag_hellenic_greek_reformation
			true_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_DAT
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_TRUE_HIGHGOD_RANDOM_DAT
	}
}
#  ,  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
				}
			}
		}
	}
}
# .   ,  GetHolding,    ""  "".
defined_text = {
	name = GetHoldingGenericPlaceGEN # Returns a suitable name for a holding

	text = {
		localisation_key = GetHolding_Settlement_1GEN
		trigger = {
			holding_type = castle
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2GEN
		trigger = {
			holding_type = castle
			county = {
				holder_scope = {
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3GEN
		trigger = {
			holding_type = castle
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1GEN
		trigger = { holding_type = temple }
	}
	text = {
		localisation_key = GetHolding_Settlement_1GEN
		trigger = {
			holding_type = nomad
			county = { holder_scope = { NOT = { higher_tier_than = DUKE } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2GEN
		trigger = {
			holding_type = nomad
			county = {
				holder_scope = {
					higher_tier_than = DUKE
					NOT = { higher_tier_than = KING }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3GEN
		trigger = {
			holding_type = nomad
			county = { holder_scope = { higher_tier_than = KING } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1GEN
		trigger = {
			holding_type = tribal
			county = { holder_scope = { NOT = { higher_tier_than = COUNT } } }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2GEN
		trigger = {
			holding_type = tribal
			county = {
				holder_scope = {
					higher_tier_than = COUNT
					NOT = { higher_tier_than = DUKE }
				}
			}
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_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 = GetHolding_Settlement_1GEN
		trigger = {
			NOT = {
				OR = {
					holding_type = castle
					holding_type = temple
					holding_type = nomad
					holding_type = tribal
					holding_type = city
				}
			}
		}
	}
}
# 
defined_text = {
	name = GetCapitalHoldingPlaceDAT # Returns a suitable name for the main building of your capital

	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_Settlement_1DAT
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1DAT
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1DAT
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_City_1DAT
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_City_2DAT
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_City_3DAT
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_City_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 = GetCapitalHoldingPlace # Returns a suitable name for a 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_Settlement_1
		trigger = {
			capital_holding = { holding_type = tribal }
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2
		trigger = {
			capital_holding = { holding_type = tribal }
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3
		trigger = {
			capital_holding = { holding_type = tribal }
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_City_1
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_City_2
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_City_3
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_settlement
		trigger = {
			NOT = {
				capital_holding = {
					OR = {
						holding_type = castle
						holding_type = temple
						holding_type = nomad
						holding_type = tribal
						holding_type = city
					}
				}
			}
		}
	}
}
defined_text = {
	name = GetMyCapitalHoldingPlace # Returns a suitable name for a holding

	text = {
		localisation_key = GetHolding_Castle_1_My
		trigger = {
			capital_holding = { holding_type = castle }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_2_My
		trigger = {
			capital_holding = { holding_type = castle }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Castle_3_My
		trigger = {
			capital_holding = { holding_type = castle }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Temple_1_My
		trigger = { capital_holding = { holding_type = temple } }
	}
	text = {
		localisation_key = GetHolding_Nomad_1_My
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_2_My
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_Nomad_3_My
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_1_My
		trigger = {
			capital_holding = { holding_type = tribal }
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_2_My
		trigger = {
			capital_holding = { holding_type = tribal }
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_Settlement_3_My
		trigger = {
			capital_holding = { holding_type = tribal }
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = GetHolding_City_1_My
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_City_2_My
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_City_3_My
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_settlement
		trigger = {
			NOT = {
				capital_holding = {
					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 = GetCapitalHoldingDAT # Returns a suitable name for the main building of your capital

	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_City_1DAT
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = GetHolding_City_2DAT
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = GetHolding_City_3DAT
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = GetHolding_City_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 = 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 = GetCapitalBuildingWallsGEN # Returns a suitable name for the walls of the main building of your capital holding

	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = castle	}
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = castle	}
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = { capital_holding = { holding_type = temple	} }
	}
	text = {
		localisation_key = String_tentsGEN
		trigger = {
			capital_holding = { holding_type = nomad }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = String_tentsGEN
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = String_tentsGEN
		trigger = {
			capital_holding = { holding_type = nomad }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			NOT = { higher_tier_than = COUNT }
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = COUNT
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = tribal	}
			higher_tier_than = DUKE
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = city }
			NOT = { higher_tier_than = DUKE }
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = DUKE
			NOT = { higher_tier_than = KING }
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = city }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_wallsGEN
		trigger = {
			capital_holding = { holding_type = family_palace }
		}
	}
	text = {
		localisation_key = String_tentsGEN
		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 = GetLocChamberOpeningGEN
	text = {
		localisation_key = GetChamberOpening_DoorGEN
		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_TentOpeningGEN
		trigger = { location = { holding_type = nomad} }
	}
	fallback_text = {
		localisation_key = GetChamberOpening_TentOpeningGEN
	}
}
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 = GetLocYourChamberACC
	text = {
		localisation_key = GetChamber_YourChambers
		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_YourTentACC
		trigger = { location = { holding_type = nomad } }
	}
	fallback_text = {
		localisation_key = GetChamber_YourTentACC
	}
}
#/.  
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 = GetMyRulersRoomACC
	text = {
		localisation_key = String_throne_roomACC
		trigger = {
			is_patrician = no
			is_nomadic = no
			is_ruler = yes
		}
	}
	text = {
		localisation_key = GetChamber_MyTentACC_M
		trigger = { is_nomadic = yes }
	}
	text = {
		localisation_key = String_MystudyACC
		trigger = { is_patrician = yes }
	}
	fallback_text = {
		localisation_key = String_MyroomACC
	}
}
# 
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 = { is_renamed_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_god_name_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_JUNO_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_HERA_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_HIGHGOD_RANDOM_GEN
	}
}
#    
defined_text = {
	name = GetReligionHighGodACC
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_GEN
		trigger = { is_renamed_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_god_name_ACC
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_THE_ALLFATHER_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_JUNO_ACC
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GREEK_JUPITER_GEN
		trigger = {
			religion = hellenic_pagan_reformed
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_dlc = "Holy Fury"
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_HERA_ACC
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_HIGHGOD_RANDOM_GEN
	}
}
#    
defined_text = {
	name = GetReligionHighGodDAT
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_DAT
		trigger = { is_renamed_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_god_name_DAT
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_THE_ALLFATHER_DAT
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_DAT
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_JUNO_DAT
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GREEK_JUPITER_DAT
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_HERA_DAT
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_DAT
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_HIGHGOD_RANDOM_DAT
	}
}
#    
defined_text = {
	name = GetReligionHighGodINS
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_INS
		trigger = { is_renamed_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_god_name_INS
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_THE_ALLFATHER_INS
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_INS
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_JUNO_INS
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GREEK_JUPITER_INS
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_HERA_INS
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_INS
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_HIGHGOD_RANDOM_INS
	}
}
#    
defined_text = {
	name = GetReligionHighGodPREP
	use_first_valid = yes
	
	text = {
		localisation_key = ALT_HIGHGOD_RANDOM_PREP
		trigger = { is_renamed_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_god_name_PREP
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = norse_pagan_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_THE_ALLFATHER_PREP
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = aztec_reformed
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_PREP
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_JUNO_PREP
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GREEK_JUPITER_PREP
		trigger = {
			religion = hellenic_pagan_reformed
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = {
				NOT = { has_religion_feature = religion_matriarchal }
				has_religion_feature = religion_seafaring
			}
		}
	}
	text = {
		localisation_key = GOD_HERA_PREP
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_PREP
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_HIGHGOD_RANDOM_PREP
	}
}
#  /     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
	}
	text = {
		trigger = { has_character_flag = zweihanded_sword }
		localisation_key = String_sword
	}
}
# 
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
	}
	text = {
		trigger = { has_character_flag = zweihanded_sword }
		localisation_key = String_swordGEN
	}
}
# 
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_farsi
	}
	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_arabic
	}
	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_farsi
	}
	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_arabic
	}
	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_jainGEN
		trigger = { society_member_of = monastic_order_jain }
	}
	text = {
		localisation_key = monastic_order_hinduGEN
		trigger = { society_member_of = monastic_order_hindu }
	}
	text = {
		localisation_key = monastic_order_buddhistGEN
		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_qarmatianGEN
		trigger = { society_member_of = secret_religious_society_qarmatian }
	}
	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_jainDAT
		trigger = { society_member_of = monastic_order_jain }
	}
	text = {
		localisation_key = monastic_order_hinduDAT
		trigger = { society_member_of = monastic_order_hindu }
	}
	text = {
		localisation_key = monastic_order_buddhistDAT
		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_qarmatianDAT
		trigger = { society_member_of = secret_religious_society_qarmatian }
	}
	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 = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = e_turkestan
				title = e_maghreb
				title = e_kanem
				title = e_pontic_steppe
				title = e_lechczechrus
				title = e_outremer
				title = e_germany
				title = e_tartaria
				title = e_france
				title = e_abyssinia
				title = e_britannia
				title = e_latin_empire
				title = k_abyssinia
				title = k_africa
				title = k_saxony
				title = k_franconia
				title = k_lotharingia
				title = k_germany
				title = k_estonia
				title = k_switzerland
				title = k_turkestan
				title = k_sibir
				title = k_epirus
				title = k_romagna
				title = k_teutonic_state
				title = k_galicia-volhynia
				title = k_rus
				title = k_mauretania
				title = d_volhynia
				title = d_prince_of_novgorod
				title = d_bourbon
				title = d_tripolitania
				title = d_lahore
				title = d_gandhara
				title = d_haritanaka
				title = d_mathura
				title = d_vodamayutja
				title = d_anartta
				title = d_saurashtra
				title = d_ajmer
				title = d_baltic_pagan_reformed
				title = d_slavic_pagan_reformed
				title = d_myrmidons
				title = d_livonian_order
				title = d_lombardia
				title = d_oltenia
				title = d_bessarabia
				title = d_wallachia
				title = d_drevlians
				title = d_hellas
				title = d_kanem
				title = d_fezzan
				title = d_yatenga
				title = d_bashkirs
				title = d_pechora
				title = d_zyriane
				title = d_sakmara
				title = d_abakan
				title = d_uvs
				title = d_penthievre
			}
		}
		localisation_key = GetShortAdjective_Default
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = e_mongol_empire
				title = e_golden_horde
				title = k_mongolia
			}
		}
		localisation_key = mongol_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = e_italy
				title = k_italy
			}
		}
		localisation_key = italy_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = k_finland
				title = d_finland
				title = c_finland
			}
		}
		localisation_key = fin_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = e_idel_ural
				title = d_ural
				title = c_ural
			}
		}
		localisation_key = ural_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = d_turkestan
				title = c_turkestan
			}
		}
		localisation_key = aral_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = d_baygal
				title = c_baygal
			}
		}
		localisation_key = baikal_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			title = k_france
		}
		localisation_key = frankish_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			OR = {
				title = k_austria
				title = d_osterreich
			}
		}
		localisation_key = austrian_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			title = k_england
		}
		localisation_key = england_shortadj
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names option = random }
				has_alternate_start_setting = { setting = title_names option = random_including_duchies }
			}
			title = e_india
		}
		localisation_key = india_shortadj
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			title = k_hellenic_pagan
		}
		localisation_key = pontific_shortadj
	}
	fallback_text = {
		localisation_key = GetShortAdjective_Fallback
	}
}
defined_text = {
	name = GetReligiousGreeting
	use_first_valid = yes
	text = {
		trigger = { is_renamed_religion_trigger = yes }
		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_Vart_du_Heilur
		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 = { is_renamed_true_religion_trigger = yes }
		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 = GetAssasinsGreeting
	use_first_valid = yes
	text = {
		localisation_key = String_Peace_be_upon_you2
		trigger = {
			NOT = { true_religion = shiite }
			religion_group = muslim
			is_renamed_religion_trigger = yes
		}
	}
	text = {
		localisation_key = String_Peace_be_upon_you2
		trigger = {
			true_religion = shiite
			shiite = { is_name_randomized = yes }
		}
	}
	text = {
		localisation_key = String_As_salam_alaykum
		trigger = {
			NOT = { true_religion = shiite }
			religion_group = muslim
		}
	}
	text = {
		localisation_key = String_As_salam_alaykum
		trigger = { true_religion = shiite }
	}
	fallback_text = {
		localisation_key = String_Peace_be_upon_you2
	}
}
defined_text = {
	name = GetAssasinsHGod
	use_first_valid = yes
	text = {
		localisation_key = String_GetAssasinsHGod_ALT
		trigger = {
			NOT = { true_religion = shiite }
			religion_group = muslim
			is_renamed_religion_trigger = yes
		}
	}
	text = {
		localisation_key = String_GetAssasinsHGod_TR_ALT
		trigger = {
			true_religion = shiite
			shiite = { is_name_randomized = yes }
		}
	}
	text = {
		localisation_key = String_GetAssasinsHGod_Generic
		trigger = {
			NOT = { true_religion = shiite }
			religion_group = muslim
		}
	}
	text = {
		localisation_key = String_GetAssasinsHGod_Generic
		trigger = { true_religion = shiite }
	}
	fallback_text = {
		localisation_key = String_GetAssasinsHGod_ALT
	}
}
defined_text = {
	name = GetReligiousPraise
	use_first_valid = yes
	text = {
		trigger = { is_renamed_religion_trigger = yes }
		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
				graphical_culture = redpandagfx
			}
		}
		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
				graphical_culture = redpandagfx
			}
		}
		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 = GetRegionalBigAnimalW
	
	text = {
		localisation_key = WOLF_MAL
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_bear
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = String_tiger
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_lion
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_animal_fallback #Beast
	}
}
# 
defined_text = {
	name = GetRegionalBigAnimalCapGEN
	
	text = {
		localisation_key = String_StagGEN
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_BearGEN
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = String_TigerGEN
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_LionGEN
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_animal_fallbackCapGEN #Beast
	}
}
# 
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 = GetRegionalBigAnimalINS
	
	text = {
		localisation_key = String_wolfINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_bearINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = String_tigerINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_lionINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_animal_fallbackINS #Beast
	}
}
# ,   /
defined_text = {
	name = GetEndORegionalBigAnimalINS
	
	text = {
		localisation_key = EMPTY_CHAR_EMU
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = EMPTY_CHAR_EMU
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = EMPTY_CHAR_EMU
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = END_O
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = END_O #Beast
	}
}
#/     GetRegionalBigAnimalCapMFINS
defined_text = {
	name = GetCalamityBeastCapINS
	
	text = {
		localisation_key = String_CalamityINS
		trigger = { is_female = yes }
	}
	fallback_text = {
		localisation_key = String_BeastINS
	}
}
defined_text = {
	name = GetRegionalBigAnimalCapMFINS
	
	text = {
		localisation_key = String_FWolfINS
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_WolfINS
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_FBearINS
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = String_BearINS
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
				}
			}
		}
	}
	text = {
		localisation_key = String_FTigerINS
		trigger = {
			is_female = yes
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_TigerINS
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_FLionINS
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	text = {
		localisation_key = String_LionINS
		trigger = {
			is_female = no
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_Animal_fallbackMFINS #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 } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_fellow_memberGEN
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				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 } }
					}
				}
			} 
			same_society_as = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_enemyGEN
		trigger = {
			NOR = {
				is_lover = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				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
				guardian = { character = ROOT }
			}
			any_war = {
				OR = {
					AND = {
						any_defender = {
							character = PREVPREV
						}
						any_attacker = {
							character = ROOT
						}
					}
					AND = {
						any_defender = {
							character = ROOT
						}
						any_attacker = {
							character = PREVPREV
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_sway_targetGEN
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			} 
			ROOT = {
				persistent_event_target:sway_target = {
					character = PREVPREV
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_antagonistGEN
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT 
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
			}
			OR = {
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_prisonerGEN
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:sway_target = {
					character = ROOT
				}
			} 
			prisoner = yes
			host = { 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 } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_fellow_memberACC
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				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 } }
					}
				}
			} 
			same_society_as = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_enemyACC
		trigger = {
			NOR = {
				is_lover = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				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
				guardian = { character = ROOT }
			}
			any_war = {
				OR = {
					AND = {
						any_defender = {
							character = PREVPREV
						}
						any_attacker = {
							character = ROOT
						}
					}
					AND = {
						any_defender = {
							character = ROOT
						}
						any_attacker = {
							character = PREVPREV
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_sway_targetACC
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			} 
			ROOT = {
				persistent_event_target:sway_target = {
					character = PREVPREV
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_antagonistACC
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT 
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
			}
			OR = {
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_prisonerACC
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:sway_target = {
					character = ROOT
				}
			} 
			prisoner = yes
			host = { 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 } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_fellow_memberDAT
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				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 } }
					}
				}
			} 
			same_society_as = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_enemyDAT
		trigger = {
			NOR = {
				is_lover = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				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
				guardian = { character = ROOT }
			}
			any_war = {
				OR = {
					AND = {
						any_defender = {
							character = PREVPREV
						}
						any_attacker = {
							character = ROOT
						}
					}
					AND = {
						any_defender = {
							character = ROOT
						}
						any_attacker = {
							character = PREVPREV
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_sway_targetDAT
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			} 
			ROOT = {
				persistent_event_target:sway_target = {
					character = PREVPREV
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_antagonistDAT
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT 
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
			}
			OR = {
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_prisonerDAT
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:sway_target = {
					character = ROOT
				}
			} 
			prisoner = yes
			host = { character = ROOT }
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackDAT
	}
}
# 
defined_text = {
	name = GetRootRelationINS

	text = {
		localisation_key = GetRelation_WifeINS
		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_HusbandINS
		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_ConcubineINS
		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_ConsortINS
		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_MotherWifeINS
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_FatherHusbandINS
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_child_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_DaughterWifeINS
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SonHusbandINS
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			is_child_of = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_SisterWifeINS
		trigger = {
			is_female = yes
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherHusbandINS
		trigger = {
			is_female = no
			any_spouse = { character = ROOT }
			any_sibling_even_if_dead = { character = ROOT }
		}
	}
	text = {
		localisation_key = GetRelation_MotherINS
		trigger = {
			is_female = yes
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_FatherINS
		trigger = {
			is_female = no
			any_child_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandmotherINS
		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_GrandfatherINS
		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_GreatGrandmotherINS
		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_GreatGrandfatherINS
		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_DaughterINS
		trigger = {
			is_female = yes
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_SonINS
		trigger = {
			is_female = no
			is_child_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GranddaughterINS
		trigger = {
			is_female = yes
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GrandsonINS
		trigger = {
			is_female = no
			is_grandchild_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_GreatGranddaughterINS
		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_GreatGrandsonINS
		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_SisterINS
		trigger = {
			is_female = yes
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_BrotherINS
		trigger = {
			is_female = no
			any_sibling_even_if_dead = { character = ROOT }
			NOT = { any_spouse = { character = ROOT } }
		}
	}
	text = {
		localisation_key = GetRelation_NieceINS
		trigger = {
			is_female = yes
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_NephewINS
		trigger = {
			is_female = no
			is_nibling_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_AuntINS
		trigger = {
			is_female = yes
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_UncleINS
		trigger = {
			is_female = no
			is_aunt_uncle_of = ROOT
			NOT = { any_spouse = { character = ROOT } }
			relationship_with_root_trigger = no
		}
	}
	text = {
		localisation_key = GetRelation_Cousin_FemaleINS
		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_MaleINS
		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_SisterOfWifeINS
		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_SisterOfHusbandINS
		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_WifeOfBrotherINS
		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_BrotherOfWifeINS
		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_BrotherOfHusbandINS
		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_HusbandOfSisterINS
		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_MaleINS
		trigger = {
			is_female = no
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Rival_FemaleINS
		trigger = {
			is_female = yes
			is_rival = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_MaleINS
		trigger = {
			is_female = no
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Friend_FemaleINS
		trigger = {
			is_female = yes
			is_friend = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_MaleINS
		trigger = {
			is_female = no
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_Lover_FemaleINS
		trigger = {
			is_female = yes
			is_lover = ROOT
			NOR = {
				is_close_relative = ROOT
				any_spouse = { character = ROOT }
				is_consort = ROOT
			}
		}
	}
	text = {
		localisation_key = GetRelation_KinswomanINS
		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_KinsmanINS
		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_MaleINS
		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_FemaleINS
		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_MaleINS
		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_FemaleINS
		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_MaleINS
		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_FemaleINS
		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_MaleINS
		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_FemaleINS
		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_MaleINS
		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_FemaleINS
		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_AcquaintanceINS
	#	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_FemaleINS
	#	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_MotherOfWifeINS
		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_MotherOfHusbandINS
		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_FatherOfWifeINS
		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_FatherOfHusbandINS
		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_WifeOfFathersSonINS
		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_WifeOfMothersSonINS
		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_HusbandOfDaughterINS
		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_SvakhaINS
		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_SvatINS
		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 } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_fellow_memberINS
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				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 } }
					}
				}
			} 
			same_society_as = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_enemyINS
		trigger = {
			NOR = {
				is_lover = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				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
				guardian = { character = ROOT }
			}
			any_war = {
				OR = {
					AND = {
						any_defender = {
							character = PREVPREV
						}
						any_attacker = {
							character = ROOT
						}
					}
					AND = {
						any_defender = {
							character = ROOT
						}
						any_attacker = {
							character = PREVPREV
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_sway_targetINS
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			} 
			ROOT = {
				persistent_event_target:sway_target = {
					character = PREVPREV
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_antagonistINS
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT 
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
			}
			OR = {
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_prisonerINS
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:sway_target = {
					character = ROOT
				}
			} 
			prisoner = yes
			host = { character = ROOT }
		}
	}
	fallback_text = {
		localisation_key = String_root_relation_fallbackINS
	}
}
# 
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 } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_fellow_memberPREP
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				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 } }
					}
				}
			} 
			same_society_as = ROOT
		}
	}
	text = {
		localisation_key = GetRelation_enemyPREP
		trigger = {
			NOR = {
				is_lover = ROOT
				is_close_relative = ROOT #spouse, parents, children, siblings, grandparents, grandchildren
				is_nibling_of = ROOT #nephews, nieces
				is_aunt_uncle_of = ROOT #aunts, uncles
				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
				guardian = { character = ROOT }
			}
			any_war = {
				OR = {
					AND = {
						any_defender = {
							character = PREVPREV
						}
						any_attacker = {
							character = ROOT
						}
					}
					AND = {
						any_defender = {
							character = ROOT
						}
						any_attacker = {
							character = PREVPREV
						}
				}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_sway_targetPREP
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			}
			ROOT = {
				persistent_event_target:sway_target = {
					character = PREVPREV
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_antagonistPREP
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT 
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
			}
			OR = {
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_prisonerPREP
		trigger = { 
			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 = { any_spouse = { character = ROOT } } }
				father_even_if_dead = { any_child = { any_spouse = { character = ROOT } } }
				any_spouse = { mother_even_if_dead = { any_child = { character = ROOT } } }
				any_spouse = { father_even_if_dead = { any_child = { character = ROOT } } }
				is_consort = ROOT 
				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
				liege = { character = ROOT }
				is_liege_of = ROOT 
				guardian = { character = ROOT }
				is_guardian = ROOT
				same_society_as = 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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT
							}
						}
						AND = {
							any_defender = {
								character = ROOT
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT
				}
				ROOT = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:sway_target = {
					character = ROOT
				}
			} 
			prisoner = yes
			host = { 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 } }
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_fellow_memberACC
		trigger = { 
			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 = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child = { 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 = { 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 = {
					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 } }
					}
				}
			} 
			same_society_as = ROOT_FROMFROM
		}
	}
	text = {
		localisation_key = GetRelation_enemyACC
		trigger = {
			NOR = {
				is_lover = ROOT_FROMFROM
				is_close_relative = ROOT_FROMFROM #spouse, parents, children, siblings, grandparents, grandchildren
				is_nibling_of = ROOT_FROMFROM #nephews, nieces
				is_aunt_uncle_of = ROOT_FROMFROM #aunts, uncles
				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
				guardian = { character = ROOT_FROMFROM }
			}
			any_war = {
				OR = {
					AND = {
						any_defender = {
							character = PREVPREV
						}
						any_attacker = {
							character = ROOT_FROMFROM
						}
					}
					AND = {
						any_defender = {
							character = ROOT_FROMFROM
						}
						any_attacker = {
							character = PREVPREV
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_sway_targetACC
		trigger = { 
			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 = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child = { 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 = { 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
				same_society_as = ROOT_FROMFROM
				AND = {
					dynasty = ROOT_FROMFROM 
					NOT = { dynasty = none }
				}
				any_child = {
					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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT_FROMFROM
							}
						}
						AND = {
							any_defender = {
								character = ROOT_FROMFROM
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT_FROMFROM = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT_FROMFROM
				}
			} 
			ROOT_FROMFROM = {
				persistent_event_target:sway_target = {
					character = PREVPREV
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_antagonistACC
		trigger = { 
			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 = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child = { 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 = { 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 
				same_society_as = ROOT_FROMFROM
				AND = {
					dynasty = ROOT_FROMFROM 
					NOT = { dynasty = none }
				}
				any_child = {
					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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT_FROMFROM
							}
						}
						AND = {
							any_defender = {
								character = ROOT_FROMFROM
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT_FROMFROM = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
			}
			OR = {
				ROOT_FROMFROM = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT_FROMFROM
				}
			}
		}
	}
	text = {
		localisation_key = GetRelation_prisonerACC
		trigger = { 
			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 = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				father_even_if_dead = { any_child = { any_spouse_even_if_dead = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { mother_even_if_dead = { any_child = { character = ROOT_FROMFROM } } }
				any_spouse_even_if_dead = { father_even_if_dead = { any_child = { 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 = { 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
				same_society_as = ROOT_FROMFROM
				AND = {
					dynasty = ROOT_FROMFROM 
					NOT = { dynasty = none }
				}
				any_child = {
					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 } }
					}
				}
				any_war = {
					OR = {
						AND = {
							any_defender = {
								character = PREVPREV
							}
							any_attacker = {
								character = ROOT_FROMFROM
							}
						}
						AND = {
							any_defender = {
								character = ROOT_FROMFROM
							}
							any_attacker = {
								character = PREVPREV
							}
						}
					}
				}
				ROOT_FROMFROM = {
					persistent_event_target:antagonize_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:antagonize_target = {
					character = ROOT_FROMFROM
				}
				ROOT_FROMFROM = {
					persistent_event_target:sway_target = {
						character = PREVPREV
					}
				}
				persistent_event_target:sway_target = {
					character = ROOT_FROMFROM
				}
			} 
			prisoner = yes
			host = { 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
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetPetCatEtaEtot

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_OT
	}
}
defined_text = {
	name = GetPetCatTsaK

	text = {
		trigger = { has_character_flag = cat_name_shieldmaiden }
		localisation_key = END_TSA
	}
	fallback_text = {
		localisation_key = END_K
	}
}
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 }
	}
}
#/
defined_text = {
	name = GetTsarineTsarGEN

	text = {
		localisation_key = String_TsarineGEN
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_TsarGEN
		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 = GetEmpressEmperorACC

	text = {
		localisation_key = String_empressACC
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorACC
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorOppGEN

	text = {
		localisation_key = String_empressACC
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorACC
		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 = GetEmpressEmperorCapACC

	text = {
		localisation_key = String_empressCapACC
		trigger = { is_female = yes }
	}
	text = {
		localisation_key = String_emperorCapACC
		trigger = { is_female = no }
	}
}
defined_text = {
	name = GetEmpressEmperorCapOppACC

	text = {
		localisation_key = String_empressCapACC
		trigger = { is_female = no }
	}
	text = {
		localisation_key = String_emperorCapACC
		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 = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_indians
		}
		localisation_key = likes_indians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_dravidians
		}
		localisation_key = likes_dravidians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_tibetans
		}
		localisation_key = likes_tibetans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_germanics
		}
		localisation_key = likes_germanics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_byzantines
		}
		localisation_key = likes_byzantines
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_celts
		}
		localisation_key = likes_celts
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_altaics
		}
		localisation_key = likes_altaics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_arabs
		}
		localisation_key = likes_arabs
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_iranians
		}
		localisation_key = likes_iranians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_africans
		}
		localisation_key = likes_africans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			nahuatl = { has_flag = is_name_randomized_flag }
			offmap_has_like = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans
	}

	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_muslims
		}
		localisation_key = likes_muslims
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_christians
		}
		localisation_key = likes_christians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_mazdans
		}
		localisation_key = likes_mazdans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zoroastrian = { is_name_randomized = yes }
			offmap_has_like = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			mazdaki = { is_name_randomized = yes }
			offmap_has_like = likes_mazdakis
		}
		localisation_key = likes_mazdakis
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			manichean = { is_name_randomized = yes }
			offmap_has_like = likes_manicheans
		}
		localisation_key = likes_manicheans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			khurmazta = { is_name_randomized = yes }
			offmap_has_like = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			buddhist = { is_name_randomized = yes }
			offmap_has_like = likes_buddhists
		}
		localisation_key = likes_buddhists
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			hindu = { is_name_randomized = yes }
			offmap_has_like = likes_hindus
		}
		localisation_key = likes_hindus
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			jain = { is_name_randomized = yes }
			offmap_has_like = likes_jains
		}
		localisation_key = likes_jains
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			tengri_pagan = { is_name_randomized = yes }
			offmap_has_like = likes_tengris
		}
		localisation_key = likes_tengris
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zun_pagan = { is_name_randomized = yes }
			offmap_has_like = likes_zunists
		}
		localisation_key = likes_zunists
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_jews
		}
		localisation_key = likes_jews
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			bon = { is_name_randomized = yes }
			offmap_has_like = likes_bon
		}
		localisation_key = likes_bon
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_indians
		}
		localisation_key = likes_indians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_dravidians
		}
		localisation_key = likes_dravidians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_tibetans
		}
		localisation_key = likes_tibetans_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_germanics
		}
		localisation_key = likes_germanics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_byzantines
		}
		localisation_key = likes_byzantines_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_celts
		}
		localisation_key = likes_celts_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_altaics
		}
		localisation_key = likes_altaics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_arabs
		}
		localisation_key = likes_arabs_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_iranians
		}
		localisation_key = likes_iranians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_africans
		}
		localisation_key = likes_africans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
				NOT = { nahuatl = { has_flag = is_name_randomized_flag } }
			}
			offmap_has_like = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans_default
	}

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_muslims
		}
		localisation_key = likes_muslims_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_christians
		}
		localisation_key = likes_christians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_mazdans
		}
		localisation_key = likes_mazdans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zoroastrian = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { mazdaki = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_mazdakis
		}
		localisation_key = likes_mazdakis_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { manichean = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_manicheans
		}
		localisation_key = likes_manicheans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { khurmazta = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { buddhist = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_buddhists
		}
		localisation_key = likes_buddhists_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { hindu = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_hindus
		}
		localisation_key = likes_hindus_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { jain = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_jains
		}
		localisation_key = likes_jains_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { tengri_pagan = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_tengris
		}
		localisation_key = likes_tengris_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zun_pagan = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_zunists
		}
		localisation_key = likes_zunists_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_jews
		}
		localisation_key = likes_jews_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { bon = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_bon
		}
		localisation_key = likes_bon_default
	}
	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 = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_indians
		}
		localisation_key = likes_indians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_dravidians
		}
		localisation_key = likes_dravidians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_tibetans
		}
		localisation_key = likes_tibetans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_germanics
		}
		localisation_key = likes_germanics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_byzantines
		}
		localisation_key = likes_byzantines
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_celts
		}
		localisation_key = likes_celts
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_altaics
		}
		localisation_key = likes_altaics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_arabs
		}
		localisation_key = likes_arabs
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_iranians
		}
		localisation_key = likes_iranians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_africans
		}
		localisation_key = likes_africans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			nahuatl = { has_flag = is_name_randomized_flag }
			offmap_has_dislike = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans
	}

	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_muslims
		}
		localisation_key = likes_muslims
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_christians
		}
		localisation_key = likes_christians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_mazdans
		}
		localisation_key = likes_mazdans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zoroastrian = { is_name_randomized = yes }
			offmap_has_dislike = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			mazdaki = { is_name_randomized = yes }
			offmap_has_dislike = likes_mazdakis
		}
		localisation_key = likes_mazdakis
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			manichean = { is_name_randomized = yes }
			offmap_has_dislike = likes_manicheans
		}
		localisation_key = likes_manicheans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			khurmazta = { is_name_randomized = yes }
			offmap_has_dislike = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			buddhist = { is_name_randomized = yes }
			offmap_has_dislike = likes_buddhists
		}
		localisation_key = likes_buddhists
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			hindu = { is_name_randomized = yes }
			offmap_has_dislike = likes_hindus
		}
		localisation_key = likes_hindus
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			jain = { is_name_randomized = yes }
			offmap_has_dislike = likes_jains
		}
		localisation_key = likes_jains
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			tengri_pagan = { is_name_randomized = yes }
			offmap_has_dislike = likes_tengris
		}
		localisation_key = likes_tengris
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zun_pagan = { is_name_randomized = yes }
			offmap_has_dislike = likes_zunists
		}
		localisation_key = likes_zunists
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_jews
		}
		localisation_key = likes_jews
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			bon = { is_name_randomized = yes }
			offmap_has_dislike = likes_bon
		}
		localisation_key = likes_bon
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_indians
		}
		localisation_key = likes_indians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_dravidians
		}
		localisation_key = likes_dravidians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_tibetans
		}
		localisation_key = likes_tibetans_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_germanics
		}
		localisation_key = likes_germanics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_byzantines
		}
		localisation_key = likes_byzantines_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_celts
		}
		localisation_key = likes_celts_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_altaics
		}
		localisation_key = likes_altaics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_arabs
		}
		localisation_key = likes_arabs_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_iranians
		}
		localisation_key = likes_iranians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_africans
		}
		localisation_key = likes_africans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
				NOT = { nahuatl = { has_flag = is_name_randomized_flag } }
			}
			offmap_has_dislike = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans_default
	}

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_muslims
		}
		localisation_key = likes_muslims_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_christians
		}
		localisation_key = likes_christians_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_mazdans
		}
		localisation_key = likes_mazdans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zoroastrian = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { mazdaki = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_mazdakis
		}
		localisation_key = likes_mazdakis_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { manichean = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_manicheans
		}
		localisation_key = likes_manicheans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { khurmazta = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { buddhist = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_buddhists
		}
		localisation_key = likes_buddhists_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { hindu = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_hindus
		}
		localisation_key = likes_hindus_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { jain = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_jains
		}
		localisation_key = likes_jains_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { tengri_pagan = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_tengris
		}
		localisation_key = likes_tengris_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zun_pagan = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_zunists
		}
		localisation_key = likes_zunists_default
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_jews
		}
		localisation_key = likes_jews_default
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { bon = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_bon
		}
		localisation_key = likes_bon_default
	}
	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 = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_indians
		}
		localisation_key = likes_indiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_dravidians
		}
		localisation_key = likes_dravidiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_tibetans
		}
		localisation_key = likes_tibetansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_germanics
		}
		localisation_key = likes_germanicsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_latino_iberians
		}
		localisation_key = likes_latino_iberiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_byzantines
		}
		localisation_key = likes_byzantinesDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_celts
		}
		localisation_key = likes_celtsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugricsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_altaics
		}
		localisation_key = likes_altaicsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_balto_slavics
		}
		localisation_key = likes_balto_slavicsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_arabs
		}
		localisation_key = likes_arabsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_iranians
		}
		localisation_key = likes_iraniansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_africans
		}
		localisation_key = likes_africansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_like = likes_mesoamericans
		}
		localisation_key = likes_mesoamericansDAT
	}

	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_muslims
		}
		localisation_key = likes_muslimsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_christians
		}
		localisation_key = likes_christiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_mazdans
		}
		localisation_key = likes_mazdansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zoroastrian = { is_name_randomized = yes }
			offmap_has_like = likes_zoroastrians
		}
		localisation_key = likes_zoroastriansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			mazdaki = { is_name_randomized = yes }
			offmap_has_like = likes_mazdakis
		}
		localisation_key = likes_mazdakisDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			manichean = { is_name_randomized = yes }
			offmap_has_like = likes_manicheans
		}
		localisation_key = likes_manicheansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			khurmazta = { is_name_randomized = yes }
			offmap_has_like = likes_khurmaztans
		}
		localisation_key = likes_khurmaztansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			buddhist = { is_name_randomized = yes }
			offmap_has_like = likes_buddhists
		}
		localisation_key = likes_buddhistsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			hindu = { is_name_randomized = yes }
			offmap_has_like = likes_hindus
		}
		localisation_key = likes_hindusDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			jain = { is_name_randomized = yes }
			offmap_has_like = likes_jains
		}
		localisation_key = likes_jainsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			tengri_pagan = { is_name_randomized = yes }
			offmap_has_like = likes_tengris
		}
		localisation_key = likes_tengrisDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zun_pagan = { is_name_randomized = yes }
			offmap_has_like = likes_zunists
		}
		localisation_key = likes_zunistsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_like = likes_jews
		}
		localisation_key = likes_jewsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			bon = { is_name_randomized = yes }
			offmap_has_like = likes_bon
		}
		localisation_key = likes_bonDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_indians
		}
		localisation_key = likes_indians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_dravidians
		}
		localisation_key = likes_dravidians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_tibetans
		}
		localisation_key = likes_tibetans_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_germanics
		}
		localisation_key = likes_germanics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_byzantines
		}
		localisation_key = likes_byzantines_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_celts
		}
		localisation_key = likes_celts_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_altaics
		}
		localisation_key = likes_altaics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_arabs
		}
		localisation_key = likes_arabs_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_iranians
		}
		localisation_key = likes_iranians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_like = likes_africans
		}
		localisation_key = likes_africans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
				NOT = { nahuatl = { has_flag = is_name_randomized_flag } }
			}
			offmap_has_like = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_muslims
		}
		localisation_key = likes_muslims_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_christians
		}
		localisation_key = likes_christians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_mazdans
		}
		localisation_key = likes_mazdans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zoroastrian = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { mazdaki = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_mazdakis
		}
		localisation_key = likes_mazdakis_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { manichean = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_manicheans
		}
		localisation_key = likes_manicheans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { khurmazta = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { buddhist = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_buddhists
		}
		localisation_key = likes_buddhists_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { hindu = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_hindus
		}
		localisation_key = likes_hindus_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { jain = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_jains
		}
		localisation_key = likes_jains_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { tengri_pagan = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_tengris
		}
		localisation_key = likes_tengris_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zun_pagan = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_zunists
		}
		localisation_key = likes_zunists_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_like = likes_jews
		}
		localisation_key = likes_jews_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { bon = { is_name_randomized = yes } }
			}
			offmap_has_like = likes_bon
		}
		localisation_key = likes_bon_defaultDAT
	}
	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 = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_indians
		}
		localisation_key = likes_indiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_dravidians
		}
		localisation_key = likes_dravidiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_tibetans
		}
		localisation_key = likes_tibetansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_germanics
		}
		localisation_key = likes_germanicsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_latino_iberians
		}
		localisation_key = likes_latino_iberiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_byzantines
		}
		localisation_key = likes_byzantinesDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_celts
		}
		localisation_key = likes_celtsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugricsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_altaics
		}
		localisation_key = likes_altaicsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_balto_slavics
		}
		localisation_key = likes_balto_slavicsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_arabs
		}
		localisation_key = likes_arabsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_iranians
		}
		localisation_key = likes_iraniansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			offmap_has_dislike = likes_africans
		}
		localisation_key = likes_africansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = culture_names value = random }
			nahuatl = { has_flag = is_name_randomized_flag }
			offmap_has_dislike = likes_mesoamericans
		}
		localisation_key = likes_mesoamericansDAT
	}

	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_muslims
		}
		localisation_key = likes_muslimsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_christians
		}
		localisation_key = likes_christiansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_mazdans
		}
		localisation_key = likes_mazdansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zoroastrian = { is_name_randomized = yes }
			offmap_has_dislike = likes_zoroastrians
		}
		localisation_key = likes_zoroastriansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			mazdaki = { is_name_randomized = yes }
			offmap_has_dislike = likes_mazdakis
		}
		localisation_key = likes_mazdakisDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			manichean = { is_name_randomized = yes }
			offmap_has_dislike = likes_manicheans
		}
		localisation_key = likes_manicheansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			khurmazta = { is_name_randomized = yes }
			offmap_has_dislike = likes_khurmaztans
		}
		localisation_key = likes_khurmaztansDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			buddhist = { is_name_randomized = yes }
			offmap_has_dislike = likes_buddhists
		}
		localisation_key = likes_buddhistsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			hindu = { is_name_randomized = yes }
			offmap_has_dislike = likes_hindus
		}
		localisation_key = likes_hindusDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			jain = { is_name_randomized = yes }
			offmap_has_dislike = likes_jains
		}
		localisation_key = likes_jainsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			tengri_pagan = { is_name_randomized = yes }
			offmap_has_dislike = likes_tengris
		}
		localisation_key = likes_tengrisDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			zun_pagan = { is_name_randomized = yes }
			offmap_has_dislike = likes_zunists
		}
		localisation_key = likes_zunistsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			offmap_has_dislike = likes_jews
		}
		localisation_key = likes_jewsDAT
	}
	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
			bon = { is_name_randomized = yes }
			offmap_has_dislike = likes_bon
		}
		localisation_key = likes_bonDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_indians
		}
		localisation_key = likes_indians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_dravidians
		}
		localisation_key = likes_dravidians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_tibetans
		}
		localisation_key = likes_tibetans_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_germanics
		}
		localisation_key = likes_germanics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_latino_iberians
		}
		localisation_key = likes_latino_iberians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_byzantines
		}
		localisation_key = likes_byzantines_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_celts
		}
		localisation_key = likes_celts_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_finno_ugrics
		}
		localisation_key = likes_finno_ugrics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_altaics
		}
		localisation_key = likes_altaics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_balto_slavics
		}
		localisation_key = likes_balto_slavics_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_arabs
		}
		localisation_key = likes_arabs_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_iranians
		}
		localisation_key = likes_iranians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
			offmap_has_dislike = likes_africans
		}
		localisation_key = likes_africans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = culture_names value = random } }
				NOT = { nahuatl = { has_flag = is_name_randomized_flag } }
			}
			offmap_has_dislike = likes_mesoamericans
		}
		localisation_key = likes_mesoamericans_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_muslims
		}
		localisation_key = likes_muslims_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_christians
		}
		localisation_key = likes_christians_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_mazdans
		}
		localisation_key = likes_mazdans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zoroastrian = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_zoroastrians
		}
		localisation_key = likes_zoroastrians_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { mazdaki = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_mazdakis
		}
		localisation_key = likes_mazdakis_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { manichean = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_manicheans
		}
		localisation_key = likes_manicheans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { khurmazta = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_khurmaztans
		}
		localisation_key = likes_khurmaztans_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { buddhist = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_buddhists
		}
		localisation_key = likes_buddhists_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { hindu = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_hindus
		}
		localisation_key = likes_hindus_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { jain = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_jains
		}
		localisation_key = likes_jains_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { tengri_pagan = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_tengris
		}
		localisation_key = likes_tengris_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { zun_pagan = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_zunists
		}
		localisation_key = likes_zunists_defaultDAT
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			offmap_has_dislike = likes_jews
		}
		localisation_key = likes_jews_defaultDAT
	}
	text = {
		trigger = {
			OR = {
				NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
				NOT = { bon = { is_name_randomized = yes } }
			}
			offmap_has_dislike = likes_bon
		}
		localisation_key = likes_bon_defaultDAT
	}
	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 = {
			OR = {
				has_character_flag = sword_tier_2
				has_character_flag = zweihanded_sword
			}
		}
		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_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 = {
			OR = {
				has_character_flag = armor_tier_1
				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 = {
			OR = {
				has_character_flag = sword_tier_2
				has_character_flag = zweihanded_sword
			}
		}
		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_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 = {
			OR = {
				has_character_flag = armor_tier_1
				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 = {
			OR = {
				has_character_flag = sword_tier_2
				has_character_flag = zweihanded_sword
			}
		}
		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_spear_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_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 = {
			OR = {
				has_character_flag = sword_tier_2
				has_character_flag = zweihanded_sword
			}
		}
		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_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 = {
			OR = {
				has_character_flag = armor_tier_1
				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 = { is_renamed_secret_religion_trigger = yes }
	}
	text = {
		localisation_key = string_reformer_secret_god_name_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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
			}
		}
	}
	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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			secret_religion = aztec_reformed
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			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 = { has_global_flag = flag_hellenic_greek_reformation }
							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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			secret_religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			secret_religion = hellenic_pagan_reformed
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			secret_religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			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"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			secret_religion = hellenic_pagan_reformed
			has_global_flag = flag_hellenic_greek_reformation
			secret_religion_scope = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_GOD_GEN
		trigger = {
			NOR = {
				religion_group = christian
				religion_group = muslim
				religion_group = pagan_group
				religion_group = zoroastrian_group
				religion_group = jewish_group
				religion_group = indian_group
			}
		}
	}
	fallback_text = {
		localisation_key = ALT_SECRET_HIGHGOD_RANDOM_GEN
	}
}
#  (Secret)
defined_text = {
	name = GetSecretReligionScriptureNameGEN
	use_first_valid = yes
	text = {
		localisation_key = RandomSecretReligionScripture_GEN
		trigger = { is_renamed_secret_religion_trigger = yes }
	}
	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 = SecretReligionScripture_Fallback
		trigger = { is_renamed_secret_religion_trigger = yes }
	}
	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 = SecretReligionScriptureAdjAndName_Fallback
		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 = { is_renamed_religion_trigger = yes }
	}
	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 = ReligionScripture_Fallback
		trigger = { is_renamed_religion_trigger = yes }
	}
	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 = { is_renamed_religion_trigger = yes }
	}
	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
	}
}
#/ (   , , /)
defined_text = {
	name = GetServantSuffixACC

	text = {
		trigger = { is_female = yes }
		localisation_key = String_ServantSuffix_FemaleACC
	}
	fallback_text = {
		localisation_key = String_ServantSuffix_MaleACC
	}
}
#/ (   , , /)
defined_text = {
	name = GetServantSuffixDAT

	text = {
		trigger = { is_female = yes }
		localisation_key = String_ServantSuffix_FemaleDAT
	}
	fallback_text = {
		localisation_key = String_ServantSuffix_MaleDAT
	}
}
defined_text = {
	name = GetServantSuffixOppDAT

	text = {
		trigger = { is_female = no }
		localisation_key = String_ServantSuffix_FemaleDAT
	}
	fallback_text = {
		localisation_key = String_ServantSuffix_MaleDAT
	}
}
#/ (   , ,   /   )
defined_text = {
	name = GetServantSuffixMarry

	text = {
		trigger = { is_female = yes }
		localisation_key = String_ServantSuffix_FemaleDAT
	}
	fallback_text = {
		localisation_key = String_ServantSuffix_MaleACC
	}
}
defined_text = {
	name = GetServantSuffixOppMarry

	text = {
		trigger = { is_female = no }
		localisation_key = String_ServantSuffix_FemaleDAT
	}
	fallback_text = {
		localisation_key = String_ServantSuffix_MaleACC
	}
}
#//     - 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 = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_A
	}
}
defined_text = {
	name = GetHGodEndLA

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetHGodSheHe

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = EV_SHE
	}
	fallback_text = {
		localisation_key = EV_HE
	}
}
defined_text = {
	name = GetHGodHersHisCap

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
}
defined_text = {
	name = GetHGodHerHimCap

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = OBJ_PRONOUN_FEM_CAP
	}
	fallback_text = {
		localisation_key = OBJ_PRONOUN_MAL_CAP
	}
}
defined_text = {
	name = GetHGodNaEn

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_NA
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetHGodAyaOy

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = AYA_POSTFIX
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetHGodOyIm

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_IM
	}
}
defined_text = {
	name = GetHGodYGo

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_Y
	}
	fallback_text = {
		localisation_key = END_GO
	}
}
defined_text = {
	name = GetHGodLasLsya

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_LAS
	}
	fallback_text = {
		localisation_key = END_LSYA
	}
}
#TrueReligion
defined_text = {
	name = GetTrueHGodEndA

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					true_religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_A
	}
}
defined_text = {
	name = GetTrueHGodEndLA

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					true_religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = FEMALE_ENDING_E
	}
}
defined_text = {
	name = GetTrueHGodHersHisCap

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					true_religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = POSS_PRONOUN_FEM_CAP
	}
	fallback_text = {
		localisation_key = POSS_PRONOUN_MAL_CAP
	}
}
defined_text = {
	name = GetTrueHGodNaEn

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					true_religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_NA
	}
	fallback_text = {
		localisation_key = END_EN
	}
}
defined_text = {
	name = GetTrueHGodAyaOy

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					true_religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = AYA_POSTFIX
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = {
	name = GetTrueHGodLasLsya

	text = {
		trigger = {
			OR = {
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					true_religion_scope = { OR = { has_religion_feature=religion_matriarchal has_flag=reformer_is_female } }
				}
				AND = {
					has_alternate_start_parameter = { key = religion_names value = random }
					true_religion_scope = { is_name_randomized=yes has_flag=high_goddess_flag }
				}
			}
		}
		localisation_key = END_LAS
	}
	fallback_text = {
		localisation_key = END_LSYA
	}
}
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 = GetRelRefGod

	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = norse_pagan_reformed
		}
		localisation_key = String_Norse_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = tengri_pagan_reformed
		}
		localisation_key = String_Tengri_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = baltic_pagan_reformed
		}
		localisation_key = String_Baltic_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = finnish_pagan_reformed
		}
		localisation_key = String_Finnish_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = aztec_reformed
		}
		localisation_key = String_Aztec_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = slavic_pagan_reformed
		}
		localisation_key = String_Slavic_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = west_african_pagan_reformed
		}
		localisation_key = String_African_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = zun_pagan_reformed
		}
		localisation_key = String_Zun_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Female_God
	}
	text = {
		trigger = {
			NOT = { has_flag = reformer_is_female }
			religion = hellenic_pagan_reformed
		}
		localisation_key = String_Hellenic_Ruler_Male_God
	}
	text = {
		trigger = {
			has_flag = reformer_is_female
			religion = bon_reformed
		}
		localisation_key = String_Bon_Ruler_Female_God
	}
	text = {
		trigger = {
			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 = GetAthenaMinervaNameINS
	text = {
		trigger = {
			has_global_flag = flag_hellenic_greek_reformation
		}
		localisation_key = GOD_ATHENA_INS
	}
	text = {
		trigger = {
			NOT = { has_global_flag = flag_hellenic_greek_reformation }
		}
		localisation_key = GOD_MINERVA_INS
	}

	fallback_text = {
		localisation_key = GOD_MINERVA_INS
	}
}
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
	}
}
#Alt Loc Fixes
defined_text = {
	name = GetChristianGroupAdj
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_GetChristianGroupAdj_RANDOM
	}
	text = {
		trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = String_GetChristianGroupAdj_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetChristianGroupAdj_GENERIC
	}
}
defined_text = {
	name = GetChristianGroupAdjCap
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_GetChristianGroupAdj_RANDOM
	}
	text = {
		trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = String_GetChristianGroupAdjCap_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetChristianGroupAdjCap_GENERIC
	}
}
defined_text = {
	name = GetMuslimGroupAdj
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_GetMuslimGroupAdj_RANDOM
	}
	text = {
		trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = String_GetMuslimGroupAdj_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetMuslimGroupAdj_GENERIC
	}
}
defined_text = {
	name = GetIndianGroupName
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_GetIndianGroupName_RANDOM
	}
	text = {
		trigger = { NOT = { has_alternate_start_parameter = { key = religion_names value = random } } }
		localisation_key = String_GetIndianGroupName_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetIndianGroupName_GENERIC
	}
}
defined_text = {
	name = GetCatholicPlural
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } catholic = { is_name_randomized = yes } }
		localisation_key = String_GetCatholicPlural_RANDOM
	}
	text = {
		trigger = { NAND = { has_alternate_start_parameter = { key = religion_names value = random } catholic = { is_name_randomized = yes } } }
		localisation_key = String_GetCatholicPlural_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetCatholicPlural_GENERIC
	}
}
defined_text = {
	name = GetCatholicAdj
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } catholic = { is_name_randomized = yes } }
		localisation_key = String_GetCatholicAdj_RANDOM
	}
	text = {
		trigger = { NAND = { has_alternate_start_parameter = { key = religion_names value = random } catholic = { is_name_randomized = yes } } }
		localisation_key = String_GetCatholicAdj_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetCatholicAdj_GENERIC
	}
}
defined_text = {
	name = GetHinduismName
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } hindu = { is_name_randomized = yes } }
		localisation_key = String_GetHinduismName_RANDOM
	}
	text = {
		trigger = { NAND = { has_alternate_start_parameter = { key = religion_names value = random } hindu = { is_name_randomized = yes } } }
		localisation_key = String_GetHinduismName_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetHinduismName_GENERIC
	}
}
defined_text = {
	name = GetBuddhismName
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } buddhist = { is_name_randomized = yes } }
		localisation_key = String_GetBuddhismName_RANDOM
	}
	text = {
		trigger = { NAND = { has_alternate_start_parameter = { key = religion_names value = random } buddhist = { is_name_randomized = yes } } }
		localisation_key = String_GetBuddhismName_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetBuddhismName_GENERIC
	}
}
defined_text = {
	name = GetJainismName
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } buddhist = { is_name_randomized = yes } }
		localisation_key = String_GetJainismName_RANDOM
	}
	text = {
		trigger = { NAND = { has_alternate_start_parameter = { key = religion_names value = random } buddhist = { is_name_randomized = yes } } }
		localisation_key = String_GetJainismName_GENERIC
	}
	fallback_text = {
		localisation_key = String_GetJainismName_GENERIC
	}
}

defined_text = {
	name = GetRandomRGTransform
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_GetRandomRGTransform
	}
}
defined_text = {
	name = GetRandomRGTransformGEN
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = String_GetRandomRGTransformGEN
	}
	fallback_text = {
		localisation_key = END_A
	}
}
# China loc
defined_text = {
	name = GetHFChinaLikeIndians
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_indians_ALT
	}
	fallback_text = {
		localisation_key = likes_indians_default
	}
}
defined_text = {
	name = GetHFChinaLikeDravidians
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_dravidians_ALT
	}
	fallback_text = {
		localisation_key = likes_dravidians_default
	}
}
defined_text = {
	name = GetHFChinaLikeTibetans
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_tibetans_ALT
	}
	fallback_text = {
		localisation_key = likes_tibetans_default
	}
}
defined_text = {
	name = GetHFChinaLikeGermanics
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_germanics_ALT
	}
	fallback_text = {
		localisation_key = likes_germanics_default
	}
}
defined_text = {
	name = GetHFChinaLikeLatinoIberians
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_latino_iberians_ALT
	}
	fallback_text = {
		localisation_key = likes_latino_iberians_default
	}
}
defined_text = {
	name = GetHFChinaLikeByzantines
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_byzantines_ALT
	}
	fallback_text = {
		localisation_key = likes_byzantines_default
	}
}
defined_text = {
	name = GetHFChinaLikeCelts
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_celts_ALT
	}
	fallback_text = {
		localisation_key = likes_celts_default
	}
}
defined_text = {
	name = GetHFChinaLikeFinnoUgrics
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_finno_ugrics_ALT
	}
	fallback_text = {
		localisation_key = likes_finno_ugrics_default
	}
}
defined_text = {
	name = GetHFChinaLikeAltaics
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_altaics_ALT
	}
	fallback_text = {
		localisation_key = likes_altaics_default
	}
}
defined_text = {
	name = GetHFChinaLikeBaltoSlavics
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_balto_slavics_ALT
	}
	fallback_text = {
		localisation_key = likes_balto_slavics_default
	}
}
defined_text = {
	name = GetHFChinaLikeArabs
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_arabs_ALT
	}
	fallback_text = {
		localisation_key = likes_arabs_default
	}
}
defined_text = {
	name = GetHFChinaLikeIranians
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_iranians_ALT
	}
	fallback_text = {
		localisation_key = likes_iranians_default
	}
}
defined_text = {
	name = GetHFChinaLikeAfricans
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = likes_africans_ALT
	}
	fallback_text = {
		localisation_key = likes_africans_default
	}
}
defined_text = {
	name = GetHFChinaLikeMesoamericans
	
	text = {
		trigger = { has_alternate_start_parameter = { key = culture_names value = random } nahuatl = { has_flag = is_name_randomized_flag } }
		localisation_key = likes_mesoamericans_ALT
	}
	fallback_text = {
		localisation_key = likes_mesoamericans_default
	}
}
defined_text = {
	name = GetHFChinaLikeMuslims
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = likes_muslims_ALT
	}
	fallback_text = {
		localisation_key = likes_muslims_default
	}
}
defined_text = {
	name = GetHFChinaLikeChristians
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = likes_christians_ALT
	}
	fallback_text = {
		localisation_key = likes_christians_default
	}
}
defined_text = {
	name = GetHFChinaLikeMazdans
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = likes_mazdans_ALT
	}
	fallback_text = {
		localisation_key = likes_mazdans_default
	}
}
defined_text = {
	name = GetHFChinaLikeZoroastrians
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } zoroastrian = { is_name_randomized = yes } }
		localisation_key = likes_zoroastrians_ALT
	}
	fallback_text = {
		localisation_key = likes_zoroastrians_default
	}
}
defined_text = {
	name = GetHFChinaLikeMazdakis
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } mazdaki = { is_name_randomized = yes } }
		localisation_key = likes_mazdakis_ALT
	}
	fallback_text = {
		localisation_key = likes_mazdakis_default
	}
}
defined_text = {
	name = GetHFChinaLikeManicheans
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } manichean = { is_name_randomized = yes } }
		localisation_key = likes_manicheans_ALT
	}
	fallback_text = {
		localisation_key = likes_manicheans_default
	}
}
defined_text = {
	name = GetHFChinaLikeKhurmaztans
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } khurmazta = { is_name_randomized = yes } }
		localisation_key = likes_khurmaztans_ALT
	}
	fallback_text = {
		localisation_key = likes_khurmaztans_default
	}
}
defined_text = {
	name = GetHFChinaLikeBuddhists
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } buddhist = { is_name_randomized = yes } }
		localisation_key = likes_buddhists_ALT
	}
	fallback_text = {
		localisation_key = likes_buddhists_default
	}
}
defined_text = {
	name = GetHFChinaLikeHindus
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } hindu = { is_name_randomized = yes } }
		localisation_key = likes_hindus_ALT
	}
	fallback_text = {
		localisation_key = likes_hindus_default
	}
}
defined_text = {
	name = GetHFChinaLikeJains
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } jain = { is_name_randomized = yes } }
		localisation_key = likes_jains_ALT
	}
	fallback_text = {
		localisation_key = likes_jains_default
	}
}
defined_text = {
	name = GetHFChinaLikeTengris
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } tengri_pagan = { is_name_randomized = yes } }
		localisation_key = likes_tengris_ALT
	}
	fallback_text = {
		localisation_key = likes_tengris_default
	}
}
defined_text = {
	name = GetHFChinaLikeZunists
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } zun_pagan = { is_name_randomized = yes } }
		localisation_key = likes_zunists_ALT
	}
	fallback_text = {
		localisation_key = likes_zunists_default
	}
}
defined_text = {
	name = GetHFChinaLikeJews
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = likes_jews_ALT
	}
	fallback_text = {
		localisation_key = likes_jews_default
	}
}
defined_text = {
	name = GetHFChinaLikeBon
	
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } bon = { is_name_randomized = yes } }
		localisation_key = likes_bon_ALT
	}
	fallback_text = {
		localisation_key = likes_bon_default
	}
}
#DAT
defined_text = {
	name = GetChinaGermanicDAT
	text = { trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = string_germanic_random_likeDAT
	}
	fallback_text = {
		localisation_key = string_germanic_likeDAT
	}
}

defined_text = {
	name = GetChinaFinnoMagyarDAT
	text = { trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = string_finnomagyar_random_likeDAT
	}
	fallback_text = {
		localisation_key = string_finnomagyar_likeDAT
	}
}

defined_text = {
	name = GetChinaBaltoSlavicDAT
	text = { trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = string_baltoslavic_random_likeDAT
	}
	fallback_text = {
		localisation_key = string_baltoslavic_likeDAT
	}
}

defined_text = {
	name = GetChinaAfricanDAT
	text = { trigger = { has_alternate_start_parameter = { key = culture_names value = random } }
		localisation_key = string_african_random_likeDAT
	}
	fallback_text = {
		localisation_key = string_african_likeDAT
	}
}

defined_text = {
	name = GetChinaZunistDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } zun_pagan = { is_name_randomized = yes } }
		localisation_key = string_zun_random_likeDAT
	}
	fallback_text = {
		localisation_key = string_zun_likeDAT
	}
}

defined_text = {
	name = GetChinaJewsDAT
	text = { trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = string_jew_random_likeDAT
	}
	fallback_text = {
		localisation_key = string_jew_likeDAT
	}
}
#Character's sex related
defined_text = {
	name = GetMFRandomMythologicalCreature
	
	text = {
		localisation_key = random_mythological_creature_dragon
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_giant_snail
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_hydra
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_gorgon
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_harpy
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_siren
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = random_mythological_creature_giant
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = random_mythological_creature_kraken
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = random_mythological_creature_griffin
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = random_mythological_creature_basilisk
	}
	text = {
		localisation_key = random_mythological_creature_manticore
	}
	text = {
		trigger = {
			is_female = no
		}
		localisation_key = random_mythological_creature_cyclops
	}
	text = {
		trigger = {
			is_female = no
			culture = norse
		}
		localisation_key = random_mythological_creature_sleipnir
	}
	text = {
		trigger = {
			is_female = no
			culture = norse
		}
		localisation_key = random_mythological_creature_fenrir
	}
	text = {
		trigger = {
			is_female = no
			culture = norse
		}
		localisation_key = random_mythological_creature_jrmungandr
	}
	text = {
		trigger = {
			culture = norse
		}
		localisation_key = random_mythological_creature_nidhogg
	}
	text = {
		trigger = {
			is_female = no
			culture = norse
		}
		localisation_key = random_mythological_creature_draugr
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_chimera
	}
	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = random_mythological_creature_dryad
	}
}
# 
defined_text = { #Needs a province scope
	name = GetTerrainACC

	text = {
		trigger = { terrain = forest }
		localisation_key = string_forestACC
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_hillsACC
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_mountainsACC
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_plainsACC
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_farmlandsACC
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_steppeACC
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_desertACC
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_jungleACC
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_arcticACC
	}
	fallback_text = {
		localisation_key = string_terrainACC
	}
}
defined_text = { #Needs a province scope
	name = GetTerrainCapACC

	text = {
		trigger = { terrain = forest }
		localisation_key = string_ForestACC
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_HillsACC
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_MountainsACC
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_PlainsACC
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_FarmlandsACC
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_SteppeACC
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_DesertACC
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_JungleACC
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_ArcticACC
	}
	fallback_text = {
		localisation_key = string_TerrainACC
	}
}
# 
defined_text = { #Needs a province scope
	name = GetTerrainGEN

	text = {
		trigger = { terrain = forest }
		localisation_key = string_forestGEN
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_hillsGEN
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_mountainsGEN
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_plainsGEN
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_farmlandsGEN
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_steppeGEN
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_desertGEN
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_jungleGEN
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_arcticGEN
	}
	fallback_text = {
		localisation_key = string_terrainGEN
	}
}
defined_text = { #Needs a province scope
	name = GetTerrainCapGEN

	text = {
		trigger = { terrain = forest }
		localisation_key = string_ForestGEN
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_HillsGEN
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_MountainsGEN
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_PlainsGEN
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_FarmlandsGEN
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_SteppeGEN
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_DesertGEN
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_JungleGEN
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_ArcticGEN
	}
	fallback_text = {
		localisation_key = string_TerrainGEN
	}
}
# 
defined_text = { #Needs a province scope
	name = GetTerrainPREP

	text = {
		trigger = { terrain = forest }
		localisation_key = string_forestPREP
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_hillsPREP
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_mountainsPREP
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_plainsPREP
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_farmlandsPREP
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_steppePREP
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_desertPREP
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_junglePREP
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_arcticPREP
	}
	fallback_text = {
		localisation_key = string_terrainPREP
	}
}
defined_text = { #Needs a province scope GetTerrain
	name = GetTerrainShortPlaces

	text = {
		trigger = { terrain = forest }
		localisation_key = string_places
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_grounds
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_passages
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_heaths
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_heaths
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_heaths
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_grounds
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_places
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_grounds
	}
	fallback_text = {
		localisation_key = string_heaths
	}
}
defined_text = { #Needs a province scope GetTerrain
	name = GetTerrainShortPlaceGEN

	text = {
		trigger = { terrain = forest }
		localisation_key = string_placesGEN
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_groundsGEN
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_passagesGEN
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_heathsGEN
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_heathsGEN
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_heathsGEN
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_groundsGEN
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_placesGEN
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_groundsGEN
	}
	fallback_text = {
		localisation_key = string_heathsGEN
	}
}
defined_text = { #Needs a province scope GetTerrain
	name = GetTerrainShortPlacesPREP

	text = {
		trigger = { terrain = forest }
		localisation_key = string_placesPREP
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_groundsPREP
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_passagesPREP
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_heathsPREP
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_heathsPREP
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_heathsPREP
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_groundsPREP
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_placesPREP
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_groundsPREP
	}
	fallback_text = {
		localisation_key = string_heathsPREP
	}
}
defined_text = { #Needs a province scope GetTerrain
	name = GetTerrainInPlacePREP

	text = {
		trigger = { terrain = forest }
		localisation_key = string_in_forestPREP
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_in_hillsPREP
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_in_passagePREP
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_on_plainPREP
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_on_fieldPREP
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_in_steppePREP
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_in_desertPREP
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_in_junglePREP
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_in_tundraPREP
	}
	fallback_text = {
		localisation_key = string_on_fieldPREP
	}
}
defined_text = { #Needs a province scope GetTerrain
	name = GetTerrainInLocPlacePREP

	text = {
		trigger = { terrain = forest }
		localisation_key = string_inloc_forestPREP
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_inloc_hillsPREP
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_inloc_passagePREP
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_onv_plainPREP
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_onloc_fieldPREP
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_inloc_steppePREP
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_inloc_desertPREP
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_inloc_junglePREP
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_inloc_tundraPREP
	}
	fallback_text = {
		localisation_key = string_onloc_fieldPREP
	}
}
defined_text = { #Needs a province scope
	name = GetTerrainCapPREP

	text = {
		trigger = { terrain = forest }
		localisation_key = string_ForestPREP
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_HillsPREP
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_MountainsPREP
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_PlainsPREP
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_FarmlandsPREP
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_SteppePREP
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_DesertPREP
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_JunglePREP
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_ArcticPREP
	}
	fallback_text = {
		localisation_key = string_TerrainPREP
	}
}
# 
defined_text = { #Needs a province scope
	name = GetTerrainINS

	text = {
		trigger = { terrain = forest }
		localisation_key = string_forestINS
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_hillsINS
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_mountainsINS
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_plainsINS
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_farmlandsINS
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_steppeINS
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_desertINS
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_jungleINS
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_arcticINS
	}
	fallback_text = {
		localisation_key = string_terrainINS
	}
}
defined_text = { #Needs a province scope
	name = GetTerrainCapINS

	text = {
		trigger = { terrain = forest }
		localisation_key = string_ForestINS
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_HillsINS
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_MountainsINS
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_PlainsINS
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_FarmlandsINS
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_SteppeINS
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_DesertINS
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_JungleINS
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_ArcticINS
	}
	fallback_text = {
		localisation_key = string_TerrainINS
	}
}
#   (//)
defined_text = { #Needs a province scope
	name = GetTerrainPostfixPREP

	text = {
		trigger = { terrain = forest }
		localisation_key = END_OM
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = END_IH
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = END_IH
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = END_OY
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = END_IH
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = END_OY
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = END_OY
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = END_IH
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
#   (//)
defined_text = { #Needs a province scope
	name = GetWonderTerrainPostfixPREP

	text = {
		trigger = {
			is_using_ocean_background_trigger = yes
		}
		localisation_key = END_OM
	}
	text = {
		trigger = {
			terrain = forest
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_OM
	}
	text = {
		trigger = {
			terrain = hills
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_IH
	}
	text = {
		trigger = {
			terrain = mountain
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_IH
	}
	text = {
		trigger = {
			terrain = plains
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			terrain = farmlands
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_IH
	}
	text = {
		trigger = {
			terrain = steppe
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			terrain = desert
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			terrain = jungle
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_IH
	}
	text = {
		trigger = {
			terrain = arctic
			is_using_ocean_background_trigger = no
		}
		localisation_key = END_OY
	}
	fallback_text = {
		localisation_key = END_OY
	}
}
defined_text = { ### Needs a province scope - USE ONLY TOGETHER WITH GetWonderTerrain! ###
	name = GetInOnWonderTerrain
	
	use_first_valid = yes # Defaults to no

	text = {
		trigger = {
			is_using_ocean_background_trigger = yes
		}
		localisation_key = string_on
	}
	text = {
		trigger = {
			terrain = forest
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_in
	}
	text = {
		trigger = {
			terrain = hills
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_on
	}
	text = {
		trigger = {
			terrain = mountain
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_in
	}
	text = {
		trigger = {
			terrain = plains
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_on
	}
	text = {
		trigger = {
			terrain = farmlands
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_on
	}
	text = {
		trigger = {
			terrain = steppe
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_in
	}
	text = {
		trigger = {
			terrain = desert
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_in
	}
	text = {
		trigger = {
			terrain = jungle
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_in
	}
	text = {
		trigger = {
			terrain = arctic
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_in
	}
	fallback_text = {
		localisation_key = string_on
	}
}
#  
defined_text = { #Needs a province scope
	name = GetWonderTerrainACC
	
	use_first_valid = yes # Defaults to no

	text = {
		trigger = {
			is_using_ocean_background_trigger = yes
		}
		localisation_key = string_coastACC
	}
	text = {
		trigger = {
			terrain = forest
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_forestACC
	}
	text = {
		trigger = {
			terrain = hills
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_hillsACC
	}
	text = {
		trigger = {
			terrain = mountain
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_mountainsACC
	}
	text = {
		trigger = {
			terrain = plains
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_plainsACC
	}
	text = {
		trigger = {
			terrain = farmlands
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_farmlandsACC
	}
	text = {
		trigger = {
			terrain = steppe
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_steppeACC
	}
	text = {
		trigger = {
			terrain = desert
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_desertACC
	}
	text = {
		trigger = {
			terrain = jungle
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_jungleACC
	}
	text = {
		trigger = {
			terrain = arctic
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_arcticACC
	}
	fallback_text = {
		localisation_key = string_terrainACC
	}
}
#  
defined_text = { #Needs a province scope
	name = GetWonderTerrainGEN
	
	use_first_valid = yes # Defaults to no

	text = {
		trigger = {
			is_using_ocean_background_trigger = yes
		}
		localisation_key = string_coastGEN
	}
	text = {
		trigger = {
			terrain = forest
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_forestGEN
	}
	text = {
		trigger = {
			terrain = hills
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_hillsGEN
	}
	text = {
		trigger = {
			terrain = mountain
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_mountainsGEN
	}
	text = {
		trigger = {
			terrain = plains
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_plainsGEN
	}
	text = {
		trigger = {
			terrain = farmlands
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_farmlandsGEN
	}
	text = {
		trigger = {
			terrain = steppe
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_steppeGEN
	}
	text = {
		trigger = {
			terrain = desert
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_desertGEN
	}
	text = {
		trigger = {
			terrain = jungle
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_jungleGEN
	}
	text = {
		trigger = {
			terrain = arctic
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_arcticGEN
	}
	fallback_text = {
		localisation_key = string_terrainGEN
	}
}
#  
defined_text = { #Needs a province scope
	name = GetWonderTerrainINS
	
	use_first_valid = yes # Defaults to no

	text = {
		trigger = {
			is_using_ocean_background_trigger = yes
		}
		localisation_key = string_coastINS
	}
	text = {
		trigger = {
			terrain = forest
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_forestINS
	}
	text = {
		trigger = {
			terrain = hills
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_hillsINS
	}
	text = {
		trigger = {
			terrain = mountain
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_mountainsINS
	}
	text = {
		trigger = {
			terrain = plains
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_plainsINS
	}
	text = {
		trigger = {
			terrain = farmlands
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_farmlandsINS
	}
	text = {
		trigger = {
			terrain = steppe
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_steppeINS
	}
	text = {
		trigger = {
			terrain = desert
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_desertINS
	}
	text = {
		trigger = {
			terrain = jungle
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_jungleINS
	}
	text = {
		trigger = {
			terrain = arctic
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_arcticINS
	}
	fallback_text = {
		localisation_key = string_terrainINS
	}
}
#  
defined_text = { #Needs a province scope
	name = GetWonderTerrainPREP
	
	use_first_valid = yes # Defaults to no

	text = {
		trigger = {
			is_using_ocean_background_trigger = yes
		}
		localisation_key = string_coastPREP
	}
	text = {
		trigger = {
			terrain = forest
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_forestPREP
	}
	text = {
		trigger = {
			terrain = hills
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_hillsPREP
	}
	text = {
		trigger = {
			terrain = mountain
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_mountainsPREP
	}
	text = {
		trigger = {
			terrain = plains
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_plainsPREP
	}
	text = {
		trigger = {
			terrain = farmlands
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_farmlandsPREP
	}
	text = {
		trigger = {
			terrain = steppe
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_steppePREP
	}
	text = {
		trigger = {
			terrain = desert
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_desertPREP
	}
	text = {
		trigger = {
			terrain = jungle
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_junglePREP
	}
	text = {
		trigger = {
			terrain = arctic
			is_using_ocean_background_trigger = no
		}
		localisation_key = string_arcticPREP
	}
	fallback_text = {
		localisation_key = string_terrainPREP
	}
}
# 
defined_text = {
	name = GetGroundDescGEN
	text = {
		localisation_key = string_snowGEN
		trigger = { location = { is_winter = yes } }
	}
	text = {
		localisation_key = string_mudGEN
		trigger = { location = { is_winter = no } }
	}
	text = {
		localisation_key = string_dirtGEN
		trigger = { location = { is_winter = no } }
	}

	fallback_text = {
		localisation_key = string_dirtGEN
	}
}
# 
defined_text = {
	name = GetGroundDescPREP
	text = {
		localisation_key = string_snowPREP
		trigger = { location = { is_winter = yes } }
	}
	text = {
		localisation_key = string_mudPREP
		trigger = { location = { is_winter = no } }
	}
	text = {
		localisation_key = string_dirtPREP
		trigger = { location = { is_winter = no } }
	}

	fallback_text = {
		localisation_key = string_dirtPREP
	}
}
# 
defined_text = {
	name = GetCoronationBishopINS #string_crowned_by_bishop_alive_desc
	text = {
		trigger = { real_tier = BARON }
		localisation_key = string_baron_BishopINS
	}
	fallback_text = {
		localisation_key = string_GetCoronationBishopINS_fallback
	}
}
### DUEL SYSTEM KEYS ###
defined_text = { 
	name = GetKillingBlowOnMeShortF #Used in duels (present tense!)
	text = {
		localisation_key = String_killing_blow_sharp_on_meF
		trigger = {
			event_target:other_combatant = { is_using_sharp_weapon_trigger = yes }
		}
	}
	text = {
		localisation_key = String_killing_blow_blunt_on_meF
		trigger = {
			event_target:other_combatant = { is_using_blunt_weapon_trigger = yes }
		}
	}
	text = {
		localisation_key = String_killing_blow_piercing_on_meF
		trigger = {
			event_target:other_combatant = { is_using_piercing_weapon_trigger = yes }
		}
	}
	text = {
		localisation_key = String_shoot_my_gun_shortF
		trigger = {			
			event_target:other_combatant = { is_using_gun_trigger = yes }
		}
	}
	fallback_text = {
		localisation_key = String_killing_blow_sharp_on_meF
	}
}

# 
defined_text = {
	name = GetDuelWeaponGEN
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordGEN
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarGEN
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeGEN
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeGEN
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffGEN
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearGEN
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearGEN
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsGEN
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_gunGEN
		trigger = {
			is_using_gun_trigger = yes
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1GEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2GEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordGEN
	}
}
#   
defined_text = {
	name = GetMyDuelWeaponFull
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	text = {
		localisation_key = String_long_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyFull
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyFull
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyFull
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyFull
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyFull
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyFull
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyFull
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyFull
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_gunMyFull
		trigger = {
			is_using_gun_trigger = yes
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyFull
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyFull
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyFull
	}
}
#   
defined_text = {
	name = GetMyDuelWeaponNoHandsNoGunFull
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	text = {
		localisation_key = String_long_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyFull
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyFull
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyFull
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyFull
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyFull
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyFull
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyFull
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyFull
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyFull
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyFull
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyFull
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyFull
	}
}
#  ()
defined_text = {
	name = GetMyDuelWeaponACC
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyACC
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyACC
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyACC
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_gunMyACC
		trigger = {
			is_using_gun_trigger = yes
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyACC
	}
}
#  ()
defined_text = {
	name = GetMyDuelWeaponNoPistolACC
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyACC
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyACC
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyACC
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyACC
	}
}
#  ()
defined_text = {
	name = GetMyDuelWeaponNoHandsACC
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyACC
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyACC
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_gunMyACC
		trigger = {
			is_using_gun_trigger = yes
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyACC
	}
}
#  ()
defined_text = {
	name = GetMyDuelWeaponNoHandsNoGunACC
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyACC
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyACC
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyACC
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyACC
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyACC
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyACC
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyACC
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyACC
	}
}
#  ()
defined_text = {
	name = GetMyDuelWeaponGEN
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyGEN
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyGEN
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyGEN
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyGEN
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyGEN
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyGEN
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyGEN
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_gunMyGEN
		trigger = {
			is_using_gun_trigger = yes
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyGEN
	}
}
defined_text = {
	name = GetMyDuelWeaponNoGunGEN
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyGEN
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyGEN
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyGEN
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyGEN
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyGEN
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyGEN
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_practice_spearMyGEN
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyGEN
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyGEN
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyGEN
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyGEN
	}
}
#  ()
defined_text = {
	name = GetMyDuelWeaponINS
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyINS
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyINS
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyINS
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyINS
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyINS
		trigger = {
			has_character_flag = weapon_is_staff
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_practice_spearMyINS
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyINS
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyINS
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_gunMyINS
		trigger = {
			is_using_gun_trigger = yes
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyINS
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyINS
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyINS
	}
}
#  () -  
defined_text = {
	name = GetMyDuelWeaponNoPistolINS
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyINS
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyINS
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyINS
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyINS
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyINS
		trigger = {
			has_character_flag = weapon_is_staff
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_practice_spearMyINS
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyINS
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_bare_handsMyINS
		trigger = {
			has_character_flag = weapon_is_hand
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyINS
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyINS
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyINS
	}
}
#  () -     
defined_text = {
	name = GetMyDuelWeaponNoHandsNoGunINS
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	# Example:
#	text = {
#		localisation_key = String_sword
#		trigger = {
#			has_character_flag = weapon_is_sword
#			NOT = { has_character_flag = mock_duel }
#		}
#	}
	text = {
		localisation_key = String_long_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_short_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_great_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			NOT = { trait = feeble }
			NOT = { trait = one_handed }
		}
	}
	text = {
		localisation_key = String_bastard_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_jian_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			culture = han
			culture = tangut
		}
	}
	text = {
		localisation_key = String_jewelled_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
			higher_tier_than = KING
		}
	}
	text = {
		localisation_key = String_daggerMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_wooden_swordMyINS
		trigger = {
			has_character_flag = weapon_is_sword
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_scimitarMyINS
		trigger = {
			has_character_flag = weapon_is_scimitar
		}
	}
	text = {
		localisation_key = String_axeMyINS
		trigger = {
			has_character_flag = weapon_is_axe
		}
	}
	text = {
		localisation_key = String_battle_axeMyINS
		trigger = {
			has_character_flag = weapon_is_axe
			NOT = { trait = one_handed }
			NOT = { trait = feeble }
			NOT = { trait = weak }
			has_character_flag = is_battlefield_duel
		}
	}	
	text = {
		localisation_key = String_maceMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flailMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_flanged_maceMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_maulMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_morning_starMyINS
		trigger = {
			has_character_flag = weapon_is_mace
		}
	}
	text = {
		localisation_key = String_wooden_staffMyINS
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_staff
		}
	}
	text = {
		localisation_key = String_wooden_clubMyINS
		trigger = {
			has_character_flag = weapon_is_staff
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_practice_spearMyINS
		trigger = {
			has_character_flag = mock_duel
			has_character_flag = weapon_is_spear
		}
	}
	text = {
		localisation_key = String_spearMyINS
		trigger = {
			has_character_flag = weapon_is_spear
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_1MyINS
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_1 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = String_my_artifact_weapon_2MyINS
		trigger = {
			NOT = { has_character_flag = mock_duel }
			event_target:dueling_weapon_2 = {
				artifact_owner = {	character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = String_swordMyINS
	}
}
#,    ()
defined_text = {
	name = GetActualMyDuelWeaponDescPositive
	#use_first_valid = yes
	#for future reference:
	#This can be updated with more culture/region/religion specific variants

	text = {
		trigger = { has_character_flag = weapon_is_hand }
		localisation_key = string_bare_hands_adpos_My
	}
	text = {
		trigger = {
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
			}
			NOR = {
				has_character_flag = weapon_is_hand
				has_character_flag = weapon_is_staff
				has_character_flag = weapon_is_mace
				has_character_flag = weapon_is_spear
				has_character_flag = weapon_is_axe
			}
			NAND = {
				has_character_flag = weapon_is_sword
				has_character_flag = mock_duel
			}
		}
		localisation_key = string_shiny_weapon_adpos_My
	}
	text = {
		trigger = {
			has_character_flag = weapon_is_axe
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
			}
		}
		localisation_key = string_shiny_weapona_adpos_My
	}
	text = {
		trigger = {
			has_character_flag = weapon_is_spear
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				has_character_flag = mock_duel
			}
		}
		localisation_key = string_shiny_weapono_adpos_My
	}
	text = {
		trigger = {
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				has_character_flag = weapon_is_hand
				is_using_gun_trigger = yes
			}
			NAND = {
				has_character_flag = mock_duel
				has_character_flag = weapon_is_staff
			}
		}
		localisation_key = string_comfortable_weapon1_adpos_My
	}
	text = {
		trigger = {
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
			}
			NOR = {
				is_using_gun_trigger = yes
				has_character_flag = weapon_is_hand
			}
		}
		localisation_key = string_comfortable_weapon2_adpos_My
	}
	text = {
		trigger = {
			has_character_flag = mock_duel
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				has_character_flag = weapon_is_hand
			}
		}
		localisation_key = string_comfortable_weaponmock_adpos_My
	}
	text = {
		trigger = {
			NOR = {
				event_target:dueling_weapon_1 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
				event_target:dueling_weapon_2 = {
					artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
				}
			}
			NOR = {
				has_character_flag = mock_duel
				is_using_gun_trigger = yes
			}
			OR = {
				has_character_flag = weapon_is_axe
				has_character_flag = weapon_is_mace
				has_character_flag = weapon_is_spear
			}
		}
		localisation_key = string_heavy_weapon_adpos_My
	}
	text = {
		localisation_key = string_artifact_weapon1_adpos_My
		trigger = {
			event_target:dueling_weapon_1 = {
				artifact_owner = { character = PREVPREV } #Checks that you own the FIRST saved artifact weapon (means you are combatant_1)
			}
		}
	}
	text = {
		localisation_key = string_artifact_weapon2_adpos_My
		trigger = {
			event_target:dueling_weapon_2 = {
				artifact_owner = { character = PREVPREV } #Checks that you own the SECOND saved artifact weapon (means you are combatant_2)
			}
		}
	}
	fallback_text = {
		localisation_key = string_sword_adpos_My
	}
}
defined_text = {
	name = GetActualWeaponDescNegative
	text = {
		trigger = { has_character_flag = weapon_is_hand }
		localisation_key = string_bare_hands_desc_neg
	}
	text = {
		trigger = { NOT = { has_character_flag = weapon_is_hand } }
		localisation_key = string_heavy_weapon
	}
	text = {
		trigger = { NOT = { has_character_flag = weapon_is_hand } }
		localisation_key = string_fancy_weapon
	}
}
# /      (other_combatant)
defined_text = {
	name = GetDuelMovement1Opponent
	text = {
		trigger = { event_target:other_combat = { character = PREV } }
		localisation_key = string_GetDuelMovement1Opponent_Me
	}
	fallback_text = {
		localisation_key = string_GetDuelMovement1Opponent_fallback
	}
}
#  /        (other_combatant)
defined_text = {
	name = GetDuelMovement1Side
	text = {
		trigger = { event_target:other_combat = { character = PREV } }
		localisation_key = string_GetDuelMovement1Side_Me
	}
	fallback_text = {
		localisation_key = string_GetDuelMovement1Side_fallback
	}
}
# 
defined_text = {
	name = GetBodyPartInjuredGEN
	text = {
		localisation_key = String_eyeGEN
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handGEN
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legGEN
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceGEN
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestGEN
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyGEN
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderGEN
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestGEN
	}
}
# 
defined_text = {
	name = GetBodyPartInjuredACC
	text = {
		localisation_key = String_eyeACC
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handACC
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legACC
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceACC
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestACC
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyACC
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderACC
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestACC
	}
}
# 
defined_text = {
	name = GetBodyPartInjuredPREP
	text = {
		localisation_key = String_eyePREP
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handPREP
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legPREP
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_facePREP
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestPREP
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyPREP
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderPREP
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestPREP
	}
}
# 
defined_text = {
	name = GetBodyPartInjuredDAT
	text = {
		localisation_key = String_eyeDAT
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handDAT
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legDAT
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceDAT
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestDAT
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyDAT
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderDAT
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestDAT
	}
}
#  ()
defined_text = {
	name = GetMyBodyPartInjuredGEN
	text = {
		localisation_key = String_eyeMyGEN
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handMyGEN
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legMyGEN
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceMyGEN
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestMyGEN
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyMyGEN
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderMyGEN
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestMyGEN
	}
}
#  ()
defined_text = {
	name = GetMyBodyPartInjuredACC
	text = {
		localisation_key = String_eyeMyACC
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handMyACC
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legMyACC
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceMyACC
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestMyACC
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyMyACC
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderMyACC
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestMyACC
	}
}
defined_text = {
	name = GetWillTakeMyBodyPartACC
	text = {
		localisation_key = String_eyeMyACC
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handMyACC
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legMyACC
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_earsMyACC
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_heartMyACC
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_liverMyACC
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_handMyACC
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_heartMyACC
	}
}
#  ()
defined_text = {
	name = GetMyBodyPartInjuredPREP
	text = {
		localisation_key = String_eyeMyPREP
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handMyPREP
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legMyPREP
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceMyPREP
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestMyPREP
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyMyPREP
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderMyPREP
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestMyPREP
	}
}
#  ()
defined_text = {
	name = GetMyBodyPartInjuredDAT
	text = {
		localisation_key = String_eyeMyDAT
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
		}
	}
	text = {
		localisation_key = String_handMyDAT
		trigger = { has_character_flag = injury_hand }
	}
	text = {
		localisation_key = String_legMyDAT
		trigger = { has_character_flag = injury_leg }
	}
	text = {
		localisation_key = String_faceMyDAT
		trigger = { has_character_flag = injury_face }
	}
	text = {
		localisation_key = String_chestMyDAT
		trigger = {
			has_character_flag = injury_mangled_body
			has_character_flag = injury_maimed
		}
	}
	text = {
		localisation_key = String_bodyMyDAT
		trigger = { has_character_flag = injury_maimed }
	}
	text = {
		localisation_key = String_shoulderMyDAT
		trigger = { has_character_flag = injury_could_be_lethal }
	}
	fallback_text = {
		localisation_key = String_chestMyDAT
	}
}
# 
defined_text = {
	name = GetAustriaNameGEN
	use_first_valid = yes
	text = {
		trigger = { culture = roman }
		localisation_key = NAME_AUSTRIA_ROMAN_GEN
	}
	fallback_text = {
		localisation_key = NAME_AUSTRIA_GEN
	}
}
defined_text = {
	name = GetRussiaName
	use_first_valid = yes
	text = {
		trigger = { culture_group = byzantine }
		localisation_key = RUSSIA_NAME_ROSSIA
	}
	text = {
		trigger = {
			OR = {
				culture_group = west_germanic
				culture_group = latin
				culture_group = iberian
			}
		}
		localisation_key = RUSSIA_NAME_RUTHENIA
	}
	fallback_text = {
		localisation_key = RUSSIA_NAME_Fallback
	}
}
defined_text = {
	name = GetRussiaFullName
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				NOT = { culture_group = east_slavic }
				is_republic = yes
				is_theocracy = yes
			}
		}
		localisation_key = FULLNAME_RUSSIAN_EMPIRE
	}
	fallback_text = {
		localisation_key = FULLNAME_RUSSIAN_TSARDOM
	}
}
# 
defined_text = {
	name = GetRussiaFullNameACC
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				NOT = { culture_group = east_slavic }
				is_republic = yes
				is_theocracy = yes
			}
		}
		localisation_key = FULLNAME_RUSSIAN_EMPIRE_ACC
	}
	fallback_text = {
		localisation_key = FULLNAME_RUSSIAN_TSARDOM
	}
}
# 
defined_text = {
	name = GetRussiaFullNameGEN
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				NOT = { culture_group = east_slavic }
				is_republic = yes
				is_theocracy = yes
			}
		}
		localisation_key = FULLNAME_RUSSIAN_EMPIRE_GEN
	}
	fallback_text = {
		localisation_key = FULLNAME_RUSSIAN_TSARDOM_GEN
	}
}
#/     
defined_text = {
	name = GetMuslimPerson
	text = {
		trigger = { has_alternate_start_parameter = { key = religion_names value = random } }
		localisation_key = ALT_MuslimPerson
	}
	fallback_text = {
		localisation_key = Generic_MuslimPerson
	}
}
# 
defined_text = {
	name = GetJizyaNameACC
	
	text = {
		trigger = { religion_group = muslim }
		localisation_key = key_jizya_ACC
	}
	text = {
		trigger = { NOT = { religion_group = muslim } }
		localisation_key = key_infidel
	}
}
defined_text = {
	name = GetRandomMythologicalCreatureGEN
	
	text = {
		localisation_key = random_mythological_creature_dragonGEN
	}
	text = {
		localisation_key = random_mythological_creature_giant_snailGEN
	}
	text = {
		localisation_key = random_mythological_creature_hydraGEN
	}
	text = {
		localisation_key = random_mythological_creature_gorgonGEN
	}
	text = {
		localisation_key = random_mythological_creature_harpyGEN
	}
	text = {
		localisation_key = random_mythological_creature_sirenGEN
	}
	text = {
		localisation_key = random_mythological_creature_giantGEN
	}
	text = {
		localisation_key = random_mythological_creature_krakenGEN
	}
	text = {
		localisation_key = random_mythological_creature_griffinGEN
	}
	text = {
		localisation_key = random_mythological_creature_basiliskGEN
	}
	text = {
		localisation_key = random_mythological_creature_manticoreGEN
	}
	text = {
		localisation_key = random_mythological_creature_cyclopsGEN
	}
	text = {
		trigger = {
		culture = norse
		}
		localisation_key = random_mythological_creature_sleipnirGEN
	}
	text = {
		trigger = {
		culture = norse
		}
		localisation_key = random_mythological_creature_fenrirGEN
	}
	text = {
		trigger = {
		culture = norse
		}
		localisation_key = random_mythological_creature_jrmungandrGEN
	}
	text = {
		trigger = {
		culture = norse
		}
		localisation_key = random_mythological_creature_nidhoggGEN
	}
	text = {
		trigger = {
		culture = norse
		}
		localisation_key = random_mythological_creature_draugrGEN
	}
	text = {
		localisation_key = random_mythological_creature_chimeraGEN
	}
	text = {
		localisation_key = random_mythological_creature_dryadGEN
	}
}
#Capitalized version
defined_text = {
	name = GetDuelTypeCap
	text = {
		localisation_key = String_sparring_matchCap
		trigger = {
			has_character_flag = mock_duel
		}
	}
	text = {
		localisation_key = String_duel_for_honorCap
		trigger = {
			NOT = { has_character_flag = deadly_duel@PREV }
		}
	}
	text = {
		localisation_key = String_fight_for_gloryCap
	}
	text = {
		localisation_key = String_duel_to_the_deathCap
		trigger = {
			has_character_flag = deadly_duel@PREV
			NOT = { has_character_flag = mock_duel }
		}
	}
	text = {
		localisation_key = String_demonstration_duelCap
		trigger = {
			has_character_flag = mock_duel
		}
	}
	fallback_text = {
		localisation_key = String_duelCap
	}
}
#  (        -)
defined_text = {
	name = GetArtifactWeaponName
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axe
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_sling
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammad
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnir
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perun
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunas
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_new
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_new
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_new
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_new
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_new
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_new
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgun
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spear
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_ji
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbow
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conqueror 
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefield
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefield
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefield
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whispering
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whispering
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whispering
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseeker
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeance
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_fury
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseeker
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeance
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_fury
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_golden
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortune
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquest
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_golden
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortune
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquest
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impaler
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_trident
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercer
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impaler
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_trident
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercer
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaver
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravager
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauder
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaver
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravager
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauder
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammer
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breaker
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shatterer
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammer
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breaker
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shatterer
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_wind
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightning
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagle
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_wind
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightning
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagle
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponName
	}
}
#  () (        -)
defined_text = {
	name = GetMyArtifactWeaponNameFull
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeMyFull
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingMyFull
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadMyFull
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirMyFull
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunMyFull
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasMyFull
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newMyFull
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newMyFull
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newMyFull
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newMyFull
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newMyFull
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newMyFull
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunMyFull
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearMyFull
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiMyFull
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowMyFull
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorMyFull
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldMyFull
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldMyFull
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldMyFull
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingMyFull
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingMyFull
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingMyFull
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerMyFull
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceMyFull
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyMyFull
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerMyFull
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceMyFull
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyMyFull
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenMyFull
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneMyFull
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestMyFull
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenMyFull
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneMyFull
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestMyFull
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerMyFull
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentMyFull
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerMyFull
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerMyFull
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentMyFull
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerMyFull
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverMyFull
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerMyFull
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderMyFull
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverMyFull
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerMyFull
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderMyFull
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerMyFull
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerMyFull
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererMyFull
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerMyFull
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerMyFull
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererMyFull
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windMyFull
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningMyFull
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleMyFull
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windMyFull
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningMyFull
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleMyFull
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameMyFull
	}
}
#    (        -)
defined_text = {
	name = GetArtifactWeaponNameACC
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeACC
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingACC
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadACC
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirACC
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunACC
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasACC
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newACC
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newACC
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newACC
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newACC
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newACC
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newACC
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunACC
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearACC
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiACC
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowACC
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorACC
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldACC
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldACC
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldACC
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingACC
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingACC
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingACC
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerACC
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceACC
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerACC
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceACC
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestACC
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerACC
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentACC
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerACC
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerACC
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentACC
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerACC
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverACC
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerACC
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderACC
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverACC
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerACC
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderACC
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerACC
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerACC
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererACC
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerACC
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerACC
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererACC
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windACC
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningACC
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleACC
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windACC
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningACC
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleACC
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameACC
	}
}
#    () (        -)
defined_text = {
	name = GetMyArtifactWeaponNameACC
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeMyACC
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingMyACC
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadMyACC
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirMyACC
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunMyACC
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasMyACC
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newMyACC
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newMyACC
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newMyACC
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newMyACC
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newMyACC
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newMyACC
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunMyACC
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearMyACC
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiMyACC
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowMyACC
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorMyACC
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldMyACC
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldMyACC
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldMyACC
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingMyACC
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingMyACC
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingMyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerMyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceMyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyMyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerMyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceMyACC
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyMyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenMyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneMyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestMyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenMyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneMyACC
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestMyACC
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerMyACC
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentMyACC
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerMyACC
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerMyACC
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentMyACC
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerMyACC
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverMyACC
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerMyACC
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderMyACC
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverMyACC
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerMyACC
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderMyACC
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerMyACC
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerMyACC
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererMyACC
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerMyACC
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerMyACC
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererMyACC
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windMyACC
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningMyACC
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleMyACC
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windMyACC
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningMyACC
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleMyACC
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameMyACC
	}
}
#    (        -)
defined_text = {
	name = GetArtifactWeaponNameGEN
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeGEN
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingGEN
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadGEN
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirGEN
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunGEN
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasGEN
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newGEN
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newGEN
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newGEN
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newGEN
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newGEN
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newGEN
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunGEN
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearGEN
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiGEN
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowGEN
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorGEN
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldGEN
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldGEN
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldGEN
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingGEN
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingGEN
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleGEN
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameGEN
	}
}
#    () (        -)
defined_text = {
	name = GetMyArtifactWeaponNameGEN
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeMyGEN
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingMyGEN
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadMyGEN
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirMyGEN
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunMyGEN
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasMyGEN
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newMyGEN
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newMyGEN
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newMyGEN
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newMyGEN
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newMyGEN
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newMyGEN
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunMyGEN
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearMyGEN
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiMyGEN
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowMyGEN
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorMyGEN
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldMyGEN
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldMyGEN
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldMyGEN
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingMyGEN
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingMyGEN
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingMyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerMyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceMyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyMyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerMyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceMyGEN
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyMyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenMyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneMyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestMyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenMyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneMyGEN
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestMyGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerMyGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentMyGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerMyGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerMyGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentMyGEN
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerMyGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverMyGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerMyGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderMyGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverMyGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerMyGEN
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderMyGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerMyGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerMyGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererMyGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerMyGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerMyGEN
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererMyGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windMyGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningMyGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleMyGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windMyGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningMyGEN
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleMyGEN
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameMyGEN
	}
}
#    (        -)
defined_text = {
	name = GetArtifactWeaponNameINS
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeINS
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingINS
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadINS
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirINS
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunINS
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasINS
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newINS
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newINS
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newINS
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newINS
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newINS
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newINS
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunINS
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearINS
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiINS
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowINS
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorINS
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldINS
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldINS
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldINS
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingINS
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingINS
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingINS
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerINS
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceINS
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerINS
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceINS
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestINS
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerINS
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentINS
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerINS
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerINS
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentINS
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerINS
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverINS
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerINS
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderINS
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverINS
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerINS
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderINS
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerINS
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerINS
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererINS
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerINS
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerINS
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererINS
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windINS
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningINS
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleINS
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windINS
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningINS
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleINS
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameINS
	}
}
#    () (        -)
defined_text = {
	name = GetMyArtifactWeaponNameINS
	text = {
		trigger = { artifact_type = loot_axe }
		localisation_key = string_loot_axeMyINS
	}
	text = {
		trigger = { artifact_type = davids_sling }
		localisation_key = string_davids_slingMyINS
	}
	text = {
		trigger = { artifact_type = sword_of_mohammad }
		localisation_key = string_sword_of_mohammadMyINS
	}
	text = {
		trigger = { artifact_type = mjolnir }
		localisation_key = string_mjolnirMyINS
	}
	text = {
		trigger = { artifact_type = axe_of_perun }
		localisation_key = string_axe_of_perunMyINS
	}
	text = {
		trigger = { artifact_type = axe_of_perkunas }
		localisation_key = string_axe_of_perkunasMyINS
	}
	text = {
		trigger = {
			artifact_type = sword_tier_1_new
			artifact_type = sword_tier_2_new
		}
		localisation_key = string_sword_tier_12_newMyINS
	}
	text = {
		trigger = {
			artifact_type = scimitar_tier_1_new
			artifact_type = scimitar_tier_2_new
		}
		localisation_key = string_scimitar_tier_12_newMyINS
	}
	text = {
		trigger = {
			artifact_type = lance_tier_1_new
			artifact_type = lance_tier_2_new
		}
		localisation_key = string_lance_tier_12_newMyINS
	}
	text = {
		trigger = {
			artifact_type = axe_tier_1_new
			artifact_type = axe_tier_2_new
		}
		localisation_key = string_axe_tier_12_newMyINS
	}
	text = {
		trigger = {
			artifact_type = mace_tier_1_new
			artifact_type = mace_tier_2_new
		}
		localisation_key = string_mace_tier_12_newMyINS
	}
	text = {
		trigger = {
			artifact_type = bow_tier_1_new
			artifact_type = bow_tier_2_new
		}
		localisation_key = string_bow_tier_12_newMyINS
	}
	text = {
		trigger = { artifact_type = hermetic_handgun }
		localisation_key = string_hermetic_handgunMyINS
	}
	text = {
		trigger = { artifact_type = chinese_serpent_spear }
		localisation_key = string_chinese_serpent_spearMyINS
	}
	text = {
		trigger = { artifact_type = chinese_ji }
		localisation_key = string_chinese_jiMyINS
	}
	text = {
		trigger = { artifact_type = chinese_crossbow }
		localisation_key = string_chinese_crossbowMyINS
	}
	text = {
		trigger = { artifact_type = sword_great_conqueror  }
		localisation_key = string_sword_great_conquerorMyINS
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_1_battlefield
				artifact_type = sword_1_battlefield_upgraded
			}
		}
		localisation_key = string_sword_1_battlefieldMyINS
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_2_battlefield
				artifact_type = sword_2_battlefield_upgraded
			}
		}
		localisation_key = string_sword_2_battlefieldMyINS
	}
	text = {
		trigger = {
			OR = {
				artifact_type = sword_3_battlefield
				artifact_type = sword_3_battlefield_upgraded
			}
		}
		localisation_key = string_sword_3_battlefieldMyINS
	}
	text = {
		trigger = { artifact_type = mace_whispering }
		localisation_key = string_mace_whisperingMyINS
	}
	text = {
		trigger = { artifact_type = sword_whispering }
		localisation_key = string_sword_whisperingMyINS
	}
	text = {
		trigger = { artifact_type = axe_whispering }
		localisation_key = string_axe_whisperingMyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_3_heartseeker }
		localisation_key = string_sword_tier_3_heartseekerMyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_3_vengeance }
		localisation_key = string_sword_tier_3_vengeanceMyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_3_fury }
		localisation_key = string_sword_tier_3_furyMyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_4_heartseeker }
		localisation_key = string_sword_tier_4_heartseekerMyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_4_vengeance }
		localisation_key = string_sword_tier_4_vengeanceMyINS
	}
	text = {
		trigger = { artifact_type = sword_tier_4_fury }
		localisation_key = string_sword_tier_4_furyMyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_golden }
		localisation_key = string_scimitar_tier_3_goldenMyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_fortune }
		localisation_key = string_scimitar_tier_3_fortuneMyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_3_conquest }
		localisation_key = string_scimitar_tier_3_conquestMyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_golden }
		localisation_key = string_scimitar_tier_4_goldenMyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_fortune }
		localisation_key = string_scimitar_tier_4_fortuneMyINS
	}
	text = {
		trigger = { artifact_type = scimitar_tier_4_conquest }
		localisation_key = string_scimitar_tier_4_conquestMyINS
	}
	text = {
		trigger = { artifact_type = lance_tier_3_impaler }
		localisation_key = string_lance_tier_3_impalerMyINS
	}
	text = {
		trigger = { artifact_type = lance_tier_3_trident }
		localisation_key = string_lance_tier_3_tridentMyINS
	}
	text = {
		trigger = { artifact_type = lance_tier_3_piercer }
		localisation_key = string_lance_tier_3_piercerMyINS
	}
	text = {
		trigger = { artifact_type = lance_tier_4_impaler }
		localisation_key = string_lance_tier_4_impalerMyINS
	}
	text = {
		trigger = { artifact_type = lance_tier_4_trident }
		localisation_key = string_lance_tier_4_tridentMyINS
	}
	text = {
		trigger = { artifact_type = lance_tier_4_piercer }
		localisation_key = string_lance_tier_4_piercerMyINS
	}
	text = {
		trigger = { artifact_type = axe_tier_3_cleaver }
		localisation_key = string_axe_tier_3_cleaverMyINS
	}
	text = {
		trigger = { artifact_type = axe_tier_3_ravager }
		localisation_key = string_axe_tier_3_ravagerMyINS
	}
	text = {
		trigger = { artifact_type = axe_tier_3_marauder }
		localisation_key = string_axe_tier_3_marauderMyINS
	}
	text = {
		trigger = { artifact_type = axe_tier_4_cleaver }
		localisation_key = string_axe_tier_4_cleaverMyINS
	}
	text = {
		trigger = { artifact_type = axe_tier_4_ravager }
		localisation_key = string_axe_tier_4_ravagerMyINS
	}
	text = {
		trigger = { artifact_type = axe_tier_4_marauder }
		localisation_key = string_axe_tier_4_marauderMyINS
	}
	text = {
		trigger = { artifact_type = mace_tier_3_foe_hammer }
		localisation_key = string_mace_tier_3_foe_hammerMyINS
	}
	text = {
		trigger = { artifact_type = mace_tier_3_bone_breaker }
		localisation_key = string_mace_tier_3_bone_breakerMyINS
	}
	text = {
		trigger = { artifact_type = mace_tier_3_shatterer }
		localisation_key = string_mace_tier_3_shattererMyINS
	}
	text = {
		trigger = { artifact_type = mace_tier_4_foe_hammer }
		localisation_key = string_mace_tier_4_foe_hammerMyINS
	}
	text = {
		trigger = { artifact_type = mace_tier_4_bone_breaker }
		localisation_key = string_mace_tier_4_bone_breakerMyINS
	}
	text = {
		trigger = { artifact_type = mace_tier_4_shatterer }
		localisation_key = string_mace_tier_4_shattererMyINS
	}
	text = {
		trigger = { artifact_type = bow_tier_3_silent_wind }
		localisation_key = string_bow_tier_3_silent_windMyINS
	}
	text = {
		trigger = { artifact_type = bow_tier_3_lightning }
		localisation_key = string_bow_tier_3_lightningMyINS
	}
	text = {
		trigger = { artifact_type = bow_tier_3_eagle }
		localisation_key = string_bow_tier_3_eagleMyINS
	}
	text = {
		trigger = { artifact_type = bow_tier_4_silent_wind }
		localisation_key = string_bow_tier_4_silent_windMyINS
	}
	text = {
		trigger = { artifact_type = bow_tier_4_lightning }
		localisation_key = string_bow_tier_4_lightningMyINS
	}
	text = {
		trigger = { artifact_type = bow_tier_4_eagle }
		localisation_key = string_bow_tier_4_eagleMyINS
	}
	fallback_text = {
		localisation_key = String_GetArtifactWeaponNameMyINS
	}
}
# 
defined_text = {
	name = GetArtifactStorageACC

	text = {
		localisation_key = String_libraryACC
		trigger = {
			has_artifact_flag = book
		}
	}
	text = {
		localisation_key = String_armoryACC
		trigger = {
			OR = {
				has_artifact_flag = armor
				has_artifact_flag = combat_weapon
			}
			NOT = { artifact_age = 30 }
		}
	}
	text = {
		localisation_key = String_old_armoryACC
		trigger = {
			OR = {
				has_artifact_flag = armor
				has_artifact_flag = combat_weapon
			}
			artifact_age = 30
		}
	}
	text = {
		localisation_key = String_treasuryACC
		trigger = {
			has_artifact_flag = jewelry
		}
	}
	text = {
		localisation_key = String_house_of_worshipACC
		trigger = {
			has_artifact_flag = saint
			ROOT = { religion_group = christian }
		}
	}
	text = {
		localisation_key = String_cryptACC
		trigger = {
			has_artifact_flag = saint
			has_artifact_flag = bodypart
		}
	}
	text = {
		localisation_key = String_treasuryACC
		trigger = {
			has_artifact_flag = skull
		}
	}
	
	fallback_text = {
		localisation_key = String_treasuryACC
	}
}
# 
defined_text = {
	name = GetArtifactStorageGEN

	text = {
		localisation_key = String_libraryGEN
		trigger = {
			has_artifact_flag = book
		}
	}
	text = {
		localisation_key = String_armoryGEN
		trigger = {
			OR = {
				has_artifact_flag = armor
				has_artifact_flag = combat_weapon
			}
			NOT = { artifact_age = 30 }
		}
	}
	text = {
		localisation_key = String_old_armoryGEN
		trigger = {
			OR = {
				has_artifact_flag = armor
				has_artifact_flag = combat_weapon
			}
			artifact_age = 30
		}
	}
	text = {
		localisation_key = String_treasuryGEN
		trigger = {
			has_artifact_flag = jewelry
		}
	}
	text = {
		localisation_key = String_house_of_worshipGEN
		trigger = {
			has_artifact_flag = saint
			ROOT = { religion_group = christian }
		}
	}
	text = {
		localisation_key = String_cryptGEN
		trigger = {
			has_artifact_flag = saint
			has_artifact_flag = bodypart
		}
	}
	text = {
		localisation_key = String_treasuryGEN
		trigger = {
			has_artifact_flag = skull
		}
	}
	
	fallback_text = {
		localisation_key = String_treasuryGEN
	}
}
# 
defined_text = {
	name = GetArtifactStoragePREP

	text = {
		localisation_key = String_libraryPREP
		trigger = {
			has_artifact_flag = book
		}
	}
	text = {
		localisation_key = String_armoryPREP
		trigger = {
			OR = {
				has_artifact_flag = armor
				has_artifact_flag = combat_weapon
			}
			NOT = { artifact_age = 30 }
		}
	}
	text = {
		localisation_key = String_old_armoryPREP
		trigger = {
			OR = {
				has_artifact_flag = armor
				has_artifact_flag = combat_weapon
			}
			artifact_age = 30
		}
	}
	text = {
		localisation_key = String_treasuryPREP
		trigger = {
			has_artifact_flag = jewelry
		}
	}
	text = {
		localisation_key = String_house_of_worshipPREP
		trigger = {
			has_artifact_flag = saint
			ROOT = { religion_group = christian }
		}
	}
	text = {
		localisation_key = String_cryptPREP
		trigger = {
			has_artifact_flag = saint
			has_artifact_flag = bodypart
		}
	}
	text = {
		localisation_key = String_treasuryPREP
		trigger = {
			has_artifact_flag = skull
		}
	}
	
	fallback_text = {
		localisation_key = String_treasuryPREP
	}
}
defined_text = {
	name = GetMyRootDeadRelationOrNone

	text = {
		trigger = {
			OR = {
				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
				any_spouse_even_if_dead = { character = ROOT }
				ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
				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 }
			}
		}
		localisation_key = String_GetMyRootDeadRelation_Default
	}
}
defined_text = {
	name = GetYourRootDeadRelationOrNone

	text = {
		trigger = {
			OR = {
				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
				any_spouse_even_if_dead = { character = ROOT }
				ROOT = { any_spouse_even_if_dead = { character = PREVPREV } }
				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 }
			}
		}
		localisation_key = String_GetYourRootDeadRelation_Default
	}
}
defined_text = {
	name = GetYoungOrMy

	text = {
		trigger = { NOT = { age = 16 } }
		localisation_key = String_GetYoungOrMy_Young
	}
	fallback_text = {
		localisation_key = String_GetYoungOrMy_My
	}
}
defined_text = {
	name = GetYoungOrMyCap

	text = {
		trigger = { NOT = { age = 16 } }
		localisation_key = String_GetYoungOrMy_YoungCap
	}
	fallback_text = {
		localisation_key = String_GetYoungOrMy_MyCap
	}
}
defined_text = {
	name = GetBaptismName

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_Baptism
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_Giyur
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_Shahada
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_Diksha
	}
	fallback_text = {
		localisation_key = String_Baptism_Conversion
	}
}
defined_text = {
	name = GetBaptismNameCap

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_BaptismCap
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_GiyurCap
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_ShahadaCap
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_DikshaCap
	}
	fallback_text = {
		localisation_key = String_Baptism_ConversionCap
	}
}
defined_text = {
	name = GetBaptismNameEventTitleCap

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_BaptismCap
	}
	fallback_text = {
		localisation_key = String_Baptism_ConversionCap
	}
}
defined_text = {
	name = GetBaptismNameEventTitle

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_Baptism
	}
	fallback_text = {
		localisation_key = String_Baptism_Conversion
	}
}

defined_text = {
	name = GetBaptismPostfixAndName

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_Baptism_PaN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_Giyur_PaN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_Shahada_PaN
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_Diksha_PaN
	}
	fallback_text = {
		localisation_key = String_Baptism_Conversion_PaN
	}
}
defined_text = {
	name = GetBaptismNameGEN

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_BaptismGEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_GiyurGEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_ShahadaGEN
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_DikshaGEN
	}
	fallback_text = {
		localisation_key = String_Baptism_ConversionGEN
	}
}
defined_text = {
	name = GetBaptismNameACC

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_BaptismACC
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_GiyurACC
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_ShahadaACC
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_DikshaACC
	}
	fallback_text = {
		localisation_key = String_Baptism_ConversionACC
	}
}
defined_text = {
	name = GetBaptismNamePREP

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_BaptismPREP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_GiyurPREP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_ShahadaPREP
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_DikshaPREP
	}
	fallback_text = {
		localisation_key = String_Baptism_ConversionPREP
	}
}
defined_text = {
	name = GetBaptismPostfixAndNameACC

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_Baptism_PaNACC
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_Giyur_PaNACC
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_Shahada_PaNACC
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_Diksha_PaNACC
	}
	fallback_text = {
		localisation_key = String_Baptism_Conversion_PaNACC
	}
}
defined_text = {
	name = GetBaptismPostfixAndNameGEN

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_Baptism_PaNGEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_Giyur_PaNGEN
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_Shahada_PaNGEN
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_Diksha_PaNGEN
	}
	fallback_text = {
		localisation_key = String_Baptism_Conversion_PaNGEN
	}
}
defined_text = {
	name = GetBaptismPostfixAndNamePREP

	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = christian
		}
		localisation_key = String_Baptism_Baptism_PaNPREP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = jewish_group
		}
		localisation_key = String_Baptism_Giyur_PaNPREP
	}
	text = {
		trigger = {
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			religion_group = muslim
		}
		localisation_key = String_Baptism_Shahada_PaNPREP
	}
	text = {
		trigger = {
			religion = hindu
			hindu = { NOT = { is_renamed_religion_trigger = yes } }
		}
		localisation_key = String_Baptism_Diksha_PaNPREP
	}
	fallback_text = {
		localisation_key = String_Baptism_Conversion_PaNPREP
	}
}
defined_text = {
	name = GetKindomNameOrNoneGEN
	use_first_valid = yes
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_ruthenia
					title = e_russia
					title = e_russian_empire
				}
			}
		}
		localisation_key = String_StateName_RusGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_rus
					title = d_novgorod
				}
			}
		}
		localisation_key = String_StateName_NovgorodGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_galicia-volhynia
					title = d_volhynia
				}
			}
		}
		localisation_key = String_StateName_VolhyniaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_chernigov
					title = d_chernigov
					title = d_novgorod-seversk
				}
			}
		}
		localisation_key = String_StateName_SeversGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_switzerland }
		}
		localisation_key = String_StateName_SwitzerlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_golden_horde }
		}
		localisation_key = String_StateName_GHordeGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_hre }
		}
		localisation_key = String_StateName_HREGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_saxon
					title = k_saxony
				}
			}
		}
		localisation_key = String_StateName_SaxonyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_franconia
					title = d_franconia
				}
			}
		}
		localisation_key = String_StateName_FranconiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_swabia
					title = d_swabia
				}
			}
		}
		localisation_key = String_StateName_SwabiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_germany
					title = e_germany
				}
			}
		}
		localisation_key = String_StateName_GermanyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_france }
		}
		localisation_key = String_StateName_FranceGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_england }
		}
		localisation_key = String_StateName_EnglandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_scotland }
		}
		localisation_key = String_StateName_ScotlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_ireland }
		}
		localisation_key = String_StateName_IrelandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_wales }
		}
		localisation_key = String_StateName_WalesGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_italy }
		}
		localisation_key = String_StateName_ItalyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_austria
					title = k_eastern_marches
					title = d_osterreich
				}
			}
		}
		localisation_key = String_StateName_AustriaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_hansa }
		}
		localisation_key = String_StateName_HansaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_frisia }
		}
		localisation_key = String_StateName_FrisiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_lotharingia }
		}
		localisation_key = String_StateName_LotharingiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_bavaria
					title = d_bavaria
				}
			}
		}
		localisation_key = String_StateName_BavariaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_carinthia
					title = d_carinthia
				}
			}
		}
		localisation_key = String_StateName_CarinthiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_roman_empire }
		}
		localisation_key = String_StateName_REGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_byzantium }
		}
		localisation_key = String_StateName_EREGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_scandinavia }
		}
		localisation_key = String_StateName_ScandinaviaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_sweden }
		}
		localisation_key = String_StateName_SwedenGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_denmark }
		}
		localisation_key = String_StateName_DenmarkGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_norway }
		}
		localisation_key = String_StateName_NorwayGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_finland }
		}
		localisation_key = String_StateName_FinlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_sapmi }
		}
		localisation_key = String_StateName_LaplandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_estonia }
		}
		localisation_key = String_StateName_EstoniaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_poland }
		}
		localisation_key = String_StateName_PolandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_lithuania }
		}
		localisation_key = String_StateName_LithuaniaGEN
	}
}
defined_text = {
	name = GetKindomNameOrPeopleGEN
	use_first_valid = yes
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_ruthenia
					title = e_russia
					title = e_russian_empire
				}
			}
		}
		localisation_key = String_StateName_RusGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_rus
					title = d_novgorod
				}
			}
		}
		localisation_key = String_StateName_NovgorodGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_galicia-volhynia
					title = d_volhynia
				}
			}
		}
		localisation_key = String_StateName_VolhyniaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_chernigov
					title = d_chernigov
					title = d_novgorod-seversk
				}
			}
		}
		localisation_key = String_StateName_SeversGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_switzerland }
		}
		localisation_key = String_StateName_SwitzerlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_golden_horde }
		}
		localisation_key = String_StateName_GHordeGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_hre }
		}
		localisation_key = String_StateName_HREGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_saxon
					title = k_saxony
				}
			}
		}
		localisation_key = String_StateName_SaxonyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_franconia
					title = d_franconia
				}
			}
		}
		localisation_key = String_StateName_FranconiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_swabia
					title = d_swabia
				}
			}
		}
		localisation_key = String_StateName_SwabiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_germany
					title = e_germany
				}
			}
		}
		localisation_key = String_StateName_GermanyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_france }
		}
		localisation_key = String_StateName_FranceGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_england }
		}
		localisation_key = String_StateName_EnglandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_scotland }
		}
		localisation_key = String_StateName_ScotlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_ireland }
		}
		localisation_key = String_StateName_IrelandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_wales }
		}
		localisation_key = String_StateName_WalesGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_italy }
		}
		localisation_key = String_StateName_ItalyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_austria
					title = k_eastern_marches
					title = d_osterreich
				}
			}
		}
		localisation_key = String_StateName_AustriaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_hansa }
		}
		localisation_key = String_StateName_HansaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_frisia }
		}
		localisation_key = String_StateName_FrisiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_lotharingia }
		}
		localisation_key = String_StateName_LotharingiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_bavaria
					title = d_bavaria
				}
			}
		}
		localisation_key = String_StateName_BavariaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_carinthia
					title = d_carinthia
				}
			}
		}
		localisation_key = String_StateName_CarinthiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_roman_empire }
		}
		localisation_key = String_StateName_REGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_byzantium }
		}
		localisation_key = String_StateName_EREGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_scandinavia }
		}
		localisation_key = String_StateName_ScandinaviaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_sweden }
		}
		localisation_key = String_StateName_SwedenGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_denmark }
		}
		localisation_key = String_StateName_DenmarkGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_norway }
		}
		localisation_key = String_StateName_NorwayGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_finland }
		}
		localisation_key = String_StateName_FinlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_sapmi }
		}
		localisation_key = String_StateName_LaplandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_estonia }
		}
		localisation_key = String_StateName_EstoniaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_poland }
		}
		localisation_key = String_StateName_PolandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_lithuania }
		}
		localisation_key = String_StateName_LithuaniaGEN
	}
	fallback_text = {
		localisation_key = String_GetKindomNameOrPeopleGEN_Fallback
	}
}
defined_text = {
	name = GetKindomNameOrAdjStateGEN
	use_first_valid = yes
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_ruthenia
					title = e_russia
					title = e_russian_empire
				}
			}
		}
		localisation_key = String_StateName_RusGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_rus
					title = d_novgorod
				}
			}
		}
		localisation_key = String_StateName_NovgorodGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_galicia-volhynia
					title = d_volhynia
				}
			}
		}
		localisation_key = String_StateName_VolhyniaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_chernigov
					title = d_chernigov
					title = d_novgorod-seversk
				}
			}
		}
		localisation_key = String_StateName_SeversGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_switzerland }
		}
		localisation_key = String_StateName_SwitzerlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_golden_horde }
		}
		localisation_key = String_StateName_GHordeGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_hre }
		}
		localisation_key = String_StateName_HREGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_saxon
					title = k_saxony
				}
			}
		}
		localisation_key = String_StateName_SaxonyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_franconia
					title = d_franconia
				}
			}
		}
		localisation_key = String_StateName_FranconiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_swabia
					title = d_swabia
				}
			}
		}
		localisation_key = String_StateName_SwabiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_germany
					title = e_germany
				}
			}
		}
		localisation_key = String_StateName_GermanyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_france }
		}
		localisation_key = String_StateName_FranceGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_england }
		}
		localisation_key = String_StateName_EnglandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_scotland }
		}
		localisation_key = String_StateName_ScotlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_ireland }
		}
		localisation_key = String_StateName_IrelandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_wales }
		}
		localisation_key = String_StateName_WalesGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_italy }
		}
		localisation_key = String_StateName_ItalyGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_austria
					title = k_eastern_marches
					title = d_osterreich
				}
			}
		}
		localisation_key = String_StateName_AustriaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_hansa }
		}
		localisation_key = String_StateName_HansaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_frisia }
		}
		localisation_key = String_StateName_FrisiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_lotharingia }
		}
		localisation_key = String_StateName_LotharingiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_bavaria
					title = d_bavaria
				}
			}
		}
		localisation_key = String_StateName_BavariaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = {
				OR = {
					title = k_carinthia
					title = d_carinthia
				}
			}
		}
		localisation_key = String_StateName_CarinthiaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_roman_empire }
		}
		localisation_key = String_StateName_REGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_byzantium }
		}
		localisation_key = String_StateName_EREGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = e_scandinavia }
		}
		localisation_key = String_StateName_ScandinaviaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_sweden }
		}
		localisation_key = String_StateName_SwedenGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_denmark }
		}
		localisation_key = String_StateName_DenmarkGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_norway }
		}
		localisation_key = String_StateName_NorwayGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_finland }
		}
		localisation_key = String_StateName_FinlandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_sapmi }
		}
		localisation_key = String_StateName_LaplandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_estonia }
		}
		localisation_key = String_StateName_EstoniaGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_poland }
		}
		localisation_key = String_StateName_PolandGEN
	}
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			primary_title = { title = k_lithuania }
		}
		localisation_key = String_StateName_LithuaniaGEN
	}
	fallback_text = {
		localisation_key = String_GetKindomNameOrAdjStateGEN_Fallback
	}
}
defined_text = {
	name = GetMassBaptismEventTitle
	
	text = {
		trigger = {
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			event_target:converting_king = {
				primary_title = {
					OR = {
						title = d_bavaria
						title = d_carinthia
						title = d_chernigov
						title = d_franconia
						title = d_novgorod
						title = d_novgorod-seversk
						title = d_osterreich
						title = d_swabia
						title = d_volhynia
						title = k_france
						title = k_england
						title = k_scotland
						title = k_ireland
						title = k_wales
						title = k_italy
						title = k_austria
						title = k_bavaria
						title = k_carinthia
						title = k_chernigov
						title = k_denmark
						title = k_eastern_marches
						title = k_estonia
						title = k_finland
						title = k_franconia
						title = k_frisia
						title = k_galicia-volhynia
						title = k_germany
						title = k_hansa
						title = k_lithuania
						title = k_lotharingia
						title = k_norway
						title = k_poland
						title = k_rus
						title = k_ruthenia
						title = k_sapmi
						title = k_saxon
						title = k_saxony
						title = k_swabia
						title = k_sweden
						title = k_switzerland
						title = e_byzantium
						title = e_germany
						title = e_golden_horde
						title = e_hre
						title = e_roman_empire
						title = e_russia
						title = e_russian_empire
						title = e_scandinavia
					}
				}
			}
		}
		localisation_key = String_BaptismEventTitle
	}
	fallback_text = {
		localisation_key = String_MassBaptismEventTitle
	}
}
# 
defined_text = {
	name = GetHouseGEN
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				is_patrician = yes
				capital_holding = { holding_type = city }
				capital_holding = { holding_type = temple }
			}
		}
		localisation_key = string_houseGEN
	}
	text = {
		trigger = {
			capital_holding = { holding_type = tribal } #is_tribal = yes
		}
		localisation_key = string_longhouseGEN
	}
	text = {
		trigger = {
			capital_holding = { holding_type = nomad } #is_nomadic = yes
		}
		localisation_key = string_pavillionGEN
	}
	text = {
		trigger = {
			capital_holding = { holding_type = castle }
		}
		localisation_key = string_castleGEN
	}
	#text = {
	#	trigger = {
	#		is_tribal = no
	#		is_nomadic = no
	#	}
	#	localisation_key = string_palaceGEN
	#}
	fallback_text = {
		localisation_key = string_pavillionGEN
	}
}
# 
defined_text = {
	name = GetHousePREP
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				is_patrician = yes
				capital_holding = { holding_type = city }
				capital_holding = { holding_type = temple }
			}
		}
		localisation_key = string_housePREP
	}
	text = {
		trigger = {
			capital_holding = { holding_type = tribal } #is_tribal = yes
		}
		localisation_key = string_longhousePREP
	}
	text = {
		trigger = {
			capital_holding = { holding_type = nomad } #is_nomadic = yes
		}
		localisation_key = string_pavillionPREP
	}
	text = {
		trigger = {
			capital_holding = { holding_type = castle }
		}
		localisation_key = string_castlePREP
	}
	#text = {
	#	trigger = {
	#		is_tribal = no
	#		is_nomadic = no
	#	}
	#	localisation_key = string_palacePREP
	#}
	fallback_text = {
		localisation_key = string_pavillionPREP
	}
}
#  ()
defined_text = {
	name = GetHouseACCvo
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				is_patrician = yes
				capital_holding = { holding_type = city }
				capital_holding = { holding_type = temple }
			}
		}
		localisation_key = string_houseACCv
	}
	text = {
		trigger = {
			capital_holding = { holding_type = tribal } #is_tribal = yes
		}
		localisation_key = string_longhouseACCv
	}
	text = {
		trigger = {
			capital_holding = { holding_type = nomad } #is_nomadic = yes
		}
		localisation_key = string_pavillionACCv
	}
	text = {
		trigger = {
			capital_holding = { holding_type = castle }
		}
		localisation_key = string_castleACCv
	}
	#text = {
	#	trigger = {
	#		is_tribal = no
	#		is_nomadic = no
	#	}
	#	localisation_key = string_palaceACCvo
	#}
	fallback_text = {
		localisation_key = string_pavillionACCv
	}
}
#,   Root,     From'
defined_text = {
	name = GetHouseRootEntered
	use_first_valid = yes
	text = {
		trigger = {
			OR = {
				is_patrician = yes
				capital_holding = { holding_type = city }
				capital_holding = { holding_type = temple }
			}
		}
		localisation_key = string_perestupil_porog
	}
	text = {
		trigger = {
			capital_holding = { holding_type = tribal } #is_tribal = yes
		}
		localisation_key = string_voshel_v_vel
	}
	text = {
		trigger = {
			capital_holding = { holding_type = nomad } #is_nomadic = yes
		}
		localisation_key = string_voshel_v_ros
	}
	text = {
		trigger = {
			capital_holding = { holding_type = castle }
		}
		localisation_key = string_proshel_cherez
	}
	fallback_text = {
		localisation_key = string_voshel_v_ros
	}
}
#      
defined_text = {
	name = GetTPRHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = TPR_ALT_HIGHGOD_RANDOM_GEN
		trigger = { tengri_pagan = { is_name_randomized = yes } }
	}
	text = {
		localisation_key = String_Tengri_Ruler_Female_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			tengri_pagan_reformed = {
				has_flag = reformer_is_female
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = String_Tengri_Ruler_Male_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			tengri_pagan_reformed = {
				NOT = { has_flag = reformer_is_female }
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = GOD_UMAY
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			tengri_pagan_reformed = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_TENGRI
		trigger = {
			OR = {
				NOT = { has_dlc = "Holy Fury" }
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					tengri_pagan_reformed = { NOT = { has_religion_feature = religion_matriarchal } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = TPR_ALT_HIGHGOD_RANDOM_GEN
	}
}
#       
defined_text = {
	name = GetFPRHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = FPR_ALT_HIGHGOD_RANDOM_GEN
		trigger = { finnish_pagan = { is_name_randomized = yes } }
	}
	text = {
		localisation_key = String_Finnish_Ruler_Female_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			finnish_pagan_reformed = {
				has_flag = reformer_is_female
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = String_Finnish_Ruler_Male_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			finnish_pagan_reformed = {
				NOT = { has_flag = reformer_is_female }
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = GOD_KUU
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			finnish_pagan_reformed = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_UKKO
		trigger = {
			OR = {
				NOT = { has_dlc = "Holy Fury" }
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					finnish_pagan_reformed = { NOT = { has_religion_feature = religion_matriarchal } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = FPR_ALT_HIGHGOD_RANDOM_GEN
	}
}
#       
defined_text = {
	name = GetBPRHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = BPR_ALT_HIGHGOD_RANDOM_GEN
		trigger = { baltic_pagan = { is_name_randomized = yes } }
	}
	text = {
		localisation_key = String_Baltic_Ruler_Female_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			baltic_pagan_reformed = {
				has_flag = reformer_is_female
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = String_Baltic_Ruler_Male_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			baltic_pagan_reformed = {
				NOT = { has_flag = reformer_is_female }
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = GOD_GABIJA_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			baltic_pagan_reformed = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_DIEVAS_GEN
		trigger = {
			OR = {
				NOT = { has_dlc = "Holy Fury" }
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					baltic_pagan_reformed = { NOT = { has_religion_feature = religion_matriarchal } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = BPR_ALT_HIGHGOD_RANDOM_GEN
	}
}
#       
defined_text = {
	name = GetSPRHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = SPR_ALT_HIGHGOD_RANDOM_GEN
		trigger = { slavic_pagan = { is_name_randomized = yes } }
	}
	text = {
		localisation_key = String_Slavic_Ruler_Female_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			slavic_pagan_reformed = {
				has_flag = reformer_is_female
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = String_Slavic_Ruler_Male_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			slavic_pagan_reformed = {
				NOT = { has_flag = reformer_is_female }
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = GOD_MEDEINA_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			slavic_pagan_reformed = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_PERUN_GEN
		trigger = {
			OR = {
				NOT = { has_dlc = "Holy Fury" }
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					slavic_pagan_reformed = { NOT = { has_religion_feature = religion_matriarchal } }
				}
			}
		}
	}
	fallback_text = {
		localisation_key = SPR_ALT_HIGHGOD_RANDOM_GEN
	}
}
#       
defined_text = {
	name = GetARHighGodGEN
	use_first_valid = yes
	
	text = {
		localisation_key = AR_ALT_HIGHGOD_RANDOM_GEN
		trigger = { aztec = { is_name_randomized = yes } }
	}
	text = {
		localisation_key = String_Aztec_Ruler_Female_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			aztec_reformed = {
				has_flag = reformer_is_female
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = String_Aztec_Ruler_Male_God_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			aztec_reformed = {
				NOT = { has_flag = reformer_is_female }
				OR = {
					has_religion_feature = religion_holy_family
					has_religion_feature = religion_feature_zun
				}
				has_religion_feature = religion_temporal_head
			}
		}
	}
	text = {
		localisation_key = GOD_CIHUACOATL
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			aztec_reformed = { has_religion_feature = religion_matriarchal }
		}
	}
	text = {
		localisation_key = GOD_HUITZILOPOCHTLI
		trigger = {
			OR = {
				NOT = { has_dlc = "Holy Fury" }
				AND = {
					NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
					aztec_reformed = {
						NOT = { has_religion_feature = religion_matriarchal }
						OR = {
							has_religion_feature = religion_dogmatic
							has_religion_feature = religion_patriarchal
						}
					}
				}
			}
		}
	}
	text = {
		localisation_key = GOD_QUETZALCOATL_GEN
		trigger = {
			has_dlc = "Holy Fury"
			NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
			aztec_reformed = {
				NOR = {
					has_religion_feature = religion_matriarchal
					has_religion_feature = religion_patriarchal
					has_religion_feature = religion_dogmatic
				}
			}
		}
	}
	fallback_text = {
		localisation_key = AR_ALT_HIGHGOD_RANDOM_GEN
	}
}
# 
defined_text = {
	name = GetFertilityGoddessGEN
	
	text = {
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
		localisation_key = string_goddess_freyjaGEN
	}
	text = {
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
		}
		localisation_key = string_goddess_zemynaGEN
	}
	text = {
		trigger = {
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
		localisation_key = string_goddess_akkaGEN
	}
	fallback_text = {
		localisation_key = string_fallback_old_goddessGEN
	}
}
# 
defined_text = {
	name = GetFertilityGoddessACC
	
	text = {
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
		localisation_key = string_goddess_freyjaACC
	}
	text = {
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
		}
		localisation_key = string_goddess_zemynaACC
	}
	text = {
		trigger = {
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
		localisation_key = string_goddess_akkaACC
	}
	fallback_text = {
		localisation_key = string_fallback_old_goddessACC
	}
}
# 
defined_text = {
	name = GetFertilityGoddessDAT
	
	text = {
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
		localisation_key = string_goddess_freyjaDAT
	}
	text = {
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
			}
		}
		localisation_key = string_goddess_zemynaDAT
	}
	text = {
		trigger = {
			OR = {
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
		localisation_key = string_goddess_akkaDAT
	}
	fallback_text = {
		localisation_key = string_fallback_old_goddessDAT
	}
}
defined_text = {
	name = GetFromReligionAdherent
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicP
		trigger = {
			FROM = { religion = catholic }
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_Christian
		trigger = {
			FROM = { religion = orthodox }
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharP
		trigger = {
			FROM = { religion = cathar }
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			FROM = { religion = fraticelli }
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianP
		trigger = {
			FROM = { religion = waldensian }
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardP
		trigger = {
			FROM = { religion = lollard }
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistP
		trigger = {
			FROM = { religion = bogomilist }
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonotheliteP
		trigger = {
			FROM = { religion = monothelite }
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastP
		trigger = {
			FROM = { religion = iconoclast }
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianP
		trigger = {
			FROM = { religion = paulician }
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysiteP
		trigger = {
			FROM = { religion = miaphysite }
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysiteP
		trigger = {
			FROM = { religion = monophysite }
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianP
		trigger = {
			FROM = { religion = nestorian }
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianP
		trigger = {
			FROM = { religion = messalian }
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniP
		trigger = {
			FROM = { religion = sunni }
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriP
		trigger = {
			FROM = { religion = zikri }
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiP
		trigger = {
			FROM = { religion = yazidi }
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaP
		trigger = {
			FROM = { religion = shiite }
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzeP
		trigger = {
			FROM = { religion = druze }
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiP
		trigger = {
			FROM = { religion = hurufi }
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiP
		trigger = {
			FROM = { religion = ibadi }
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijiteP
		trigger = {
			FROM = { religion = kharijite }
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianP
		trigger = {
			FROM = { religion = qarmatian }
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewP
		trigger = {
			FROM = { religion = jewish }
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanP
		trigger = {
			FROM = { religion = samaritan }
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraiteP
		trigger = {
			FROM = { religion = karaite }
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianP
		trigger = {
			FROM = { religion = zoroastrian }
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiP
		trigger = {
			FROM = { religion = mazdaki }
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanP
		trigger = {
			FROM = { religion = manichean }
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduP
		trigger = {
			FROM = { religion = hindu }
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistP
		trigger = {
			FROM = { religion = buddhist }
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainP
		trigger = {
			FROM = { religion = jain }
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Follower
		trigger = {
			FROM = { religion = norse_pagan_reformed }
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavP
		trigger = {
			FROM = { religion = slavic_pagan_reformed }
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriP
		trigger = {
			FROM = { religion = tengri_pagan_reformed }
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanP
		trigger = {
			FROM = { religion = baltic_pagan_reformed }
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_Follower
		trigger = {
			FROM = { religion = finnish_pagan_reformed }
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanP
		trigger = {
			FROM = { religion = west_african_pagan_reformed }
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunP
		trigger = {
			FROM = { religion = zun_pagan_reformed }
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecP
		trigger = {
			FROM = { religion = aztec_reformed }
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	
	text = {
		localisation_key = String_AztecP
		trigger = {
			FROM = { religion = aztec }
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Follower
		trigger = {
			FROM = { religion = norse_pagan }
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavP
		trigger = {
			FROM = { religion = slavic_pagan }
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriP
		trigger = {
			FROM = { religion = tengri_pagan }
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanP
		trigger = {
			FROM = { religion = baltic_pagan }
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Follower
		trigger = {
			FROM = { religion = finnish_pagan }
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanP
		trigger = {
			FROM = { religion = west_african_pagan }
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunP
		trigger = {
			FROM = { religion = zun_pagan }
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaP
		trigger = {
			FROM = { religion = khurmazta }
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonP
		trigger = {
			FROM = {
				OR = {
					religion = bon
					religion = bon_reformed
				}
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HelleneP
		trigger = {
			FROM = {
				OR = {
					religion = hellenic_pagan
					religion = hellenic_pagan_reformed
				}
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistP
		trigger = {
			FROM = { religion = taoist }
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganP
		trigger = {
			FROM = { religion = pagan }
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_From_adherent_random
	}
}
# 
defined_text = {
	name = GetDecidedWeaponACC
	text = {
		trigger = {
			has_character_flag = crucible_steel_axe
		}
		localisation_key = string_decided_weapon_axe
	}

	text = {
		trigger = {
			has_character_flag = crucible_steel_sword
		}
		localisation_key = string_decided_weapon_sword
	}

	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = string_decided_weapon_maceACC
	}
}
# 
defined_text = {
	name = GetDecidedWeaponDAT
	text = {
		trigger = {
			has_character_flag = crucible_steel_axe
		}
		localisation_key = string_decided_weapon_axeDAT
	}

	text = {
		trigger = {
			has_character_flag = crucible_steel_sword
		}
		localisation_key = string_decided_weapon_swordDAT
	}

	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = string_decided_weapon_maceDAT
	}
}
# ""
defined_text = {
	name = GetDecidedWeaponEndA
	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = END_A
	}
}
# "/"
defined_text = {
	name = GetDecidedWeaponUyuYy
	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = END_UYU
	}
	fallback_text = {
		localisation_key = END_YY
	}
}
#Returns the string named "" for female characters, "" for male characters (, /)
defined_text = {
	name = GetDecidedWeaponEtaEtot

	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = END_A
	}
	fallback_text = {
		localisation_key = END_OT
	}
}
defined_text = {
	name = GetDecidedWeaponHersHis

	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = POSS_PRONOUN_FEM
	}
	fallback_text = {
		localisation_key = EV_HIS
	}
}
#/ +   
defined_text = {
	name = GetMyDecidedWeaponACC
	text = {
		trigger = {
			has_character_flag = crucible_steel_axe
		}
		localisation_key = string_decided_weapon_axeMyACC
	}

	text = {
		trigger = {
			has_character_flag = crucible_steel_sword
		}
		localisation_key = string_decided_weapon_swordMyACC
	}

	text = {
		trigger = {
			has_character_flag = crucible_steel_mace
		}
		localisation_key = string_decided_weapon_maceMyACC
	}
}
# 
defined_text = {
	name = GetAlcoholGEN

	text = {
		trigger = { is_tribal = yes }
		localisation_key = string_aleGEN
	}
	text = {
		trigger = { is_nomadic = yes }
		localisation_key = string_airagGEN
	}
	text = {
		trigger = {
			is_tribal = no
			is_nomadic = no
			NOR = {
				culture_group = latin
				culture_group = iberian
				culture_group = byzantine
				culture_group = south_slavic
				culture_group = iranian
				culture_group = arabic
				culture_group = chinese_group
				culture_group = dravidian_group
				culture_group = indo_aryan_group
			}
		}
		localisation_key = string_beerGEN
	}
	text = {
		trigger = {
			is_tribal = no
			is_nomadic = no
			OR = {
				culture_group = latin
				culture_group = iberian
				culture_group = byzantine
				culture_group = south_slavic
				culture_group = iranian
				culture_group = arabic
				culture_group = chinese_group
				culture_group = dravidian_group
				culture_group = indo_aryan_group
			}
		}
		localisation_key = string_wineGEN
	}
	fallback_text = {
		localisation_key = string_beerGEN
	}
}
#,    "?"      (, ,   ..)
defined_text = {
	name = GetGFXCultureAdjPREP
	text = {
		trigger = { graphical_culture = redpandagfx }
		localisation_key = string_GetGFXCultureAdjPREP_panda
	}
	text = {
		trigger = { graphical_culture = horsegfx }
		localisation_key = string_GetGFXCultureAdjPREP_horse
	}
	text = {
		trigger = { graphical_culture = catgfx }
		localisation_key = string_GetGFXCultureAdjPREP_cat
	}
	text = {
		trigger = { graphical_culture = beargfx }
		localisation_key = string_GetGFXCultureAdjPREP_bear
	}
	text = {
		trigger = { graphical_culture = hedgehoggfx }
		localisation_key = string_GetGFXCultureAdjPREP_hedgehog
	}
	text = {
		trigger = { graphical_culture = duckgfx }
		localisation_key = string_GetGFXCultureAdjPREP_duck
	}
	text = {
		trigger = { graphical_culture = doggfx }
		localisation_key = string_GetGFXCultureAdjPREP_dog
	}
	text = {
		trigger = { graphical_culture = elephantgfx }
		localisation_key = string_GetGFXCultureAdjPREP_elephant
	}
	text = {
		trigger = { graphical_culture = dragongfx }
		localisation_key = string_GetGFXCultureAdjPREP_dragon
	}
	fallback_text = {
		localisation_key = string_GetGFXCultureAdjPREP_human
	}
}
# 
#Gets your dogs name (if one of the following flags were set upon getting the dog)
defined_text = {
	name = GetDogNameINS
	text = {
		trigger = { has_character_flag = dog_name_faithful }
		localisation_key = string_Faithful_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_hunter }
		localisation_key = string_Hunter_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_tricky }
		localisation_key = string_Tricky_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_lucifer }
		localisation_key = string_Lucifer_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_shaytan }
		localisation_key = string_Shaytan_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_fenrir }
		localisation_key = String_Fenrir_INS #already exists (note the Capital S)
	}
	text = {
		trigger = { has_character_flag = dog_name_erlik }
		localisation_key = string_Erlik_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_velnias }
		localisation_key = string_Velnias_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_tuoni }
		localisation_key = string_Tuoni_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_xolotl }
		localisation_key = string_Xolotl_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_veles }
		localisation_key = string_Veles_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_guruhi }
		localisation_key = string_Guruhi_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_darkness }
		localisation_key = string_Darkness_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_ahriman }
		localisation_key = string_ahriman_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_satan }
		localisation_key = String_Satan_INS #already exists (note the Capital S)
	}
	text = {
		trigger = { has_character_flag = dog_name_vinayaka }
		localisation_key = string_Vinayaka_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_mara }
		localisation_key = string_Mara_INS
	}
	text = {
		trigger = { has_character_flag = dog_name_punisher }
		localisation_key = string_Punisher_INS
	}
	fallback_text = {
		localisation_key = string_sweetpea_INS
	}
}
#  
defined_text = {
	name = GetAgeAdjectiveCap #"the [GetAgeAdjective] [From.GetManWoman]" would read "the old man", for instance
	text = {
		localisation_key = String_very_young_CAP #below 16
		trigger = {
			OR = {
				is_adult = no
				AND = { #Or this character is younger than ROOT, by at least 40 years...
					ROOT = { is_older_than = PREV }
					ROOT = { age_diff = { who = PREV years = 40 } }
					NOT = { character = ROOT } #and it's not the ROOT character
				}
			}
		}
	}
	text = {
		localisation_key = String_young_CAP #between 16-50 (with some modifiers in mind)
		trigger = {
			OR = {
				AND = { #Either this character is a very young person, talking about themselves
					character = ROOT
					OR = {
						is_child_age_trigger = yes
						is_adolescent_age_trigger = yes
					}
				}
				AND = {
					is_adult = yes
					is_senior_age_trigger = no

					OR = { #Or this character is younger than ROOT (by at least 9 years)...
						AND = {
							ROOT = { is_older_than = PREV }
							ROOT = { age_diff = { who = PREV years = 9 } }
						}
						#... or it *is* ROOT (can refer to themselves as young)
						character = ROOT
					}
				}
				AND = { #Or this character is younger than ROOT, by at least 30 years...
					ROOT = { is_older_than = PREV }
					ROOT = { age_diff = { who = PREV years = 30 } }
					NOT = { character = ROOT } #and it's not the ROOT character
				}
			}
		}
	}
	text = {
		localisation_key = String_middle_aged_CAP  #Between 40-65
		trigger = {
			is_middle_aged_trigger = yes
		}
	}
	text = {
		localisation_key = String_old_CAP  #Between 50-70
		trigger = {
			is_senior_age_trigger = yes
			is_elder_age_trigger = no
		}
	}
	text = {
		localisation_key = String_elderly_CAP
		trigger = {
			is_elder_age_trigger = yes
		}
	}
	
	fallback_text = {
		localisation_key = string_fallback_GetAgeAdjective_CAP #Fetches GetCharacterLook
	}
}
# 
defined_text = {
	name = GetAgeAdjectiveACC #"the [GetAgeAdjective] [From.GetManWoman]" would read "the old man", for instance
	text = {
		localisation_key = String_very_youngACC #below 16
		trigger = {
			OR = {
				is_adult = no
				AND = { #Or this character is younger than ROOT, by at least 40 years...
					ROOT = { is_older_than = PREV }
					ROOT = { age_diff = { who = PREV years = 40 } }
					NOT = { character = ROOT } #and it's not the ROOT character
				}
			}
		}
	}
	text = {
		localisation_key = String_youngACC #between 16-50 (with some modifiers in mind)
		trigger = {
			OR = {
				AND = { #Either this character is a very young person, talking about themselves
					character = ROOT
					OR = {
						is_child_age_trigger = yes
						is_adolescent_age_trigger = yes
					}
				}
				AND = {
					is_adult = yes
					is_senior_age_trigger = no

					OR = { #Or this character is younger than ROOT (by at least 9 years)...
						AND = {
							ROOT = { is_older_than = PREV }
							ROOT = { age_diff = { who = PREV years = 9 } }
						}
						#... or it *is* ROOT (can refer to themselves as young)
						character = ROOT
					}
				}
				AND = { #Or this character is younger than ROOT, by at least 30 years...
					ROOT = { is_older_than = PREV }
					ROOT = { age_diff = { who = PREV years = 30 } }
					NOT = { character = ROOT } #and it's not the ROOT character
				}
			}
		}
	}
	text = {
		localisation_key = String_middle_agedACC  #Between 40-65
		trigger = {
			is_middle_aged_trigger = yes
		}
	}
	text = {
		localisation_key = String_oldACC  #Between 50-70
		trigger = {
			is_senior_age_trigger = yes
			is_elder_age_trigger = no
		}
	}
	text = {
		localisation_key = String_elderlyACC
		trigger = {
			is_elder_age_trigger = yes
		}
	}
	
	fallback_text = {
		localisation_key = string_fallback_GetAgeAdjectiveACC #Fetches GetCharacterLook
	}
}
# 
defined_text = {
	name = GetAgeAdjectiveGEN #"the [GetAgeAdjective] [From.GetManWoman]" would read "the old man", for instance
	text = {
		localisation_key = String_very_youngGEN #below 16
		trigger = {
			OR = {
				is_adult = no
				AND = { #Or this character is younger than ROOT, by at least 40 years...
					ROOT = { is_older_than = PREV }
					ROOT = { age_diff = { who = PREV years = 40 } }
					NOT = { character = ROOT } #and it's not the ROOT character
				}
			}
		}
	}
	text = {
		localisation_key = String_youngGEN #between 16-50 (with some modifiers in mind)
		trigger = {
			OR = {
				AND = { #Either this character is a very young person, talking about themselves
					character = ROOT
					OR = {
						is_child_age_trigger = yes
						is_adolescent_age_trigger = yes
					}
				}
				AND = {
					is_adult = yes
					is_senior_age_trigger = no

					OR = { #Or this character is younger than ROOT (by at least 9 years)...
						AND = {
							ROOT = { is_older_than = PREV }
							ROOT = { age_diff = { who = PREV years = 9 } }
						}
						#... or it *is* ROOT (can refer to themselves as young)
						character = ROOT
					}
				}
				AND = { #Or this character is younger than ROOT, by at least 30 years...
					ROOT = { is_older_than = PREV }
					ROOT = { age_diff = { who = PREV years = 30 } }
					NOT = { character = ROOT } #and it's not the ROOT character
				}
			}
		}
	}
	text = {
		localisation_key = String_middle_agedGEN  #Between 40-65
		trigger = {
			is_middle_aged_trigger = yes
		}
	}
	text = {
		localisation_key = String_oldGEN  #Between 50-70
		trigger = {
			is_senior_age_trigger = yes
			is_elder_age_trigger = no
		}
	}
	text = {
		localisation_key = String_elderlyGEN
		trigger = {
			is_elder_age_trigger = yes
		}
	}
	
	fallback_text = {
		localisation_key = string_fallback_GetAgeAdjectiveGEN #Fetches GetCharacterLook
	}
}
# 
defined_text = {
	name = GetAuthorNameGEN
	text = {
		trigger = { has_character_flag = book_author_Euripedes }
		localisation_key = String_Euripedes_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Sophocles }
		localisation_key = String_Sophocles_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Aristophanes }
		localisation_key = String_Aristophanes_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Philemon }
		localisation_key = String_Philemon_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Aeschylus }
		localisation_key = String_Aeschylus_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Archilochus }
		localisation_key = String_Archilochus_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Alcman_of_Sparta }
		localisation_key = String_Alcman_of_Sparta_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Theocritus }
		localisation_key = String_Theocritus_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Sappho }
		localisation_key = String_Sappho_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Asclepiades_of_Samos }
		localisation_key = String_Asclepiades_of_Samos_GEN
	}

	text = {
		trigger = { has_character_flag = book_author_Hermodorus_of_Salamis }
		localisation_key = String_Hermodorus_of_Salamis_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Vitruvius }
		localisation_key = String_Vitruvius_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Rabirius }
		localisation_key = String_Rabirius_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Cocceius_Auctus }
		localisation_key = String_Cocceius_Auctus_GEN
	}

	text = {
		trigger = { has_character_flag = book_author_Plato }
		localisation_key = String_Plato_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Aristotle }
		localisation_key = String_Aristotle_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Pythagoras }
		localisation_key = String_Pythagoras_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Thales_of_Mileto }
		localisation_key = String_Thales_of_Mileto_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Zeno_of_Elea }
		localisation_key = String_Zeno_of_Elea_GEN
	}

	text = {
		trigger = { has_character_flag = book_author_Herodotus }
		localisation_key = String_Herodotus_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Thucydides }
		localisation_key = String_Thucydides_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Polybius }
		localisation_key = String_Polybius_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Strabo }
		localisation_key = String_Strabo_GEN
	}

	text = {
		trigger = { has_character_flag = book_author_Hypatia_of_Alexandria }
		localisation_key = String_Hypatia_of_Alexandria_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Ptolemy }
		localisation_key = String_Ptolemy_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Aristarchus_of_Samos }
		localisation_key = String_Aristarchus_of_Samos_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Hippocrates_of_Kos }
		localisation_key = String_Hippocrates_of_Kos_GEN
	}
	text = {
		trigger = { has_character_flag = book_author_Virgil }
		localisation_key = String_Virgil_GEN
	}
}
# 
defined_text = {
	name = GetAuthorNameINS
	text = {
		trigger = { has_character_flag = book_author_Euripedes }
		localisation_key = String_Euripedes_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Sophocles }
		localisation_key = String_Sophocles_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Aristophanes }
		localisation_key = String_Aristophanes_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Philemon }
		localisation_key = String_Philemon_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Aeschylus }
		localisation_key = String_Aeschylus_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Archilochus }
		localisation_key = String_Archilochus_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Alcman_of_Sparta }
		localisation_key = String_Alcman_of_Sparta_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Theocritus }
		localisation_key = String_Theocritus_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Sappho }
		localisation_key = String_Sappho_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Asclepiades_of_Samos }
		localisation_key = String_Asclepiades_of_Samos_INS
	}

	text = {
		trigger = { has_character_flag = book_author_Hermodorus_of_Salamis }
		localisation_key = String_Hermodorus_of_Salamis_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Vitruvius }
		localisation_key = String_Vitruvius_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Rabirius }
		localisation_key = String_Rabirius_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Cocceius_Auctus }
		localisation_key = String_Cocceius_Auctus_INS
	}

	text = {
		trigger = { has_character_flag = book_author_Plato }
		localisation_key = String_Plato_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Aristotle }
		localisation_key = String_Aristotle_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Pythagoras }
		localisation_key = String_Pythagoras_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Thales_of_Mileto }
		localisation_key = String_Thales_of_Mileto_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Zeno_of_Elea }
		localisation_key = String_Zeno_of_Elea_INS
	}

	text = {
		trigger = { has_character_flag = book_author_Herodotus }
		localisation_key = String_Herodotus_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Thucydides }
		localisation_key = String_Thucydides_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Polybius }
		localisation_key = String_Polybius_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Strabo }
		localisation_key = String_Strabo_INS
	}

	text = {
		trigger = { has_character_flag = book_author_Hypatia_of_Alexandria }
		localisation_key = String_Hypatia_of_Alexandria_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Ptolemy }
		localisation_key = String_Ptolemy_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Aristarchus_of_Samos }
		localisation_key = String_Aristarchus_of_Samos_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Hippocrates_of_Kos }
		localisation_key = String_Hippocrates_of_Kos_INS
	}
	text = {
		trigger = { has_character_flag = book_author_Virgil }
		localisation_key = String_Virgil_INS
	}
}
# 
defined_text = {
	name = GetAuthorTitleGEN
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Writer_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poet_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_Architect_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_Philosopher_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_Historian_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_Astronomer_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_Medic_GEN
	}
}
# 
defined_text = {
	name = GetAuthorTitleINS
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Writer_INS
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poet_INS
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_Architect_INS
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_Philosopher_INS
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_Historian_INS
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_Astronomer_INS
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_Medic_INS
	}
}
#  ///   
defined_text = {
	name = GetBookThemePostfix
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Drama_Postfix
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poetry_Postfix
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_Architecture_Postfix
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_Philosophy_Postfix
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_History_Postfix
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_Astronomy_Postfix
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_Medical_Postfix
	}
}
# //   
defined_text = {
	name = GetBookThemePostfixLas
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Drama_PostfixLas
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poetry_PostfixLas
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_Architecture_PostfixLas
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_Philosophy_PostfixLas
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_History_PostfixLas
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_Astronomy_PostfixLas
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_Medical_PostfixLas
	}
}
# a/<>/   
defined_text = {
	name = GetBookThemePostfixA
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Drama_PostfixA
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poetry_PostfixA
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_History_PostfixA
	}
}
# a/<>/   
defined_text = {
	name = GetBookThemePostfixSoftA
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Drama_PostfixA
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poetry_PostfixA
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_History_PostfixSoftA
	}
}
# 
defined_text = {
	name = GetBookThemeWithArticleGEN
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_aDrama_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_aPoetry_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_anArchitecture_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_aPhilosophy_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_aHistory_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_anAstronomy_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_aMedical_GEN
	}
}
# 
defined_text = {
	name = GetBookThemeGEN
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Drama_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poetry_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_Architecture_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_Philosophy_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_History_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_Astronomy_GEN
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_Medical_GEN
	}
}
# 
defined_text = {
	name = GetBookThemeACC
	text = {
		trigger = { has_character_flag = book_theme_Drama }
		localisation_key = String_Drama_ACC
	}
	text = {
		trigger = { has_character_flag = book_theme_Poetry }
		localisation_key = String_Poetry_ACC
	}
	text = {
		trigger = { has_character_flag = book_theme_Architecture }
		localisation_key = String_Architecture_ACC
	}
	text = {
		trigger = { has_character_flag = book_theme_Philosophy }
		localisation_key = String_Philosophy_ACC
	}
	text = {
		trigger = { has_character_flag = book_theme_History }
		localisation_key = String_History_ACC
	}
	text = {
		trigger = { has_character_flag = book_theme_Astronomy }
		localisation_key = String_Astronomy_ACC
	}
	text = {
		trigger = { has_character_flag = book_theme_Medicine }
		localisation_key = String_Medical_ACC
	}
}
# 
defined_text = {
	name = GetRandomSaintNameGEN

	text = {
		localisation_key = string_saint_paulGEN
	}
	text = {
		localisation_key = string_saint_christopherGEN
	}
	text = {
		localisation_key = string_saint_valentineGEN
	}
	text = {
		localisation_key = string_saint_josephGEN
	}
	text = {
		localisation_key = string_saint_ceciliaGEN
	}
}
# 
defined_text = {
	name = GetRandomSaintNameDAT

	text = {
		localisation_key = string_saint_paulDAT
	}
	text = {
		localisation_key = string_saint_christopherDAT
	}
	text = {
		localisation_key = string_saint_valentineDAT
	}
	text = {
		localisation_key = string_saint_josephDAT
	}
	text = {
		localisation_key = string_saint_ceciliaDAT
	}
}
# 
defined_text = {
	name = GetWonderTypeShortCapACC # Basically, what kind of building this is: "Cathedral", or "Pyramid", or "Harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_CathedralACC
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_MosqueACC
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_SynagogueACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
			}
		}
		localisation_key = String_TempleACC
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_Statue_rulerACC
	}
	#text = {
	#	trigger = { has_wonder = wonder_statue_ruler }
	#	localisation_key = String_ColossusACC
	#}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StatueACC
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StallionACC
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_MareACC
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_CastleACC
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_CitadelACC
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_KeepACC
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_FortressACC
	}
	text = {
		trigger = { has_wonder = wonder_underground_city }
		localisation_key = String_Underground_CityACC
	}
	text = {
		trigger = { 
			has_wonder = wonder_wall
			wonder_stage = 3
			num_of_wonder_upgrades = 4
		}
		localisation_key = String_ShieldACC
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_WallsACC
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_HarborACC
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse }
		localisation_key = String_LighthouseACC
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_AmphitheaterACC
	}
	text = {
		trigger = { has_wonder = wonder_palace }
		localisation_key = String_PalaceACC
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_GardenACC
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_ForestACC
	#}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_WoodsACC
	#}
	text = {
		trigger = { has_wonder = wonder_university }
		localisation_key = String_UniversityACC
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_LibraryACC
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum }
		localisation_key = String_MausoleumACC
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_MonolithACC
	}	
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_PyramidACC
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_StonehengeACC
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum_halicarnassus }
		localisation_key = wonder_mausoleum_halicarnassusACC
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse_alexandria }
		localisation_key = wonder_lighthouse_alexandriaACC
	}
	text = {
		trigger = { has_wonder = wonder_temple_hindu_konark }
		localisation_key = wonder_temple_hindu_konarkACC
	}
	text = {
		trigger = { has_wonder = wonder_apostolic_palace }
		localisation_key = wonder_apostolic_palaceACC
	}
	text = {
		trigger = { has_wonder = wonder_house_of_wisdom }
		localisation_key = wonder_house_of_wisdomACC
	}
	text = {
		trigger = { has_wonder = wonder_underground_city_petra }
		localisation_key = wonder_underground_city_petraACC
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_Great_WorkACC
    }
}


# Without cap, for unceremonious speak (try to avoid a/an, or "amphitheater" will mess up):
defined_text = {
	name = GetWonderTypeShortACC # Basically, what kind of building this is: "cathedral", or "pyramid", or "harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_cathedralACC
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_mosqueACC
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_synagogueACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = String_templeACC
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_statue_rulerACC
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_statueACC
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_castleACC
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_citadelACC
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_keepACC
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_fortressACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = String_underground_cityACC
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_wallsACC
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_harborACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = String_lighthouseACC
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_amphitheaterACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = String_palaceACC
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_gardenACC
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_forestACC
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = String_universityACC
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_libraryACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = String_mausoleumACC
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_pyramidACC
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_monolithACC
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_stone_formationACC
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_great_workACC
    }
}
# 
defined_text = {
	name = GetWonderTypeShortCapGEN # Basically, what kind of building this is: "Cathedral", or "Pyramid", or "Harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_CathedralGEN
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_MosqueGEN
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_SynagogueGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
			}
		}
		localisation_key = String_TempleGEN
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_Statue_rulerGEN
	}
	#text = {
	#	trigger = { has_wonder = wonder_statue_ruler }
	#	localisation_key = String_ColossusGEN
	#}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StatueGEN
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StallionGEN
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_MareGEN
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_CastleGEN
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_CitadelGEN
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_KeepGEN
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_FortressGEN
	}
	text = {
		trigger = { has_wonder = wonder_underground_city }
		localisation_key = String_Underground_CityGEN
	}
	text = {
		trigger = { 
			has_wonder = wonder_wall
			wonder_stage = 3
			num_of_wonder_upgrades = 4
		}
		localisation_key = String_ShieldGEN
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_WallsGEN
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_HarborGEN
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse }
		localisation_key = String_LighthouseGEN
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_AmphitheaterGEN
	}
	text = {
		trigger = { has_wonder = wonder_palace }
		localisation_key = String_PalaceGEN
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_GardenGEN
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_ForestGEN
	#}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_WoodsGEN
	#}
	text = {
		trigger = { has_wonder = wonder_university }
		localisation_key = String_UniversityGEN
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_LibraryGEN
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum }
		localisation_key = String_MausoleumGEN
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_MonolithGEN
	}	
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_PyramidGEN
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_StonehengeGEN
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum_halicarnassus }
		localisation_key = wonder_mausoleum_halicarnassusGEN
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse_alexandria }
		localisation_key = wonder_lighthouse_alexandriaGEN
	}
	text = {
		trigger = { has_wonder = wonder_temple_hindu_konark }
		localisation_key = wonder_temple_hindu_konarkGEN
	}
	text = {
		trigger = { has_wonder = wonder_apostolic_palace }
		localisation_key = wonder_apostolic_palaceGEN
	}
	text = {
		trigger = { has_wonder = wonder_house_of_wisdom }
		localisation_key = wonder_house_of_wisdomGEN
	}
	text = {
		trigger = { has_wonder = wonder_underground_city_petra }
		localisation_key = wonder_underground_city_petraGEN
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_Great_WorkGEN
    }
}

# Without cap, for unceremonious speak (try to avoid a/an, or "amphitheater" will mess up):
defined_text = {
	name = GetWonderTypeShortGEN # Basically, what kind of building this is: "cathedral", or "pyramid", or "harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_cathedralGEN
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_mosqueGEN
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_synagogueGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = String_templeGEN
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_statue_rulerGEN
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_statueGEN
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_castleGEN
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_citadelGEN
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_keepGEN
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_fortressGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = String_underground_cityGEN
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_wallsGEN
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_harborGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = String_lighthouseGEN
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_amphitheaterGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = String_palaceGEN
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_gardenGEN
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_forestGEN
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = String_universityGEN
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_libraryGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = String_mausoleumGEN
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_pyramidGEN
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_monolithGEN
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_stone_formationGEN
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_great_workGEN
    }
}
# 
defined_text = {
	name = GetWonderTypeShortCapPREP # Basically, what kind of building this is: "Cathedral", or "Pyramid", or "Harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_CathedralPREP
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_MosquePREP
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_SynagoguePREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
			}
		}
		localisation_key = String_TemplePREP
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_Statue_rulerPREP
	}
	#text = {
	#	trigger = { has_wonder = wonder_statue_ruler }
	#	localisation_key = String_ColossusPREP
	#}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StatuePREP
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StallionPREP
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_MarePREP
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_CastlePREP
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_CitadelPREP
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_KeepPREP
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_FortressPREP
	}
	text = {
		trigger = { has_wonder = wonder_underground_city }
		localisation_key = String_Underground_CityPREP
	}
	text = {
		trigger = { 
			has_wonder = wonder_wall
			wonder_stage = 3
			num_of_wonder_upgrades = 4
		}
		localisation_key = String_ShieldPREP
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_WallsPREP
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_HarborPREP
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse }
		localisation_key = String_LighthousePREP
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_AmphitheaterPREP
	}
	text = {
		trigger = { has_wonder = wonder_palace }
		localisation_key = String_PalacePREP
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_GardenPREP
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_ForestPREP
	#}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_WoodsPREP
	#}
	text = {
		trigger = { has_wonder = wonder_university }
		localisation_key = String_UniversityPREP
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_LibraryPREP
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum }
		localisation_key = String_MausoleumPREP
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_MonolithPREP
	}	
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_PyramidPREP
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_StonehengePREP
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum_halicarnassus }
		localisation_key = wonder_mausoleum_halicarnassusPREP
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse_alexandria }
		localisation_key = wonder_lighthouse_alexandriaPREP
	}
	text = {
		trigger = { has_wonder = wonder_temple_hindu_konark }
		localisation_key = wonder_temple_hindu_konarkPREP
	}
	text = {
		trigger = { has_wonder = wonder_apostolic_palace }
		localisation_key = wonder_apostolic_palacePREP
	}
	text = {
		trigger = { has_wonder = wonder_house_of_wisdom }
		localisation_key = wonder_house_of_wisdomPREP
	}
	text = {
		trigger = { has_wonder = wonder_underground_city_petra }
		localisation_key = wonder_underground_city_petraPREP
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_Great_WorkPREP
    }
}

# Without cap, for unceremonious speak (try to avoid a/an, or "amphitheater" will mess up):
defined_text = {
	name = GetWonderTypeShortPREP # Basically, what kind of building this is: "cathedral", or "pyramid", or "harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_cathedralPREP
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_mosquePREP
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_synagoguePREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = String_templePREP
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_statue_rulerPREP
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_statuePREP
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_castlePREP
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_citadelPREP
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_keepPREP
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_fortressPREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = String_underground_cityPREP
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_wallsPREP
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_harborPREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = String_lighthousePREP
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_amphitheaterPREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = String_palacePREP
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_gardenPREP
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_forestPREP
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = String_universityPREP
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_libraryPREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = String_mausoleumPREP
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_pyramidPREP
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_monolithPREP
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_stone_formationPREP
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_great_workPREP
    }
}
# /<>        - 
defined_text = {
	name = GetWonderPREP_O_EndB

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = { 
			has_wonder = wonder_wall
			wonder_stage = 3
			num_of_wonder_upgrades = 4
		}
		localisation_key = END_B
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_B
	}
	text = {
		trigger = { has_wonder = wonder_university }
		localisation_key = END_B
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse_alexandria }
		localisation_key = END_B
	}
	text = {
		trigger = { has_wonder = wonder_apostolic_palace }
		localisation_key = END_B
	}
}
# 
defined_text = {
	name = GetWonderTypeShortCapPREP_O # Basically, what kind of building this is: "Cathedral", or "Pyramid", or "Harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_CathedralPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_MosquePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_SynagoguePREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
			}
		}
		localisation_key = String_TemplePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_Statue_rulerPREP_O
	}
	#text = {
	#	trigger = { has_wonder = wonder_statue_ruler }
	#	localisation_key = String_ColossusPREP_O
	#}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StatuePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_StallionPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_MarePREP_O
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_CastlePREP_O
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_CitadelPREP_O
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_KeepPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_FortressPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_underground_city }
		localisation_key = String_Underground_CityPREP_O
	}
	text = {
		trigger = { 
			has_wonder = wonder_wall
			wonder_stage = 3
			num_of_wonder_upgrades = 4
		}
		localisation_key = String_ShieldPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_WallsPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_HarborPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse }
		localisation_key = String_LighthousePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_AmphitheaterPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_palace }
		localisation_key = String_PalacePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_GardenPREP_O
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_ForestPREP_O
	#}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_WoodsPREP_O
	#}
	text = {
		trigger = { has_wonder = wonder_university }
		localisation_key = String_UniversityPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_LibraryPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum }
		localisation_key = String_MausoleumPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_MonolithPREP_O
	}	
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_PyramidPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_StonehengePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_mausoleum_halicarnassus }
		localisation_key = wonder_mausoleum_halicarnassusPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_lighthouse_alexandria }
		localisation_key = wonder_lighthouse_alexandriaPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_temple_hindu_konark }
		localisation_key = wonder_temple_hindu_konarkPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_apostolic_palace }
		localisation_key = wonder_apostolic_palacePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_house_of_wisdom }
		localisation_key = wonder_house_of_wisdomPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_underground_city_petra }
		localisation_key = wonder_underground_city_petraPREP_O
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_Great_WorkPREP_O
    }
}
# Without cap, for unceremonious speak (try to avoid a/an, or "amphitheater" will mess up):
defined_text = {
	name = GetWonderTypeShortPREP_O # Basically, what kind of building this is: "cathedral", or "pyramid", or "harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = String_cathedralPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = String_mosquePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = String_synagoguePREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = String_templePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = String_statue_rulerPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = String_statuePREP_O
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = String_castlePREP_O
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = String_citadelPREP_O
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = String_keepPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = String_fortressPREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = String_underground_cityPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = String_wallsPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = String_harborPREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = String_lighthousePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = String_amphitheaterPREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = String_palacePREP_O
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = String_gardenPREP_O
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = String_forestPREP_O
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = String_universityPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = String_libraryPREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = String_mausoleumPREP_O
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = String_pyramidPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = String_monolithPREP_O
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = String_stone_formationPREP_O
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_great_workPREP_O
    }
}
#///
defined_text = {
	name = GetWonderTypeShortEtaEtot # Basically, what kind of building this is: "cathedral", or "pyramid", or "harbor"

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_A
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_A
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_A
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_A
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_A
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_A
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_A
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_I
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_A
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_OT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_OT
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_OT
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_A
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_OT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_A
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_OT
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_OT
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_O
    }
}
# "///" (  "?") -  
defined_text = {
	name = GetWonderAyaIyIeOe

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_IE
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_IY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_IY
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_IY
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_IY
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_OE
    }
}
# "///" (  "?") -  
defined_text = {
	name = GetWonderAyaYyYeOe

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_YE
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_YY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_YY
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_YY
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = AYA_POSTFIX
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_YY
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_YY
    }
}

# "///" (  "?") -  
defined_text = {
	name = GetWonderUyuIyIeOe

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_IE
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_IY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_IY
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_IY
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_IY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_IY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_IY
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_OE
    }
}
# "///" (  "?") -  
defined_text = {
	name = GetWonderUyuYyYeOe

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_YE
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_YY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_YY
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_YY
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_UYU
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_YY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_UYU
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_YY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_YY
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_YY
    }
}
# "///" (  "?") -  
defined_text = {
	name = GetWonderOyOgoIh

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_IH
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_OGO
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_OGO
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_OGO
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_OGO
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_OGO
    }
}
# "///" (  "?") -  
defined_text = {
	name = GetWonderOyOgoYh

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_YH
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_OGO
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_OGO
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_OGO
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_OGO
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_OGO
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_OGO
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_OGO
    }
}
# "///" (  " ?") -  
defined_text = {
	name = GetWonderOyOmIh

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_IH
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_OM
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_OM
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_OM
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_OM
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_OM
    }
}
# "///" (  " ?") -  
defined_text = {
	name = GetWonderOyOmYh

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_OY
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_YH
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_OM
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_OM
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_OM
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_OY
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_OM
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_OY
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_OM
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_OM
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_OM
    }
}
# "/" -  
defined_text = {
	name = GetWonderYetYut

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_ET
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_ET
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_ET
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_ET
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_YUT
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_ET
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_ET
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_ET
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_ET
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_ET
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_ET
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_ET
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_ET
    }
}
# "/" -  
defined_text = {
	name = GetWonderItAt
	
	use_first_valid = yes # (Defaults to no)
	
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_IT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_AT
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_IT
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_IT
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_IT
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_IT
    }
}
# "/" -  
defined_text = {
	name = GetWonderItYat

	use_first_valid = yes # (Defaults to no)

	text = {
		trigger = {
			OR = {
				has_wonder = wonder_cathedral
				has_wonder = wonder_cathedral_hagia_sophia
				has_wonder = wonder_cathedral_notre_dame
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_mosque }
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_synagogue }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_temple_pagan
				has_wonder = wonder_temple_hindu
				has_wonder = wonder_temple_buddhist
				has_wonder = wonder_temple_hindu_konark
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_statue_ruler }
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_statue_horse }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			num_of_wonder_upgrades = 4
			any_wonder_upgrade = {
				has_wonder_upgrade = upgrade_garden_inner
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 6
		}
		localisation_key = END_IT
	}
	text = {
		trigger = {
			has_wonder = wonder_fortress
			wonder_stage = 3
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_fortress }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_underground_city
				has_wonder = wonder_underground_city_petra
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_wall }
		localisation_key = END_YAT
	}
	text = {
		trigger = { has_wonder = wonder_harbor }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_lighthouse
				has_wonder = wonder_lighthouse_alexandria
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_amphitheater }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_palace
				has_wonder = wonder_apostolic_palace
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_garden }
		localisation_key = END_IT
	}
	#text = {
	#	trigger = { has_wonder = wonder_forest }
	#	localisation_key = END_IT
	#}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_university
				has_wonder = wonder_house_of_wisdom
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_library }
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_mausoleum
				has_wonder = wonder_mausoleum_halicarnassus
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = {
			OR = {
				has_wonder = wonder_pyramid
				has_wonder = wonder_pyramid_giza
				has_wonder = wonder_aztec_pyramid
			}
		}
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones }
		localisation_key = END_IT
	}
	text = {
		trigger = { has_wonder = wonder_pagan_stones_stonehenge }
		localisation_key = END_IT
	}
	
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = END_IT
    }
}
# 
# A Fancy Name! Use this to set/update the name of a wonder (probably best done via on_actions after completing a stage or upgrade)
defined_text = {
	name = GetWonderNameGEN

	use_first_valid = yes # (Defaults to no)

	######### Very rare...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
				has_wonder_flag = wonder_name_7
			}
		}
		localisation_key = String_special_wonder_nameGEN # The Devils Workshop, The Citadel of Horrors etc
	}

	#### Edge cases ...
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 3
		}
		localisation_key = String_adj_statue_wonder_type_in_locationGEN
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 2
			NOT = {
				wonder_stage = 4
			}
		}
		localisation_key = String_adj_statue_wonder_typeGEN
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
		}
		localisation_key = String_statue_wonder_typeGEN
	}

	### Regular...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_game_rule = {
					name = supernatural_events
					value = off
				}
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_nounGEN # Grand Cathedral of Light/Bloody Palace of Shadows, etc
	}
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
				has_wonder_flag = wonder_name_4
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_locationGEN # Grand Cathedral of Paris/Bloody Palace of Stockholm, etc
	}
	text = {
		trigger = {
			NOT = {
				wonder_stage = 2
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_1
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
			}
		}
		localisation_key = String_location_wondertypeGEN # Stockholm Cathedral/Paris University, etc
	}
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_location_wondertypeGEN # Simplest version
    }
}

defined_text = { #special wonders
	name = GetSpecialWonderNameGEN

	text = {
		trigger = {
			has_wonder_flag = holy_building
			any_upgrade_on_wonder = {
				count = 2
				has_wonder_upgrade_flag = scary
			}
		}
		localisation_key = String_the_evil_god_names_workshopGEN
	}



	text = {
		trigger = {
			any_upgrade_on_wonder = {
				count = 3
				has_wonder_upgrade_flag = decorative
			}
		}
		localisation_key = String_jewel_of_the_provinceGEN
	}

	fallback_text = {

		localisation_key = String_adj_wondertype_of_nounGEN
	}
}
# 
# A Fancy Name! Use this to set/update the name of a wonder (probably best done via on_actions after completing a stage or upgrade)
defined_text = {
	name = GetWonderNameACC

	use_first_valid = yes # (Defaults to no)

	######### Very rare...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
				has_wonder_flag = wonder_name_7
			}
		}
		localisation_key = String_special_wonder_nameACC # The Devils Workshop, The Citadel of Horrors etc
	}

	#### Edge cases ...
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 3
		}
		localisation_key = String_adj_statue_wonder_type_in_locationACC
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 2
			NOT = {
				wonder_stage = 4
			}
		}
		localisation_key = String_adj_statue_wonder_typeACC
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
		}
		localisation_key = String_statue_wonder_typeACC
	}

	### Regular...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_game_rule = {
					name = supernatural_events
					value = off
				}
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_nounACC # Grand Cathedral of Light/Bloody Palace of Shadows, etc
	}
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
				has_wonder_flag = wonder_name_4
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_locationACC # Grand Cathedral of Paris/Bloody Palace of Stockholm, etc
	}
	text = {
		trigger = {
			NOT = {
				wonder_stage = 2
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_1
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
			}
		}
		localisation_key = String_location_wondertypeACC # Stockholm Cathedral/Paris University, etc
	}
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_location_wondertypeACC # Simplest version
    }
}

defined_text = { #special wonders
	name = GetSpecialWonderNameACC

	text = {
		trigger = {
			has_wonder_flag = holy_building
			any_upgrade_on_wonder = {
				count = 2
				has_wonder_upgrade_flag = scary
			}
		}
		localisation_key = String_the_evil_god_names_workshopACC
	}



	text = {
		trigger = {
			any_upgrade_on_wonder = {
				count = 3
				has_wonder_upgrade_flag = decorative
			}
		}
		localisation_key = String_jewel_of_the_provinceACC
	}

	fallback_text = {

		localisation_key = String_adj_wondertype_of_nounACC
	}
}
# 
# A Fancy Name! Use this to set/update the name of a wonder (probably best done via on_actions after completing a stage or upgrade)
defined_text = {
	name = GetWonderNamePREP

	use_first_valid = yes # (Defaults to no)

	######### Very rare...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
				has_wonder_flag = wonder_name_7
			}
		}
		localisation_key = String_special_wonder_namePREP # The Devils Workshop, The Citadel of Horrors etc
	}

	#### Edge cases ...
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 3
		}
		localisation_key = String_adj_statue_wonder_type_in_locationPREP
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 2
			NOT = {
				wonder_stage = 4
			}
		}
		localisation_key = String_adj_statue_wonder_typePREP
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
		}
		localisation_key = String_statue_wonder_typePREP
	}

	### Regular...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_game_rule = {
					name = supernatural_events
					value = off
				}
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_nounPREP # Grand Cathedral of Light/Bloody Palace of Shadows, etc
	}
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
				has_wonder_flag = wonder_name_4
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_locationPREP # Grand Cathedral of Paris/Bloody Palace of Stockholm, etc
	}
	text = {
		trigger = {
			NOT = {
				wonder_stage = 2
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_1
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
			}
		}
		localisation_key = String_location_wondertypePREP # Stockholm Cathedral/Paris University, etc
	}
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_location_wondertypePREP # Simplest version
    }
}

defined_text = { #special wonders
	name = GetSpecialWonderNamePREP

	text = {
		trigger = {
			has_wonder_flag = holy_building
			any_upgrade_on_wonder = {
				count = 2
				has_wonder_upgrade_flag = scary
			}
		}
		localisation_key = String_the_evil_god_names_workshopPREP
	}



	text = {
		trigger = {
			any_upgrade_on_wonder = {
				count = 3
				has_wonder_upgrade_flag = decorative
			}
		}
		localisation_key = String_jewel_of_the_provincePREP
	}

	fallback_text = {

		localisation_key = String_adj_wondertype_of_nounPREP
	}
}
# 
# A Fancy Name! Use this to set/update the name of a wonder (probably best done via on_actions after completing a stage or upgrade)
defined_text = {
	name = GetWonderNamePREP_O

	use_first_valid = yes # (Defaults to no)

	######### Very rare...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
				has_wonder_flag = wonder_name_7
			}
		}
		localisation_key = String_special_wonder_namePREP_O # The Devils Workshop, The Citadel of Horrors etc
	}

	#### Edge cases ...
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 3
		}
		localisation_key = String_adj_statue_wonder_type_in_locationPREP_O
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
			wonder_stage = 2
			NOT = {
				wonder_stage = 4
			}
		}
		localisation_key = String_adj_statue_wonder_typePREP_O
	}
	text = { #Statue
		trigger = {
			has_wonder = wonder_statue_ruler
		}
		localisation_key = String_statue_wonder_typePREP_O
	}

	### Regular...
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_game_rule = {
					name = supernatural_events
					value = off
				}
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_nounPREP_O # Grand Cathedral of Light/Bloody Palace of Shadows, etc
	}
	text = {
		trigger = {
			wonder_stage = 3
			NOT = {
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
				has_wonder_flag = wonder_name_4
				has_wonder_flag = wonder_name_5			
				has_wonder_flag = wonder_name_6
			}
		}
		localisation_key = String_adj_wondertype_of_locationPREP_O # Grand Cathedral of Paris/Bloody Palace of Stockholm, etc
	}
	text = {
		trigger = {
			NOT = {
				wonder_stage = 2
				has_wonder = wonder_statue_ruler
			}
			OR = {
				has_wonder_flag = wonder_name_1
				has_wonder_flag = wonder_name_2
				has_wonder_flag = wonder_name_3
			}
		}
		localisation_key = String_location_wondertypePREP_O # Stockholm Cathedral/Paris University, etc
	}
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_location_wondertypePREP_O # Simplest version
    }
}
defined_text = {
	name = GetWonderAgeDescCap

	text = {
		trigger = { NOT = { wonder_age = 1 } } #TODO_CD_MILLA: double check syntax on years/months
		localisation_key = String_monthsCap
	}
	text = {
		trigger = {
			wonder_age = 1
			NOT = { wonder_age = 20 }
		}
		localisation_key = String_yearsCap
	}
	text = {
		trigger = {
			wonder_age = 20
			NOT = { wonder_age = 100 }
		}
		localisation_key = String_decadesCap
	}
	text = {
		trigger = {
			wonder_age = 80
			NOT = { wonder_age = 100 }
		}
		localisation_key = String_almost_a_centuryCap
	}
	text = {
		trigger = {
			wonder_age = 100
			NOT = { wonder_age = 150 }
		}
		localisation_key = String_agesCap
	}
	text = {
		trigger = {
			wonder_age = 100
			NOT = { wonder_age = 150 }
		}
		localisation_key = String_more_than_a_hundred_yearsCap
	}
	text = {
		trigger = {
			wonder_age = 250
		}
		localisation_key = String_hundreds_of_yearsCap
	}
	text = {
		trigger = {
			wonder_age = 250
		}
		localisation_key = String_as_long_as_anyone_can_rememberCap
	}
	text = {
		trigger = {
			wonder_age = 250
		}
		localisation_key = String_centuriesCap
	}
	text = {
		trigger = {
			wonder_age = 350
		}
		localisation_key = String_time_immemorialCap
	}
	text = {
		trigger = {
			wonder_age = 400
		}
		localisation_key = String_Since_ancientCap
	}
	#In case it cannot find anything...
    fallback_text = {
        localisation_key = String_a_long_timeCap
    }
}
# 
defined_text = { #Needs a province scope
	name = GetTreeRockFenceGEN

	text = {
		trigger = { terrain = forest }
		localisation_key = string_treeGEN
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_fallen_treeGEN
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_hollow_treeGEN
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_fallen_treeGEN
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_dried_up_treeGEN
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_fallen_treeGEN
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_large_rockGEN
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_old_fenceGEN
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_fallen_treeGEN
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_dried_up_treeGEN
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dried_up_treeGEN
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dead_treeGEN
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_tree_trunkGEN
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_frozen_rockGEN
	}
	fallback_text = {
		localisation_key = string_rockGEN
	}
}
# 
defined_text = { #Needs a province scope
	name = GetTreeRockFenceACC

	text = {
		trigger = { terrain = forest }
		localisation_key = string_treeACC
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_fallen_treeACC
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_hollow_treeACC
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_fallen_treeACC
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_dried_up_treeACC
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_fallen_treeACC
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_large_rockACC
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_old_fenceACC
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_fallen_treeACC
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_dried_up_treeACC
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dried_up_treeACC
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dead_treeACC
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_tree_trunkACC
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_frozen_rockACC
	}
	fallback_text = {
		localisation_key = string_rockACC
	}
}
# 
defined_text = { #Needs a province scope
	name = GetTreeRockFenceDAT

	text = {
		trigger = { terrain = forest }
		localisation_key = string_treeDAT
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_fallen_treeDAT
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_hollow_treeDAT
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_fallen_treeDAT
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_dried_up_treeDAT
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_fallen_treeDAT
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_large_rockDAT
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_old_fenceDAT
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_fallen_treeDAT
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_dried_up_treeDAT
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dried_up_treeDAT
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dead_treeDAT
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_tree_trunkDAT
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_frozen_rockDAT
	}
	fallback_text = {
		localisation_key = string_rockDAT
	}
}

# 
defined_text = { #Needs a province scope
	name = GetTreeRockFenceINS

	text = {
		trigger = { terrain = forest }
		localisation_key = string_treeINS
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_fallen_treeINS
	}
	text = {
		trigger = { terrain = forest }
		localisation_key = string_hollow_treeINS
	}
	text = {
		trigger = { terrain = hills }
		localisation_key = string_fallen_treeINS
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_dried_up_treeINS
	}
	text = {
		trigger = { terrain = mountain }
		localisation_key = string_fallen_treeINS
	}
	text = {
		trigger = { terrain = plains }
		localisation_key = string_large_rockINS
	}
	text = {
		trigger = { terrain = farmlands }
		localisation_key = string_old_fenceINS
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_fallen_treeINS
	}
	text = {
		trigger = { terrain = steppe }
		localisation_key = string_dried_up_treeINS
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dried_up_treeINS
	}
	text = {
		trigger = { terrain = desert }
		localisation_key = string_dead_treeINS
	}
	text = {
		trigger = { terrain = jungle }
		localisation_key = string_tree_trunkINS
	}
	text = {
		trigger = { terrain = arctic }
		localisation_key = string_frozen_rockINS
	}
	fallback_text = {
		localisation_key = string_rockINS
	}
}
# 
defined_text = {
	name = GetKnyazINS

	text = {
		trigger = { is_female = yes }
		localisation_key = String_KnyaginyaINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_KnyazINS
	}
}
defined_text = {
	name = GetKnyazOppINS

	text = {
		trigger = { is_female = yes }
		localisation_key = String_KnyazINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_KnyaginyaINS
	}
}
defined_text = {
	name = GetQueenKingINS

	text = {
		trigger = { is_female = yes }
		localisation_key = String_QueenINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_KingINS
	}
}
defined_text = {
	name = GetQueenKingOppINS

	text = {
		trigger = { is_female = yes }
		localisation_key = String_KingINS
	}
	text = {
		trigger = { is_female = no }
		localisation_key = String_QueenINS
	}
}
# 
defined_text = {
	name = GetJesusGEN

	text = {
		trigger = {
			NOT = {
				has_alternate_start_parameter = { key = religion_names value = random }
			}
		}
		localisation_key = string_jesus_christGEN
	}

	text = {
		trigger = {
			has_alternate_start_parameter = { key = religion_names value = random }
		}
		localisation_key = string_not_jesus_christGEN
	}
}
# ( ) 
defined_text = {
	name = GetRegionalFerociousAnimalACC
	
	text = {
		localisation_key = String_bearACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_tigerACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
				}
			}
		}
	}
	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 = GetRegionalFerociousAnimalINS
	
	text = {
		localisation_key = String_bearINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_steppe
					region = world_europe_south
					region = world_europe_west
					region = world_asia_minor
					region = world_himalayas
				}
			}
		}
	}
	text = {
		localisation_key = String_tigerINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
				}
			}
		}
	}
	text = {
		localisation_key = String_lionINS
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
				}
			}
		}
	}
	fallback_text = {
		localisation_key = String_animal_fallbackINS #Beast
	}
}
defined_text = {
	name = GetRegionalSmallGameAnimalsGENACC
	
	text = {
		localisation_key = String_rabbitsGENACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_europe_south
					region = world_europe_west
				}
			}
		}
	}
	text = {
		localisation_key = String_haresGENACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
					region = world_steppe
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_small_deersGENACC
		trigger = {
			capital_scope = {
				region = world_india
			}
		}
	}
	fallback_text = {
		localisation_key = String_small_animals_fallbackGENACC #Beast
	}
}
defined_text = {
	name = GetRegionalSmallGameAnimalACC
	
	text = {
		localisation_key = String_rabbitACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_europe_south
					region = world_europe_west
				}
			}
		}
	}
	text = {
		localisation_key = String_hareACC
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
					region = world_steppe
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_small_deerACC
		trigger = {
			capital_scope = {
				region = world_india
			}
		}
	}
	fallback_text = {
		localisation_key = String_small_animal_fallbackACC #Beast
	}
}
# 
defined_text = {
	name = GetRegionalSmallGameAnimalPREP
	
	text = {
		localisation_key = String_rabbitPREP
		trigger = {
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
					region = world_europe_south
					region = world_europe_west
				}
			}
		}
	}
	text = {
		localisation_key = String_harePREP
		trigger = {
			capital_scope = {
				OR = {
					region = world_middle_east
					region = world_africa
					region = world_steppe
					region = world_asia_minor
				}
			}
		}
	}
	text = {
		localisation_key = String_small_deerPREP
		trigger = {
			capital_scope = {
				region = world_india
			}
		}
	}
	fallback_text = {
		localisation_key = String_small_animal_fallbackPREP #Beast
	}
}
defined_text = {
	name = GetScriptedDiseaseNameGEN

	text = {
		localisation_key = String_consumptionGEN
		trigger = { trait = has_tuberculosis }
	}
	text = {
		localisation_key = String_slow_feverGEN
		trigger = { trait = has_typhoid_fever }		
	}
	text = {
		localisation_key = String_camp_feverGEN
		trigger = { trait = has_typhus }
	}
	text = {
		localisation_key = String_the_PlagueGEN
		trigger = { trait = has_bubonic_plague }
	}
	text = {
		localisation_key = String_measlesGEN
		trigger = { trait = has_measles }
	}
	text = {
		localisation_key = String_smallpoxGEN
		trigger = { trait = has_small_pox }
	}
	text = {
		localisation_key = String_syphilisGEN
		trigger = { trait = syphilitic }
	}
	text = {
		localisation_key = String_fluGEN
		trigger = { trait = flu }
	}
	text = {
		localisation_key = String_dysenteryGEN
		trigger = { trait = dysentery }
	}
	text = {
		localisation_key = String_goutGEN
		trigger = { trait = gout }
	}
	text = {
		localisation_key = String_food_poisoningGEN
		trigger = { trait = food_poisoning }
	}
	text = {
		localisation_key = String_rabiesGEN
		trigger = { trait = rabies }
	}
	text = {
		localisation_key = String_CancerGEN
		trigger = { trait = cancer }
	}
	text = {
		localisation_key = string_pneumoniaGEN
		trigger = { trait = pneumonic }
	}
	
	fallback_text = {
		localisation_key = String_diseaseGEN
	}
}
# 
defined_text = { #Used to refer to a type of "warrior"...
	name = GetWarriorRoleGEN
	
	text = {
		trigger = { has_character_modifier = pet_hunting_eagle }
		localisation_key = String_sky_hunterGEN
	}
	text = {
		trigger = {
			has_character_modifier = pet_hunting_dog
			trait = hunter
		}
		localisation_key = String_hunterGEN
	}
	text = {
		trigger = {
			OR = {
				trait = strategist
				has_character_modifier = adept_of_strategy
				trait = brilliant_strategist
			}
		}
		localisation_key = String_strategist_roleGEN
	}
	text = {
		localisation_key = String_warriorGEN
	}
	text = {
		localisation_key = String_fighterGEN
	}
	text = {
		trigger = {
			prestige = 2000
		}
		localisation_key = String_championGEN
	}
	text = {
		localisation_key = String_soldierGEN
	}
	text = {
		trigger = {
			OR = {
				leader_traits = 1
				has_minor_title = title_commander
			}
		}
		localisation_key = String_commanderGEN
	}
	text = {
		trigger = {
			OR = {
				leader_traits = 1
				trait = wroth
			}
		}
		localisation_key = String_bruteGEN
	}
	
	text = {
		trigger = {
			OR = {
				trait = duelist
				duelist_skill_is_high_group_trigger = yes
			}
		}
		localisation_key = String_duelistGEN
	}

	fallback_text = {
		localisation_key = String_warriorGEN # Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetWarriorRoleCapGEN
	
	text = {
		trigger = { has_character_modifier = pet_hunting_eagle }
		localisation_key = String_Sky_HunterGEN
	}
	text = {
		trigger = {
			has_character_modifier = pet_hunting_dog
			trait = hunter
		}
		localisation_key = String_HunterGEN
	}
	text = {
		trigger = {
			OR = {
				trait = strategist
				has_character_modifier = adept_of_strategy
				trait = brilliant_strategist
			}
		}
		localisation_key = String_StrategistGEN
	}
	text = {
		localisation_key = String_WarriorGEN
	}
	text = {
		localisation_key = String_FighterGEN
	}
	text = {
		trigger = {
			prestige = 2000
		}
		localisation_key = String_ChampionGEN
	}
	text = {
		localisation_key = String_SoldierGEN
	}
	text = {
		trigger = {
			OR = {
				leader_traits = 1
				has_minor_title = title_commander
			}
		}
		localisation_key = String_CommanderGEN
	}
	text = {
		trigger = {
			OR = {
				leader_traits = 1
				trait = wroth
			}
		}
		localisation_key = String_BruteGEN
	}
	
	text = {
		trigger = {
			OR = {
				trait = duelist
				duelist_skill_is_high_group_trigger = yes
			}
		}
		localisation_key = String_DuelistGEN
	}

	fallback_text = {
		localisation_key = String_WarriorGEN # Fallback, in case it fails to find relevant info
	}
}
# 
defined_text = { #Used to refer to a type of "warrior"...
	name = GetWarriorRoleINS
	
	text = {
		trigger = { has_character_modifier = pet_hunting_eagle }
		localisation_key = String_sky_hunterINS
	}
	text = {
		trigger = {
			has_character_modifier = pet_hunting_dog
			trait = hunter
		}
		localisation_key = String_hunterINS
	}
	text = {
		trigger = {
			OR = {
				trait = strategist
				has_character_modifier = adept_of_strategy
				trait = brilliant_strategist
			}
		}
		localisation_key = String_strategist_roleINS
	}
	text = {
		localisation_key = String_warriorINS
	}
	text = {
		localisation_key = String_fighterINS
	}
	text = {
		trigger = {
			prestige = 2000
		}
		localisation_key = String_championINS
	}
	text = {
		localisation_key = String_soldierINS
	}
	text = {
		trigger = {
			OR = {
				leader_traits = 1
				has_minor_title = title_commander
			}
		}
		localisation_key = String_commanderINS
	}
	text = {
		trigger = {
			OR = {
				leader_traits = 1
				trait = wroth
			}
		}
		localisation_key = String_bruteINS
	}
	
	text = {
		trigger = {
			OR = {
				trait = duelist
				duelist_skill_is_high_group_trigger = yes
			}
		}
		localisation_key = String_duelistINS
	}

	fallback_text = {
		localisation_key = String_warriorINS # Fallback, in case it fails to find relevant info
	}
}
# 
defined_text = { #Used in HFP.11028 (battle event)
	name = GetWarriorLodgeSymbolACC
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbolACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbolACC
	}
	fallback_text = {
		localisation_key = string_hellenic_symbolACC #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used here and there? Made *singular*, on purpose...
	name = GetWarriorLodgeSymbolShortACC #forest, light, wolf, etc...
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbol_shortACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbol_shortACC
	}
	fallback_text = {
		localisation_key = string_hellenic_symbol_shortACC #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used here and there? Made *singular*, on purpose...
	name = GetWarriorLodgeSymbolShortCapACC #Forest, Light, Wolf, etc...
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbol_short_capACC
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbol_short_capACC
	}
	fallback_text = {
		localisation_key = string_hellenic_symbol_short_capACC #"the gods". Fallback, in case it fails to find relevant info
	}
}
# 
defined_text = { #Used in HFP.11028 (battle event)
	name = GetWarriorLodgeSymbolGEN
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbolGEN
	}
	fallback_text = {
		localisation_key = string_hellenic_symbolGEN #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used here and there? Made *singular*, on purpose...
	name = GetWarriorLodgeSymbolShortGEN #forest, light, wolf, etc...
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbol_shortGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbol_shortGEN
	}
	fallback_text = {
		localisation_key = string_hellenic_symbol_shortGEN #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used here and there? Made *singular*, on purpose...
	name = GetWarriorLodgeSymbolShortCapGEN #Forest, Light, Wolf, etc...
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbol_short_capGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbol_short_capGEN
	}
	fallback_text = {
		localisation_key = string_hellenic_symbol_short_capGEN #"the gods". Fallback, in case it fails to find relevant info
	}
}
# 
defined_text = { #Used in HFP.11028 (battle event)
	name = GetWarriorLodgeSymbolINS
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbolINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbolINS
	}
	fallback_text = {
		localisation_key = string_hellenic_symbolINS #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used here and there? Made *singular*, on purpose...
	name = GetWarriorLodgeSymbolShortINS #forest, light, wolf, etc...
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbol_shortINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbol_shortINS
	}
	fallback_text = {
		localisation_key = string_hellenic_symbol_shortINS #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used here and there? Made *singular*, on purpose...
	name = GetWarriorLodgeSymbolShortCapINS #Forest, Light, Wolf, etc...
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_norse_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_tengri_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_baltic_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_finnish_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_slavic_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_west_african_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_zun_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_bon_symbol_short_capINS
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_hellenic_symbol_short_capINS
	}
	fallback_text = {
		localisation_key = string_hellenic_symbol_short_capINS #"the gods". Fallback, in case it fails to find relevant info
	}
}
defined_text = { #Used in HFP.11038 (battle event)
	name = GetWarriorBattleNickGEN
	
	text = {
		trigger = { society_member_of = warrior_lodge_norse }
		localisation_key = string_battle_nick_norse_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_tengri }
		localisation_key = string_battle_nick_tengri_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_baltic }
		localisation_key = string_battle_nick_baltic_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_finnish }
		localisation_key = string_battle_nick_finnish_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_slavic }
		localisation_key = string_battle_nick_slavic_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_west_african }
		localisation_key = string_battle_nick_west_african_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_zun }
		localisation_key = string_battle_nick_zun_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_bon }
		localisation_key = string_battle_nick_bon_symbolGEN
	}
	text = {
		trigger = { society_member_of = warrior_lodge_hellenic }
		localisation_key = string_battle_nick_hellenic_symbolGEN
	}
	fallback_text = {
		localisation_key = string_battle_nick_neutral_symbolGEN #"Battering Ram". Fallback, in case it fails to find relevant info
	}
}
# 
defined_text = {
	name = GetDukeDuchessINS

	text = {
		trigger = {
			is_female = no
		}
		localisation_key = string_duke_duchess_maleINS
	}

	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = string_duke_duchess_femaleINS
	}
}
defined_text = {
	name = GetArchdukeArchduchessINS

	text = {
		trigger = {
			is_female = no
		}
		localisation_key = string_archduke_archduchess_maleINS
	}

	text = {
		trigger = {
			is_female = yes
		}
		localisation_key = string_archduke_archduchess_femaleINS
	}
}
defined_text = {
	name = GetWonderUpgradeItYat
	
	text = {
		trigger = {
			has_wonder_upgrade_flag = is_plural
		}
		localisation_key = END_YAT
	}
	fallback_text = {
		localisation_key = END_IT
	}
}
defined_text = {
	name = GetWonderUpgradeYetYut
	
	text = {
		trigger = {
			has_wonder_upgrade_flag = is_plural
		}
		localisation_key = END_YUT
	}
	fallback_text = {
		localisation_key = END_ET
	}
}
# 
defined_text = {
	name = GetWLDieNameGEN

	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_krita
		}
		localisation_key = string_warrior_lodge_die_is_apolloGEN
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_krita
		}
		localisation_key = string_warrior_lodge_die_is_kritaGEN
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_treta
		}
		localisation_key = string_warrior_lodge_die_is_athenaGEN
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_treta
		}
		localisation_key = string_warrior_lodge_die_is_tretaGEN
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_hermesGEN
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_dwaparaGEN
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_kali
		}
		localisation_key = string_warrior_lodge_die_is_dionysusGEN
	}
	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_kali
		}
		localisation_key = string_warrior_lodge_die_is_kaliGEN
	}
}

defined_text = {
	name = GetWLDieBetNameGEN

	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_krita
		}
		localisation_key = string_warrior_lodge_die_is_apolloGEN
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_krita
		}
		localisation_key = string_warrior_lodge_die_is_kritaGEN
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_treta
		}
		localisation_key = string_warrior_lodge_die_is_athenaGEN
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_treta
		}
		localisation_key = string_warrior_lodge_die_is_tretaGEN
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_hermesGEN
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_dwaparaGEN
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_kali
		}
		localisation_key = string_warrior_lodge_die_is_dionysusGEN
	}
	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_kali
		}
		localisation_key = string_warrior_lodge_die_is_kaliGEN
	}
}
# 
defined_text = {
	name = GetWLDieNameACC

	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_krita
		}
		localisation_key = string_warrior_lodge_die_is_apolloACC
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_krita
		}
		localisation_key = string_warrior_lodge_die_is_kritaACC
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_treta
		}
		localisation_key = string_warrior_lodge_die_is_athenaACC
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_treta
		}
		localisation_key = string_warrior_lodge_die_is_tretaACC
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_hermesACC
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_dwaparaACC
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_warrior_lodge_die_is_kali
		}
		localisation_key = string_warrior_lodge_die_is_dionysusACC
	}
	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_warrior_lodge_die_is_kali
		}
		localisation_key = string_warrior_lodge_die_is_kaliACC
	}
}

defined_text = {
	name = GetWLDieBetNameACC

	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_krita
		}
		localisation_key = string_warrior_lodge_die_is_apolloACC
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_krita
		}
		localisation_key = string_warrior_lodge_die_is_kritaACC
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_treta
		}
		localisation_key = string_warrior_lodge_die_is_athenaACC
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_treta
		}
		localisation_key = string_warrior_lodge_die_is_tretaACC
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_hermesACC
	}

	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_dwapara
		}
		localisation_key = string_warrior_lodge_die_is_dwaparaACC
	}
	text = {
		trigger = {
			society_member_of = warrior_lodge_hellenic
			has_character_flag = flag_betting_on_kali
		}
		localisation_key = string_warrior_lodge_die_is_dionysusACC
	}
	text = {
		trigger = {
			NOT = { society_member_of = warrior_lodge_hellenic }
			has_character_flag = flag_betting_on_kali
		}
		localisation_key = string_warrior_lodge_die_is_kaliACC
	}
}
defined_text = {
	name = GetRomagnaEventName
	text = {
		trigger = {
			has_game_rule = { name=cultural_title_names value=on }
			NOR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
			k_romagna = {
				holder_scope = {
					OR = {
						AND = {
							independent = yes
							culture = greek
						}
						liege = { culture = greek }
					}
				}
			}
		}
		localisation_key = string_GetRomagnaEventName_Ravenna
	}
	text = {
		trigger = {
			OR = {
				has_alternate_start_setting = { setting = title_names value = random }
				has_alternate_start_setting = { setting = title_names value = random_including_duchies }
			}
		}
		localisation_key = string_GetRomagnaEventName_ALT
	}
	fallback_text = {
		localisation_key = string_GetRomagnaEventName_Default
	}
}
# 
defined_text = {
	name = GetSaintReligionTitleINS

	text = {
		trigger = {
			religion_group = christian
		}
		localisation_key = string_saint_in_heavenINS
	}
	text = {
		trigger = {
			religion_group = pagan_group
		}
		localisation_key = string_blessed_ancestorINS
	}
	fallback_text = {
		localisation_key = string_saint_in_heavenINS
	}
}
#C " "  
defined_text = {
	name = GetEducationRoleWithPrefix

	text = {
		localisation_key = GetEducationRole_Strategist_WPrefix
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Diplomat_WPrefix
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Steward_WPrefix
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Schemer_WPrefix
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Theologian_WPrefix
		trigger = { has_education_learning_trigger = yes }
	}
}
#C " "  
defined_text = {
	name = GetEducationRoleWithPrefixINS

	text = {
		localisation_key = GetEducationRole_Strategist_WPrefixINS
		trigger = { has_education_martial_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Diplomat_WPrefixINS
		trigger = { has_education_diplomacy_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Steward_WPrefixINS
		trigger = { has_education_stewardship_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Schemer_WPrefixINS
		trigger = { has_education_intrigue_trigger = yes }
	}
	text = {
		localisation_key = GetEducationRole_Theologian_WPrefixINS
		trigger = { has_education_learning_trigger = yes }
	}
}
#///  
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetMyTeachingMomentToolACC
	
	text = {
		localisation_key = String_bravery_toolMyACC
		trigger = {
			OR = {
				has_character_flag = learning_bravery@event_target:teacher
				has_character_flag = teaching_bravery@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_ambition_toolMyACC
		trigger = {
			OR = {
				has_character_flag = learning_ambition@event_target:teacher
				has_character_flag = teaching_ambition@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_patience_toolMyACC
		trigger = {
			OR = {
				has_character_flag = learning_patience@event_target:teacher
				has_character_flag = teaching_patience@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_diligence_toolMyACC
		trigger = {
			OR = {
				has_character_flag = learning_diligence@event_target:teacher
				has_character_flag = teaching_diligence@event_target:student
			}
		}
	}
	fallback_text = {
		localisation_key = String_bravery_tool # Fallback, in case it fails to find relevant info
	}
}
# 
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetTeachingMomentFocusGEN
	
	text = {
		localisation_key = String_braveryGEN
		trigger = {
			OR = {
				has_character_flag = learning_bravery@event_target:teacher
				has_character_flag = teaching_bravery@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_ambitionGEN
		trigger = {
			OR = {
				has_character_flag = learning_ambition@event_target:teacher
				has_character_flag = teaching_ambition@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_patienceGEN
		trigger = {
			OR = {
				has_character_flag = learning_patience@event_target:teacher
				has_character_flag = teaching_patience@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_diligenceGEN
		trigger = {
			OR = {
				has_character_flag = learning_diligence@event_target:teacher
				has_character_flag = teaching_diligence@event_target:student
			}
		}
	}
}
# 
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetTeachingMomentFocusINS
	
	text = {
		localisation_key = String_braveryINS
		trigger = {
			OR = {
				has_character_flag = learning_bravery@event_target:teacher
				has_character_flag = teaching_bravery@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_ambitionINS
		trigger = {
			OR = {
				has_character_flag = learning_ambition@event_target:teacher
				has_character_flag = teaching_ambition@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_patienceINS
		trigger = {
			OR = {
				has_character_flag = learning_patience@event_target:teacher
				has_character_flag = teaching_patience@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_diligenceINS
		trigger = {
			OR = {
				has_character_flag = learning_diligence@event_target:teacher
				has_character_flag = teaching_diligence@event_target:student
			}
		}
	}
}
# 
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetTeachingMomentFocusPREP
	
	text = {
		localisation_key = String_braveryPREP
		trigger = {
			OR = {
				has_character_flag = learning_bravery@event_target:teacher
				has_character_flag = teaching_bravery@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_ambitionPREP
		trigger = {
			OR = {
				has_character_flag = learning_ambition@event_target:teacher
				has_character_flag = teaching_ambition@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_patiencePREP
		trigger = {
			OR = {
				has_character_flag = learning_patience@event_target:teacher
				has_character_flag = teaching_patience@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_diligencePREP
		trigger = {
			OR = {
				has_character_flag = learning_diligence@event_target:teacher
				has_character_flag = teaching_diligence@event_target:student
			}
		}
	}
}
# 
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetMyTeachingMomentFocusINS
	
	text = {
		localisation_key = String_braveryMyINS
		trigger = {
			OR = {
				has_character_flag = learning_bravery@event_target:teacher
				has_character_flag = teaching_bravery@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_ambitionMyINS
		trigger = {
			OR = {
				has_character_flag = learning_ambition@event_target:teacher
				has_character_flag = teaching_ambition@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_patienceMyINS
		trigger = {
			OR = {
				has_character_flag = learning_patience@event_target:teacher
				has_character_flag = teaching_patience@event_target:student
			}
		}
	}
	text = {
		localisation_key = String_diligenceMyINS
		trigger = {
			OR = {
				has_character_flag = learning_diligence@event_target:teacher
				has_character_flag = teaching_diligence@event_target:student
			}
		}
	}
}
# /
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetTeachingMomentFocusAO
	
	text = {
		localisation_key = END_A
		trigger = {
			OR = {
				has_character_flag = learning_bravery@event_target:teacher
				has_character_flag = teaching_bravery@event_target:student
			}
		}
	}
	text = {
		localisation_key = END_A
		trigger = {
			OR = {
				has_character_flag = learning_ambition@event_target:teacher
				has_character_flag = teaching_ambition@event_target:student
			}
		}
	}
	text = {
		localisation_key = END_O
		trigger = {
			OR = {
				has_character_flag = learning_patience@event_target:teacher
				has_character_flag = teaching_patience@event_target:student
			}
		}
	}
	text = {
		localisation_key = END_O
		trigger = {
			OR = {
				has_character_flag = learning_diligence@event_target:teacher
				has_character_flag = teaching_diligence@event_target:student
			}
		}
	}
}
#    string_teaching_moment_romance    
defined_text = { #Used to refer to a type of "warrior", initial cap...
	name = GetTeachingMomentRomanceReactionPause
	
	text = {
		trigger = { has_character_flag = become_lovers }
		localisation_key = string_teaching_moment_romance_pause
	}
	text = {
		trigger = { has_character_flag = both_gain_romance }
		localisation_key = string_teaching_moment_romance_pause
	}
	text = {
		trigger = { has_character_flag = student_gains_crush }
		localisation_key = string_teaching_moment_romance_pause
	}
	fallback_text = {
		localisation_key = string_dot
	}
}
# 
defined_text = {
	name = GetDecidedActionInHF51002_Succ
	text = {
		trigger = {
			has_character_flag = decided_to_kidnap
		}
		localisation_key = string_decided_to_abduct_succ
	}

	text = {
		trigger = {
			has_character_flag = decided_to_dig_up
		}
		localisation_key = string_decided_to_dig_up_succ
	}
}
#/ A way to describe something your squad is becoming famous for
defined_text = {
	name = GetTheirMilitarySquadPride

	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 5
				trait = diligent 
			}
			modifier = {
				factor = 0.2
				trait = slothful
			}
		}
		localisation_key = string_attention_to_detail_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 0.1
				is_dumb_trigger = yes
			}
			modifier = {
				factor = 10
				trait = brilliant_strategist
			}
		}

		localisation_key = string_strategic_initiative_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 5
				has_pleasant_personality_trigger = yes
			}
			modifier = {
				factor = 0.1
				has_unpleasant_personality_trigger = yes
			}
		}
		trigger = { NOT = { event_target:combatant_1 = { has_character_flag = claim_duel@event_target:combatant_2 } } }
		localisation_key = string_camaraderie_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 1.2
				trait = arbitrary
			}
			modifier = {
				factor = 10
				trait = lunatic
			}
			modifier = {
				factor = 10
				trait = possessed
			}
		}
		localisation_key = string_unconventional_tactics_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 2
				has_lifestyle_martial_trigger = yes
			}
			modifier = {
				factor = 10
				trait = diligent
			}
		}
		trigger = { NOT = { trait = arbitrary } }
		localisation_key = string_consistency_Their
	}
	fallback_text = {
		localisation_key = string_camaraderie_Their
	}
}
#/ A way to describe something your squad is becoming famous for
defined_text = {
	name = GetYourMilitaryPride #Singular

	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 5
				trait = diligent 
			}
			modifier = {
				factor = 0.2
				trait = slothful
			}
		}
		localisation_key = string_attention_to_detail_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 0.1
				is_dumb_trigger = yes
			}
			modifier = {
				factor = 10
				trait = brilliant_strategist
			}
		}

		localisation_key = string_strategic_initiative_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 1.2
				trait = arbitrary
			}
			modifier = {
				factor = 10
				trait = lunatic
			}
			modifier = {
				factor = 10
				trait = possessed
			}
		}
		localisation_key = string_unconventional_tactics_Their
	}
	text = {
		weight_multiplier = {
			factor = 10

			modifier = {
				factor = 2
				has_lifestyle_martial_trigger = yes
			}
			modifier = {
				factor = 10
				trait = diligent
			}
		}
		trigger = { NOT = { trait = arbitrary } }
		localisation_key = string_diligence_Your
	}
	fallback_text = {
		localisation_key = string_MilitaryPride_Your
	}
}
#This = other_combatant
defined_text = {
	name = GetWeaponInjuringBlowAfterEffect #Checked on the character target of the injury (i.e wounded party)

	# Severely Injured specials...
	text = {
		localisation_key = String_severely_tear_body_part_AE
		trigger = {
			event_target:root_character = { is_using_sharp_weapon_trigger = yes }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_severely_break_body_part_AE
		trigger = {
			event_target:root_character = { is_using_blunt_weapon_trigger = yes }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_severely_injure_eye_AE
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = { #Gun version
		localisation_key = String_severely_shot_AE
		trigger = {
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			event_target:root_character = { is_using_gun_trigger = yes }
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = { #Gun version (eyes)
		localisation_key = String_severely_shot_eyes_AE
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			event_target:root_character = { is_using_gun_trigger = yes }
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	#"Regular" injuries inflicted...
	text = {
		localisation_key = String_cut_body_part_off_AE
		trigger = {
			event_target:root_character = { is_using_sharp_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_hand
				has_character_flag = injury_leg
			}
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_mangled_body
				has_character_flag = injury_maimed
				has_character_flag = injury_could_be_lethal
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_cut_their_body_part_out_AE
		trigger = {
			event_target:root_character = { is_using_sharp_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_sever_their_body_part_from_body_AE
		trigger = {
			event_target:root_character = {
				is_using_sharp_weapon_trigger = yes
				NOT = { has_character_flag = weapon_is_spear }
				NOT = {
					event_target:dueling_weapon_1 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
				NOT = {
					event_target:dueling_weapon_2 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
			}
			NOR = { # Can't be "severed" or removed without *death*
				has_character_flag = injury_both_eyes
				has_character_flag = injury_eye
				has_character_flag = injury_face
				has_character_flag = injury_maimed
				has_character_flag = injury_mangled_body
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_crush_their_body_part_AE
		trigger = {
			event_target:root_character = { is_using_blunt_weapon_trigger = yes }
			NOR = { # can't be "crushed" without *death*
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	
	text = {
		localisation_key = String_pierce_body_part_through_AE
		trigger = {
			event_target:root_character = { is_using_piercing_weapon_trigger = yes }
			NOR = { # can't be "pierced" without *death*
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_take_body_part_out_AE
		trigger = {
			event_target:root_character = { is_using_piercing_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_stick_body_part_out_AE
		trigger = {
			event_target:root_character = { is_using_piercing_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_crack_bones_of_body_part_AE
		trigger = {
			event_target:root_character = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					has_character_flag = weapon_is_hand
				}
			}
			NOR = { #have no bones to break
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_slam_into_their_face_AE
		trigger = {
			event_target:root_character = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					has_character_flag = weapon_is_hand
				}
			}
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_smack_hard_across_body_part_AE
		trigger = {
			event_target:root_character = {
				has_character_flag = weapon_is_staff
				has_character_flag = weapon_is_spear
			}
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}	
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = { #Gun version
		localisation_key = String_shot_not_lethal_AE
		trigger = {
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			event_target:root_character = { is_using_gun_trigger = yes }
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = { #Gun version (eyes)
		localisation_key = String_shot_not_lethal_eyes_AE
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			event_target:root_character = { is_using_gun_trigger = yes }
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	# Mild injuries...
	text = {
		localisation_key = String_slam_their_head_AE
		trigger = {
			event_target:root_character = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					is_using_sharp_weapon_trigger = yes
				}
			}
			NOR = {
			    has_character_flag = injury_mangled_body
			    has_character_flag = injury_maimed
			    has_character_flag = injury_leg
				has_character_flag = injury_hand
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_slam_their_limb_AE #"whack"
		trigger = {
			event_target:root_character = {
				is_using_blunt_weapon_trigger = yes
			}
			OR = {
				has_character_flag = injury_leg
				has_character_flag = injury_hand
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_slam_their_body_AE
		trigger = {
			event_target:root_character = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					is_using_sharp_weapon_trigger = yes
				}
			}
			OR = {
			    has_character_flag = injury_mangled_body
			    has_character_flag = injury_maimed
			    has_character_flag = injury_could_be_lethal
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_crack_ribs_AE
		trigger = {
			event_target:root_character = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					is_using_sharp_weapon_trigger = yes
					has_character_flag = weapon_is_hand
				}
			}
			OR = {
				has_character_flag = injury_mangled_body
				has_character_flag = injury_maimed
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_smack_across_body_part_AE
		trigger = {
			event_target:root_character = { has_character_flag = weapon_is_staff }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_trip_them_AE
		trigger = {
			event_target:root_character = {
				OR = {
					has_character_flag = weapon_is_staff
					has_character_flag = weapon_is_spear
				}
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_hit_them_in_body_part_AE
		trigger = {
			event_target:root_character = { has_character_flag = weapon_is_hand }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_hit_them_in_the_face_AE
		trigger = {
			event_target:root_character = { has_character_flag = weapon_is_hand }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_knock_them_out_AE
		trigger = {
			event_target:root_character = {
				OR = {
					has_character_flag = weapon_is_hand
					has_character_flag = weapon_is_sword
				}
			}
			OR = {
				has_character_flag = injury_mangled_body
				has_character_flag = injury_maimed
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = { #Gun version
		localisation_key = String_shoot_mild_AE
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			event_target:root_character = { is_using_gun_trigger = yes }
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	text = { #Gun version
		localisation_key = String_shoot_them_dead_AE #should be *very* rare (removes limb, fetched key)
		trigger = {
			event_target:root_character = { is_using_gun_trigger = yes }
			OR = { #And the shot hits one of these..
				has_character_flag = injury_leg
				has_character_flag = injury_hand
			}
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}


	# Actually DEADLY injuries...
	text = {
		localisation_key = String_pierce_body_part_through_AE
		trigger = {
			event_target:root_character = { is_using_piercing_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = {
		localisation_key = String_crush_their_head_AE
		trigger = {
			event_target:root_character = { is_using_blunt_weapon_trigger = yes }
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = {
		localisation_key = String_put_the_spear_through_their_head_AE
		trigger = {
			event_target:root_character = {
				is_using_spear_weapon_trigger = yes
			}
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = {
		localisation_key = String_sever_their_head_from_their_body_AE
		trigger = {
			event_target:root_character = {
				is_using_sharp_weapon_trigger = yes
				NOT = { has_character_flag = weapon_is_spear }
				NOT = {
					event_target:dueling_weapon_1 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
				NOT = {
					event_target:dueling_weapon_2 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
			}
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = { #Gun version
		localisation_key = String_shoot_them_dead_AE #killing shots, basically (fetches *vital* body parts injured)
		trigger = {
			event_target:root_character = { is_using_gun_trigger = yes }
			OR = { #And the shot hits one of these..
				has_character_flag = injury_maimed #prints: chest
				has_character_flag = injury_mangled_body #prints: chest
				has_character_flag = injury_eye
				has_character_flag = injury_eyes
			}
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = { #Gun version (inverted version of the above entry)
		localisation_key = String_shoot_them_actually_dead_AE #killing shots, basically (fetches *vital* body parts injured)
		trigger = {
			event_target:root_character = { is_using_gun_trigger = yes }
			NOR = { #And the shot hits one of these..
				has_character_flag = injury_maimed #prints: chest
				has_character_flag = injury_mangled_body #prints: chest
				has_character_flag = injury_eye
				has_character_flag = injury_eyes
			}
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	fallback_text = {
		localisation_key = String_injure_them_AE #String_hit_them_in_body_part if you don't find problem?
	}
}
#This = Root
defined_text = {
	name = GetWeaponInjuringBlowOnMeAfterEffect

	# Severely Injured specials...
	text = {
		localisation_key = String_severely_tear_my_body_part_AE
		trigger = {
			event_target:other_combatant = { is_using_sharp_weapon_trigger = yes }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_severely_break_my_body_part_AE
		trigger = {
			event_target:other_combatant = { is_using_blunt_weapon_trigger = yes }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_severely_injure_my_eye_AE
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = severely_injured # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	#"Regular" injuries inflicted...
	text = {
		localisation_key = String_cut_my_body_part_off_AE
		trigger = {
			event_target:other_combatant = { is_using_sharp_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_hand
				has_character_flag = injury_leg
			}
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_mangled_body
				has_character_flag = injury_maimed
				has_character_flag = injury_could_be_lethal
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_cut_my_body_part_out_AE
		trigger = {
			event_target:other_combatant = { is_using_sharp_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_sever_my_body_part_from_body_AE
		trigger = {
			event_target:other_combatant = {
				is_using_sharp_weapon_trigger = yes
				NOT = { has_character_flag = weapon_is_spear }
				NOT = {
					event_target:dueling_weapon_1 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
				NOT = {
					event_target:dueling_weapon_2 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
			}
			NOR = {
				has_character_flag = injury_both_eyes
				has_character_flag = injury_eye
				has_character_flag = injury_face
				has_character_flag = injury_maimed
				has_character_flag = injury_mangled_body
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_crush_my_body_part_AE
		trigger = {
			event_target:other_combatant = { is_using_blunt_weapon_trigger = yes }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_pierce_my_body_part_through_AE
		trigger = {
			event_target:other_combatant = { is_using_piercing_weapon_trigger = yes }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_take_my_body_part_out_AE
		trigger = {
			event_target:other_combatant = { is_using_piercing_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_stick_my_body_part_out_AE
		trigger = {
			event_target:other_combatant = { is_using_piercing_weapon_trigger = yes }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	text = {
		localisation_key = String_slam_into_my_face_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					has_character_flag = weapon_is_hand
				}
			}
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_smack_hard_across_my_body_part_AE
		trigger = {
			event_target:other_combatant = { has_character_flag = weapon_is_staff }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	# Mild injuries...
	text = {
		localisation_key = String_crack_bones_of_my_body_part_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					has_character_flag = weapon_is_hand
				}
			}
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			#could be both mildly and actually injured
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_slam_my_limb_AE #"whack"
		trigger = {
			event_target:other_combatant = {
				is_using_blunt_weapon_trigger = yes
			}
			OR = {
				has_character_flag = injury_leg
				has_character_flag = injury_hand
			}
			#could be both mildly and actually injured
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_slam_my_head_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					is_using_sharp_weapon_trigger = yes
				}
			}
			NOR = {
			    has_character_flag = injury_mangled_body
			    has_character_flag = injury_maimed
			    has_character_flag = injury_leg
				has_character_flag = injury_hand
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_slam_my_body_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					is_using_sharp_weapon_trigger = yes
				}
			}
			OR = {
			    has_character_flag = injury_mangled_body
			    has_character_flag = injury_maimed
			    has_character_flag = injury_could_be_lethal #"shoulder"
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_crack_my_ribs_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					is_using_blunt_weapon_trigger = yes
					has_character_flag = weapon_is_hand
				}
			}
			OR = {
				has_character_flag = injury_mangled_body
				has_character_flag = injury_maimed
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_smack_across_my_body_part_AE
		trigger = {
			event_target:other_combatant = { has_character_flag = weapon_is_staff }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_trip_me_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					has_character_flag = weapon_is_staff
					has_character_flag = weapon_is_spear
				}
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_hit_me_in_body_part_AE
		trigger = {
			event_target:other_combatant = { has_character_flag = weapon_is_hand }
			NOR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_hit_me_in_the_face_AE
		trigger = {
			event_target:other_combatant = { has_character_flag = weapon_is_hand }
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
				has_character_flag = injury_face
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = {
		localisation_key = String_knock_me_out_AE
		trigger = {
			event_target:other_combatant = {
				OR = {
					has_character_flag = weapon_is_hand
					has_character_flag = weapon_is_sword
				}
			}
			OR = {
				has_character_flag = injury_mangled_body
				has_character_flag = injury_maimed
			}
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	text = { #Gun version
		localisation_key = String_shoot_me_mild_AE
		trigger = {
			OR = {
				has_character_flag = injury_eye
				has_character_flag = injury_both_eyes
			}
			event_target:other_combatant = { is_using_gun_trigger = yes }
			has_character_flag = mildly_injured # only adds some kind of bruises
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}

	text = { #Gun version
		localisation_key = String_shoot_me_dead_AE #should be *very* rare (removes limb, fetched key)
		trigger = {
			event_target:root_character = { is_using_gun_trigger = yes }
			OR = { #And the shot hits one of these..
				has_character_flag = injury_leg
				has_character_flag = injury_hand
			}
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			NOT = { has_character_flag = injury_kills } # don't trigger if this char is set to *die*
		}
	}
	# Actually DEADLY injuries...
	text = {
		localisation_key = String_sever_my_head_from_my_body_AE
		trigger = {
			event_target:other_combatant = {
				is_using_sharp_weapon_trigger = yes
				NOT = { has_character_flag = weapon_is_spear }
				NOT = {
					event_target:dueling_weapon_1 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
				NOT = {
					event_target:dueling_weapon_2 = {
						has_artifact_flag = spear
						artifact_owner = {	character = PREVPREV }
					}
				}
			}
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = {
		localisation_key = String_crush_my_head_AE
		trigger = {
			event_target:other_combatant = { is_using_blunt_weapon_trigger = yes }
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = {
		localisation_key = String_put_their_spear_through_my_head_AE
		trigger = {
			event_target:other_combatant = {
				is_using_spear_weapon_trigger = yes
			}
			has_character_flag = injury_kills
		}
	}
	text = { #Gun version
		localisation_key = String_shoot_me_dead_AE #killing shots, basically (fetches *vital* body parts injured)
		trigger = {
			event_target:other_combatant = { is_using_gun_trigger = yes }
			OR = { #And the shot hits one of these..
				has_character_flag = injury_maimed #prints: chest
				has_character_flag = injury_mangled_body #prints: chest
				has_character_flag = injury_eye
				has_character_flag = injury_eyes
			}
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			has_character_flag = injury_kills # This char is set to *die*
		}
	}
	text = { #Gun version (inverted version of the above entry)
		localisation_key = String_shoot_me_actually_dead_AE #killing shots, basically (fetches *vital* body parts injured)
		trigger = {
			event_target:other_combatant = { is_using_gun_trigger = yes }
			NOR = { #And the shot hits one of these..
				has_character_flag = injury_maimed #prints: chest
				has_character_flag = injury_mangled_body #prints: chest
				has_character_flag = injury_eye
				has_character_flag = injury_eyes
			}
			NOT = { has_character_flag = severely_injured } # does not add a maimed trait (only "Severely Injured")
			NOT = { has_character_flag = mildly_injured } # this is *not* a mild injury
			has_character_flag = injury_kills # This char is set to *die*
		}
	}

	fallback_text = {
		localisation_key = String_injure_me_AE #String_hit_me_in_body_part? If you don't find source of problem
	}
}
#  
defined_text = { #Simple use, describing a character's immediate countenance/appearance
	name = GetCharacterLookCap
	text = {
		localisation_key = string_ugly_CAP
		trigger = { trait = ugly }
		weight_multiplier = { factor = 1 }
	}
	text = {
		localisation_key = String_handsome_CAP
		trigger = {
			trait = fair
			is_female = no
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = String_well_kept_CAP
		trigger = {
			trait = groomed
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_uncouth_CAP
		trigger = {
			trait = uncouth
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_stunning_CAP
		trigger = {
			trait = fair
			is_female = yes
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_seasoned_CAP
		trigger = {
			OR = {
				has_instances_of_character_modifier = {
				    modifier = duel_experience
				    amount = 5
				}
				leader_traits > 1
			}
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_staunch_CAP
		trigger = {
			OR = {
				trait = sturdy
				trait = is_fat
				NOT = { trait = giant }
			}
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_big_CAP
		trigger = {
			OR = {
				trait = sturdy
				trait = is_fat
			}
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_tall_CAP
		trigger = { trait = giant }
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_tired_CAP
		trigger = {
			OR = {
				is_weak_trigger = yes
				trait = is_malnourished
			}
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_short_CAP
		trigger = {
			OR = {
				trait = dwarf
				trait = hunchback
			}
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_malnourished_CAP
		trigger = { trait = is_malnourished }
		weight_multiplier = { factor = 10 }
	}
	text = {
		localisation_key = String_robust_CAP
		trigger = { is_strong_trigger = yes }
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_smirking_CAP
		trigger = {
			OR = {
				is_smart_trigger = yes
				trait = gregarious
				trait = seducer
				trait = seductress
				trait = socializer
			}
		}
		weight_multiplier = { factor = 1 }
	}
	text = {
		localisation_key = string_smiling_CAP
		trigger = {
			OR = {
				is_benevolent_trigger = yes
				trait = gregarious
				trait = socializer
			}
		}
		weight_multiplier = { factor = 10 }
	}
	text = {
		localisation_key = string_menacing_CAP
		trigger = {
			OR = {
				is_evil_trigger = yes
				is_devil_worshiper_trigger = yes		
			}
		}
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = string_crestfallen_CAP
		trigger = {
			trait = depressed
		}
		weight_multiplier = { factor = 1 }
	}
	text = {
		localisation_key = string_innocent_CAP
		trigger = { is_virgin_trigger = yes }
		weight_multiplier = { factor = 100 }
	}
	text = {
		localisation_key = String_wounded_CAP
		trigger = { trait = wounded }
		weight_multiplier = { factor = 10 }
	}
	text = {
		localisation_key = String_tough_looking_CAP
		trigger = { trait = tough_soldier }
		weight_multiplier = { factor = 10 }
	}
	text = {
		localisation_key = String_slouching_CAP
		trigger = { trait = slothful }
		weight_multiplier = { factor = 10 }
	}
	fallback_text = {
		localisation_key = string_grinning_CAP
	}
}
defined_text = {
	name = GetOrigWOwnerOrRootTitledFirstName
	text = {
		trigger = { FROMFROM = { original_wonder_owner = { always = yes } } }
		localisation_key = string_OrigWOwnerTitledFirstName
	}
	fallback_text = {
		localisation_key = string_RootTitledFirstName
	}
}
#  sponsoring_king,   This
defined_text = {
	name = GetSKReligiousPerson
	use_first_valid = yes
	text = {
		localisation_key = String_CatholicP
		trigger = {
			event_target:sponsoring_king = { religion = catholic }
			catholic = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Orthodox_Christian
		trigger = {
			event_target:sponsoring_king = { religion = orthodox }
			orthodox = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_CatharP
		trigger = {
			event_target:sponsoring_king = { religion = cathar }
			cathar = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_FraticelliP
		trigger = {
			event_target:sponsoring_king = { religion = fraticelli }
			fraticelli = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_WaldensianP
		trigger = {
			event_target:sponsoring_king = { religion = waldensian }
			waldensian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_LollardP
		trigger = {
			event_target:sponsoring_king = { religion = lollard }
			lollard = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BogomilistP
		trigger = {
			event_target:sponsoring_king = { religion = bogomilist }
			bogomilist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonotheliteP
		trigger = {
			event_target:sponsoring_king = { religion = monothelite }
			monothelite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IconoclastP
		trigger = {
			event_target:sponsoring_king = { religion = iconoclast }
			iconoclast = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaulicianP
		trigger = {
			event_target:sponsoring_king = { religion = paulician }
			paulician = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MiaphysiteP
		trigger = {
			event_target:sponsoring_king = { religion = miaphysite }
			miaphysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MonophysiteP
		trigger = {
			event_target:sponsoring_king = { religion = monophysite }
			monophysite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_NestorianP
		trigger = {
			event_target:sponsoring_king = { religion = nestorian }
			nestorian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MessalianP
		trigger = {
			event_target:sponsoring_king = { religion = messalian }
			messalian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SunniP
		trigger = {
			event_target:sponsoring_king = { religion = sunni }
			sunni = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZikriP
		trigger = {
			event_target:sponsoring_king = { religion = zikri }
			zikri = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_YazidiP
		trigger = {
			event_target:sponsoring_king = { religion = yazidi }
			yazidi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ShiaP
		trigger = {
			event_target:sponsoring_king = { religion = shiite }
			shiite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_DruzeP
		trigger = {
			event_target:sponsoring_king = { religion = druze }
			druze = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HurufiP
		trigger = {
			event_target:sponsoring_king = { religion = hurufi }
			hurufi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_IbadiP
		trigger = {
			event_target:sponsoring_king = { religion = ibadi }
			ibadi = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KharijiteP
		trigger = {
			event_target:sponsoring_king = { religion = kharijite }
			kharijite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_QarmatianP
		trigger = {
			event_target:sponsoring_king = { religion = qarmatian }
			qarmatian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JewP
		trigger = {
			event_target:sponsoring_king = { religion = jewish }
			jewish = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SamaritanP
		trigger = {
			event_target:sponsoring_king = { religion = samaritan }
			samaritan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KaraiteP
		trigger = {
			event_target:sponsoring_king = { religion = karaite }
			karaite = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZoroastrianP
		trigger = {
			event_target:sponsoring_king = { religion = zoroastrian }
			zoroastrian = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_MazdakiP
		trigger = {
			event_target:sponsoring_king = { religion = mazdaki }
			mazdaki = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ManicheanP
		trigger = {
			event_target:sponsoring_king = { religion = manichean }
			manichean = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HinduP
		trigger = {
			event_target:sponsoring_king = { religion = hindu }
			hindu = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BuddhistP
		trigger = {
			event_target:sponsoring_king = { religion = buddhist }
			buddhist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_JainP
		trigger = {
			event_target:sponsoring_king = { religion = jain }
			jain = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Follower
		trigger = {
			event_target:sponsoring_king = { religion = norse_pagan_reformed }
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavP
		trigger = {
			event_target:sponsoring_king = { religion = slavic_pagan_reformed }
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriP
		trigger = {
			event_target:sponsoring_king = { religion = tengri_pagan_reformed }
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_RomuvanP
		trigger = {
			event_target:sponsoring_king = { religion = baltic_pagan_reformed }
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_Suomenusko_Follower
		trigger = {
			event_target:sponsoring_king = { religion = finnish_pagan_reformed }
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	 text = {
		localisation_key = String_West_AfricanP
		trigger = {
			event_target:sponsoring_king = { religion = west_african_pagan_reformed }
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunP
		trigger = {
			event_target:sponsoring_king = { religion = zun_pagan_reformed }
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecP
		trigger = {
			event_target:sponsoring_king = { religion = aztec_reformed }
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_AztecP
		trigger = {
			event_target:sponsoring_king = { religion = aztec }
			aztec = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Norse_Follower
		trigger = {
			event_target:sponsoring_king = { religion = norse_pagan }
			norse_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_SlavP
		trigger = {
			event_target:sponsoring_king = { religion = slavic_pagan }
			slavic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TengriP
		trigger = {
			event_target:sponsoring_king = { religion = tengri_pagan }
			tengri_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_RomuvanP
		trigger = {
			event_target:sponsoring_king = { religion = baltic_pagan }
			baltic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_Suomenusko_Follower
		trigger = {
			event_target:sponsoring_king = { religion = finnish_pagan }
			finnish_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_West_AfricanP
		trigger = {
			event_target:sponsoring_king = { religion = west_african_pagan }
			west_african_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_ZunP
		trigger = {
			event_target:sponsoring_king = { religion = zun_pagan }
			zun_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_KhurmaztaP
		trigger = {
			event_target:sponsoring_king = { religion = khurmazta }
			khurmazta = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_BonP
		trigger = {
			OR = {
				event_target:sponsoring_king = { religion = bon }
				event_target:sponsoring_king = { religion = bon_reformed }
			}
			bon = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_HelleneP
		trigger = {
			OR = {
				event_target:sponsoring_king = { religion = hellenic_pagan }
				event_target:sponsoring_king = { religion = hellenic_pagan_reformed }
			}
			hellenic_pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_TaoistP
		trigger = {
			event_target:sponsoring_king = { religion = taoist }
			taoist = { NOT = { is_name_randomized = yes } }
		}
	}
	text = {
		localisation_key = String_PaganP
		trigger = {
			event_target:sponsoring_king = { religion = pagan }
			pagan = { NOT = { is_name_randomized = yes } }
		}
	}
	fallback_text = {
		localisation_key = String_adherent_random_SK
	}
}
#HFP.20505
defined_text = {
	name = GetPhysUOgo
	text = {
		trigger = {
			event_target:pregnancy_spouse_physician = {
				is_female = yes
			}
		}
		localisation_key = END_U
	}
	text = {
		trigger = {
			event_target:pregnancy_regent_physician = {
				is_female = yes
			}
		}
		localisation_key = END_U
	}
	fallback_text = {
		localisation_key = END_OGO
	}
}
defined_text = {
	name = GetPhysKuA
	text = {
		trigger = {
			event_target:pregnancy_spouse_physician = {
				is_female = yes
			}
		}
		localisation_key = END_KU
	}
	text = {
		trigger = {
			event_target:pregnancy_regent_physician = {
				is_female = yes
			}
		}
		localisation_key = END_KU
	}
	fallback_text = {
		localisation_key = END_A
	}
}
# 
defined_text = {
	name = GetHonorificGEN
	text = {
		localisation_key = Imperial_majestyGEN
		trigger = {
			OR = {
				tier = EMPEROR
				spouse = { tier = EMPEROR }
			}
		}
	}
	text = {
		localisation_key = MajestyGEN
		trigger = {
			OR = {
				tier = KING
				spouse = { tier = KING }
			}
		}
	}
	text = {
		localisation_key = HighnessGEN
		trigger = {
			OR = {
				has_minor_title = title_prince
				spouse = { has_minor_title = title_prince }
			}
		}
	}
	text = {
		localisation_key = ExcellencyGEN
		trigger = {
			OR = {
				tier = DUKE
				spouse = { tier = DUKE }
			}
		}
	}
	text = {
		localisation_key = GraceGEN
		trigger = {
			OR = {
				tier = COUNT
				spouse = { tier = COUNT }
			}
		}
	}
	text = {
		localisation_key = LordshipGEN
		trigger = {
			OR = {
				tier = BARON
				spouse = { tier = BARON }
			}
		}
	}
	text = {
		localisation_key = HonorableGEN
		trigger = {
			is_ruler = no
			spouse = { is_ruler = no }
		}
	}
	fallback_text = {
		localisation_key = ExcellencyGEN
	}
}
# 
defined_text = {
	name = GetHonorificDAT
	text = {
		localisation_key = Imperial_majestyDAT
		trigger = {
			OR = {
				tier = EMPEROR
				spouse = { tier = EMPEROR }
			}
		}
	}
	text = {
		localisation_key = MajestyDAT
		trigger = {
			OR = {
				tier = KING
				spouse = { tier = KING }
			}
		}
	}
	text = {
		localisation_key = HighnessDAT
		trigger = {
			OR = {
				has_minor_title = title_prince
				spouse = { has_minor_title = title_prince }
			}
		}
	}
	text = {
		localisation_key = ExcellencyDAT
		trigger = {
			OR = {
				tier = DUKE
				spouse = { tier = DUKE }
			}
		}
	}
	text = {
		localisation_key = GraceDAT
		trigger = {
			OR = {
				tier = COUNT
				spouse = { tier = COUNT }
			}
		}
	}
	text = {
		localisation_key = LordshipDAT
		trigger = {
			OR = {
				tier = BARON
				spouse = { tier = BARON }
			}
		}
	}
	text = {
		localisation_key = HonorableDAT
		trigger = {
			is_ruler = no
			spouse = { is_ruler = no }
		}
	}
	fallback_text = {
		localisation_key = ExcellencyDAT
	}
}
#province_saint
defined_text = {
	name = GetPSPoImeni
	text = {
		trigger = { persistent_event_target:province_saint = { always = yes } }
		localisation_key = string_po_imeni_
	}
}

#  HF.21019
defined_text = {
	name = GetOptHF21019
	text = {
		trigger = {
			OR = {
				has_character_flag = flag_generic_sway_crit_success
				has_character_flag = flag_generic_sway_success
			}
		}
		localisation_key = EXCELLENT
	}
	fallback_text = {
		localisation_key = CURSES
	}
}
#  CM.510
defined_text = {
	name = GetOptD_CM_510
	text = {
		trigger = { is_female = yes }
		localisation_key = EVTOPTD_CM_510_FEMALE
	}
	fallback_text = {
		localisation_key = EVTOPTD_CM_510_DEFAULT
	}
}
#/
defined_text = {
	name = GetWarriorMFACC
	text = {
		trigger = { is_female = yes }
		localisation_key = String_warriorFACC
	}
	fallback_text = {
		localisation_key = String_warriorGEN
	}
}
#/
defined_text = {
	name = GetWarriorMFINS
	text = {
		trigger = { is_female = yes }
		localisation_key = String_warriorFINS
	}
	fallback_text = {
		localisation_key = String_warriorINS
	}
}
#/
defined_text = {
	name = GetWarriorMFPREP
	text = {
		trigger = { is_female = yes }
		localisation_key = String_warriorFPREP
	}
	fallback_text = {
		localisation_key = String_warriorPREP
	}
}
#Root.
defined_text = {
	name = GetHaruspexSheHe
	
	text = {
		trigger = {
			FROMFROM = {
				is_alive = yes
				NOT = { character = ROOT }
				is_female = yes
			}
		}
		localisation_key = EV_SHE
	}
	fallback_text = {
		localisation_key = EV_HE
	}
}
#Root.
defined_text = {
	name = GetHaruspexEndA
	
	text = {
		trigger = {
			FROMFROM = {
				is_alive = yes
				NOT = { character = ROOT }
				is_female = yes
			}
		}
		localisation_key = END_A
	}
}
#Root.
defined_text = {
	name = GetHaruspexEndNitsa

	text = {
		trigger = {
			FROMFROM = {
				is_alive = yes
				NOT = { character = ROOT }
				is_female = yes
			}
		}
		localisation_key = END_NITSA
	}
}
#Root.
defined_text = {
	name = GetHaruspexLasLsya

	text = {
		trigger = {
			FROMFROM = {
				is_alive = yes
				NOT = { character = ROOT }
				is_female = yes
			}
		}
		localisation_key = END_LAS
	}
	fallback_text = {
		localisation_key = END_LSYA
	}
}
#Root.
defined_text = {
	name = GetHaruspexSoftNitseyEm

	text = {
		trigger = {
			FROMFROM = {
				is_alive = yes
				NOT = { character = ROOT }
				is_female = yes
			}
		}
		localisation_key = END_SOFT_NITSEY
	}
	fallback_text = {
		localisation_key = END_EM
	}
}
defined_text = {
	name = GetNarrativeEvMyTheirPREP

	text = {
		trigger = { character = ROOT }
		localisation_key = String_MyPREP
	}
	fallback_text = {
		localisation_key = String_TheirPREP
	}
}
defined_text = {
	name = GetOyYmRandomWeaponINS

	text = {
		localisation_key = String_swordOyYmINS
	}
	text = {
		localisation_key = String_axeOyYmINS
	}
	text = {
		localisation_key = String_maceOyYmINS
	}
	text = {
		localisation_key = String_spearOyYmINS
	}
	text = {
		localisation_key = String_daggerOyYmINS
	}
	text = {
		localisation_key = String_war_hammerOyYmINS
	}
	text = {
		localisation_key = String_great_swordOyYmINS
	}
	text = {
		localisation_key = String_flailOyYmINS
	}
}
