
####################################################################################################
###																								 ###
###									  Переменные сословий										 ###
###																								 ###
###																								 ###
###						  Падежи прописаны с уже готовыми окончаниями!							 ###
###																								 ###
###								 Пример казаков строчными буквами								 ###
###				  Именительный (Кто, что?) - "[RUS.CossacksIM]" : "казаки"  					 ###
###				  Родительный (Кого, чего?) - "[RUS.CossacksRD]" : "казаков"  					 ###
###				  Дательный (Кому, чему?) - "[RUS.CossacksDT]" : "казакам"						 ###
###				  Винительный (Кого, что?) - "[RUS.CossacksVN]" : "казаков"					 	 ###
###				  Творительный (Кем, чем?) - "[RUS.CossacksTV]" : "казаками"					 ###
###				  Предложный (О ком, о чём?) - "[RUS.CossacksPR]" : "казакам"					 ###
###																								 ###
###								 Пример казаков	с прописной буквы								 ###
###				  Именительный (Кто, что?) - "[RUS.CossacksIM_CAP]" : "Казаки"  				 ###
###				  Родительный (Кого, чего?) - "[RUS.CossacksRD_CAP]" : "Казаков"  				 ###
###				  Дательный (Кому, чему?) - "[RUS.CossacksDT_CAP]" : "Казакам"					 ###
###				  Винительный (Кого, что?) - "[RUS.CossacksVN_CAP]" : "Казаков"				 	 ###
###				  Творительный (Кем, чем?) - "[RUS.CossacksTV_CAP]" : "Казаками"				 ###
###				  Предложный (О ком, о чём?) - "[RUS.CossacksPR_CAP]" : "Казакам"				 ###
###																								 ###
###										Варианты сословий:										 ###
###					Brahmins - брахманы, священники												 ###
###					Maratha - маратхи															 ###
###					Rajput - раджпуты															 ###
###					Vaisyas - вайшьи, горожане													 ###
###					Cossacks - казаки															 ###
###					Nomadic - кланы																 ###
###					Dhimmi - зимми																 ###
###					Jains - джайны																 ###
###					Church - священники, монашеские ордена, бабайланы, брахманы и т.д.			 ###
###					Nobles - дворяне, беи, бояре, шляхтичи, тимагуа, наяки и т.д.				 ###
###					Burghers - горожане, вайшьи, буржуа, шаньбен, купеческие гильдии			 ###
###																								 ###
###						  		 Локализация в: gks_customizable								 ###
###																								 ###
####################################################################################################

