#Global flags

#Each flag only modifies mentioned settings. flag_start is mandatory and initialize settings at the beginning of the game.

#enable_religion = { }            List of enabled religions
#disable_religion_ai = { }        List of religions AI will not try to convert to (even if allowed) and revert to default in the same subgroup if possible.
#casusbelli = { }                 List of religions that have a permanent casus belli against some other religions.
#religious_restricts = { }        List of religions that cannot have relations (dynastic, vassalization and annexation).
#religious_enemies = { }          List of religions that are enemies for AI decisions.
#tolerance = { }                  In the information window, tolerance slider displayed or not, under which name (can be group or subgroup) and with default tolerance value or, if not displayed, with automatic same value as specified religion.
#defender = yes/no                Enable/Disable defender of the faith rules for religions that can have a defender (default is no if not specified in start).
#predominance_tolerance = yes/no  Enable/Disable tolerance rules for predominant religions.
#enable_tot = yes/no              Enable/Disable ToT rules for involved countries (default is no if not specified in start).

#-----------------------------------------------------------------------------------------------

flag_start = {
	enable_religion = {
		catholic
		hussite
		orthodox
		miaphysite
		sunni
		eastern_sunni
		shia
		eastern_shia
		buddhist
		confucian
		hindu
		pagan
		shinto
		sikh
	}
	casusbelli = {
		sunni = {
			shia
		}
		shia = {
			sunni
		}
	}
	religious_restricts = {
		catholic = {
			hussite
			miaphysite
			sunni
			eastern_sunni
			shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		hussite = {
			catholic
			miaphysite
			sunni
			eastern_sunni
			shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		orthodox = {
			eastern_sunni
			shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		miaphysite = {
			catholic
			hussite
			eastern_sunni
			shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		sunni = {
			catholic
			hussite
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		eastern_sunni = {
			catholic
			hussite
			miaphysite
			shia
			eastern_shia
			confucian
			shinto
			pagan
		}		
		shia = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		eastern_shia = {
			catholic
			hussite
			miaphysite
			sunni
			eastern_sunni
			confucian
			shinto
			pagan
		}		
		buddhist = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		confucian = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		hindu = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		shinto = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		sikh = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		pagan = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
		}
	}
	religious_enemies = {
		catholic = {
			hussite
			sunni
			shia
		}
		hussite = {
			catholic
			sunni
			shia
		}
		orthodox = {
			sunni
			shia
		}
		miaphysite = {
			sunni
			shia
		}
		sunni = {
			catholic
			orthodox
			miaphysite
			shia
			eastern_shia
			hussite
		}
		eastern_sunni = {
			shia
			eastern_shia
			hindu
			sikh
		}		
		shia = {
			catholic
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
		}
		eastern_shia = {
			sunni
			eastern_sunni
			hindu
			sikh
		}		
		hindu = {
			eastern_sunni
			eastern_shia
		}
		sikh = {
			eastern_sunni
			eastern_shia
		}		
		pagan = {
			pagan
		}
	}
	tolerance = {
		catholic = {
			catholic = { display = yes name = catholic default = 10 }
			hussite = { display = no }
			orthodox = { display = yes name = orthodox default = 0 }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		hussite = {
			catholic = { display = yes name = catholic default = -10 }
			hussite = { display = yes name = hussite default = 10 }
			orthodox = { display = yes name = orthodox default = 0 }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		orthodox = {
			catholic = { display = yes name = catholic default = 0 }
			hussite = { display = no }
			orthodox = { display = yes name = orthodox default = 10 }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		miaphysite = {
			catholic = { display = yes name = chalcedonian default = 0 }
			hussite = { display = no value = catholic }
			miaphysite = { display = yes name = miaphysite default = 10 }
			orthodox = { display = no value = catholic }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		sunni = {
			catholic = { display = yes name = christian default = 0 }
			hussite = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_sunni = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -5 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}		
		shia = {
			catholic = { display = yes name = christian default = 0 }
			hussite = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_shia = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}		
		buddhist = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = 0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		confucian = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = dharmic default = 0 }
			confucian = { display = yes name = confucian default = 5 }
			hindu = { display = no value = buddhist }
			shinto = { display = no }
			sikh = { display = no value = buddhist }
			pagan = { display = no }
		}
		hindu = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		shinto = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no}
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = yes name = confucian default = 0 }
			hindu = { display = no }
			shinto = { display = yes name = shinto default = 0 }
			sikh = { display = no }
			pagan = { display = no }
		}
		pagan = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no}
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = yes name = pagan default = 10 }
		}
		sikh = {
			catholic = { display = no }
			hussite = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = yes name = sikh default = 10 }
			pagan = { display = no }
		}
	}
	defender = yes
	predominance_tolerance = no
}

