namespace = emf_nomad

# emf_nomad.1000
#
# Invoked on startup to build temples & tribes as necessary to preserve
# the culture+religion, as specified in province history, of each potentially
# nomad-affected province on the map at any playable start date. Each
# such province is given its own province_event, the ID of which is
# 1000 + <province ID> in this namespace.
#
# NOTE: None of these province events actually execute unless they are
# actually found to be empty/nomadic at runtime, so while there may be
# a lot of events here, an extremely tiny portion of the events will run at
# any given start.
#
# How these events were created: All event code following was generated
# automatically by a program which emulates CK2 history execution, written
# by secret ninjas. If in need, contact zijistark (azrinon@gmail.com) so that
# he may relay your message to said ninjas and deliver their reply.
character_event = {
	id = emf_nomad.1000
	hide_window = yes
	is_triggered_only = yes

	has_dlc = "Horse Lords"

	immediate = {
		387  = { province_event = { id = emf_nomad.1387 } } # Kola
		388  = { province_event = { id = emf_nomad.1388 } } # Karelen
		392  = { province_event = { id = emf_nomad.1392 } } # Kexholm
		393  = { province_event = { id = emf_nomad.1393 } } # Onega
		394  = { province_event = { id = emf_nomad.1394 } } # Trans-portage
		395  = { province_event = { id = emf_nomad.1395 } } # North Dvina
		396  = { province_event = { id = emf_nomad.1396 } } # Bjarmia
		397  = { province_event = { id = emf_nomad.1397 } } # Samoyeds
		398  = { province_event = { id = emf_nomad.1398 } } # Ugra
		399  = { province_event = { id = emf_nomad.1399 } } # Syrj
		400  = { province_event = { id = emf_nomad.1400 } } # Zyriane
		401  = { province_event = { id = emf_nomad.1401 } } # Hlynov
		402  = { province_event = { id = emf_nomad.1402 } } # Veliky Ustug
		403  = { province_event = { id = emf_nomad.1403 } } # Romny
		404  = { province_event = { id = emf_nomad.1404 } } # Zaozerye
		405  = { province_event = { id = emf_nomad.1405 } } # Chud
		406  = { province_event = { id = emf_nomad.1406 } } # Vologda
		407  = { province_event = { id = emf_nomad.1407 } } # Kostroma
		408  = { province_event = { id = emf_nomad.1408 } } # Beloozero
		409  = { province_event = { id = emf_nomad.1409 } } # Bezhetsky Verh
		410  = { province_event = { id = emf_nomad.1410 } } # Toropets
		411  = { province_event = { id = emf_nomad.1411 } } # Vodi
		412  = { province_event = { id = emf_nomad.1412 } } # Torzhok
		413  = { province_event = { id = emf_nomad.1413 } } # Pskov
		414  = { province_event = { id = emf_nomad.1414 } } # Novgorod
		415  = { province_event = { id = emf_nomad.1415 } } # Velikiye Luki
		416  = { province_event = { id = emf_nomad.1416 } } # West Dvina
		417  = { province_event = { id = emf_nomad.1417 } } # Vitebsk
		418  = { province_event = { id = emf_nomad.1418 } } # Orsha
		419  = { province_event = { id = emf_nomad.1419 } } # Polotsk
		425  = { province_event = { id = emf_nomad.1425 } } # Podlasie
		442  = { province_event = { id = emf_nomad.1442 } } # Trencin
		443  = { province_event = { id = emf_nomad.1443 } } # Nitra
		444  = { province_event = { id = emf_nomad.1444 } } # Esztergom
		445  = { province_event = { id = emf_nomad.1445 } } # Pressburg
		450  = { province_event = { id = emf_nomad.1450 } } # Sopron
		451  = { province_event = { id = emf_nomad.1451 } } # Fejer
		452  = { province_event = { id = emf_nomad.1452 } } # Pecs
		453  = { province_event = { id = emf_nomad.1453 } } # Szekezfehervar
		454  = { province_event = { id = emf_nomad.1454 } } # Vas
		511  = { province_event = { id = emf_nomad.1511 } } # Galaz
		512  = { province_event = { id = emf_nomad.1512 } } # Belgorod
		513  = { province_event = { id = emf_nomad.1513 } } # Birlad
		515  = { province_event = { id = emf_nomad.1515 } } # Tirgoviste
		516  = { province_event = { id = emf_nomad.1516 } } # Severin
		517  = { province_event = { id = emf_nomad.1517 } } # Temes
		518  = { province_event = { id = emf_nomad.1518 } } # Bacs
		519  = { province_event = { id = emf_nomad.1519 } } # Feher
		520  = { province_event = { id = emf_nomad.1520 } } # Bihar
		521  = { province_event = { id = emf_nomad.1521 } } # Csanad
		522  = { province_event = { id = emf_nomad.1522 } } # Pest
		523  = { province_event = { id = emf_nomad.1523 } } # Heves
		524  = { province_event = { id = emf_nomad.1524 } } # Gemer
		525  = { province_event = { id = emf_nomad.1525 } } # Orava
		533  = { province_event = { id = emf_nomad.1533 } } # Saris
		534  = { province_event = { id = emf_nomad.1534 } } # Peremyshl
		535  = { province_event = { id = emf_nomad.1535 } } # Vladimir Volynsky
		536  = { province_event = { id = emf_nomad.1536 } } # Galich
		537  = { province_event = { id = emf_nomad.1537 } } # Bereg
		538  = { province_event = { id = emf_nomad.1538 } } # Abauj
		539  = { province_event = { id = emf_nomad.1539 } } # Marmaros
		540  = { province_event = { id = emf_nomad.1540 } } # Szekelyfold
		541  = { province_event = { id = emf_nomad.1541 } } # Peresechen
		542  = { province_event = { id = emf_nomad.1542 } } # Olvia
		543  = { province_event = { id = emf_nomad.1543 } } # Oleshye
		544  = { province_event = { id = emf_nomad.1544 } } # Korsun
		545  = { province_event = { id = emf_nomad.1545 } } # Torki
		546  = { province_event = { id = emf_nomad.1546 } } # Terebovl
		547  = { province_event = { id = emf_nomad.1547 } } # Kiev
		548  = { province_event = { id = emf_nomad.1548 } } # Pinsk
		549  = { province_event = { id = emf_nomad.1549 } } # Beresty
		550  = { province_event = { id = emf_nomad.1550 } } # Minsk
		551  = { province_event = { id = emf_nomad.1551 } } # Mstislavl
		552  = { province_event = { id = emf_nomad.1552 } } # Turov
		553  = { province_event = { id = emf_nomad.1553 } } # Lyubech
		554  = { province_event = { id = emf_nomad.1554 } } # Chernigov
		555  = { province_event = { id = emf_nomad.1555 } } # Pereyaslavl
		556  = { province_event = { id = emf_nomad.1556 } } # Chortitza
		557  = { province_event = { id = emf_nomad.1557 } } # Lukomorie
		558  = { province_event = { id = emf_nomad.1558 } } # Lower Dniepr
		559  = { province_event = { id = emf_nomad.1559 } } # Crimea
		561  = { province_event = { id = emf_nomad.1561 } } # Theodosia
		562  = { province_event = { id = emf_nomad.1562 } } # Korchev
		563  = { province_event = { id = emf_nomad.1563 } } # Lower Don
		564  = { province_event = { id = emf_nomad.1564 } } # Desht-i-Kipchak
		565  = { province_event = { id = emf_nomad.1565 } } # Sharukan
		566  = { province_event = { id = emf_nomad.1566 } } # Sugrov
		567  = { province_event = { id = emf_nomad.1567 } } # Novgorod Seversky
		568  = { province_event = { id = emf_nomad.1568 } } # Smolensk
		569  = { province_event = { id = emf_nomad.1569 } } # Vyazma
		570  = { province_event = { id = emf_nomad.1570 } } # Tver
		571  = { province_event = { id = emf_nomad.1571 } } # Uglich
		572  = { province_event = { id = emf_nomad.1572 } } # Yaroslavl
		573  = { province_event = { id = emf_nomad.1573 } } # Pereyaslavl Zalessky
		574  = { province_event = { id = emf_nomad.1574 } } # Rostov
		575  = { province_event = { id = emf_nomad.1575 } } # Moskva
		576  = { province_event = { id = emf_nomad.1576 } } # Bryansk
		577  = { province_event = { id = emf_nomad.1577 } } # Pronsk
		578  = { province_event = { id = emf_nomad.1578 } } # Kolomna
		579  = { province_event = { id = emf_nomad.1579 } } # Mordva
		580  = { province_event = { id = emf_nomad.1580 } } # Ryazan
		581  = { province_event = { id = emf_nomad.1581 } } # Murom
		582  = { province_event = { id = emf_nomad.1582 } } # Vladimir
		583  = { province_event = { id = emf_nomad.1583 } } # Suzdal
		584  = { province_event = { id = emf_nomad.1584 } } # Nizhny Novgorod
		585  = { province_event = { id = emf_nomad.1585 } } # Gorodez
		586  = { province_event = { id = emf_nomad.1586 } } # Galich Mersky
		587  = { province_event = { id = emf_nomad.1587 } } # Mozhaysk
		588  = { province_event = { id = emf_nomad.1588 } } # Merya
		589  = { province_event = { id = emf_nomad.1589 } } # Grassland Cheremisa
		590  = { province_event = { id = emf_nomad.1590 } } # Chuvash
		591  = { province_event = { id = emf_nomad.1591 } } # Mountain Cheremisa
		592  = { province_event = { id = emf_nomad.1592 } } # Burtasy
		593  = { province_event = { id = emf_nomad.1593 } } # Khopyor
		594  = { province_event = { id = emf_nomad.1594 } } # Sarkel
		595  = { province_event = { id = emf_nomad.1595 } } # Don portage
		596  = { province_event = { id = emf_nomad.1596 } } # Tana
		597  = { province_event = { id = emf_nomad.1597 } } # Azov
		598  = { province_event = { id = emf_nomad.1598 } } # Tmutarakan
		599  = { province_event = { id = emf_nomad.1599 } } # Kuban
		602  = { province_event = { id = emf_nomad.1602 } } # Kasogs
		603  = { province_event = { id = emf_nomad.1603 } } # Alania
		604  = { province_event = { id = emf_nomad.1604 } } # Kuma
		605  = { province_event = { id = emf_nomad.1605 } } # Manych
		606  = { province_event = { id = emf_nomad.1606 } } # Yegorlyk
		607  = { province_event = { id = emf_nomad.1607 } } # Sarpa
		608  = { province_event = { id = emf_nomad.1608 } } # Lower Volga
		609  = { province_event = { id = emf_nomad.1609 } } # Syrt
		610  = { province_event = { id = emf_nomad.1610 } } # Bulgar
		611  = { province_event = { id = emf_nomad.1611 } } # Qazan
		612  = { province_event = { id = emf_nomad.1612 } } # Votyaki
		613  = { province_event = { id = emf_nomad.1613 } } # Bilyar
		614  = { province_event = { id = emf_nomad.1614 } } # Southern Ural
		615  = { province_event = { id = emf_nomad.1615 } } # Bashkirs
		617  = { province_event = { id = emf_nomad.1617 } } # Uzens
		618  = { province_event = { id = emf_nomad.1618 } } # Guryev
		619  = { province_event = { id = emf_nomad.1619 } } # Saray
		620  = { province_event = { id = emf_nomad.1620 } } # Itil
		621  = { province_event = { id = emf_nomad.1621 } } # Emba
		622  = { province_event = { id = emf_nomad.1622 } } # Khwarizm
		623  = { province_event = { id = emf_nomad.1623 } } # Aral
		624  = { province_event = { id = emf_nomad.1624 } } # Mangyshlak
		625  = { province_event = { id = emf_nomad.1625 } } # Usturt
		675  = { province_event = { id = emf_nomad.1675 } } # Semender
		850  = { province_event = { id = emf_nomad.1850 } } # Kandalax
		886  = { province_event = { id = emf_nomad.1886 } } # Perm
		887  = { province_event = { id = emf_nomad.1887 } } # Yamalia
		888  = { province_event = { id = emf_nomad.1888 } } # Komi
		889  = { province_event = { id = emf_nomad.1889 } } # Ural
		890  = { province_event = { id = emf_nomad.1890 } } # Khantia
		891  = { province_event = { id = emf_nomad.1891 } } # Tyumen
		892  = { province_event = { id = emf_nomad.1892 } } # Tobol
		893  = { province_event = { id = emf_nomad.1893 } } # Sibir
		895  = { province_event = { id = emf_nomad.1895 } } # Pecheneg
		896  = { province_event = { id = emf_nomad.1896 } } # Aqtobe
		897  = { province_event = { id = emf_nomad.1897 } } # Inder
		898  = { province_event = { id = emf_nomad.1898 } } # Yaik
		900  = { province_event = { id = emf_nomad.1900 } } # Kyzylorda
		901  = { province_event = { id = emf_nomad.1901 } } # Kyzylkum
		924  = { province_event = { id = emf_nomad.1924 } } # Kama
		933  = { province_event = { id = emf_nomad.1933 } } # Roslavl
		934  = { province_event = { id = emf_nomad.1934 } } # Lepiel
		1132 = { province_event = { id = emf_nomad.2132 } } # Kirghiz
		1186 = { province_event = { id = emf_nomad.2186 } } # Chach
		1205 = { province_event = { id = emf_nomad.2205 } } # Narim
		1223 = { province_event = { id = emf_nomad.2223 } } # Mansia
		1273 = { province_event = { id = emf_nomad.2273 } } # Turgay
		1306 = { province_event = { id = emf_nomad.2306 } } # Tura
		1329 = { province_event = { id = emf_nomad.2329 } } # Ket
		1423 = { province_event = { id = emf_nomad.2423 } } # Fergana
		1424 = { province_event = { id = emf_nomad.2424 } } # Chuy
		1425 = { province_event = { id = emf_nomad.2425 } } # Ili
		1426 = { province_event = { id = emf_nomad.2426 } } # Zhetysu
		1427 = { province_event = { id = emf_nomad.2427 } } # Urzhar
		1430 = { province_event = { id = emf_nomad.2430 } } # Kipchak
		1431 = { province_event = { id = emf_nomad.2431 } } # Otrar
		1432 = { province_event = { id = emf_nomad.2432 } } # Karluk
		1433 = { province_event = { id = emf_nomad.2433 } } # Kazakh
		1434 = { province_event = { id = emf_nomad.2434 } } # Balkhash
		1435 = { province_event = { id = emf_nomad.2435 } } # Kimak
		1451 = { province_event = { id = emf_nomad.2451 } } # Altay
		1452 = { province_event = { id = emf_nomad.2452 } } # Dunkheger
		1453 = { province_event = { id = emf_nomad.2453 } } # Aj Bogd
		1454 = { province_event = { id = emf_nomad.2454 } } # Muztau
		1455 = { province_event = { id = emf_nomad.2455 } } # Tsagaannuur
		1456 = { province_event = { id = emf_nomad.2456 } } # Ikh Bogd
		1457 = { province_event = { id = emf_nomad.2457 } } # Kara Khorum
		1458 = { province_event = { id = emf_nomad.2458 } } # Khangai
		1459 = { province_event = { id = emf_nomad.2459 } } # Kyzyl
		1460 = { province_event = { id = emf_nomad.2460 } } # Baygal
		1461 = { province_event = { id = emf_nomad.2461 } } # Otuken
		1462 = { province_event = { id = emf_nomad.2462 } } # Gorgol
		1463 = { province_event = { id = emf_nomad.2463 } } # Erchis
		1486 = { province_event = { id = emf_nomad.2486 } } # Ishim
	}
}


