﻿tgp_should_become_meritocratic_trigger = {
	has_tgp_dlc_trigger = yes
	OR = {
		top_liege = {
			OR = {
				has_government = meritocratic_government
				any_neighboring_and_across_water_top_liege_realm_owner = { government_allows = merit }
				has_game_rule = mgr_meritocracies_all
				has_game_rule = mgr_meritocracies_celestial
				AND = {
					has_game_rule = mgr_meritocracies_sinophilic
					culture = { has_cultural_tradition = tradition_sinophilic }
				}
			}
		}
		AND = {
			OR = {
				is_independent_ruler = yes
				liege = {
					NOT = {
						government_has_flag = government_is_administrative
					}
				}
			}
			capital_province = {
				OR = {
					geographical_region = world_asia
					geographical_region = world_tibet
					geographical_region = world_burma
					geographical_region = world_steppe_east
				}
			}
		}
		#Becoming admin with creation of meritocratic great yuan
		exists = scope:great_yuan_ruler
	}
}

tgp_can_become_celestial_trigger = {
	top_liege = {
		OR = {
			has_game_rule = mgr_meritocracies_celestial
			has_government = celestial_government
			has_title = title:h_china
			culture = culture:han
			culture = {
				any_parent_culture_or_above = { this = culture:han }
			}
		}
	}
}