namespace = mta

#Specific mutilation event, for targetted decision mta_specific_mutilation
character_event = {
	id = "mta.2"
	has_dlc = "Reapers"
	desc = "mta.2.desc"
	border = GFX_event_normal_frame_intrigue
	picture = GFX_evt_torture
	
	is_triggered_only = yes


	#Disfigurement
	option = {
		name = "mta.2.a"
		
		trigger = {
			OR = {
				#Root is a Norse pagan who has already cut out From's eye
				AND = {
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
					FROM = {
						NOT = { trait = disfigured }
						OR = {
							trait = one_eyed
							trait = blinded
							OR = {
								trait = one_handed
								OR = {
									AND = {
										is_female = yes
										trait = one_legged
									}
									AND = {
										is_female = no
										trait = one_legged
										trait = eunuch
									}
								}
							}
						}
					}
				}
				#Root is not a norse pagan, and From is not already disfigured
				AND = {
					NOR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
					FROM = {
						NOT = { trait = disfigured }
					}
				}
			}
		}
		
		mta_mutilation_effect = yes
		
		event_target:mta_mutilation_root = {
			character_event = { id = "RIP.20020" } #Getting mutilated, disfigurement
			add_trait = disfigured
			jailor_mutilate_effect = yes
		}
			
		#event_target:mta_mutilation_from = { save_event_target_as = remove_prison_reason_effect_accuser }
		#event_target:mta_mutilation_root = { save_event_target_as = remove_prison_reason_effect_accused }
		#event_target:mta_mutilation_from = { remove_opinions_with_prison_reason_effect = yes }
	}
	
	#One-eyed
	option = {
		name = "mta.2.b"
		
		trigger = {
			OR = {
				#Root is a Norse pagan, and From has their eyes
				AND = {
					OR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
						FROM = {
							OR = {
								trait = one_handed
								OR = {
									AND = {
										is_female = yes
										trait = one_legged
									}
									AND = {
										is_female = no
										trait = one_legged
										OR = {
											trait = eunuch
											ROOT = { culture_group = byzantine }
										}
									}
								}
							}
						}
					}
					FROM = {
						NOR = {
							trait = one_eyed
							trait = blinded
						}
					}
				}
				#Root is not a Norse pagan, and From is already disfigured, but not missing an eye
				AND = {
					NOR = {
						religion = norse_pagan
						religion = norse_pagan_reformed
					}
					FROM = {
						NOR = {
							trait = one_eyed
							trait = blinded
						}
						OR = {
							trait = disfigured
							trait = one_handed
							OR = {
								AND = {
									is_female = yes
									trait = one_legged
								}
								AND = {
									is_female = no
									trait = one_legged
									OR = {
										trait = eunuch
										ROOT = { culture_group = byzantine }
									}
								}
							}
						}
					}
				}
			}
		}
		
		mta_mutilation_effect = yes
		
		event_target:mta_mutilation_root = {
			character_event = { id = "RIP.20018" } #Getting mutilated, losing an eye
			add_trait = one_eyed
			jailor_mutilate_effect = yes
		}
			
		#event_target:mta_mutilation_from = { save_event_target_as = remove_prison_reason_effect_accuser }
		#event_target:mta_mutilation_root = { save_event_target_as = remove_prison_reason_effect_accused }
		#event_target:mta_mutilation_from = { remove_opinions_with_prison_reason_effect = yes }
	}
	
	#One-handed
	option = {
		name = "mta.2.c"
		
		trigger = {
			FROM = {
				NOT = { trait = one_handed }
			}
		}

		mta_mutilation_effect = yes
		
		event_target:mta_mutilation_root = {
			character_event = { id = "RIP.20016" } #Getting mutilated, losing a hand
			add_trait = one_handed
			jailor_mutilate_effect = yes
		}
		
		#event_target:mta_mutilation_from = { save_event_target_as = remove_prison_reason_effect_accuser }
		#event_target:mta_mutilation_root = { save_event_target_as = remove_prison_reason_effect_accused }
		#event_target:mta_mutilation_from = { remove_opinions_with_prison_reason_effect = yes }
	}

	#One-legged
	option = {
		name = "mta.2.d"
		
		trigger = {
				OR = {
					ROOT = {
						AND = {
							culture_group = byzantine
							has_dlc = "Legacy of Rome"
						}
					}
					FROM = {
						OR = {
							is_female = yes
							trait = eunuch
						}
					}
				}
				FROM = { NOT = { trait = one_legged } }
		}

		mta_mutilation_effect = yes
		
		event_target:mta_mutilation_root = {
			character_event = { id = "RIP.20014" } #Getting mutilated, castration
			add_trait = one_legged
			jailor_mutilate_effect = yes
		}
		
		#event_target:mta_mutilation_from = { save_event_target_as = remove_prison_reason_effect_accuser }
		#event_target:mta_mutilation_root = { save_event_target_as = remove_prison_reason_effect_accused }
		#event_target:mta_mutilation_from = { remove_opinions_with_prison_reason_effect = yes }
	}

	#Eunuch
	option = {
		name = "mta.2.e"
		
		trigger = {
			OR = {
				NOT = { culture_group = byzantine }
				NOT = { has_dlc = "Legacy of Rome" }
			}
			FROM = {
				is_female = no
				NOT = { trait = eunuch }
			}
		}

		mta_mutilation_effect = yes
		
		event_target:mta_mutilation_root = {
			character_event = { id = "RIP.20022" } #Getting mutilated, castration
			add_trait = eunuch
			jailor_mutilate_effect = yes
		}
		FROM = {
			opinion = {
				modifier = opinion_castrated_me
				who = ROOT
			}
		}
	}
	
}

