﻿
GetRevokeTitleName = {
	type = character 
	text = {
		localization_key = revoke_governorship_interaction
		trigger = {
			government_allows = administrative
		}
	}
	text = {
		localization_key = revoke_title_interaction
		fallback = yes
	}
}

OfferCouncilPosition = {
	type = character

	text = {
		localization_key = liege_offer_council_position_liked
		trigger = {
			opinion = {
				value >= 30
				target = scope:second
			}
		}
	}

	text = {
		localization_key = liege_offer_council_position_disliked
		trigger = {
			opinion = {
				value < -30
				target = scope:second
			}
		}
	}

	text = {
		localization_key = liege_offer_council_position_powerful
		trigger = {
			scope:second = {
				is_powerful_vassal_of = root
			}
		}
	}

	text = {
		localization_key = liege_offer_council_position_fallback
		fallback = yes
	}
}


IncorrectLineality = {
	type = character

	text = {
		localization_key = IncorrectLineality_Matrilineal
		trigger = { is_male = yes }
	}

	text = {
		localization_key = IncorrectLineality_Patrilineal
		trigger = { is_female = yes }
	}
}


ImprisonCharacterDeclineSummary = {
	type = character

	text = {
		localization_key = imprison_decline_summary_war
		trigger = {
			is_playable_character = yes
			primary_title.tier > tier_barony
		}
	}
	text = {
		localization_key = imprison_decline_summary_no_court
		trigger = {
			is_playable_character = yes
			primary_title.tier = tier_barony
		}
	}

	text = {
		localization_key = imprison_decline_summary_cannot_fire_court_chaplain
		trigger = {
			has_council_position = councillor_court_chaplain
			NOT = { can_be_fired_from_council_trigger = { COURT_OWNER = root.liege } }
		}
	}

	text = {
		localization_key = imprison_decline_summary_cannot_fire_HoF
		trigger = {
			exists = root.liege
			root.liege = { exists = faith.religious_head }
			root.liege.faith.religious_head = { this = root }
		}
	}

	text = {
		localization_key = imprison_decline_summary_no_war_your_courtier
		trigger = { host = { is_local_player = yes } }
	}

	text = {
		localization_key = imprison_decline_summary_no_war
		fallback = yes
	}
}

RevokeTitleDeclineSummary = {
	type = character

	text = {
		localization_key = general_rebellion_decline_summary_auto_accept
		trigger = { #Auto-accept
			OR = {
				highest_held_title_tier = tier_barony
				is_imprisoned_by = scope:second
			}
		}
	}
	text = {
		localization_key = general_rebellion_decline_summary_warning
		fallback = yes
	}
}