#-----------------------------------------------------------------------------------------------

flag_0 = { #Treaty of Tordesillas
	enable_tot = yes
}

flag_1 = { #Protestantism
	enable_religion = {
		catholic
		hussite
		protestant
		orthodox
		miaphysite
		sunni
		eastern_sunni
		shia
		eastern_shia
		buddhist
		confucian
		hindu
		shinto
		sikh
		pagan
	}
	religious_restricts = {
		catholic = {
			protestant
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		hussite = {
			catholic
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		protestant = {
			catholic
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		orthodox = {
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		miaphysite = {
			catholic
			hussite
			protestant
			eastern_sunni
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		sunni = {
			catholic
			hussite
			protestant
			shia
			eastern_shia
			pagan
		}
		eastern_sunni = {
			catholic
			hussite
			protestant
			shia
			eastern_shia
			pagan
		}		
		shia = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			eastern_sunni
			pagan
		}
		eastern_shia = {
			catholic
			hussite
			protestant
			orthodox			
			miaphysite
			sunni
			eastern_sunni
			pagan
		}	
		buddhist = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		confucian = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		hindu = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		shinto = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		sikh = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		pagan = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
		}
	}
	religious_enemies = {
		catholic = {
			hussite
			protestant
			sunni
			shia
		}
		hussite = {
			catholic
			sunni
			shia
		}
		protestant = {
			catholic
			sunni
			shia
		}
		orthodox = {
			sunni
			shia
		}
		miaphysite = {
			sunni
			shia
		}
		sunni = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			shia
			eastern_shia
		}
		eastern_sunni = {
			shia
			eastern_shia
			hindu
			sikh
		}			
		shia = {
			catholic
			hussite
			protestant
			orthodox
			miaphysite
			sunni
			eastern_sunni
		}
		eastern_shia = {
			sunni
			eastern_sunni
			hindu
			sikh
		}		
		hindu = {
			eastern_sunni
			eastern_shia
		}
		sikh = {
			eastern_sunni
			eastern_shia
		}			
		pagan = {
			pagan
		}		
	}
	tolerance = {
		catholic = {
			catholic = { display = yes name = catholic default = 10 }
			protestant = { display = yes name = heretic default = -10 }
			hussite = { display = no value = protestant }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = 0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		protestant = {
			catholic = { display = yes name = catholic default = -10 }
			protestant = { display = yes name = protestant default = 10 }
			hussite = { display = no }
			orthodox = { display = yes name = orthodox default = 0 }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		hussite = {
			catholic = { display = yes name = catholic default = -10 }
			protestant = { display = yes name = protestant default = 0 }
			hussite = { display = yes name = hussite default = 10 }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		orthodox = {
			catholic = { display = yes name = latin default = 0 }
			hussite = { display = no value = catholic }
			protestant = { display = no value = catholic }
			orthodox = { display = yes name = orthodox default = 10 }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		miaphysite = {
			catholic = { display = yes name = chalcedonian default = 0 }
			hussite = { display = no value = catholic }
			protestant = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = yes name = miaphysite default = 10 }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		sunni = {
			catholic = { display = yes name = christian default = 0 }
			hussite = { display = no value = catholic }
			protestant = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_sunni = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -5 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}				
		shia = {
			catholic = { display = yes name = christian default = 0 }
			hussite = { display = no value = catholic }
			protestant = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_shia = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}		
		buddhist = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = 0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		confucian = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = dharmic default = 0 }
			confucian = { display = yes name = confucian default = 5 }
			hindu = { display = no value = buddhist }
			shinto = { display = no }
			sikh = { display = no value = buddhist }
			pagan = { display = no }
		}
		hindu = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		shinto = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = yes name = confucian default = 0 }
			hindu = { display = no }
			shinto = { display = yes name = shinto default = 0 }
			sikh = { display = no }
			pagan = { display = no }
		}
		pagan = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = yes name = pagan default = 0 }
		}
		sikh = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = yes name = sikh default = 10 }
			pagan = { display = no }
		}
	}
}

