interaction_pattern_for = {
	icon = 9
	pattern_type = for

	revoke_title_interaction = {
		custom_tooltip = {
			text = pattern_interaction_dislike_custom_tooltip

			opinion = {
				who = FROMFROM
				value < -15
			}
		}
	}

	imprison_character_interaction = {
		OR = {
			custom_tooltip = {
				text = pattern_interaction_dislike_custom_tooltip

				trigger_if = {
					limit = { trait = just }

					FROMFROM = {
						crime_against_ROOT_FROM_trigger = no
					}
				}
				trigger_else_if = {
					limit = { NOT = { trait = arbitrary } }

					FROMFROM = {
						crime_execute_against_ROOT_FROM_trigger = no
					}
				}

				opinion = {
					who = FROMFROM
					value < -5
				}
			}

			custom_tooltip = {
				text = pattern_interaction_deserves_imprisonment

				trigger_if = {
					limit = { trait = just }

					FROMFROM = {
						crime_against_ROOT_FROM_trigger = yes
					}
				}
				trigger_else_if = {
					limit = { NOT = { trait = arbitrary } }

					FROMFROM = {
						crime_execute_against_ROOT_FROM_trigger = yes
					}
				}
			}
		}
	}

	grant_landed_title_interaction = {
		OR = {
			custom_tooltip = {
				text = pattern_interaction_like_custom_tooltip

				opinion = {
					who = FROMFROM
					value >= 25
				}
			}

			custom_tooltip = {
				text = pattern_interaction_dont_dislike_unlanded_custom_tooltip

				FROMFROM = {
					is_landed = no

					reverse_opinion = {
						who = ROOT
						value >= -10
					}
				}
			}
		}
	}

	exile_imprisoned_interaction = {
		OR = {
			custom_tooltip = {
				text = pattern_interaction_dislike_custom_tooltip

				trigger_if = {
					limit = { trait = just }

					FROMFROM = {
						crime_against_ROOT_FROM_trigger = no
					}
				}
				trigger_else_if = {
					limit = { NOT = { trait = arbitrary } }

					FROMFROM = {
						crime_execute_against_ROOT_FROM_trigger = no
					}
				}

				opinion = {
					who = FROMFROM
					value < -10
				}
			}

			custom_tooltip = {
				text = pattern_interaction_deserves_exile

				trigger_if = {
					limit = { trait = just }

					FROMFROM = {
						crime_against_ROOT_FROM_trigger = yes
					}
				}
				trigger_else_if = {
					limit = { NOT = { trait = arbitrary } }

					FROMFROM = {
						crime_execute_against_ROOT_FROM_trigger = yes
					}
				}
			}
		}
	}

	execute_imprisoned_interaction = {
		OR = {
			custom_tooltip = {
				text = pattern_interaction_dislike_custom_tooltip

				trigger_if = {
					limit = { trait = just }

					FROMFROM = {
						crime_execute_against_ROOT_FROM_trigger = no
					}
				}

				opinion = {
					who = FROMFROM
					value < -10
				}
			}

			custom_tooltip = {
				text = pattern_interaction_deserves_execution

				trait = just

				FROMFROM = {
					crime_execute_against_ROOT_FROM_trigger = yes
				}
			}
		}
	}
}

interaction_pattern_against = {
	icon = 10
	pattern_type = against

	imprison_character_interaction = {
		custom_tooltip = {
			text = pattern_interaction_not_deserves_imprisonment

			trait = just

			FROMFROM = {
				crime_against_ROOT_FROM_trigger = no
			}
		}
	}

	exile_imprisoned_interaction = {
		custom_tooltip = {
			text = pattern_interaction_not_deserves_exile

			trait = just

			FROMFROM = {
				crime_exile_against_ROOT_FROM_trigger = no
			}
		}
	}

	execute_imprisoned_interaction = {
		custom_tooltip = {
			text = pattern_interaction_not_deserves_execution

			trait = just

			FROMFROM = {
				crime_execute_against_ROOT_FROM_trigger = no
			}
		}
	}
}