#Specific execution event, for targetted decision mta_specific_execution
#Executions appear in game depending on conditions met and how high they are placed in the option list.
#Cancelling the execution is listed first and always visible.
character_event = {
	id = "mta.3"
	has_dlc = "Reapers"
	desc = "mta.3.desc"
	picture = GFX_evt_beheading

	is_triggered_only = yes

	#Impaling
	option = {
		name = "mta.3.o"
		trigger = {
			trait = impaler
		}
		tooltip_info = impaler
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_impaling
				killer = ROOT
			}
		}
	}
	
	#Immurement
	option = {
		name = "mta.3.u"
		trigger = {
			trait = architect
			trait = cruel
			NOT = { trait = impaler }
		}
		tooltip_info_custom = mta_REASON_CRUEL_ARCHITECT
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_immurement
				killer = ROOT
			}
		}
	}
	
	#Buried alive
	option = {
		name = "mta.3.1.a"
		trigger = {
			trait = gardener
			trait = cruel
			NOT = { trait = impaler }
			NOT = { trait = architect }
			NOT = { is_nomadic = yes }
		}
		tooltip_info_custom = mta_REASON_CRUEL_GARDENER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_live_burial
				killer = ROOT
			}
		}
	}

	#Beheading
	option = {
		name = "mta.3.a"
		trigger = {
			NOR = { 
				is_nomadic = yes 
				culture = horse
				culture = cat
				trait = impaler
				AND = {
					OR = {
						trait = architect
						trait = gardener
					}
					trait = cruel
				}
				AND = {
					OR = {
						AND = {
							culture = roman
							NOT = { religion_group = christian }
						}
						AND = {
							OR = {
								culture_group = west_germanic
								culture_group = iberian
								capital_scope = {
									region = world_india
								}
							}
							trait = hunter
						}
						AND = {
							culture_group = byzantine
							NOT = { religion_group = christian }
						}
					}
					trait = cruel
				}
				AND = {
					OR = {
						religion_group = zoroastrian_group
						culture = persian
					}
					OR = {
						trait = cruel
						AND = {
							capital_scope = {
								OR = {
									region = world_persia
									region = world_middle_east_arabia
									region = world_india
									region = world_africa_east
								}
							}
							higher_tier_than = duke
						}
					}
				}
			}
			FROM = { is_lowborn = no }
		}
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_beheading
				killer = ROOT
			}
		}
	}

	#Hanging
	option = {
		name = "mta.3.b"
		trigger = {
			NOR = {
				is_nomadic = yes
				culture = horse
				culture = cat
				trait = impaler
				AND = {
					OR = {
						trait = architect
						trait = gardener
					}
					trait = cruel
				}
				AND = {
					culture = roman
					NOT = { trait = cruel }
					NOT = { religion_group = christian }
				}
				AND = {
					OR = {
						AND = {
							culture = roman
							NOT = { religion_group = christian }
						}
						AND = {
							OR = {
								culture_group = west_germanic
								culture_group = iberian
								capital_scope = {
									region = world_india
								}
							}
							trait = hunter
						}
						AND = {
							culture_group = byzantine
							NOT = { religion_group = christian }
						}
					}
					trait = cruel
				}
				AND = {
					OR = {
						culture = roman
						culture_group = byzantine
					}
					trait = cruel
					religion_group = pagan
				}
				AND = {
					OR = {
						religion_group = zoroastrian_group
						culture = persian
					}
					OR = {
						trait = cruel
						AND = {
							capital_scope = {
								OR = {
									region = world_persia
									region = world_middle_east_arabia
									region = world_india
									region = world_africa_east
								}
							}
							higher_tier_than = duke
						}
					}
				}
				religion = aztec
				religion = aztec_reformed
			}
			FROM = { is_lowborn = yes }
		}
		tooltip_info_custom = mta_REASON_FROM_IS_LOWBORN
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_hanging
				killer = ROOT
			}
		}
	}

	#Trampled by horses
	option = {
		name = "mta.3.y"
		trigger = {
			is_nomadic = yes
			NOR = {
				culture = horse
				trait = impaler 
				AND = {
					trait = architect
					trait = cruel
				}
			}
		}
		tooltip_info_custom = mta_REASON_GOVERNMENT_TYPE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_horses
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.y"
		trigger = {
			NOR = {
				trait = impaler 
				AND = {
					OR = {
						trait = architect
						AND = {
							trait = gardener
							NOT = { is_nomadic = yes }
						}
					}
					trait = cruel
				}
			}
			culture = horse
		}
		tooltip_info_custom = mta_REASON_IS_A_HORSE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_horses
				killer = ROOT
			}
		}
	}

	#Great hunt
	option = {
		name = "mta.3.m"
		trigger = {
			NOR = {
				trait = impaler 
				AND = {
					OR = {
						trait = architect
						AND = {
							trait = gardener
							NOT = { is_nomadic = yes }
						}
					}
					trait = cruel
				}
			}
			culture = cat
		}
		tooltip_info_custom = mta_REASON_IS_A_CAT
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_hunt
				killer = ROOT
			}
		}
	}

	#Burning at the stake
	option = {
		name = "mta.3.c"
		trigger = {
			religion_group = christian
			NAND = {
				culture_group = west_germanic
				trait = cruel
				AND = {
					is_nomadic = no
					is_tribal = no
				}
				NOR = {
					religion = aztec
					religion = aztec_reformed
				}
			}
			NAND = {
				OR = {
					culture = roman
					culture = persian
					culture_group = byzantine
					religion_group = muslim
				}
				NOT = { religion_group = christian }
			}
		}
		tooltip_info_custom = mta_REASON_RELIGION_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_burning
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.c"
		trigger = {
			OR = {
				religion = baltic_pagan
				religion = baltic_pagan_reformed
				religion = bon
				religion = bon_reformed
				AND = {
					NOT = { is_nomadic = yes }
					OR = {
						religion = tengri_pagan
						religion = tengri_pagan_reformed
					}
				}
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
			NAND = {
				OR = {
					culture = persian
					trait = cruel
				}
				religion_group = zoroastrian_group
				capital_scope = {
					OR = {
						region = world_persia
						region = world_middle_east_arabia
						region = world_india
						region = world_africa_east
					}
				}
				higher_tier_than = duke
			}
		}
		tooltip_info_custom = mta_REASON_RELIGION
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_burning
				killer = ROOT
			}
		}
	}

	#Blood eagle
	option = {
		name = "mta.3.d"
		trigger = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
		tooltip_info_custom = mta_REASON_RELIGION
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_blood_eagle
				killer = ROOT
			}
		}
	}

	#Garrotting
	option = {
		name = "mta.3.j"
		trigger = {
			culture_group = iberian
		}
		tooltip_info_custom = mta_REASON_CULTURE_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_garrotting
				killer = ROOT
			}
		}
	}

	#Crucifixion
	option = {
		name = "mta.3.f"
		trigger = {
			AND = {
				OR = {
					AND = {
						culture = roman
						NAND = {
							OR = {
								trait = impaler 
								AND = {
									OR = {
										trait = architect
										AND = {
											trait = gardener
											NOT = { is_nomadic = yes }
										}
									}
									trait = cruel
								}
							}
							OR = {
								religion = hellenic_pagan
								religion = hellenic_pagan_reformed
							}
						}
					}
					AND = {
						culture = persian
						OR = {
							religion_group = muslim
							NAND = {
								OR = {
									trait = impaler 
									trait = cruel
								}
								capital_scope = {
									OR = {
										region = world_persia
										region = world_middle_east_arabia
										region = world_india
										region = world_africa_east
									}
								}
								higher_tier_than = duke
							}
						}
					}
				}
				NOT = { religion_group = christian }
			}
		}
		tooltip_info_custom = mta_REASON_CULTURE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_crucifixion
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.f"
		trigger = {
			AND = {
				culture_group = byzantine
				NAND = {
					OR = {
						trait = impaler 
						AND = {
							OR = {
								trait = architect
								AND = {
									trait = gardener
									NOT = { is_nomadic = yes }
								}
							}
							trait = cruel
						}
					}
					OR = {
						religion = hellenic_pagan
						religion = hellenic_pagan_reformed
					}
				}
				NOT = { religion_group = christian }
				NOT = { religion_group = muslim }
			}
		}
		tooltip_info_custom = mta_REASON_CULTURE_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_crucifixion
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.f"
		trigger = { 
			NOT = { culture = persian }
			NOT = { culture = roman }
			religion_group = muslim 
		}
		tooltip_info_custom = mta_REASON_RELIGION_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_crucifixion
				killer = ROOT
			}
		}
	}
	
	#Disembowelment
	option = {
		name = "mta.3.v"
		trigger = {
			trait = cruel
			NAND = { 
				trait = hunter
				OR = {
					trait = impaler
					AND = {
						OR = {
							trait = architect
							AND = {
								trait = gardener
								NOT = { is_nomadic = yes }
							}
						}
						trait = cruel
					}
				}
			}
			culture_group = west_germanic
		}
		tooltip_info_custom = mta_REASON_CRUEL_CULTURE_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_disembowelment
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.v"
		trigger = {
			culture_group = byzantine
			NOT = { religion_group = christian }
		}
		tooltip_info_custom = mta_REASON_CULTURE_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_disembowelment
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.v"
		trigger = {
			culture = roman
			lower_tier_than = king
			OR = {
				trait = cruel
				FROM = { is_lowborn = no }
			}
			NOT = { religion_group = christian }
		}
		tooltip_info_custom = mta_REASON_CULTURE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_disembowelment
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.v"
		trigger = {
			culture = roman
			NOT = { trait = cruel }
			FROM = { is_lowborn = yes }
			NOT = { religion_group = christian }
		}
		tooltip_info_custom = mta_REASON_CULTURE_FROM_IS_LOWBORN
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_disembowelment
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.v"
		trigger = {
			culture = roman
			trait = cruel
			religion_group = christian
		}
		tooltip_info_custom = mta_REASON_CRUEL_CULTURE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_disembowelment
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.v"
		trigger = {
			trait = cruel
			NOR = {
				culture = roman
				culture_group = byzantine
				culture_group = west_germanic
				culture_group = celtic
				culture_group = north_germanic
				capital_scope = {
					region = world_india
				}
				AND = {
					culture = persian
					OR = {
						trait = impaler
						AND = {
							OR = {
								trait = architect
								AND = {
									trait = gardener
									NOT = { is_nomadic = yes }
								}
							}
							trait = cruel
						}
					}
				}
				religion_group = christian
				religion_group = muslim
				religion = bon
				religion = bon_reformed
				religion = finnish_pagan
				religion = finnish_pagan_reformed
				religion = slavic_pagan
				religion = slavic_pagan_reformed
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
		}
		tooltip_info_custom = mta_REASON_CRUEL
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_disembowelment
				killer = ROOT
			}
		}
	}
	
	#Hanged, drawn, quartered
	option = {
		name = "mta.3.e"
		trigger = {
			culture_group = west_germanic
			NOR = {
				is_nomadic = yes
				is_tribal = yes
				religion = aztec
	 			religion = aztec_reformed
			}
		}
		tooltip_info_custom = mta_REASON_CULTURE_GROUP_GOVERNMENT
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_hdq
				killer = ROOT
			}
		}
	}
	
	#Lion
	option = {
		name = "mta.15.a"
		trigger = {
			capital_scope = {
				has_building = ca_exotic_pets
				}
		}
		tooltip_info_custom = mta_REASON_IS_PETS
		FROM = {
			death = {
				death_reason = death_execution_lion
				killer = ROOT
			}
		}
	}
	
	#Bear
	option = {
		name = "mta.15.b"
		trigger = {
			capital_scope = {
				has_building = ca_exotic_pets
				}
		}
		tooltip_info_custom = mta_REASON_IS_PETS
		FROM = {
			death = {
				death_reason = death_execution_bear
				killer = ROOT
			}
		}
	}
	#Elephants
	option = {
		name = "mta.15.c"
		trigger = {
			capital_scope = {
				has_building = ca_exotic_pets
				}
		}
		tooltip_info_custom = mta_REASON_IS_PETS
		FROM = {
			death = {
				death_reason = death_execution_elephants
				killer = ROOT
			}
		}
	}
	
	#Boar
	option = {
		name = "mta.15.d"
		trigger = {
			capital_scope = {
				has_building = ca_exotic_pets
				}
		}
		tooltip_info_custom = mta_REASON_IS_PETS
		FROM = {
			death = {
				death_reason = death_execution_boar
				killer = ROOT
			}
		}
	}
	
	#Brazen bull
	option = {
		name = "mta.3.p"
		trigger = {
			has_dlc = "Holy Fury"
			trait = cruel
			OR = {
				religion = hellenic_pagan
				religion = hellenic_pagan_reformed
			}
		}
		tooltip_info_custom = mta_REASON_CRUEL_RELIGION
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_brazen_bull
				killer = ROOT
			}
			#custom_tooltip = {
			#	text = mta_execution_death_TT
			#	character_event = { id = HF.24005 } #Brazen bull execution event
			#}
		}
	}

	#Mauled by bear
	option = {
		name = "mta.3.h"
		trigger = {
			trait = hunter
			trait = cruel
			NOR = {
				religion = slavic_pagan
				religion = slavic_pagan_reformed
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
			capital_scope = {
				OR = {
					region = world_europe_north
					region = world_europe_east
				}
			}
		}
		tooltip_info_custom = mta_REASON_CRUEL_HUNTER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_bear
				killer = ROOT
			}
		}
	}
	
	#Left in the wilds
	option = {
		name = "mta.3.x"
		trigger = {
			OR = {
				AND = {
					NOT = { trait = cruel }
					OR = {
						religion = baltic_pagan
						religion = baltic_pagan_reformed
					}
				}
				religion = slavic_pagan
				religion = slavic_pagan_reformed
				religion = finnish_pagan
				religion = finnish_pagan_reformed
			}
		}
		tooltip_info_custom = mta_REASON_RELIGION
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			custom_tooltip = {
				text = mta_left_in_the_wilds_TT
				hidden_tooltip = {
					random_list = {
						60 = {
							death = {
								death_reason = death_execution_bear
								killer = ROOT
							}
						}
						40 = {
							death = {
								death_reason = death_execution_boar
								killer = ROOT
							}
						}
					}
				}
			}
		}
	}

	#Drowning
	option = {
		name = "mta.3.n"
		trigger = {	
			OR = { 
				AND = {
					culture_group = celtic
					NOT = { trait = cruel }
				}
				culture_group = north_germanic
			}
		}
		tooltip_info_custom = mta_REASON_CULTURE_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_drowning_pit
				killer = ROOT
			}
		}
	}

	#Stoning
	option = {
		name = "mta.3.k"
		trigger = {
			NOT = { culture = persian }
			NOR = {
				trait = cruel
				trait = wroth
				AND = {
					capital_scope = {
						OR = {
							region = world_persia
							region = world_middle_east_arabia
							region = world_india
							region = world_africa_east
						}
					}
					higher_tier_than = duke
				}
			}
			OR = {
				religion_group = christian
				religion_group = muslim
			}
		}
		tooltip_info_custom = mta_REASON_RELIGION_GROUP
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_stoning
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.k"
		trigger = {
			NOT = { culture = persian }
			NOR = {
				trait = cruel
				trait = wroth
				AND = {
					NOT = { religion_group = zoroastrian_group }
					capital_scope = {
						OR = {
							region = world_persia
							region = world_middle_east_arabia
							region = world_india
							region = world_africa_east
						}
					}
					higher_tier_than = duke
				}
			}
			OR = {
				religion = aztec
				religion = aztec_reformed
				AND = {
					NOT = { capital_scope = { region = world_india } }
					OR = {
						religion = bon
						religion = bon_reformed
					}
				}
				religion = finnish_pagan
				religion = finnish_pagan_reformed
				religion = slavic_pagan
				religion = slavic_pagan_reformed
				religion = tengri_pagan
				religion = tengri_pagan_reformed
				religion = west_african_pagan
				religion = west_african_pagan_reformed
				religion = zun_pagan
				religion = zun_pagan_reformed
				religion_group = zoroastrian_group
			}
		}
		tooltip_info_custom = mta_REASON_RELIGION
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_stoning
				killer = ROOT
			}
		}
	}

	#Scaphism
	option = {
		name = "mta.3.g"
		trigger = { culture = persian }
		tooltip_info_custom = mta_REASON_CULTURE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_scaphism
				killer = ROOT
			}
		}
	}
	
	#Trampled by elephants
	option = {
		name = "mta.3.s"
		trigger = {
			higher_tier_than = duke
			capital_scope = {
				region = world_india
			}
			NAND = {
				culture = roman
				higher_tier_than = duke
				NOT = { religion_group = christian }
			}
		}
		tooltip_info_custom = mta_REASON_INDIA_TIER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_elephants
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.s"
		trigger = {
			higher_tier_than = duke
			capital_scope = {
				region = world_persia
				NOT = { region = world_middle_east_arabia }
				NOT = { region = world_india }
			}
			NAND = {
				culture = roman
				higher_tier_than = duke
				NOT = { religion_group = christian }
			}
		}
		tooltip_info_custom = mta_REASON_PERSIA_TIER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_elephants
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.s"
		trigger = {
			higher_tier_than = duke
			capital_scope = {
				region = world_middle_east_arabia
				NOT = { region = world_persia }
			}
			NAND = {
				culture = roman
				higher_tier_than = duke
				NOT = { religion_group = christian }
			}
		}
		tooltip_info_custom = mta_REASON_ARABIA_TIER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_elephants
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.s"
		trigger = {
			higher_tier_than = duke
			capital_scope = {
				region = world_africa_east
				NOT = { region = world_middle_east_arabia }
			}
			NAND = {
				culture = roman
				higher_tier_than = duke
				NOT = { religion_group = christian }
			}
		}
		tooltip_info_custom = mta_REASON_EAST_AFRICA_TIER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_elephants
				killer = ROOT
			}
		}
	}
	
	#Mauled by tiger
	option = {
		name = "mta.3.r"
		trigger = {
			capital_scope = {
				has_building = ca_exotic_pets
				}
		}
		tooltip_info_custom = mta_REASON_CRUEL_HUNTER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_tiger
				killer = ROOT
			}
		}
	}
	
	#Flaying alive
	option = {
		name = "mta.3.q"
		trigger = {
			trait = hunter
			trait = cruel
			capital_scope = {
				NOT = {
					region = world_india
				}
			}
		}
		tooltip_info_custom = mta_REASON_CRUEL_HUNTER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_flaying
				killer = ROOT
			}
		}
	}
	
	#Backbreaking
	option = {
		name = "mta.3.w"
		trigger = { 
			is_nomadic = yes
		}
		tooltip_info_custom = mta_REASON_GOVERNMENT_TYPE
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_back_breaking
				killer = ROOT
			}
		}
	}

	#Bamboo
	option = {
		name = "mta.3.l"
		trigger = {
			capital_scope = {
				region = world_india
			}
		}
		tooltip_info_custom = mta_REASON_IN_INDIA
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_bamboo
				killer = ROOT
			}
		}
	}

	#Mauled by lion
	option = {
		name = "mta.3.i"
		trigger = {
			capital_scope = {
				has_building = ca_exotic_pets
				}
		}
		tooltip_info_custom = mta_REASON_RELIGION
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_lion
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.i"
		trigger = {
			is_tribal = yes
			NOR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
			capital_scope = {
				region = world_africa
			}
		}
		tooltip_info_custom = mta_REASON_IN_AFRICA_GOVERNMENT
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_lion
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.i"
		trigger = {
			is_tribal = no
			NOR = {
				religion = west_african_pagan
				religion = west_african_pagan_reformed
			}
			trait = hunter
			trait = cruel
			capital_scope = {
				region = world_africa
			}
		}
		tooltip_info_custom = mta_REASON_CRUEL_HUNTER
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_lion
				killer = ROOT
			}
		}
	}
	
	#Crushed
	option = {
		name = "mta.3.t"
		trigger = {
			trait = cruel
		}
		tooltip_info_custom = mta_REASON_CRUEL
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_crushing
				killer = ROOT
			}
		}
	}
	option = {
		name = "mta.3.t"
		trigger = {
			trait = wroth
		}
		tooltip_info_custom = mta_REASON_WROTH
		FROM = { save_event_target_as = kinslayer_target }
		add_kinslayer_trait_effect = yes
		mta_execution_opinion_effect = yes
		FROM = {
			death = {
				death_reason = death_execution_crushing
				killer = ROOT
			}
		}
	}

}

