family_pattern_for = {
	icon = 11
	pattern_type = for
	
	declare_war_interaction = {
	# Councilor's family member might gain a title
		custom_tooltip = {
			text = pattern_family_member_gain_title_custom_tooltip
			hidden_tooltip = {
				FROMFROMFROM = { # Gainer
					is_close_relative = ROOT
				}	
			}
		}
	}
	
	# ROOT - Voter, FROM - Actor, FROMFROM - Recipient, FROMFROMFROM - Revoked title.
	grant_landed_title_interaction = {
		custom_tooltip = {
			text = pattern_family_member_gain_title_custom_tooltip
			hidden_tooltip = {
				FROMFROM = {
					is_close_relative = ROOT
					NOT = { is_rival = ROOT }
				}	
			}
		}
	}
}
family_pattern_against = {
	icon = 12
	pattern_type = against
	
	declare_war_interaction = {
	# Councilor's family member might lose a title
		OR = {
			custom_tooltip = {
				text = pattern_family_against_family_custom_tooltip
				hidden_tooltip = {
					FROMFROM = { # Defender
						is_close_relative = ROOT
					}
				}
			}
			custom_tooltip = {
				text = pattern_family_member_lose_title_custom_tooltip
				hidden_tooltip = {
					AND = {
						NOR = { 
							stored_token_trigger = dejure_barony_claim
						}			
						FROMFROMFROMFROM = { # Thirdparty_title
							holder_scope = {
								is_close_relative = ROOT
								is_liege_or_above = ROOT_FROMFROM
							}
						}
					}	
				}
			}
		}
	}
	
	# ROOT - Voter, FROM - Actor, FROMFROM - Recipient, FROMFROMFROM - Revoked title.
	revoke_title_interaction = {
		custom_tooltip = {
			text = pattern_family_member_lose_title_custom_tooltip
			hidden_tooltip = {
				FROMFROM = {
					is_close_relative = ROOT
					NOT = { is_rival = ROOT }
				}	
			}
		}
	}
	imprison_character_interaction = {
		custom_tooltip = {
			text = pattern_family_member_affected_negatively_custom_tooltip
			hidden_tooltip = {
				FROMFROM = {
					is_close_relative = ROOT
					NOT = { is_rival = ROOT }
				}
			}
		}
	}
	exile_imprisoned_interaction = {
		custom_tooltip = {
			text = pattern_family_member_affected_negatively_custom_tooltip
			hidden_tooltip = {
				FROMFROM = {
					is_close_relative = ROOT
					NOT = { is_rival = ROOT }
				}	
			}
		}
	}
	execute_imprisoned_interaction = {
		custom_tooltip = {
			text = pattern_family_member_affected_negatively_custom_tooltip
			hidden_tooltip = {
				FROMFROM = {
					is_close_relative = ROOT
					NOT = { is_rival = ROOT }
				}
			}
		}
	}
}