flag_2 = { #Reformation
	enable_religion = {
		catholic
		hussite
		protestant
		reformed
		orthodox
		miaphysite
		sunni
		shia
		buddhist
		confucian
		hindu
		shinto
		sikh
		pagan
	}
	religious_restricts = {
		catholic = {
			hussite
			protestant
			reformed
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		hussite = {
			catholic
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		protestant = {
			catholic
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		reformed = {
			catholic
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		orthodox = {
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		miaphysite = {
			catholic
			hussite
			protestant
			reformed
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		sunni = {
			catholic
			hussite
			protestant
			reformed
			shia
			eastern_shia
			buddhist
			confucian
			shinto
			hindu
			sikh
			pagan
		}
		eastern_sunni = {
			catholic
			hussite
			protestant
			reformed
			shia
			eastern_shia
			confucian
			shinto
			pagan
		}		
		shia = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			buddhist
			confucian
			shinto
			hindu
			sikh
			pagan
		}
		eastern_shia = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			confucian
			shinto
			pagan
		}		
		buddhist = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		confucian = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		hindu = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		shinto = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		sikh = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		pagan = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
		}
	}
	religious_enemies = {
		catholic = {
			hussite
			protestant
			reformed
			sunni
			shia
		}
		hussite = {
			catholic
			sunni
			shia
		}
		protestant = {
			catholic
			sunni
			shia
		}
		reformed = {
			catholic
			sunni
			shia
		}
		orthodox = {
			sunni
			shia
		}
		miaphysite = {
			sunni
			shia
		}
		sunni = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			shia
			eastern_shia
		}
		eastern_sunni = {
			shia
			eastern_shia
			hindu
			sikh
		}			
		shia = {
			catholic
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
		}
		eastern_shia = {
			sunni
			eastern_sunni
			hindu
			sikh
		}		
		hindu = {
			eastern_sunni
			eastern_shia
		}
		sikh = {
			eastern_sunni
			eastern_shia
		}
		pagan = {
			pagan
		}
	}
	tolerance = {
		catholic = {
			catholic = { display = yes name = catholic default = 10 }
			protestant = { display = yes name = heretic default = -10 }
			hussite = { display = no value = protestant }
			reformed = { display = no value = protestant }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		hussite = {
			catholic = { display = yes name = catholic default = -10 }
			hussite = { display = yes name = hussite default = 10 }
			protestant = { display = yes name = protestant default = 0 }
			reformed = { display = no value = protestant }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		protestant = {
			catholic = { display = yes name = catholic default = -10 }
			hussite = { display = no }
			protestant = { display = yes name = protestant default = 10 }
			reformed = { display = yes name = reformed default = 0 }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		reformed = {
			catholic = { display = yes name = catholic default = -10 }
			hussite = { display = no }
			protestant = { display = yes name = protestant default = 0 }
			reformed = { display = yes name = reformed default = 10 }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		orthodox = {
			catholic = { display = yes name = latin default = 0 }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = yes name = orthodox default = 10 }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		miaphysite = {
			catholic = { display = yes name = chalcedonian default = 0 }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = yes name = miaphysite default = 10 }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		sunni = {
			catholic = { display = yes name = christian default = 0 }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_sunni = {		
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -5 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}		
		shia = {
			catholic = { display = yes name = christian default = 0 }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_shia = {		
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}		
		buddhist = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = 0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		confucian = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 } 
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = dharmic default = 0 }
			confucian = { display = yes name = confucian default = 5 }
			hindu = { display = no value = buddhist }
			shinto = { display = no }
			sikh = { display = no value = buddhist }
			pagan = { display = no }
		}
		hindu = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		shinto = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = yes name = confucian default = 0 }
			hindu = { display = no }
			shinto = { display = yes name = shinto default = 0 }
			sikh = { display = no }
			pagan = { display = no }
		}
		pagan = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = yes name = pagan default = 0 }
		}
		sikh = {
			catholic = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = yes name = sikh default = 10 }
			pagan = { display = no }
		}
	}
}

