# Title specific triggers.

### Minor titles:

# Cardinal title.
blg_cardinal_early = {
	year < 1245
	OR = {
		has_minor_title = title_cardinal
		has_minor_title = title_fraticelli_cardinal
	}
}

# Cardinal title.
blg_cardinal_late = {
	year >= 1245
	OR = {
		has_minor_title = title_cardinal
		has_minor_title = title_fraticelli_cardinal
	}
}

# Military Offmap Governor.
blg_military_governor = {
	has_landed_title = e_china_west_governor
}

# Extra titles of royal rank.
blg_royal_title = {
	OR = {
		has_minor_title = title_despot
		has_minor_title = title_augusta
		has_minor_title = title_king_of_romans
	}
}

# Titles of princely rank.
blg_prince_title = {
	OR = {
		has_minor_title = title_prince
		has_minor_title = title_queen_mother
		has_character_modifier = jd_prince
		has_character_modifier = jd_princess
	}
}

### Landed titles:

# Venetian Doge.
blg_doge = {
	is_merchant_republic = yes
	primary_title = {
		OR = {
			title = k_venice
			title = d_venice
		}
	}
}

# Holy Order - Knights Templar
blg_knights_templar = {
	OR = {
		has_landed_title = d_knights_templar
		liege = { has_landed_title = d_knights_templar }
	}
}

# Holy Order - Knights Hospitaler
blg_knights_hospitaler = {
	OR = {
		has_landed_title = d_knights_hospitaler
		liege = { has_landed_title = d_knights_hospitaler }
	}
}

# Holy Order - Teutonic Knights
blg_knights_teutonic = {
	OR = {
		has_landed_title = d_teutonic_order
		has_landed_title = k_teutonic_state
		liege = { has_landed_title = d_teutonic_order }
		liege = { has_landed_title = k_teutonic_state }
	}
}

# Holy Order - Knights of Calatrava/Santiago
blg_knights_calatrava = {
	OR = {
		has_landed_title = d_knights_santiago
		has_landed_title = d_knights_calatrava
		liege = { has_landed_title = d_knights_santiago }
		liege = { has_landed_title = d_knights_calatrava }
	}
}

# Holy Order - Livonian Order
blg_knights_livonian = {
	OR = {
		has_landed_title = d_livonian_order
		liege = { has_landed_title = d_livonian_order }
	}
}

# Hirable navies.
blg_mercenary_fleet = {
	primary_title = {
		OR = {
			title = d_venetian_navy
			title = d_genoese_navy
			title = d_hanseatic_navy
			title = d_frisian_navy
			title = d_maghreb_corsairs
			title = d_han_junks
			title = d_jurchen_corsairs
			title = d_treasure_fleet
		}
	}
}

# Pope in Rome
blg_pope = {
	rightful_religious_head = ROOT
	location = {
		province = c_roma
	}
}
