feudal_vassal = {
	contracts = {
		feudal_government_taxes
		feudal_government_levies
		special_contract
		religious_rights
		fortification_rights
		coinage_rights
		succession_rights
		war_declaration_rights
		council_rights
		title_revocation_rights
		jizya_special_rights
	}
}

republic_vassal = {
	contracts = {
		republic_government_obligations
	}
}
peasantrepublic_vassal = {
	contracts = {
		peasantrepublic_obligations
		war_declaration_rights
		council_rights
		title_revocation_rights
		religious_rights
		fortification_rights
		coinage_rights
	}
}
urbanrepublic_vassal = {
	contracts = {
		urbanrepublic_obligations
		war_declaration_rights
		council_rights
		title_revocation_rights
		religious_rights
		fortification_rights
		coinage_rights
	}
}


theocracy_vassal ={
	contracts = {
		theocracy_government_obligations
	}
}

clan_vassal = {
	contracts = {
		clan_tax_collector_obligations
		special_contract
		religious_rights
		war_declaration_rights
		council_rights
		title_revocation_rights
		marriage_favor_rights
	}
	modify_contract_layout = clan
}

tribal_vassal = {
	contracts = {
		tribal_government_obligations
	}
}

admin_vassal = {
	admin_province_contract = administrative_themes

	contracts = {
		administrative_obligations
		administrative_themes
		administrative_salary_rank
	}
	modify_contract_layout = admin
}

nomad_vassal = {
	contracts = {
		nomad_government_herd
		nomad_government_taxes
		liege_war_participation_obligation
		kurultai_rights
		war_declaration_rights
	}
}

tributary_settled = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = yes
	should_show_as_suzerain_realm_color = yes

	contracts = {
		default_tributary_taxes
		default_tributary_levies
		default_tributary_prestige
		suzerain_war_participation_guarantee
		tributary_war_participation_obligation
	}
}

tributary_nomadic = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = yes
	should_show_as_suzerain_realm_color = yes

	contracts = {
		nomad_government_herd
		nomad_government_prestige
		suzerain_war_participation_guarantee
		tributary_war_participation_obligation
	}
}

tributary_subjugated = {
	is_tributary = yes
	tributary_can_break_free = { always = no }
	suzerain_heir_succession = no
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = no
	should_show_as_suzerain_realm_color = yes

	contracts = {
		default_tributary_taxes
		default_tributary_prestige
		suzerain_war_participation_guarantee
		tributary_war_participation_obligation
	}
}

tributary_steppe = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = yes
	should_show_as_suzerain_realm_color = yes

	contracts = {
		default_tributary_taxes
		nomad_government_prestige
		suzerain_war_participation_guarantee
		tributary_war_participation_obligation
	}
}

herder_vassal = {
	contracts = {
		herder_government_obligations
	}
}

celestial_vassal = {
	admin_province_contract = celestial_provinces

	contracts = {
		celestial_obligations
		celestial_ministry_obligations
		celestial_provinces
		celestial_treasury
		celestial_salary
		celestial_ministry_budget
		celestial_salary_rank
	}

	modify_contract_layout = eastern_admin
}

tributary_celestial = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = no
	should_show_as_suzerain_realm_color = no
	tributary_heir_succession = yes
	suzerain_heir_succession = yes
	
	is_valid_tributary_contract = {
		scope:suzerain = {
			highest_held_title_tier = tier_hegemony
			has_government = celestial_government
		}
	}

	tributary_can_break_free = {
		always = yes
	}

	contracts = {
		celestial_tribute_gold
		celestial_tribute_prestige
		celestial_tributary_investiture_privilege_trade
		celestial_tributary_investiture_privilege_marriage
		celestial_tributary_investiture_privilege_politics
	}
}

tributary_hegemonic = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = no
	should_show_as_suzerain_realm_color = no
	tributary_heir_succession = yes
	suzerain_heir_succession = yes
	
	is_valid_tributary_contract = {
		scope:suzerain = {
			highest_held_title_tier = tier_hegemony
		}
	}

	tributary_can_break_free = {
		always = yes
	}

	contracts = {
		hegemonic_tribute_gold
		hegemonic_tribute_prestige
	}
}

mandala_vassal = {
	contracts = {
		mandala_government_taxes
		mandala_government_piety
		mandala_government_levies
		religious_rights
		fortification_rights
		coinage_rights
		succession_rights
		title_revocation_rights
	}
}

tributary_mandala = {
	is_tributary = yes
	tributary_can_break_free = {
		NOT = { has_variable = tributary_has_been_reasserted_recently }
	}
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = yes
	should_show_as_suzerain_realm_color = yes
	tributary_heir_succession = yes
	suzerain_heir_succession = yes

	contracts = {
		mandala_government_taxes
		mandala_government_piety
		mandala_government_levies
		mandala_suzerain_war_participation_guarantee
	}
}

#Wanua, amongst others
tributary_mandala_tribal = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = yes
	should_show_as_suzerain_realm_color = yes
	tributary_heir_succession = yes
	suzerain_heir_succession = yes

	contracts = {
		mandala_government_taxes
		mandala_government_prestige
		mandala_government_piety
		mandala_government_levies
		mandala_suzerain_war_participation_guarantee
	}
}

japan_administrative_vassal = {
	admin_province_contract = japan_administrative_provinces

	contracts = {
		japan_administrative_obligations
		japan_administrative_provinces
	}

	modify_contract_layout = eastern_admin
}

japan_feudal_vassal = {
	contracts = {
		feudal_government_taxes
		feudal_government_levies
		special_contract
		religious_rights
		fortification_rights
		coinage_rights
		succession_rights
		war_declaration_rights
		council_rights
		title_revocation_rights
		jizya_special_rights
	}
}

wanua_vassal = {
	contracts = {
		wanua_obligations
	}
}

tributary_wanua = {
	is_tributary = yes
	suzerain_line_type = line_suzerain
	tributary_line_type = line_tributary
	should_show_as_suzerain_realm_name = yes
	should_show_as_suzerain_realm_color = yes

	contracts = {
		default_tributary_taxes
		default_tributary_prestige
		barter_goods_obligations
	}
}

meritocratic_vassal = {
	admin_province_contract = meritocratic_provinces

	contracts = {
		meritocratic_obligations
		meritocratic_provinces
		meritocratic_treasury
		meritocratic_salary
		meritocratic_salary_rank
	}

	modify_contract_layout = eastern_admin
}