flag_3 = { #Council of Trent
	enable_religion = {
		catholic
		hussite
		counterreform
		protestant
		reformed
		orthodox
		miaphysite
		sunni
		eastern_sunni
		shia
		eastern_shia
		buddhist
		confucian
		hindu
		shinto
		sikh
		pagan
	}
	casusbelli = {
		counterreform = {
			hussite
			protestant
			reformed
		}
		hussite = {
			counterreform
		}
		protestant = {
			counterreform
		}
		reformed = {
			counterreform
		}
		sunni = {
			shia
			eastern_shia
		}
		shia = {
			sunni
			eastern_sunni
		}
	}
	religious_restricts = {
		catholic = {
			hussite
			protestant
			reformed
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		counterreform = {
			hussite
			protestant
			reformed
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		hussite = {
			catholic
			counterreform
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		protestant = {
			catholic
			counterreform
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		reformed = {
			catholic
			counterreform
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		orthodox = {
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		miaphysite = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			eastern_sunni
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		sunni = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			shia
			eastern_shia
			buddhist
			confucian
			shinto
			hindu
			sikh
			pagan
		}
		eastern_sunni = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			shia
			eastern_shia
			pagan
		}		
		shia = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			buddhist
			confucian
			shinto
			hindu
			sikh
			pagan
		}
		shia = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			pagan
		}		
		buddhist = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		confucian = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		hindu = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		shinto = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		sikh = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		pagan = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
		}
	}
	religious_enemies = {
		catholic = {
			hussite
			protestant
			reformed
			sunni
			shia
		}
		counterreform = {
			hussite
			protestant
			reformed
			sunni
			shia
		}
		hussite = {
			catholic
			counterreform
			sunni
			shia
		}
		protestant = {
			catholic
			counterreform
			sunni
			shia
		}
		reformed = {
			catholic
			counterreform
			sunni
			shia
		}
		orthodox = {
			sunni
			shia
		}
		miaphysite = {
			sunni
			shia
		}
		sunni = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			shia
		}
		eastern_sunni = {
			shia
			eastern_shia
			hindu
			sikh
		}			
		shia = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			orthodox
			miaphysite
			sunni
		}
		eastern_shia = {
			sunni
			eastern_sunni
			hindu
			sikh
		}			
		hindu = {
			eastern_sunni
			eastern_shia
		}
		sikh = {
			eastern_sunni
			eastern_shia
		}
		pagan = {
			pagan
		}
	}
	tolerance = {
		catholic = {
			catholic = { display = yes name = catholic default = 10 }
			counterreform = { display = no value = catholic }
			protestant = { display = yes name = heretic default = -10 }
			hussite = { display = no value = protestant }
			reformed = { display = no value = protestant }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		counterreform = {
			catholic = { display = yes name = catholic default = 10 }
			counterreform = { display = no value = catholic }
			protestant = { display = yes name = heretic default = -10 }
			hussite = { display = no value = protestant }
			reformed = { display = no value = protestant }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		hussite = {
			catholic = { display = yes name = catholic default = -10 }
			counterreform = { display = no value = catholic }
			hussite = { display = yes name = hussite default = 10 }
			protestant = { display = yes name = protestant default = 0 }
			reformed = { display = yes value = protestant }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		protestant = {
			catholic = { display = yes name = catholic default = -10 }
			counterreform = { display = no value = catholic }
			hussite = { display = no }
			protestant = { display = yes name = protestant default = 10 }
			reformed = { display = yes name = reformed default = 0 }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		reformed = {
			catholic = { display = yes name = catholic default = -10 }
			counterreform = { display = no value = catholic }
			hussite = { display = no }
			protestant = { display = yes name = protestant default = 0 }
			reformed = { display = yes name = reformed default = 10 }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		orthodox = {
			catholic = { display = yes name = latin default = 0 }
			counterreform = { display = no value = catholic }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = yes name = orthodox default = 10 }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		miaphysite = {
			catholic = { display = yes name = chalcedonian default = 0 }
			counterreform = { display = no value = catholic }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			miaphysite = { display = yes name = miaphysite default = 10 }
			orthodox = { display = no value = catholic }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		sunni = {
			catholic = { display = yes name = christian default = 0 }
			counterreform = { display = no value = catholic }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_sunni = {
			catholic = { display = no }
			counterreform = { display = no }
			protestant = { display = no }
			hussite = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = 10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = -5 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = yes name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no valye = hindu }
			pagan = { display = no }
		}		
		shia = {
			catholic = { display = yes name = christian default = 0 }
			counterreform = { display = no value = catholic }
			protestant = { display = no value = catholic }
			hussite = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = yes name = sunni default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = no }
		}
		eastern_shia = {
			catholic = { display = no }
			counterreform = { display = no }
			protestant = { display = no }
			hussite = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = sunni default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = yes name = shia default = 10 }
			eastern_shia = { display = no value = shia }
			buddhist = { display = no value = hindu }
			confucian = { display = no }
			hindu = { display = no name = dharmic default = -5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}		
		buddhist = {
			catholic = { display = no }
			counterreform = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = 0 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		confucian = {
			catholic = { display = no}
			counterreform = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = dharmic default = 0 }
			confucian = { display = yes name = confucian default = 5 }
			hindu = { display = no value = buddhist }
			shinto = { display = no }
			sikh = { display = no value = buddhist }
			pagan = { display = no }
		}
		hindu = {
			catholic = { display = no }
			counterreform = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -5 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = yes name = buddhist default = 0 }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 5 }
			shinto = { display = no }
			sikh = { display = no value = hindu }
			pagan = { display = no }
		}
		shinto = {
			catholic = { display = yes name = christian default = -10 }
			counterreform = { display = no value = catholic }
			hussite = { display = no value = catholic }
			protestant = { display = no value = catholic }
			reformed = { display = no value = catholic }
			orthodox = { display = no value = catholic }
			miaphysite = { display = no value = catholic }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = yes name = buddhist default = 5 }
			confucian = { display = no }
			hindu = { display = no }
			shinto = { display = yes name = shinto default = 5 }
			sikh = { display = no }
			pagan = { display = no }
		}
		pagan = {
			catholic = { display = no }
			counterreform = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = no }
			eastern_sunni = { display = no }
			shia = { display = no }
			eastern_shia = { display = no }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = no}
			shinto = { display = no }
			sikh = { display = no }
			pagan = { display = yes name = pagan default = 0 }
		}
		sikh = {
			catholic = { display = no }
			counterreform = { display = no }
			hussite = { display = no }
			protestant = { display = no }
			reformed = { display = no }
			orthodox = { display = no }
			miaphysite = { display = no }
			sunni = { display = yes name = muslim default = -10 }
			eastern_sunni = { display = no value = sunni }
			shia = { display = no value = sunni }
			eastern_shia = { display = no value = sunni }
			buddhist = { display = no }
			confucian = { display = no }
			hindu = { display = yes name = hindu default = 0 }
			shinto = { display = no }
			sikh = { display = yes name = sikh default = 10 }
			pagan = { display = no }
		}
	}
}

