﻿CharacterInteractionCategoryVassal = {
	type = character

	# LIEGE

	text = {
		localization_key = interaction_category_vassal_liege
		trigger = {
			scope:second = {
				any_vassal_or_below = {
					this = root
				}
			}
		}
	}

	# SUZERAIN

	text = {
		localization_key = interaction_category_vassal_suzerain
		trigger = {
			is_tributary_of = scope:second
		}
	}

	# GOVERNOR
	text = {
		localization_key = interaction_category_vassal_governor
		trigger = {
			scope:second = {
				government_has_flag = government_is_administrative
				is_governor = yes
			}

			any_vassal_or_below = {
				this = scope:second
			}
		}
	}

	# VASSAL

	text = {
		localization_key = interaction_category_vassal_vassal
		trigger = {
			any_vassal_or_below = {
				this = scope:second
			}
		}
	}

	# TRIBUTARY

	text = {
		localization_key = interaction_category_vassal_tributary
		trigger = {
			scope:second = {
				is_tributary_of = prev
			}
		}
	}

	# FELLOW GOVERNOR

	text = {
		localization_key = interaction_category_vassal_fellow_governor
		trigger = {
			scope:second = {
				is_independent_ruler = no	
				government_has_flag = government_is_administrative
				is_governor = yes
			}
			is_independent_ruler = no
			liege = scope:second.liege
			government_has_flag = government_is_administrative
			is_governor = yes
		}
	}

	# FELLOW VASSAL

	text = {
		localization_key = interaction_category_vassal_fellow_vassal
		trigger = {
			scope:second = {
				is_independent_ruler = no	
			}
			is_independent_ruler = no
			liege = scope:second.liege
		}
	}

	# COURTIER

	text = {
		localization_key = interaction_category_vassal_courtier
		trigger = {
			scope:second = {
				is_courtier_of = root
			}
		}
	}

	# FALLBACK

	text = {
		localization_key = interaction_category_vassal_fallback
		trigger = {
			always = yes
		}
	}

}


CharacterInteractionCategoryPowerSharing = {
	type = character

	# Could have one for "Liege" here but would confuse things with CharacterInteractionCategoryVassal

	text = {
		localization_key = interaction_category_diarch_diarch
		trigger = {
			scope:second = {
				is_diarch = yes
				liege = root
			}
		}
	}

	text = {
		localization_key = interaction_category_diarch_fallback
		trigger = {
			always = yes
		}
	}
}