# emf_nomad.1387 [387 - Kola]
province_event = {
	id = emf_nomad.1387
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = lappish religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = lappish
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(387, '[Root.GetName]') => tribal / lappish / finnish_pagan"
	}
}


# emf_nomad.1388 [388 - Karelen]
province_event = {
	id = emf_nomad.1388
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(388, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = finnish religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = finnish
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(388, '[Root.GetName]') => tribal / finnish / orthodox"
	}
}


# emf_nomad.1392 [392 - Kexholm]
province_event = {
	id = emf_nomad.1392
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1292 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(392, '[Root.GetName]') => temple / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = finnish religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = finnish
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(392, '[Root.GetName]') => temple / finnish / catholic"
	}
}


# emf_nomad.1393 [393 - Onega]
province_event = {
	id = emf_nomad.1393
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(393, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = finnish religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = finnish
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(393, '[Root.GetName]') => tribal / finnish / orthodox"
	}
}


# emf_nomad.1394 [394 - Trans-portage]
province_event = {
	id = emf_nomad.1394
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = finnish religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = finnish
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(394, '[Root.GetName]') => tribal / finnish / finnish_pagan"
	}
}


# emf_nomad.1395 [395 - North Dvina]
province_event = {
	id = emf_nomad.1395
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = samoyed religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = samoyed
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(395, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
	}
}