#Ex: Брахмины в именительном падеже с маленькой буквы
defined_text = {
    name = BrahminsIM
	
	text = {
        localisation_key = EST_BrahminsIM
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchIM
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в именительном падеже с маленькой буквы
defined_text = {
    name = MarathaIM
	
	text = {
        localisation_key = EST_MarathaIM
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в именительном падеже с маленькой буквы
defined_text = {
    name = RajputIM
	
	text = {
        localisation_key = EST_RajputIM
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в именительном падеже с маленькой буквы
defined_text = {
    name = VaisyasIM
	
	text = {
        localisation_key = EST_VaisyasIM
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }	
	text = {
        localisation_key = EST_burghersIM
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в именительном падеже с маленькой буквы
defined_text = {
    name = CossacksIM
	
	text = {
        localisation_key = EST_CossacksIM
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в именительном падеже с маленькой буквы
defined_text = {
    name = NomadicIM
	
	text = {
        localisation_key = EST_NomadicIM
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в именительном падеже с маленькой буквы
defined_text = {
    name = DhimmiIM
	
	text = {
        localisation_key = EST_DhimmiIM
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в именительном падеже с маленькой буквы
defined_text = {
    name = JainsIM
	
	text = {
        localisation_key = EST_JainsIM
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в именительном падеже с маленькой буквы
defined_text = {
    name = ChurchIM
	
	text = {
        localisation_key = EST_churchIM
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsIM
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesIM
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesIM
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsIM
        trigger = {
			has_estate = estate_church
			religion = hinduism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryIM
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaIM
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehIM
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsIM
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaIM
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaIM
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaIM
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituIM
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteIM
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в именительном падеже с маленькой буквы
defined_text = {
    name = NoblesIM
	
	text = {
        localisation_key = EST_noblesIM
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaIM
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysIM
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsIM
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaIM
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaIM
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksIM
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasIM
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasIM
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangIM
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsIM
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinIM
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaIM
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsIM
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersIM
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiIM
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsIM
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersIM
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiIM
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraIM
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiIM
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuIM
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в именительном падеже с маленькой буквы
defined_text = {
    name = BurghersIM
	
	text = {
        localisation_key = EST_burghersIM
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasIM
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieIM
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangIM
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersIM
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsIM
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в родительном падеже с маленькой буквы
defined_text = {
    name = BrahminsRD
	
	text = {
        localisation_key = EST_BrahminsRD
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchRD
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в родительном падеже с маленькой буквы
defined_text = {
    name = MarathaRD
	
	text = {
        localisation_key = EST_MarathaRD
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в родительном падеже с маленькой буквы
defined_text = {
    name = RajputRD
	
	text = {
        localisation_key = EST_RajputRD
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в родительном падеже с маленькой буквы
defined_text = {
    name = VaisyasRD
	
	text = {
        localisation_key = EST_VaisyasRD
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersRD
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в родительном падеже с маленькой буквы
defined_text = {
    name = CossacksRD
	
	text = {
        localisation_key = EST_CossacksRD
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в родительном падеже с маленькой буквы
defined_text = {
    name = NomadicRD
	
	text = {
        localisation_key = EST_NomadicRD
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в родительном падеже с маленькой буквы
defined_text = {
    name = DhimmiRD
	
	text = {
        localisation_key = EST_DhimmiRD
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в родительном падеже с маленькой буквы
defined_text = {
    name = JainsRD
	
	text = {
        localisation_key = EST_JainsRD
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в родительном падеже с маленькой буквы
defined_text = {
    name = ChurchRD
	
	text = {
        localisation_key = EST_churchRD
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsRD
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesRD
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesRD
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsRD
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryRD
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaRD
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehRD
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsRD
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaRD
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaRD
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaRD
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituRD
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteRD
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в родительном падеже с маленькой буквы
defined_text = {
    name = NoblesRD
	
	text = {
        localisation_key = EST_noblesRD
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaRD
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysRD
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsRD
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaRD
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaRD
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksRD
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasRD
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasRD
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangRD
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsRD
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinRD
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaRD
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsRD
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersRD
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiRD
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsRD
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersRD
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiRD
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraRD
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiRD
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuRD
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в родительном падеже с маленькой буквы
defined_text = {
    name = BurghersRD
	
	text = {
        localisation_key = EST_burghersRD
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasRD
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieRD
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangRD
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersRD
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsRD
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в дательном падеже с маленькой буквы
defined_text = {
    name = BrahminsDT
	
	text = {
        localisation_key = EST_BrahminsDT
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchDT
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в дательном падеже с маленькой буквы
defined_text = {
    name = MarathaDT
	
	text = {
        localisation_key = EST_MarathaDT
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в дательном падеже с маленькой буквы
defined_text = {
    name = RajputDT
	
	text = {
        localisation_key = EST_RajputDT
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в дательном падеже с маленькой буквы
defined_text = {
    name = VaisyasDT
	
	text = {
        localisation_key = EST_VaisyasDT
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersDT
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в дательном падеже с маленькой буквы
defined_text = {
    name = CossacksDT
	
	text = {
        localisation_key = EST_CossacksDT
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в дательном падеже с маленькой буквы
defined_text = {
    name = NomadicDT
	
	text = {
        localisation_key = EST_NomadicDT
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в дательном падеже с маленькой буквы
defined_text = {
    name = DhimmiDT
	
	text = {
        localisation_key = EST_DhimmiDT
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в дательном падеже с маленькой буквы
defined_text = {
    name = JainsDT
	
	text = {
        localisation_key = EST_JainsDT
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в дательном падеже с маленькой буквы
defined_text = {
    name = ChurchDT
	
	text = {
        localisation_key = EST_churchDT
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsDT
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesDT
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesDT
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsDT
        trigger = {
			has_estate = estate_church
			religion = hinduism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryDT
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaDT
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehDT
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsDT
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaDT
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaDT
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaDT
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituDT
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteDT
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в дательном падеже с маленькой буквы
defined_text = {
    name = NoblesDT
	
	text = {
        localisation_key = EST_noblesDT
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaDT
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysDT
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsDT
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaDT
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaDT
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksDT
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasDT
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasDT
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangDT
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsDT
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinDT
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaDT
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsDT
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersDT
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiDT
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsDT
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersDT
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiDT
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraDT
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiDT
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuDT
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в дательном падеже с маленькой буквы
defined_text = {
    name = BurghersDT
	
	text = {
        localisation_key = EST_burghersDT
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasDT
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieDT
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangDT
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersDT
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsDT
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в винительном падеже с маленькой буквы
defined_text = {
    name = BrahminsVN
	
	text = {
        localisation_key = EST_BrahminsVN
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchVN
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в винительном падеже с маленькой буквы
defined_text = {
    name = MarathaVN
	
	text = {
        localisation_key = EST_MarathaVN
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в винительном падеже с маленькой буквы
defined_text = {
    name = RajputVN
	
	text = {
        localisation_key = EST_RajputVN
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в винительном падеже с маленькой буквы
defined_text = {
    name = VaisyasVN
	
	text = {
        localisation_key = EST_VaisyasVN
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersVN
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в винительном падеже с маленькой буквы
defined_text = {
    name = CossacksVN
	
	text = {
        localisation_key = EST_CossacksVN
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в винительном падеже с маленькой буквы
defined_text = {
    name = NomadicVN
	
	text = {
        localisation_key = EST_NomadicVN
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в винительном падеже с маленькой буквы
defined_text = {
    name = DhimmiVN
	
	text = {
        localisation_key = EST_DhimmiVN
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в винительном падеже с маленькой буквы
defined_text = {
    name = JainsVN
	
	text = {
        localisation_key = EST_JainsVN
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в винительном падеже с маленькой буквы
defined_text = {
    name = ChurchVN
	
	text = {
        localisation_key = EST_churchVN
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsVN
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesVN
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesVN
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsVN
        trigger = {
			has_estate = estate_church
			religion = hinduism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryVN
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaVN
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehVN
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsVN
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaVN
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaVN
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaVN
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituVN
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteVN
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в винительном падеже с маленькой буквы
defined_text = {
    name = NoblesVN
	
	text = {
        localisation_key = EST_noblesVN
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaVN
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysVN
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsVN
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaVN
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaVN
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksVN
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasVN
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasVN
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangVN
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsVN
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinVN
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaVN
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsVN
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersVN
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiVN
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsVN
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersVN
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiVN
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraVN
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiVN
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuVN
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в винительном падеже с маленькой буквы
defined_text = {
    name = BurghersVN
	
	text = {
        localisation_key = EST_burghersVN
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasVN
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieVN
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangVN
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersVN
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsVN
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в творительном падеже с маленькой буквы
defined_text = {
    name = BrahminsTV
	
	text = {
        localisation_key = EST_BrahminsTV
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchTV
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в творительном падеже с маленькой буквы
defined_text = {
    name = MarathaTV
	
	text = {
        localisation_key = EST_MarathaTV
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в творительном падеже с маленькой буквы
defined_text = {
    name = RajputTV
	
	text = {
        localisation_key = EST_RajputTV
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в творительном падеже с маленькой буквы
defined_text = {
    name = VaisyasTV
	
	text = {
        localisation_key = EST_VaisyasTV
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersTV
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в творительном падеже с маленькой буквы
defined_text = {
    name = CossacksTV
	
	text = {
        localisation_key = EST_CossacksTV
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в творительном падеже с маленькой буквы
defined_text = {
    name = NomadicTV
	
	text = {
        localisation_key = EST_NomadicTV
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в творительном падеже с маленькой буквы
defined_text = {
    name = DhimmiTV
	
	text = {
        localisation_key = EST_DhimmiTV
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в творительном падеже с маленькой буквы
defined_text = {
    name = JainsTV
	
	text = {
        localisation_key = EST_JainsTV
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в творительном падеже с маленькой буквы
defined_text = {
    name = ChurchTV
	
	text = {
        localisation_key = EST_churchTV
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsTV
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesTV
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesTV
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsTV
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryTV
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaTV
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehTV
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsTV
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaTV
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaTV
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaTV
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituTV
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteTV
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в творительном падеже с маленькой буквы
defined_text = {
    name = NoblesTV
	
	text = {
        localisation_key = EST_noblesTV
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaTV
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysTV
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsTV
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaTV
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaTV
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksTV
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasTV
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasTV
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangTV
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsTV
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinTV
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaTV
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsTV
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersTV
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiTV
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsTV
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersTV
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiTV
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraTV
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiTV
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuTV
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в творительном падеже с маленькой буквы
defined_text = {
    name = BurghersTV
	
	text = {
        localisation_key = EST_burghersIM
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasIM
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieIM
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangIM
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersIM
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsIM
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в предложном падеже с маленькой буквы
defined_text = {
    name = BrahminsPR
	
	text = {
        localisation_key = EST_BrahminsPR
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchPR
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в предложном падеже с маленькой буквы
defined_text = {
    name = MarathaPR
	
	text = {
        localisation_key = EST_MarathaPR
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в предложном падеже с маленькой буквы
defined_text = {
    name = RajputPR
	
	text = {
        localisation_key = EST_RajputPR
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в предложном падеже с маленькой буквы
defined_text = {
    name = VaisyasPR
	
	text = {
        localisation_key = EST_VaisyasPR
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersPR
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в предложном падеже с маленькой буквы
defined_text = {
    name = CossacksPR
	
	text = {
        localisation_key = EST_CossacksPR
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в предложном падеже с маленькой буквы
defined_text = {
    name = NomadicPR
	
	text = {
        localisation_key = EST_NomadicPR
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в предложном падеже с маленькой буквы
defined_text = {
    name = DhimmiPR
	
	text = {
        localisation_key = EST_DhimmiPR
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в предложном падеже с маленькой буквы
defined_text = {
    name = JainsPR
	
	text = {
        localisation_key = EST_JainsPR
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в предложном падеже с маленькой буквы
defined_text = {
    name = ChurchPR
	
	text = {
        localisation_key = EST_churchPR
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsPR
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesPR
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesPR
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsPR
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryPR
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaPR
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehPR
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsPR
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaPR
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaPR
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaPR
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituPR
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_betePR
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в предложном падеже с маленькой буквы
defined_text = {
    name = NoblesPR
	
	text = {
        localisation_key = EST_noblesPR
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaPR
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysPR
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsPR
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaPR
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaPR
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksPR
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasPR
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasPR
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangPR
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsPR
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinPR
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaPR
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsPR
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersPR
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiPR
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsPR
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersPR
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiPR
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraPR
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiPR
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuPR
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в предложном падеже с маленькой буквы
defined_text = {
    name = BurghersPR
	
	text = {
        localisation_key = EST_burghersPR
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasPR
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisiePR
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangPR
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersPR
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsPR
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в именительном падеже с большой буквы
defined_text = {
    name = BrahminsIM_CAP
	
	text = {
        localisation_key = EST_BrahminsIM_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchIM_CAP
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в именительном падеже с большой буквы
defined_text = {
    name = MarathaIM_CAP
	
	text = {
        localisation_key = EST_MarathaIM_CAP
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в именительном падеже с большой буквы
defined_text = {
    name = RajputIM_CAP
	
	text = {
        localisation_key = EST_RajputIM_CAP
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в именительном падеже с большой буквы
defined_text = {
    name = VaisyasIM_CAP
	
	text = {
        localisation_key = EST_VaisyasIM_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }	
	text = {
        localisation_key = EST_burghersIM_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в именительном падеже с большой буквы
defined_text = {
    name = CossacksIM_CAP
	
	text = {
        localisation_key = EST_CossacksIM_CAP
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в именительном падеже с большой буквы
defined_text = {
    name = NomadicIM_CAP
	
	text = {
        localisation_key = EST_NomadicIM_CAP
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в именительном падеже с большой буквы
defined_text = {
    name = DhimmiIM_CAP
	
	text = {
        localisation_key = EST_DhimmiIM_CAP
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в именительном падеже с большой буквы
defined_text = {
    name = JainsIM_CAP
	
	text = {
        localisation_key = EST_JainsIM_CAP
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в именительном падеже с большой буквы
defined_text = {
    name = ChurchIM_CAP
	
	text = {
        localisation_key = EST_churchIM_CAP
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsIM_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesIM_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesIM_CAP
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsIM_CAP
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryIM_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaIM_CAP
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehIM_CAP
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsIM_CAP
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaIM_CAP
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaIM_CAP
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaIM_CAP
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituIM_CAP
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteIM_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в именительном падеже с большой буквы
defined_text = {
    name = NoblesIM_CAP
	
	text = {
        localisation_key = EST_noblesIM_CAP
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaIM_CAP
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysIM_CAP
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsIM_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaIM_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasIM_CAP
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangIM_CAP
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinIM_CAP
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsIM_CAP
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiIM_CAP
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersIM_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiIM_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraIM_CAP
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiIM_CAP
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuIM_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в именительном падеже с большой буквы
defined_text = {
    name = BurghersIM_CAP
	
	text = {
        localisation_key = EST_burghersIM_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasIM_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieIM_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangIM_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersIM_CAP
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsIM_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в родительном падеже с большой буквы
defined_text = {
    name = BrahminsRD_CAP
	
	text = {
        localisation_key = EST_BrahminsRD_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchRD_CAP
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в родительном падеже с большой буквы
defined_text = {
    name = MarathaRD_CAP
	
	text = {
        localisation_key = EST_MarathaRD_CAP
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в родительном падеже с большой буквы
defined_text = {
    name = RajputRD_CAP
	
	text = {
        localisation_key = EST_RajputRD_CAP
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в родительном падеже с большой буквы
defined_text = {
    name = VaisyasRD_CAP
	
	text = {
        localisation_key = EST_VaisyasRD_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersRD_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в родительном падеже с большой буквы
defined_text = {
    name = CossacksRD_CAP
	
	text = {
        localisation_key = EST_CossacksRD_CAP
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в родительном падеже с большой буквы
defined_text = {
    name = NomadicRD_CAP
	
	text = {
        localisation_key = EST_NomadicRD_CAP
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в родительном падеже с большой буквы
defined_text = {
    name = DhimmiRD_CAP
	
	text = {
        localisation_key = EST_DhimmiRD_CAP
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в родительном падеже с большой буквы
defined_text = {
    name = JainsRD_CAP
	
	text = {
        localisation_key = EST_JainsRD_CAP
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в родительном падеже с большой буквы
defined_text = {
    name = ChurchRD_CAP
	
	text = {
        localisation_key = EST_churchRD_CAP
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsRD_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesRD_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesRD_CAP
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsRD_CAP
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryRD_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaRD_CAP
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehRD_CAP
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsRD_CAP
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaRD_CAP
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaRD_CAP
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaRD_CAP
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituRD_CAP
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteRD_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в родительном падеже с большой буквы
defined_text = {
    name = NoblesRD_CAP
	
	text = {
        localisation_key = EST_noblesRD_CAP
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaRD_CAP
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysRD_CAP
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsRD_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaRD_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasRD_CAP
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangRD_CAP
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinRD_CAP
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsRD_CAP
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiRD_CAP
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersRD_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiRD_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraRD_CAP
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiRD_CAP
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuRD_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в родительном падеже с большой буквы
defined_text = {
    name = BurghersRD_CAP
	
	text = {
        localisation_key = EST_burghersRD_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasRD_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieRD_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangRD_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersRD_CAP
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsRD_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в дательном падеже с большой буквы
defined_text = {
    name = BrahminsDT_CAP
	
	text = {
        localisation_key = EST_BrahminsDT_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchDT_CAP
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в дательном падеже с большой буквы
defined_text = {
    name = MarathaDT_CAP
	
	text = {
        localisation_key = EST_MarathaDT_CAP
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в дательном падеже с большой буквы
defined_text = {
    name = RajputDT_CAP
	
	text = {
        localisation_key = EST_RajputDT_CAP
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в дательном падеже с большой буквы
defined_text = {
    name = VaisyasDT_CAP
	
	text = {
        localisation_key = EST_VaisyasDT_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersDT_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в дательном падеже с большой буквы
defined_text = {
    name = CossacksDT_CAP
	
	text = {
        localisation_key = EST_CossacksDT_CAP
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в дательном падеже с большой буквы
defined_text = {
    name = NomadicDT_CAP
	
	text = {
        localisation_key = EST_NomadicDT_CAP
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в дательном падеже с большой буквы
defined_text = {
    name = DhimmiDT_CAP
	
	text = {
        localisation_key = EST_DhimmiDT_CAP
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в дательном падеже с большой буквы
defined_text = {
    name = JainsDT_CAP
	
	text = {
        localisation_key = EST_JainsDT_CAP
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в дательном падеже с большой буквы
defined_text = {
    name = ChurchDT_CAP
	
	text = {
        localisation_key = EST_churchDT_CAP
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsDT_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesDT_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesDT_CAP
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsDT_CAP
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryDT_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaDT_CAP
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehDT_CAP
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsDT_CAP
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaDT_CAP
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaDT_CAP
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaDT_CAP
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituDT_CAP
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteDT_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в дательном падеже с большой буквы
defined_text = {
    name = NoblesDT_CAP
	
	text = {
        localisation_key = EST_noblesDT_CAP
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaDT_CAP
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysDT_CAP
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsDT_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaDT_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasDT_CAP
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangDT_CAP
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinDT_CAP
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsDT_CAP
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiDT_CAP
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersDT_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiDT_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraDT_CAP
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiDT_CAP
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuDT_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в дательном падеже с большой буквы
defined_text = {
    name = BurghersDT_CAP
	
	text = {
        localisation_key = EST_burghersDT_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasDT_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieDT_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangDT_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersDT_CAP
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsDT_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в винительном падеже с большой буквы
defined_text = {
    name = BrahminsVN_CAP
	
	text = {
        localisation_key = EST_BrahminsVN_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchVN_CAP
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в винительном падеже с большой буквы
defined_text = {
    name = MarathaVN_CAP
	
	text = {
        localisation_key = EST_MarathaVN_CAP
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в винительном падеже с большой буквы
defined_text = {
    name = RajputVN_CAP
	
	text = {
        localisation_key = EST_RajputVN_CAP
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в винительном падеже с большой буквы
defined_text = {
    name = VaisyasVN_CAP
	
	text = {
        localisation_key = EST_VaisyasVN_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersVN_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в винительном падеже с большой буквы
defined_text = {
    name = CossacksVN_CAP
	
	text = {
        localisation_key = EST_CossacksVN_CAP
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в винительном падеже с большой буквы
defined_text = {
    name = NomadicVN_CAP
	
	text = {
        localisation_key = EST_NomadicVN_CAP
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в винительном падеже с большой буквы
defined_text = {
    name = DhimmiVN_CAP
	
	text = {
        localisation_key = EST_DhimmiVN_CAP
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в винительном падеже с большой буквы
defined_text = {
    name = JainsVN_CAP
	
	text = {
        localisation_key = EST_JainsVN_CAP
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в винительном падеже с большой буквы
defined_text = {
    name = ChurchVN_CAP
	
	text = {
        localisation_key = EST_churchVN_CAP
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsVN_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesVN_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesVN_CAP
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsVN_CAP
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryVN_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaVN_CAP
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehVN_CAP
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsVN_CAP
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaVN_CAP
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaVN_CAP
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaVN_CAP
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituVN_CAP
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteVN_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в винительном падеже с большой буквы
defined_text = {
    name = NoblesVN_CAP
	
	text = {
        localisation_key = EST_noblesVN_CAP
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaVN_CAP
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysVN_CAP
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsVN_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaVN_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasVN_CAP
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangVN_CAP
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinVN_CAP
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsVN_CAP
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiVN_CAP
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersVN_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiVN_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraVN_CAP
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiVN_CAP
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuVN_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в винительном падеже с большой буквы
defined_text = {
    name = BurghersVN_CAP
	
	text = {
        localisation_key = EST_burghersVN_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasVN_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieVN_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangVN_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersVN_CAP
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsVN_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в творительном падеже с большой буквы
defined_text = {
    name = BrahminsTV_CAP
	
	text = {
        localisation_key = EST_BrahminsTV_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchTV_CAP
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в творительном падеже с большой буквы
defined_text = {
    name = MarathaTV_CAP
	
	text = {
        localisation_key = EST_MarathaTV_CAP
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в творительном падеже с большой буквы
defined_text = {
    name = RajputTV_CAP
	
	text = {
        localisation_key = EST_RajputTV_CAP
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в творительном падеже с большой буквы
defined_text = {
    name = VaisyasTV_CAP
	
	text = {
        localisation_key = EST_VaisyasTV_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersTV_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в творительном падеже с большой буквы
defined_text = {
    name = CossacksTV_CAP
	
	text = {
        localisation_key = EST_CossacksTV_CAP
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в творительном падеже с большой буквы
defined_text = {
    name = NomadicTV_CAP
	
	text = {
        localisation_key = EST_NomadicTV_CAP
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в творительном падеже с большой буквы
defined_text = {
    name = DhimmiTV_CAP
	
	text = {
        localisation_key = EST_DhimmiTV_CAP
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в творительном падеже с большой буквы
defined_text = {
    name = JainsTV_CAP
	
	text = {
        localisation_key = EST_JainsTV_CAP
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в творительном падеже с большой буквы
defined_text = {
    name = ChurchTV_CAP
	
	text = {
        localisation_key = EST_churchTV_CAP
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsTV_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesTV_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesTV_CAP
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsTV_CAP
        trigger = {
			has_estate = estate_church
			religion = hinduism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryTV_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaTV_CAP
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehTV_CAP
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsTV_CAP
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaTV_CAP
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaTV_CAP
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaTV_CAP
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituTV_CAP
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_beteTV_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в творительном падеже с большой буквы
defined_text = {
    name = NoblesTV_CAP
	
	text = {
        localisation_key = EST_noblesTV_CAP
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaTV_CAP
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysTV_CAP
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsTV_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaTV_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasTV_CAP
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangTV_CAP
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinTV_CAP
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsTV_CAP
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiTV_CAP
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersTV_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiTV_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraTV_CAP
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiTV_CAP
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuTV_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в творительном падеже с большой буквы
defined_text = {
    name = BurghersTV_CAP
	
	text = {
        localisation_key = EST_burghersTV_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasTV_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisieTV_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangTV_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersTV_CAP
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsTV_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}
#Ex: Брахмины в предложном падеже с большой буквы
defined_text = {
    name = BrahminsPR_CAP
	
	text = {
        localisation_key = EST_BrahminsPR_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_churchPR_CAP
        trigger = {
			has_estate = estate_church

		}
    }
}
#Ex: Маратхи в предложном падеже с большой буквы
defined_text = {
    name = MarathaPR_CAP
	
	text = {
        localisation_key = EST_MarathaPR_CAP
        trigger = {
			has_estate = estate_maratha
		}
    }
}
#Ex: Раджпуты в предложном падеже с большой буквы
defined_text = {
    name = RajputPR_CAP
	
	text = {
        localisation_key = EST_RajputPR_CAP
        trigger = {
			has_estate = estate_rajput
		}
    }
}
#Ex: Вайшьи в предложном падеже с большой буквы
defined_text = {
    name = VaisyasPR_CAP
	
	text = {
        localisation_key = EST_VaisyasPR_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_burghersPR_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { has_estate = estate_vaisyas }
		}
    }
}
#Ex: Казаки в предложном падеже с большой буквы
defined_text = {
    name = CossacksPR_CAP
	
	text = {
        localisation_key = EST_CossacksPR_CAP
        trigger = {
			has_estate = estate_cossacks
		}
    }
}
#Ex: Кочевые кланы в предложном падеже с большой буквы
defined_text = {
    name = NomadicPR_CAP
	
	text = {
        localisation_key = EST_NomadicPR_CAP
        trigger = {
			has_estate = estate_nomadic_tribes
		}
    }
}
#Ex: Зимми в предложном падеже с большой буквы
defined_text = {
    name = DhimmiPR_CAP
	
	text = {
        localisation_key = EST_DhimmiPR_CAP
        trigger = {
			has_estate = estate_dhimmi
		}
    }
}
#Ex: Джайны в предложном падеже с большой буквы
defined_text = {
    name = JainsPR_CAP
	
	text = {
        localisation_key = EST_JainsPR_CAP
        trigger = {
			has_estate = estate_jains
		}
    }
}
#Ex: Духовники в предложном падеже с большой буквы
defined_text = {
    name = ChurchPR_CAP
	
	text = {
        localisation_key = EST_churchPR_CAP
        trigger = {
			has_estate = estate_church

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_BrahminsPR_CAP
        trigger = {
			has_estate = estate_brahmins
			NOT = { has_estate = estate_church }
		}
    }
	text = {
        localisation_key = EST_monasteriesPR_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				religion = buddhism #Theravada
				religion = mahayana
				religion = vajrayana
			}
		}
    }
	text = {
        localisation_key = EST_babaylanesPR_CAP
        trigger = {
			has_estate = estate_church
			tag = MAS

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
		}
    }
	text = {
        localisation_key = EST_BrahminsPR_CAP
        trigger = {
			has_estate = estate_church
			religion = hinduism
				
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_gentryPR_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				has_reform = celestial_empire
				culture_group = east_asian
			}

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_ulemaPR_CAP
        trigger = {
			has_estate = estate_church
			religion_group = muslim

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
		}
    }
	text = {
        localisation_key = EST_tlamacazquehPR_CAP
        trigger = {
			has_estate = estate_church
			religion = nahuatl

			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
		}
    }
	text = {
        localisation_key = EST_yangban_scholarsPR_CAP
        trigger = {
			has_estate = estate_church
			tag = KOR
			religion = confucianism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_kahunaPR_CAP
        trigger = {
			has_estate = estate_church
			capital_scope = {
				area = northern_polynesia_area
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_tohungaPR_CAP
        trigger = {
			has_estate = estate_church
			primary_culture = maori
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_otuaPR_CAP
        trigger = {
			has_estate = estate_church
			tag = TOG
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_taula_aituPR_CAP
        trigger = {
			has_estate = estate_church
			tag = SAM
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_betePR_CAP
        trigger = {
			has_estate = estate_church
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = {
				OR = {
					religion = buddhism #Theravada
					religion = mahayana
					religion = vajrayana
				}
			}
			NOT = { tag = MAS }
			NOT = { religion = hinduism }
			NOT = {
				OR = {
					has_reform = celestial_empire
					culture_group = east_asian
				}
			}
			NOT = { religion_group = muslim }
			NOT = { 
				tag = KOR
				religion = confucianism
			}
			NOT = { religion = nahuatl }
			NOT = {
				capital_scope = {
					area = northern_polynesia_area
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				religion = animism
			}
			NOT { 
				tag = SAM
				religion = animism
			}
		}
    }
}
#Ex: Знать в предложном падеже с большой буквы
defined_text = {
    name = NoblesPR_CAP
	
	text = {
        localisation_key = EST_noblesPR_CAP
        trigger = {
			has_estate = estate_nobles
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_MarathaPR_CAP
        trigger = {
			has_estate = estate_maratha
			NOT = { has_estate = estate_nobles }
		}
    }
	text = {
        localisation_key = EST_beysPR_CAP
        trigger = {
			has_estate = estate_nobles
			technology_group = ottoman
		}
    }
	text = {
        localisation_key = EST_boyarsPR_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				culture_group = east_slavic
				primary_culture = bulgarian
				primary_culture = romanian
			}
			
			NOT = { technology_group = ottoman }
		}
    }
	text = {
        localisation_key = EST_szlachtaPR_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				primary_culture = polish
				primary_culture = lithuanian
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_timawaPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MAS
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
		}
    }
	text = {
        localisation_key = EST_nayaksPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = VIJ
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
		}
    }
	text = {
        localisation_key = EST_samantasPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = ORI
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
		}
    }
	text = {
        localisation_key = EST_kshatriyasPR_CAP
        trigger = {
			has_estate = estate_nobles
			religion = hinduism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
		}
    }
	text = {
        localisation_key = EST_qinwangPR_CAP
        trigger = {
			has_estate = estate_nobles
			has_reform = celestial_empire
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
		}
    }
	text = {
        localisation_key = EST_mansabdarsPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MUG
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
		}
    }
	text = {
        localisation_key = EST_tetecuhtinPR_CAP
        trigger = {
			has_estate = estate_nobles
			religion = nahuatl
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
		}
    }
	text = {
        localisation_key = EST_andrianaPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = MIR
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
		}
    }
	text = {
        localisation_key = EST_amirsPR_CAP
        trigger = {
			has_estate = estate_nobles
			religion_group = muslim
			NOT = { technology_group = ottoman }
			
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
		}
    }
	text = {
        localisation_key = EST_plantersPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = USA
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
		}
    }
	text = {
        localisation_key = EST_bushiPR_CAP
        trigger = {
			has_estate = estate_nobles
			culture_group = japanese_g
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
		}
    }
	text = {
        localisation_key = EST_yangban_administratorsPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = KOR
			religion = confucianism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
		}
    }
	text = {
        localisation_key = EST_junkersPR_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				has_reform = prussian_republic_reform
				has_reform = prussian_monarchy
				tag = GER
			}
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
	text = {
        localisation_key = EST_aliiPR_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				capital_scope = {
					area = northern_polynesia_area
				}
				tag = SAM
			}
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
		}
    }
	text = {
        localisation_key = EST_rangatiraPR_CAP
        trigger = {
			has_estate = estate_nobles
			primary_culture = maori
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_eikiPR_CAP
        trigger = {
			has_estate = estate_nobles
			tag = TOG
			primary_culture = polynesian
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
		}
    }
	text = {
        localisation_key = EST_ratuPR_CAP
        trigger = {
			has_estate = estate_nobles
			OR = {
				tag = LAI
				tag = VIL
				tag = VNL
			}
			religion = animism
			
			NOT = { technology_group = ottoman }
			NOT = {
				OR = {
					culture_group = east_slavic
					primary_culture = bulgarian
					primary_culture = romanian
				}
			}
			NOT = {
				OR = {
					primary_culture = polish
					primary_culture = lithuanian
				}
			}
			NOT = { tag = MAS }
			NOT = { tag = VIJ }
			NOT = { tag = ORI }
			NOT = { religion = hinduism }
			NOT = { has_reform = celestial_empire }
			NOT = { tag = MUG }
			NOT = { religion = nahuatl }
			NOT = { tag = MIR }
			NOT = {
				religion_group = muslim
			}
			NOT = { tag = USA }
			NOT = { culture_group = japanese_g }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			NOT = {
				OR = {
					has_reform = prussian_republic_reform
					has_reform = prussian_monarchy
					tag = GER
				}
			}
			NOT = {
				OR = {
					capital_scope = {
						area = northern_polynesia_area
					}
					tag = SAM
				}
				primary_culture = polynesian
				religion = animism
			}
			NOT = {
				primary_culture = maori
				religion = animism
			}
			NOT = {
				tag = TOG
				primary_culture = polynesian
				religion = animism
			}
		}
    }
}
#Ex: Горожане в предложном падеже с большой буквы
defined_text = {
    name = BurghersPR_CAP
	
	text = {
        localisation_key = EST_burghersPR_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
			religion_group = christian
		}
    }
	text = {
        localisation_key = EST_VaisyasPR_CAP
        trigger = {
			has_estate = estate_vaisyas
			NOT = { has_estate = estate_burghers }
		}
    }
	text = {
        localisation_key = EST_bourgeoisiePR_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = french
		}
    }
	text = {
        localisation_key = EST_shangbangPR_CAP
        trigger = {
			has_estate = estate_burghers
			culture_group = east_asian
			
			NOT = { culture_group = french }
		}
    }
	text = {
        localisation_key = EST_neoconfucian_reformersPR_CAP
        trigger = {
			has_estate = estate_burghers
			tag = KOR
			religion = confucianism

			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
		}
    }
	text = {
        localisation_key = EST_guildsPR_CAP
        trigger = {
			has_estate = estate_burghers
			NOT = { religion_group = christian }
			
			NOT = { culture_group = french }
			NOT = { culture_group = east_asian }
			NOT = {
				tag = KOR
				religion = confucianism
			}
		}
    }
}