#on_executed opinion penalties
character_event = {
	id = mta.4
	desc = "mta.4.desc"
	picture = GFX_evt_beheading
	
	is_triggered_only = yes
	hide_window = yes
	
	immediate = {
		ROOT = { save_event_target_as = mta_executed }
		FROM = { save_event_target_as = mta_executioner }
		mta_on_executed_opinion_effect = yes
	}

	option = {
		name = "mta.4.a"
	}
}

#Roman feed to beasts execution
character_event = {
	id = mta.15
	has_dlc = "Reapers"
	desc = "mta.15.desc"
	picture = GFX_evt_humiliation_prisoner
	
	is_triggered_only = yes
	
	immediate = {
		hidden_tooltip = {
			if = {
				limit = {
					FROMFROM = { is_incapable = no }
				}
				FROMFROM = { 
					add_character_modifier = mta_awaiting_execution
					set_variable = { which = awaiting_execution value = 1 }
				}
			}
		}
	}

	#Lion
	option = {
		name = "mta.15.a"
		FROMFROM = {
			custom_tooltip = {
				text = mta_execution_death_TT
				hidden_tooltip = {
					if = {
						limit = { check_variable = { which = awaiting_execution value = 1 } }
						remove_character_modifier = mta_awaiting_execution
					}
					death = {
						death_reason = death_execution_lion
						killer = ROOT
					}
				}
			}
		}
	}
	
	#Bear
	option = {
		name = "mta.15.b"
		FROMFROM = {
			custom_tooltip = {
				text = mta_execution_death_TT
				hidden_tooltip = {
					if = {
						limit = { check_variable = { which = awaiting_execution value = 1 } }
						remove_character_modifier = mta_awaiting_execution
					}
					death = {
						death_reason = death_execution_bear
						killer = ROOT
					}
				}
			}
		}
	}
	
	#Elephants
	option = {
		name = "mta.15.c"
		FROMFROM = {
			custom_tooltip = {
				text = mta_execution_death_TT
				hidden_tooltip = {
					if = {
						limit = { check_variable = { which = awaiting_execution value = 1 } }
						remove_character_modifier = mta_awaiting_execution
					}
					death = {
						death_reason = death_execution_elephants
						killer = ROOT
					}
				}
			}
		}
	}
	
	#Boar
	option = {
		name = "mta.15.d"
		FROMFROM = {
			custom_tooltip = {
				text = mta_execution_death_TT
				hidden_tooltip = {
					if = {
						limit = { check_variable = { which = awaiting_execution value = 1 } }
						remove_character_modifier = mta_awaiting_execution
					}
					death = {
						death_reason = death_execution_boar
						killer = ROOT
					}
				}
			}
		}
	}
}