# emf_nomad.1396 [396 - Bjarmia]
province_event = {
	id = emf_nomad.1396
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = samoyed religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = samoyed
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(396, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
	}
}


# emf_nomad.1397 [397 - Samoyeds]
province_event = {
	id = emf_nomad.1397
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = samoyed religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = samoyed
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(397, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
	}
}


# emf_nomad.1398 [398 - Ugra]
province_event = {
	id = emf_nomad.1398
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = samoyed religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = samoyed
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(398, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
	}
}


# emf_nomad.1399 [399 - Syrj]
province_event = {
	id = emf_nomad.1399
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = samoyed religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = samoyed
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(399, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
	}
}


# emf_nomad.1400 [400 - Zyriane]
province_event = {
	id = emf_nomad.1400
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = samoyed religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = samoyed
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(400, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
	}
}


# emf_nomad.1401 [401 - Hlynov]
province_event = {
	id = emf_nomad.1401
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1181 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(401, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(401, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1402 [402 - Veliky Ustug]
province_event = {
	id = emf_nomad.1402
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1207 } }
			if = {
				limit = { culture = samoyed religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = samoyed
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(402, '[Root.GetName]') => tribal / samoyed / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(402, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1403 [403 - Romny]
province_event = {
	id = emf_nomad.1403
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(403, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = finnish religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = finnish
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(403, '[Root.GetName]') => tribal / finnish / orthodox"
	}
}


# emf_nomad.1404 [404 - Zaozerye]
province_event = {
	id = emf_nomad.1404
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(404, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = finnish religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = finnish
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(404, '[Root.GetName]') => temple / finnish / orthodox"
	}
}


# emf_nomad.1405 [405 - Chud]
province_event = {
	id = emf_nomad.1405
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(405, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = finnish religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = finnish
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(405, '[Root.GetName]') => tribal / finnish / orthodox"
	}
}


# emf_nomad.1406 [406 - Vologda]
province_event = {
	id = emf_nomad.1406
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(406, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(406, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1407 [407 - Kostroma]
province_event = {
	id = emf_nomad.1407
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(407, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(407, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1408 [408 - Beloozero]
province_event = {
	id = emf_nomad.1408
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = finnish religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = finnish
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(408, '[Root.GetName]') => tribal / finnish / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(408, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(408, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1409 [409 - Bezhetsky Verh]
province_event = {
	id = emf_nomad.1409
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(409, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(409, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(409, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1410 [410 - Toropets]
province_event = {
	id = emf_nomad.1410
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(410, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(410, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(410, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1411 [411 - Vodi]
province_event = {
	id = emf_nomad.1411
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = ugricbaltic religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ugricbaltic
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(411, '[Root.GetName]') => tribal / ugricbaltic / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = ugricbaltic religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = ugricbaltic
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(411, '[Root.GetName]') => tribal / ugricbaltic / orthodox"
	}
}


# emf_nomad.1412 [412 - Torzhok]
province_event = {
	id = emf_nomad.1412
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(412, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(412, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(412, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1413 [413 - Pskov]
province_event = {
	id = emf_nomad.1413
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ugricbaltic religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ugricbaltic
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(413, '[Root.GetName]') => tribal / ugricbaltic / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(413, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(413, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1414 [414 - Novgorod]
province_event = {
	id = emf_nomad.1414
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(414, '[Root.GetName]') => temple / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(414, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(414, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1415 [415 - Velikiye Luki]
province_event = {
	id = emf_nomad.1415
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 945 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(415, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1020 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(415, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(415, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(415, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1416 [416 - West Dvina]
province_event = {
	id = emf_nomad.1416
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1202 } }
			if = {
				limit = { culture = lettigallish religion = baltic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = lettigallish
			religion = baltic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(416, '[Root.GetName]') => tribal / lettigallish / baltic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1290 } }
			if = {
				limit = { culture = lettigallish religion = baltic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = lettigallish
			religion = baltic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(416, '[Root.GetName]') => temple / lettigallish / baltic_pagan"
			break = yes
		}
		if = {
			limit = { culture = lettigallish religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = lettigallish
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(416, '[Root.GetName]') => temple / lettigallish / catholic"
	}
}


# emf_nomad.1417 [417 - Vitebsk]
province_event = {
	id = emf_nomad.1417
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 945 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(417, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1020 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(417, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(417, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(417, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1418 [418 - Orsha]
province_event = {
	id = emf_nomad.1418
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(418, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(418, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(418, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1419 [419 - Polotsk]
province_event = {
	id = emf_nomad.1419
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(419, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(419, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1150 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(419, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(419, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1425 [425 - Podlasie]
province_event = {
	id = emf_nomad.1425
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = lithuanian religion = baltic_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = lithuanian
		religion = baltic_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(425, '[Root.GetName]') => temple / lithuanian / baltic_pagan"
	}
}


# emf_nomad.1442 [442 - Trencin]
province_event = {
	id = emf_nomad.1442
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = bohemian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bohemian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(442, '[Root.GetName]') => tribal / bohemian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bohemian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bohemian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(442, '[Root.GetName]') => tribal / bohemian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(442, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(442, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1443 [443 - Nitra]
province_event = {
	id = emf_nomad.1443
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = bohemian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bohemian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(443, '[Root.GetName]') => tribal / bohemian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bohemian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bohemian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(443, '[Root.GetName]') => tribal / bohemian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(443, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(443, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1444 [444 - Esztergom]
province_event = {
	id = emf_nomad.1444
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(444, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bohemian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = bohemian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(444, '[Root.GetName]') => temple / bohemian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(444, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(444, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1445 [445 - Pressburg]
province_event = {
	id = emf_nomad.1445
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = bohemian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = bohemian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(445, '[Root.GetName]') => temple / bohemian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bohemian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = bohemian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(445, '[Root.GetName]') => temple / bohemian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(445, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(445, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1450 [450 - Sopron]
province_event = {
	id = emf_nomad.1450
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = croatian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = croatian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(450, '[Root.GetName]') => tribal / croatian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = croatian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = croatian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(450, '[Root.GetName]') => temple / croatian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(450, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(450, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1451 [451 - Fejer]
province_event = {
	id = emf_nomad.1451
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(451, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(451, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(451, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1452 [452 - Pecs]
province_event = {
	id = emf_nomad.1452
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(452, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(452, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(452, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(452, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1453 [453 - Szekezfehervar]
province_event = {
	id = emf_nomad.1453
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(453, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(453, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(453, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(453, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1454 [454 - Vas]
province_event = {
	id = emf_nomad.1454
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = croatian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = croatian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(454, '[Root.GetName]') => tribal / croatian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = croatian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = croatian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(454, '[Root.GetName]') => temple / croatian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(454, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(454, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1511 [511 - Galaz]
province_event = {
	id = emf_nomad.1511
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = romanian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = romanian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(511, '[Root.GetName]') => tribal / romanian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = romanian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = romanian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(511, '[Root.GetName]') => temple / romanian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(511, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1512 [512 - Belgorod]
province_event = {
	id = emf_nomad.1512
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = romanian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = romanian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(512, '[Root.GetName]') => tribal / romanian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = pecheneg religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(512, '[Root.GetName]') => temple / pecheneg / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = pecheneg religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = orthodox
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(512, '[Root.GetName]') => temple / pecheneg / orthodox"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(512, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1513 [513 - Birlad]
province_event = {
	id = emf_nomad.1513
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = romanian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = romanian
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(513, '[Root.GetName]') => temple / romanian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = romanian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = romanian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(513, '[Root.GetName]') => temple / romanian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(513, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1515 [515 - Tirgoviste]
province_event = {
	id = emf_nomad.1515
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = romanian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = romanian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(515, '[Root.GetName]') => tribal / romanian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = romanian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = romanian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(515, '[Root.GetName]') => temple / romanian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(515, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1516 [516 - Severin]
province_event = {
	id = emf_nomad.1516
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = romanian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = romanian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(516, '[Root.GetName]') => tribal / romanian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = romanian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = romanian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(516, '[Root.GetName]') => temple / romanian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(516, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1517 [517 - Temes]
province_event = {
	id = emf_nomad.1517
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 790 } }
			if = {
				limit = { culture = gepidae religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = gepidae
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(517, '[Root.GetName]') => tribal / gepidae / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 890 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(517, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 950 } }
			if = {
				limit = { culture = avar religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(517, '[Root.GetName]') => tribal / avar / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(517, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(517, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1518 [518 - Bacs]
province_event = {
	id = emf_nomad.1518
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(518, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(518, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(518, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(518, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1519 [519 - Feher]
province_event = {
	id = emf_nomad.1519
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(519, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = romanian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = romanian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(519, '[Root.GetName]') => temple / romanian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(519, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1520 [520 - Bihar]
province_event = {
	id = emf_nomad.1520
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(520, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(520, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(520, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1521 [521 - Csanad]
province_event = {
	id = emf_nomad.1521
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(521, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(521, '[Root.GetName]') => tribal / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(521, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1522 [522 - Pest]
province_event = {
	id = emf_nomad.1522
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 890 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(522, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 950 } }
			if = {
				limit = { culture = avar religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(522, '[Root.GetName]') => temple / avar / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(522, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(522, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1523 [523 - Heves]
province_event = {
	id = emf_nomad.1523
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(523, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(523, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(523, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1524 [524 - Gemer]
province_event = {
	id = emf_nomad.1524
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = bohemian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bohemian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(524, '[Root.GetName]') => tribal / bohemian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bohemian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bohemian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(524, '[Root.GetName]') => tribal / bohemian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(524, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(524, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1525 [525 - Orava]
province_event = {
	id = emf_nomad.1525
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bohemian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = bohemian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(525, '[Root.GetName]') => temple / bohemian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(525, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(525, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1533 [533 - Saris]
province_event = {
	id = emf_nomad.1533
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = croatian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = croatian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(533, '[Root.GetName]') => tribal / croatian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(533, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(533, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1534 [534 - Peremyshl]
province_event = {
	id = emf_nomad.1534
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(534, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(534, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(534, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1535 [535 - Vladimir Volynsky]
province_event = {
	id = emf_nomad.1535
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(535, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(535, '[Root.GetName]') => temple / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(535, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1536 [536 - Galich]
province_event = {
	id = emf_nomad.1536
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(536, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(536, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(536, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1537 [537 - Bereg]
province_event = {
	id = emf_nomad.1537
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = croatian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = croatian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(537, '[Root.GetName]') => tribal / croatian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(537, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(537, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1538 [538 - Abauj]
province_event = {
	id = emf_nomad.1538
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = croatian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = croatian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(538, '[Root.GetName]') => temple / croatian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = croatian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = croatian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(538, '[Root.GetName]') => temple / croatian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(538, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(538, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1539 [539 - Marmaros]
province_event = {
	id = emf_nomad.1539
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(539, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(539, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(539, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(539, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1540 [540 - Szekelyfold]
province_event = {
	id = emf_nomad.1540
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(540, '[Root.GetName]') => tribal / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = avar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = avar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(540, '[Root.GetName]') => temple / avar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = hungarian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = hungarian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(540, '[Root.GetName]') => temple / hungarian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = hungarian religion = catholic }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = hungarian
		religion = catholic
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(540, '[Root.GetName]') => temple / hungarian / catholic"
	}
}


# emf_nomad.1541 [541 - Peresechen]
province_event = {
	id = emf_nomad.1541
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = hungarian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(541, '[Root.GetName]') => tribal / hungarian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 892 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(541, '[Root.GetName]') => temple / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = pecheneg religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = pecheneg
		religion = tengri_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(541, '[Root.GetName]') => temple / pecheneg / tengri_pagan"
	}
}


# emf_nomad.1542 [542 - Olvia]
province_event = {
	id = emf_nomad.1542
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = romanian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = romanian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(542, '[Root.GetName]') => tribal / romanian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1171 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(542, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(542, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = romanian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = romanian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(542, '[Root.GetName]') => temple / romanian / orthodox"
	}
}


# emf_nomad.1543 [543 - Oleshye]
province_event = {
	id = emf_nomad.1543
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(543, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1091 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(543, '[Root.GetName]') => temple / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(543, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(543, '[Root.GetName]') => temple / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(543, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1544 [544 - Korsun]
province_event = {
	id = emf_nomad.1544
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(544, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = pecheneg religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(544, '[Root.GetName]') => temple / pecheneg / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1091 } }
			if = {
				limit = { culture = pecheneg religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = orthodox
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(544, '[Root.GetName]') => temple / pecheneg / orthodox"
			break = yes
		}
		if = {
			limit = { culture = cuman religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = cuman
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(544, '[Root.GetName]') => temple / cuman / orthodox"
	}
}


# emf_nomad.1545 [545 - Torki]
province_event = {
	id = emf_nomad.1545
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(545, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(545, '[Root.GetName]') => temple / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(545, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(545, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1546 [546 - Terebovl]
province_event = {
	id = emf_nomad.1546
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(546, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(546, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(546, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1547 [547 - Kiev]
province_event = {
	id = emf_nomad.1547
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(547, '[Root.GetName]') => temple / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(547, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(547, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1548 [548 - Pinsk]
province_event = {
	id = emf_nomad.1548
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(548, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(548, '[Root.GetName]') => temple / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(548, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1549 [549 - Beresty]
province_event = {
	id = emf_nomad.1549
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(549, '[Root.GetName]') => tribal / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(549, '[Root.GetName]') => temple / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(549, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1550 [550 - Minsk]
province_event = {
	id = emf_nomad.1550
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 945 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(550, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1020 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(550, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(550, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(550, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1551 [551 - Mstislavl]
province_event = {
	id = emf_nomad.1551
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(551, '[Root.GetName]') => tribal / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(551, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(551, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1552 [552 - Turov]
province_event = {
	id = emf_nomad.1552
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = volhynian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = volhynian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(552, '[Root.GetName]') => temple / volhynian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(552, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(552, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1553 [553 - Lyubech]
province_event = {
	id = emf_nomad.1553
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(553, '[Root.GetName]') => tribal / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(553, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(553, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1554 [554 - Chernigov]
province_event = {
	id = emf_nomad.1554
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 945 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(554, '[Root.GetName]') => tribal / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 988 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(554, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(554, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(554, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1555 [555 - Pereyaslavl]
province_event = {
	id = emf_nomad.1555
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(555, '[Root.GetName]') => tribal / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(555, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(555, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(555, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1556 [556 - Chortitza]
province_event = {
	id = emf_nomad.1556
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(556, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(556, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = pecheneg religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(556, '[Root.GetName]') => tribal / pecheneg / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(556, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1557 [557 - Lukomorie]
province_event = {
	id = emf_nomad.1557
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(557, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(557, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(557, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = pecheneg religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(557, '[Root.GetName]') => tribal / pecheneg / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(557, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1558 [558 - Lower Dniepr]
province_event = {
	id = emf_nomad.1558
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(558, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(558, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(558, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = pecheneg religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(558, '[Root.GetName]') => tribal / pecheneg / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(558, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1559 [559 - Crimea]
province_event = {
	id = emf_nomad.1559
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 900 } }
			if = {
				limit = { culture = old_gothic religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = old_gothic
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(559, '[Root.GetName]') => temple / old_gothic / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(559, '[Root.GetName]') => temple / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1160 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(559, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1200 } }
			if = {
				limit = { culture = old_gothic religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = old_gothic
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(559, '[Root.GetName]') => temple / old_gothic / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(559, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(559, '[Root.GetName]') => temple / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(559, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1561 [561 - Theodosia]
province_event = {
	id = emf_nomad.1561
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = old_gothic religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = old_gothic
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(561, '[Root.GetName]') => tribal / old_gothic / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = old_gothic religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = old_gothic
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(561, '[Root.GetName]') => temple / old_gothic / orthodox"
	}
}


# emf_nomad.1562 [562 - Korchev]
province_event = {
	id = emf_nomad.1562
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = old_gothic religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = old_gothic
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(562, '[Root.GetName]') => temple / old_gothic / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = old_gothic religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = old_gothic
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(562, '[Root.GetName]') => temple / old_gothic / orthodox"
	}
}


# emf_nomad.1563 [563 - Lower Don]
province_event = {
	id = emf_nomad.1563
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(563, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(563, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(563, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = pecheneg religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(563, '[Root.GetName]') => tribal / pecheneg / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(563, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1564 [564 - Desht-i-Kipchak]
province_event = {
	id = emf_nomad.1564
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(564, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(564, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(564, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1565 [565 - Sharukan]
province_event = {
	id = emf_nomad.1565
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(565, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(565, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(565, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(565, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1566 [566 - Sugrov]
province_event = {
	id = emf_nomad.1566
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = hungarian religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = hungarian
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(566, '[Root.GetName]') => tribal / hungarian / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(566, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(566, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(566, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1567 [567 - Novgorod Seversky]
province_event = {
	id = emf_nomad.1567
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(567, '[Root.GetName]') => tribal / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(567, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(567, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1568 [568 - Smolensk]
province_event = {
	id = emf_nomad.1568
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(568, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1128 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(568, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(568, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1569 [569 - Vyazma]
province_event = {
	id = emf_nomad.1569
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(569, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1128 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(569, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(569, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1570 [570 - Tver]
province_event = {
	id = emf_nomad.1570
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(570, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(570, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1135 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(570, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(570, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1571 [571 - Uglich]
province_event = {
	id = emf_nomad.1571
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(571, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(571, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1200 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(571, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(571, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1572 [572 - Yaroslavl]
province_event = {
	id = emf_nomad.1572
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(572, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(572, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1200 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(572, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(572, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1573 [573 - Pereyaslavl Zalessky]
province_event = {
	id = emf_nomad.1573
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(573, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(573, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(573, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1574 [574 - Rostov]
province_event = {
	id = emf_nomad.1574
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(574, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(574, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1156 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(574, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(574, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1575 [575 - Moskva]
province_event = {
	id = emf_nomad.1575
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(575, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(575, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(575, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1576 [576 - Bryansk]
province_event = {
	id = emf_nomad.1576
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(576, '[Root.GetName]') => temple / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(576, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(576, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1577 [577 - Pronsk]
province_event = {
	id = emf_nomad.1577
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(577, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(577, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1578 [578 - Kolomna]
province_event = {
	id = emf_nomad.1578
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(578, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(578, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(578, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(578, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1579 [579 - Mordva]
province_event = {
	id = emf_nomad.1579
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = mordvin religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mordvin
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(579, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
	}
}


# emf_nomad.1580 [580 - Ryazan]
province_event = {
	id = emf_nomad.1580
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(580, '[Root.GetName]') => temple / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(580, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(580, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1581 [581 - Murom]
province_event = {
	id = emf_nomad.1581
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(581, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(581, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(581, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(581, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1582 [582 - Vladimir]
province_event = {
	id = emf_nomad.1582
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(582, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1299 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(582, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(582, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1583 [583 - Suzdal]
province_event = {
	id = emf_nomad.1583
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(583, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(583, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(583, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1584 [584 - Nizhny Novgorod]
province_event = {
	id = emf_nomad.1584
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(584, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(584, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1200 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(584, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(584, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1585 [585 - Gorodez]
province_event = {
	id = emf_nomad.1585
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(585, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(585, '[Root.GetName]') => temple / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(585, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1586 [586 - Galich Mersky]
province_event = {
	id = emf_nomad.1586
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(586, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(586, '[Root.GetName]') => temple / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(586, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1587 [587 - Mozhaysk]
province_event = {
	id = emf_nomad.1587
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(587, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(587, '[Root.GetName]') => temple / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(587, '[Root.GetName]') => temple / russian / orthodox"
	}
}


# emf_nomad.1588 [588 - Merya]
province_event = {
	id = emf_nomad.1588
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = mordvin religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mordvin
		religion = finnish_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(588, '[Root.GetName]') => temple / mordvin / finnish_pagan"
	}
}


# emf_nomad.1589 [589 - Grassland Cheremisa]
province_event = {
	id = emf_nomad.1589
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = mordvin religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mordvin
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(589, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
	}
}


# emf_nomad.1590 [590 - Chuvash]
province_event = {
	id = emf_nomad.1590
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(590, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = mordvin religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mordvin
		religion = finnish_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(590, '[Root.GetName]') => temple / mordvin / finnish_pagan"
	}
}


# emf_nomad.1591 [591 - Mountain Cheremisa]
province_event = {
	id = emf_nomad.1591
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = mordvin religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mordvin
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(591, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
	}
}


# emf_nomad.1592 [592 - Burtasy]
province_event = {
	id = emf_nomad.1592
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(592, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = mordvin religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mordvin
		religion = finnish_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(592, '[Root.GetName]') => temple / mordvin / finnish_pagan"
	}
}


# emf_nomad.1593 [593 - Khopyor]
province_event = {
	id = emf_nomad.1593
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = mordvin religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mordvin
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(593, '[Root.GetName]') => tribal / mordvin / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(593, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = pecheneg religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(593, '[Root.GetName]') => tribal / pecheneg / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(593, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1594 [594 - Sarkel]
province_event = {
	id = emf_nomad.1594
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(594, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(594, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(594, '[Root.GetName]') => tribal / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(594, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1595 [595 - Don portage]
province_event = {
	id = emf_nomad.1595
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(595, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(595, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(595, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(595, '[Root.GetName]') => tribal / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(595, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1596 [596 - Tana]
province_event = {
	id = emf_nomad.1596
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(596, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(596, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(596, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1597 [597 - Azov]
province_event = {
	id = emf_nomad.1597
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(597, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(597, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(597, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1598 [598 - Tmutarakan]
province_event = {
	id = emf_nomad.1598
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(598, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1117 } }
			if = {
				limit = { culture = russian religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(598, '[Root.GetName]') => tribal / russian / orthodox"
			break = yes
		}
		if = {
			limit = { not = { year = 1214 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(598, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = cuman religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = cuman
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(598, '[Root.GetName]') => tribal / cuman / orthodox"
	}
}


# emf_nomad.1599 [599 - Kuban]
province_event = {
	id = emf_nomad.1599
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(599, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(599, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(599, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1602 [602 - Kasogs]
province_event = {
	id = emf_nomad.1602
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = alan religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(602, '[Root.GetName]') => tribal / alan / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = alan religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(602, '[Root.GetName]') => tribal / alan / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = alan religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(602, '[Root.GetName]') => tribal / alan / orthodox"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(602, '[Root.GetName]') => tribal / mongol / orthodox"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(602, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1603 [603 - Alania]
province_event = {
	id = emf_nomad.1603
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = alan religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = alan
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(603, '[Root.GetName]') => temple / alan / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = alan religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = alan
			religion = chalcedonian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(603, '[Root.GetName]') => temple / alan / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = alan religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = alan
		religion = orthodox
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(603, '[Root.GetName]') => temple / alan / orthodox"
	}
}


# emf_nomad.1604 [604 - Kuma]
province_event = {
	id = emf_nomad.1604
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = alan religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(604, '[Root.GetName]') => tribal / alan / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = alan religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(604, '[Root.GetName]') => tribal / alan / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = alan religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(604, '[Root.GetName]') => tribal / alan / orthodox"
			break = yes
		}
		if = {
			limit = { culture = alan religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = alan
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(604, '[Root.GetName]') => tribal / alan / sunni"
	}
}


# emf_nomad.1605 [605 - Manych]
province_event = {
	id = emf_nomad.1605
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = alan religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(605, '[Root.GetName]') => tribal / alan / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = alan religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(605, '[Root.GetName]') => tribal / alan / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = alan religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(605, '[Root.GetName]') => tribal / alan / orthodox"
			break = yes
		}
		if = {
			limit = { culture = alan religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = alan
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(605, '[Root.GetName]') => tribal / alan / sunni"
	}
}


# emf_nomad.1606 [606 - Yegorlyk]
province_event = {
	id = emf_nomad.1606
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = alan religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(606, '[Root.GetName]') => tribal / alan / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = alan religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(606, '[Root.GetName]') => tribal / alan / chalcedonian"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = alan religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(606, '[Root.GetName]') => tribal / alan / orthodox"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = orthodox }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = orthodox
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(606, '[Root.GetName]') => tribal / mongol / orthodox"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(606, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1607 [607 - Sarpa]
province_event = {
	id = emf_nomad.1607
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(607, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1238 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(607, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(607, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1608 [608 - Lower Volga]
province_event = {
	id = emf_nomad.1608
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(608, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(608, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1200 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(608, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(608, '[Root.GetName]') => tribal / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(608, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1609 [609 - Syrt]
province_event = {
	id = emf_nomad.1609
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(609, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(609, '[Root.GetName]') => tribal / bolghar / sunni"
	}
}


# emf_nomad.1610 [610 - Bulgar]
province_event = {
	id = emf_nomad.1610
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(610, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(610, '[Root.GetName]') => temple / bolghar / sunni"
	}
}


# emf_nomad.1611 [611 - Qazan]
province_event = {
	id = emf_nomad.1611
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(611, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(611, '[Root.GetName]') => tribal / bolghar / sunni"
	}
}


# emf_nomad.1612 [612 - Votyaki]
province_event = {
	id = emf_nomad.1612
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = komi religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = komi
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(612, '[Root.GetName]') => tribal / komi / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = komi religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = komi
		religion = finnish_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(612, '[Root.GetName]') => temple / komi / finnish_pagan"
	}
}


# emf_nomad.1613 [613 - Bilyar]
province_event = {
	id = emf_nomad.1613
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(613, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(613, '[Root.GetName]') => tribal / bolghar / sunni"
	}
}


# emf_nomad.1614 [614 - Southern Ural]
province_event = {
	id = emf_nomad.1614
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(614, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(614, '[Root.GetName]') => tribal / bolghar / sunni"
	}
}


# emf_nomad.1615 [615 - Bashkirs]
province_event = {
	id = emf_nomad.1615
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(615, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(615, '[Root.GetName]') => tribal / bolghar / sunni"
	}
}


# emf_nomad.1617 [617 - Uzens]
province_event = {
	id = emf_nomad.1617
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(617, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(617, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(617, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(617, '[Root.GetName]') => tribal / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(617, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1618 [618 - Guryev]
province_event = {
	id = emf_nomad.1618
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(618, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(618, '[Root.GetName]') => tribal / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(618, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1619 [619 - Saray]
province_event = {
	id = emf_nomad.1619
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(619, '[Root.GetName]') => tribal / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(619, '[Root.GetName]') => tribal / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(619, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1620 [620 - Itil]
province_event = {
	id = emf_nomad.1620
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = khazar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = khazar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(620, '[Root.GetName]') => temple / khazar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1089 } }
			if = {
				limit = { culture = khazar religion = jewish }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = khazar
			religion = jewish
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(620, '[Root.GetName]') => temple / khazar / jewish"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khazar religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = khazar
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(620, '[Root.GetName]') => temple / khazar / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(620, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1621 [621 - Emba]
province_event = {
	id = emf_nomad.1621
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(621, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1221 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(621, '[Root.GetName]') => temple / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(621, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1622 [622 - Khwarizm]
province_event = {
	id = emf_nomad.1622
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = zoroastrian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = zoroastrian
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(622, '[Root.GetName]') => temple / turkish / zoroastrian"
			break = yes
		}
		if = {
			limit = { not = { year = 1337 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(622, '[Root.GetName]') => temple / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(622, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1623 [623 - Aral]
province_event = {
	id = emf_nomad.1623
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(623, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1221 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(623, '[Root.GetName]') => temple / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(623, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1624 [624 - Mangyshlak]
province_event = {
	id = emf_nomad.1624
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1187 } }
			if = {
				limit = { culture = turkish religion = zoroastrian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = zoroastrian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(624, '[Root.GetName]') => tribal / turkish / zoroastrian"
			break = yes
		}
		if = {
			limit = { culture = turkish religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = turkish
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(624, '[Root.GetName]') => tribal / turkish / sunni"
	}
}


# emf_nomad.1625 [625 - Usturt]
province_event = {
	id = emf_nomad.1625
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1221 } }
			if = {
				limit = { culture = turkish religion = zoroastrian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = zoroastrian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(625, '[Root.GetName]') => tribal / turkish / zoroastrian"
			break = yes
		}
		if = {
			limit = { culture = turkish religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = turkish
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(625, '[Root.GetName]') => tribal / turkish / sunni"
	}
}


# emf_nomad.1675 [675 - Semender]
province_event = {
	id = emf_nomad.1675
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = alan religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = alan
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(675, '[Root.GetName]') => tribal / alan / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = alan religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = alan
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(675, '[Root.GetName]') => temple / alan / sunni"
	}
}


# emf_nomad.1850 [850 - Kandalax]
province_event = {
	id = emf_nomad.1850
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = lappish religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = lappish
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(850, '[Root.GetName]') => tribal / lappish / finnish_pagan"
	}
}


# emf_nomad.1886 [886 - Perm]
province_event = {
	id = emf_nomad.1886
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = komi religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = komi
		religion = finnish_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(886, '[Root.GetName]') => temple / komi / finnish_pagan"
	}
}


# emf_nomad.1887 [887 - Yamalia]
province_event = {
	id = emf_nomad.1887
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = khanty religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = khanty
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(887, '[Root.GetName]') => tribal / khanty / finnish_pagan"
	}
}


# emf_nomad.1888 [888 - Komi]
province_event = {
	id = emf_nomad.1888
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = komi religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = komi
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(888, '[Root.GetName]') => tribal / komi / finnish_pagan"
	}
}


# emf_nomad.1889 [889 - Ural]
province_event = {
	id = emf_nomad.1889
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = komi religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = komi
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(889, '[Root.GetName]') => tribal / komi / finnish_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(889, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.1890 [890 - Khantia]
province_event = {
	id = emf_nomad.1890
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = khanty religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = khanty
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(890, '[Root.GetName]') => tribal / khanty / finnish_pagan"
	}
}


# emf_nomad.1891 [891 - Tyumen]
province_event = {
	id = emf_nomad.1891
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(891, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(891, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(891, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1892 [892 - Tobol]
province_event = {
	id = emf_nomad.1892
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(892, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1218 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(892, '[Root.GetName]') => temple / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(892, '[Root.GetName]') => temple / mongol / tengri_pagan"
	}
}


# emf_nomad.1893 [893 - Sibir]
province_event = {
	id = emf_nomad.1893
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = khanty religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = khanty
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(893, '[Root.GetName]') => tribal / khanty / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1257 } }
			if = {
				limit = { culture = mongol religion = finnish_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = finnish_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(893, '[Root.GetName]') => tribal / mongol / finnish_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(893, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(893, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1895 [895 - Pecheneg]
province_event = {
	id = emf_nomad.1895
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(895, '[Root.GetName]') => tribal / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = pecheneg religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(895, '[Root.GetName]') => tribal / pecheneg / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(895, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(895, '[Root.GetName]') => tribal / cuman / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(895, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1896 [896 - Aqtobe]
province_event = {
	id = emf_nomad.1896
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(896, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(896, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1218 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(896, '[Root.GetName]') => tribal / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(896, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1897 [897 - Inder]
province_event = {
	id = emf_nomad.1897
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(897, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(897, '[Root.GetName]') => temple / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1218 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(897, '[Root.GetName]') => temple / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(897, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1898 [898 - Yaik]
province_event = {
	id = emf_nomad.1898
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(898, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(898, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(898, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1900 [900 - Kyzylorda]
province_event = {
	id = emf_nomad.1900
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = turkish religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = manichean
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(900, '[Root.GetName]') => temple / turkish / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(900, '[Root.GetName]') => temple / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(900, '[Root.GetName]') => temple / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(900, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.1901 [901 - Kyzylkum]
province_event = {
	id = emf_nomad.1901
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = turkish religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(901, '[Root.GetName]') => tribal / turkish / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(901, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(901, '[Root.GetName]') => tribal / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(901, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.1924 [924 - Kama]
province_event = {
	id = emf_nomad.1924
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = bolghar religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = bolghar
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(924, '[Root.GetName]') => temple / bolghar / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = bolghar religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = bolghar
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(924, '[Root.GetName]') => temple / bolghar / sunni"
	}
}


# emf_nomad.1933 [933 - Roslavl]
province_event = {
	id = emf_nomad.1933
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = severian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = severian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(933, '[Root.GetName]') => tribal / severian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1128 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(933, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(933, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.1934 [934 - Lepiel]
province_event = {
	id = emf_nomad.1934
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 945 } }
			if = {
				limit = { culture = ilmenian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = ilmenian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(934, '[Root.GetName]') => tribal / ilmenian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1020 } }
			if = {
				limit = { culture = russian religion = slavic_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = slavic_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(934, '[Root.GetName]') => tribal / russian / slavic_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1054 } }
			if = {
				limit = { culture = russian religion = chalcedonian }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = russian
			religion = chalcedonian
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(934, '[Root.GetName]') => tribal / russian / chalcedonian"
			break = yes
		}
		if = {
			limit = { culture = russian religion = orthodox }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = russian
		religion = orthodox
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(934, '[Root.GetName]') => tribal / russian / orthodox"
	}
}


# emf_nomad.2132 [1132 - Kirghiz]
province_event = {
	id = emf_nomad.2132
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = kirghiz religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = kirghiz
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1132, '[Root.GetName]') => tribal / kirghiz / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1132, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1132, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2186 [1186 - Chach]
province_event = {
	id = emf_nomad.2186
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = sogdian religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = sogdian
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1186, '[Root.GetName]') => tribal / sogdian / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1186, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1186, '[Root.GetName]') => tribal / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1186, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2205 [1205 - Narim]
province_event = {
	id = emf_nomad.2205
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = khanty religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = khanty
		religion = finnish_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1205, '[Root.GetName]') => tribal / khanty / finnish_pagan"
	}
}


# emf_nomad.2223 [1223 - Mansia]
province_event = {
	id = emf_nomad.2223
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = khanty religion = finnish_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = khanty
		religion = finnish_pagan
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(1223, '[Root.GetName]') => temple / khanty / finnish_pagan"
	}
}


# emf_nomad.2273 [1273 - Turgay]
province_event = {
	id = emf_nomad.2273
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = pecheneg religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = pecheneg
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1273, '[Root.GetName]') => tribal / pecheneg / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1273, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1273, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1273, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2306 [1306 - Tura]
province_event = {
	id = emf_nomad.2306
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = kirghiz religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = kirghiz
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1306, '[Root.GetName]') => tribal / kirghiz / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1306, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1306, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2329 [1329 - Ket]
province_event = {
	id = emf_nomad.2329
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = kirghiz religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = kirghiz
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1329, '[Root.GetName]') => tribal / kirghiz / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1329, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1329, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2423 [1423 - Fergana]
province_event = {
	id = emf_nomad.2423
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = sogdian religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = sogdian
			religion = manichean
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1423, '[Root.GetName]') => temple / sogdian / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1100 } }
			if = {
				limit = { culture = karluk religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = karluk
			religion = manichean
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1423, '[Root.GetName]') => temple / karluk / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = karluk religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = karluk
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1423, '[Root.GetName]') => temple / karluk / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(1423, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.2424 [1424 - Chuy]
province_event = {
	id = emf_nomad.2424
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = karluk religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = karluk
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1424, '[Root.GetName]') => temple / karluk / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = karluk religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = karluk
			religion = sunni
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1424, '[Root.GetName]') => temple / karluk / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(1424, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.2425 [1425 - Ili]
province_event = {
	id = emf_nomad.2425
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = karluk religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1425, '[Root.GetName]') => tribal / karluk / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = karluk religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1425, '[Root.GetName]') => tribal / karluk / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1425, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2426 [1426 - Zhetysu]
province_event = {
	id = emf_nomad.2426
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = karluk religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1426, '[Root.GetName]') => tribal / karluk / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = karluk religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1426, '[Root.GetName]') => tribal / karluk / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1426, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2427 [1427 - Urzhar]
province_event = {
	id = emf_nomad.2427
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = kirghiz religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = kirghiz
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1427, '[Root.GetName]') => tribal / kirghiz / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1427, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1427, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2430 [1430 - Kipchak]
province_event = {
	id = emf_nomad.2430
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = pecheneg religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = manichean
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1430, '[Root.GetName]') => temple / pecheneg / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1430, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1430, '[Root.GetName]') => temple / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(1430, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.2431 [1431 - Otrar]
province_event = {
	id = emf_nomad.2431
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = karluk religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1431, '[Root.GetName]') => tribal / karluk / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1431, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = turkish religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1431, '[Root.GetName]') => tribal / turkish / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1431, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2432 [1432 - Karluk]
province_event = {
	id = emf_nomad.2432
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = karluk religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1432, '[Root.GetName]') => tribal / karluk / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1230 } }
			if = {
				limit = { culture = karluk religion = sunni }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = karluk
			religion = sunni
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1432, '[Root.GetName]') => tribal / karluk / sunni"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1432, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2433 [1433 - Kazakh]
province_event = {
	id = emf_nomad.2433
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = pecheneg religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = pecheneg
			religion = manichean
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1433, '[Root.GetName]') => temple / pecheneg / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1433, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1433, '[Root.GetName]') => temple / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(1433, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.2434 [1434 - Balkhash]
province_event = {
	id = emf_nomad.2434
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1434, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1434, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1434, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2435 [1435 - Kimak]
province_event = {
	id = emf_nomad.2435
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1435, '[Root.GetName]') => temple / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = temple }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_temple_effect = yes
			log = "emf_antinomad(1435, '[Root.GetName]') => temple / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = temple }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_temple_effect = yes
		log = "emf_antinomad(1435, '[Root.GetName]') => temple / mongol / sunni"
	}
}


# emf_nomad.2451 [1451 - Altay]
province_event = {
	id = emf_nomad.2451
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1451, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1451, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2452 [1452 - Dunkheger]
province_event = {
	id = emf_nomad.2452
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1000 } }
			if = {
				limit = { culture = uyghur religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1452, '[Root.GetName]') => tribal / uyghur / manichean"
			break = yes
		}
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = buddhist }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = buddhist
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1452, '[Root.GetName]') => tribal / uyghur / buddhist"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1452, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2453 [1453 - Aj Bogd]
province_event = {
	id = emf_nomad.2453
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1453, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1453, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2454 [1454 - Muztau]
province_event = {
	id = emf_nomad.2454
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1454, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1454, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1454, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2455 [1455 - Tsagaannuur]
province_event = {
	id = emf_nomad.2455
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1455, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1455, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2456 [1456 - Ikh Bogd]
province_event = {
	id = emf_nomad.2456
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1456, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1456, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2457 [1457 - Kara Khorum]
province_event = {
	id = emf_nomad.2457
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = uyghur religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1457, '[Root.GetName]') => tribal / uyghur / manichean"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1457, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2458 [1458 - Khangai]
province_event = {
	id = emf_nomad.2458
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 867 } }
			if = {
				limit = { culture = uyghur religion = manichean }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = manichean
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1458, '[Root.GetName]') => tribal / uyghur / manichean"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1458, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2459 [1459 - Kyzyl]
province_event = {
	id = emf_nomad.2459
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1459, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1459, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2460 [1460 - Baygal]
province_event = {
	id = emf_nomad.2460
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1460, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1460, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2461 [1461 - Otuken]
province_event = {
	id = emf_nomad.2461
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = uyghur religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = uyghur
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1461, '[Root.GetName]') => tribal / uyghur / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1461, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


# emf_nomad.2462 [1462 - Gorgol]
province_event = {
	id = emf_nomad.2462
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { culture = kirghiz religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = kirghiz
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1462, '[Root.GetName]') => tribal / kirghiz / tengri_pagan"
	}
}


# emf_nomad.2463 [1463 - Erchis]
province_event = {
	id = emf_nomad.2463
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1227 } }
			if = {
				limit = { culture = kirghiz religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = kirghiz
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1463, '[Root.GetName]') => tribal / kirghiz / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1313 } }
			if = {
				limit = { culture = mongol religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = mongol
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1463, '[Root.GetName]') => tribal / mongol / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = sunni }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = sunni
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1463, '[Root.GetName]') => tribal / mongol / sunni"
	}
}


# emf_nomad.2486 [1486 - Ishim]
province_event = {
	id = emf_nomad.2486
	hide_window = yes
	is_triggered_only = yes

	trigger = {
		owner = { is_nomadic = yes }
		not = { any_province_holding = { not = { holding_type = nomad } } }
		has_empty_holding = yes
	}

	immediate = {
		if = {
			limit = { not = { year = 1066 } }
			if = {
				limit = { culture = cuman religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = cuman
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1486, '[Root.GetName]') => tribal / cuman / tengri_pagan"
			break = yes
		}
		if = {
			limit = { not = { year = 1218 } }
			if = {
				limit = { culture = turkish religion = tengri_pagan }
				break = yes # Not necessary to build a settlement
			}
			build_holding = { type = tribal }
			culture  = turkish
			religion = tengri_pagan
			emf_nomad_antinomad_tribal_effect = yes
			log = "emf_antinomad(1486, '[Root.GetName]') => tribal / turkish / tengri_pagan"
			break = yes
		}
		if = {
			limit = { culture = mongol religion = tengri_pagan }
			break = yes # Not necessary to build a settlement
		}
		build_holding = { type = tribal }
		culture  = mongol
		religion = tengri_pagan
		emf_nomad_antinomad_tribal_effect = yes
		log = "emf_antinomad(1486, '[Root.GetName]') => tribal / mongol / tengri_pagan"
	}
}