flag_4 = { #Predominance tolerance
	predominance_tolerance = yes
}

flag_5 = { #Edict of Tolerance
	enable_tot = no
	disable_religion_ai = {
		counterreform
		hussite
	}
	casusbelli = {
		sunni = {
			shia
		}
		shia = {
			sunni
		}
	}
	religious_restricts = {
		catholic = {
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		counterreform = {
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		protestant = {
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		reformed = {
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		orthodox = {
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		miaphysite = {
			catholic
			counterreform
			hussite
			protestant
			reformed
			eastern_sunni
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
			pagan
		}
		sunni = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			shia
			eastern_shia
			buddhist
			confucian
			shinto
			hindu
			sikh
			pagan
		}
		eastern_sunni = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			shia
			eastern_shia
			pagan
		}		
		shia = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			buddhist
			confucian
			shinto
			hindu
			sikh
			pagan
		}
		eastern_shia = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			pagan
		}
		buddhist = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		confucian = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		hindu = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		shinto = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			pagan
		}
		sikh = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			shia
			pagan
		}
		pagan = {
			catholic
			counterreform
			protestant
			reformed
			hussite
			orthodox
			miaphysite
			sunni
			eastern_sunni
			shia
			eastern_shia
			buddhist
			confucian
			hindu
			shinto
			sikh
		}
	}
	religious_enemies = {
		catholic = {
			sunni
			shia
		}
		counterreform = {
			sunni
			shia
		}
		protestant = {
			sunni
			shia
		}
		reformed = {
			sunni
			shia
		}
		orthodox = {
			sunni
			shia
		}
		miaphysite = {
			sunni
			shia
		}
		sunni = {
			catholic
			counterreform
			protestant
			reformed
			orthodox
			miaphysite
			shia
			eastern_shia
		}
		eastern_sunni = {
			shia
			eastern_shia
			hindu
			sikh
		}			
		shia = {
			catholic
			counterreform
			protestant
			reformed
			orthodox
			miaphysite
			sunni
			eastern_sunni
		}
		eastern_shia = {
			sunni
			eastern_sunni
			hindu
			sikh
		}		
		hindu = {
			eastern_sunni
			eastern_shia
		}
		sikh = {
			eastern_sunni
			eastern_shia
		}		
		pagan = {
			pagan
		}
	}
	defender = no
}

flag_6 = { #More tolerance
	religious_enemies = {
		sunni = {
			shia
			eastern_shia
		}
		eastern_sunni = {
			shia
			eastern_shia
		}		
		shia = {
			sunni
			eastern_sunni
		}
		eastern_shia = {
			sunni
			eastern_sunni
		}		
		pagan = {
			pagan
		}
	}
}

#-----------------------------------------------------------------------------------------------
